Pluto v6.3.0
Loading...
Searching...
No Matches
PHadronDecay.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written: 27.5.2007
3// Revised:
4
5#ifndef _PHADRONDECAY_H_
6#define _PHADRONDECAY_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 PHadronDecay(const Char_t *id, const Char_t *de, Int_t key);
19 PDistribution *Clone(const char*delme=NULL) const;
20
21 Bool_t Init(void);
22 Bool_t SampleMass(void);
23 Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL);
24
25 Bool_t GetWidth(Double_t mass, Double_t *width, Int_t didx=-1);
26
27 int GetDepth(int i=0);
28// Bool_t GetBR(Double_t mass, Double_t *br, Double_t totalwidth=-1);
29
30 Double_t Eval(Double_t x, Double_t y = 0, Double_t z = 0, Double_t t = 0) const;
31 Double_t EvalPar(const Double_t *x, const Double_t *params);
32 //TF1 wrapper
33
34 void Use_m0_over_m(int i) {use_m0_over_m = i;};
35 void SetCutoffVersion(int i) {cutoff_version = i;};
36
37 protected:
38
39 int parent_id, id1, id2; //PIDs
40 double parent_mass, mass1, mass2; //Static Masses
41 double parent_g0; //Static Width of parent
42
43 //Width Configuration
48 int use_m0_over_m, cutoff_version; //0=theis,1=ernst,2=none
49 double w0;
50
51 double HadronWidth(const double &m, const double &ma, const double &mb);
52
53 ClassDef(PHadronDecay, 0) // Decay of Hadron -> Hadron(stable) + Hadron(stable)
54};
55
56#endif
57
58
Double_t EvalPar(const Double_t *x, const Double_t *params)
double parent_g0
int GetDepth(int i=0)
void SetCutoffVersion(int i)
Bool_t Init(void)
PDistribution * Clone(const char *delme=NULL) const
double parent_mass
Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL)
Bool_t SampleMass(void)
Double_t Eval(Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const
PHadronDecay(const Char_t *id, const Char_t *de, Int_t key)
double fixed_delta
double HadronWidth(const double &m, const double &ma, const double &mb)
void Use_m0_over_m(int i)
Bool_t GetWidth(Double_t mass, Double_t *width, Int_t didx=-1)
Double_t mass