Pluto v6.3.0
Loading...
Searching...
No Matches
PHadronDecayM2.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written: 25.7.2007
3// Revised:
4
5#ifndef _PHADRONDECAYM2_H_
6#define _PHADRONDECAYM2_H_
7
8#include "TF1.h"
9#include "TF2.h"
10#include "PHadronDecayM1.h"
11#include "PDynamicData.h"
12#include "PKinematics.h"
13
15
16 public:
18 PHadronDecayM2(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 Prepare(void);
23 void SubPrint(Int_t opt) const;
24 Bool_t SampleMass(void);
25 Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL);
26
27
28 Bool_t GetWidth(Double_t mass, Double_t *width, Int_t didx=-1);
29
31 Double_t GetWeight(Double_t *mass, Int_t *didx=NULL);
32 int GetDepth(int i=0);
33
34
35 protected:
36
37 Double_t dynamic_mass1, dynamic_mass2; //return value from sampleM2
38
39 virtual bool sampleM2(const double &ecm);
40
41 ClassDef(PHadronDecayM2, 0) // Hadron decay in 2 unstable products
42};
43
44#endif
45
46
Double_t GetWeight(void)
Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL)
void SubPrint(Int_t opt) const
Bool_t GetWidth(Double_t mass, Double_t *width, Int_t didx=-1)
PHadronDecayM2(const Char_t *id, const Char_t *de, Int_t key)
PDistribution * Clone(const char *delme=NULL) const
Bool_t Init(void)
Double_t dynamic_mass2
Bool_t Prepare(void)
virtual bool sampleM2(const double &ecm)
int GetDepth(int i=0)
Bool_t SampleMass(void)
Double_t GetWeight(Double_t *mass, Int_t *didx=NULL)
Double_t dynamic_mass1
Double_t mass