Pluto v6.3.0
Loading...
Searching...
No Matches
PNNFSI.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written: 15.8.2008
3// Revised:
4
5#ifndef _PNNFSI_H_
6#define _PNNFSI_H_
7
8#include "TF1.h"
9#include "TF2.h"
10#include "PChannelModel.h"
11
12#define NNFSI_MAX_DAUGHTERS 10
13
14class PNNFSI : public PChannelModel {
15
16 public:
17
19 PNNFSI(const Char_t *id, const Char_t *de, Int_t key);
20 PDistribution *Clone(const char *delme=NULL) const;
21
22 Bool_t Init(void);
24
26 Double_t GetWeight(void);
27 Double_t GetWeight(Double_t *mass, Int_t *didx=NULL);
28
29 void SetA0R0(Double_t a, Double_t r) {
30 a0 = a;
31 r0 = r;
32 };
33
34 private:
35
36 void Setup(void);
37 PParticle *n1, *n2, *daughters[NNFSI_MAX_DAUGHTERS];
38 Int_t daughter_pos, triplet, is_np;
39 Double_t r0, a0, weight;
40
41 ClassDef(PNNFSI, 0) // NN FSI using the Jost function
42};
43
44
45
46#endif
#define NNFSI_MAX_DAUGHTERS
Definition PNNFSI.h:12
virtual Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL)
virtual Double_t GetWeight(Double_t *mass, Int_t *didx=NULL)
Double_t GetWeight(void)
Definition PNNFSI.cc:97
Bool_t Init(void)
Definition PNNFSI.cc:49
PDistribution * Clone(const char *delme=NULL) const
Definition PNNFSI.cc:44
void SetA0R0(Double_t a, Double_t r)
Definition PNNFSI.h:29
PReaction r(c,"eta_dalitz", 3, 0, 0, 0, 1)
Double_t mass
PParticle * n1
PParticle * n2