Pluto v6.3.0
Loading...
Searching...
No Matches
PHadronDecayM3.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written: 27.5.2007
3// Revised:
4
5#ifndef _PHADRONDECAYM3_H_
6#define _PHADRONDECAYM3_H_
7
8#include "TF1.h"
9#include "TF2.h"
10#include "PChannelModel.h"
11#include "PDynamicData.h"
12#include "PKinematics.h"
13
15
16 public:
18 PHadronDecayM3(const Char_t *id, const Char_t *de, Int_t key);
19 PDistribution *Clone(const char *delme=NULL) const;
20
21
22 Bool_t Prepare(void);
23 Bool_t Init(void);
24 Bool_t SampleMass(void);
25 Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL);
26
27 Bool_t GetWidth(Double_t mass, Double_t *width, Int_t didx=-1);
28
29 Double_t GetWeight(void);
30 Double_t GetWeight(Double_t *mass, Int_t *didx=NULL);
31 int GetDepth(int i=0);
32
33 Double_t Eval(Double_t x, Double_t y = 0, Double_t z = 0, Double_t t = 0) const;
34 //TF1 wrapper
35
36 void SubPrint(Int_t opt) const ; //Print sub-models
37
38 protected:
39
45
46 ClassDef(PHadronDecayM3, 0) // Decay of Hadron -> 3*Hadron
47};
48
49#endif
50
51
Bool_t Init(void)
Double_t GetWeight(void)
PDistribution * Clone(const char *delme=NULL) const
PParticle * daughter2
PParticle * parent
PChannelModel * model1
PHadronDecayM3(const Char_t *id, const Char_t *de, Int_t key)
void SubPrint(Int_t opt) const
Double_t Eval(Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const
Bool_t SampleMass(void)
Double_t parent_mass
Double_t GetWeight(Double_t *mass, Int_t *didx=NULL)
Bool_t Prepare(void)
int GetDepth(int i=0)
Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL)
Bool_t GetWidth(Double_t mass, Double_t *width, Int_t didx=-1)
PChannelModel * model2
PChannelModel * model3
PParticle * daughter3
PParticle * daughter1
Double_t mass