Warning, file /include/root/TGenPhaseSpace.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef ROOT_TGenPhaseSpace
0011 #define ROOT_TGenPhaseSpace
0012
0013 #include "TLorentzVector.h"
0014
0015 class TGenPhaseSpace : public TObject {
0016 private:
0017 Int_t fNt;
0018 Double_t fMass[18];
0019 Double_t fBeta[3];
0020 Double_t fTeCmTm;
0021 Double_t fWtMax;
0022 TLorentzVector fDecPro[18];
0023
0024 Double_t PDK(Double_t a, Double_t b, Double_t c);
0025
0026 public:
0027 TGenPhaseSpace(): fNt(0), fMass(), fBeta(), fTeCmTm(0.), fWtMax(0.) {}
0028 TGenPhaseSpace(const TGenPhaseSpace &gen);
0029 ~TGenPhaseSpace() override {}
0030 TGenPhaseSpace& operator=(const TGenPhaseSpace &gen);
0031
0032 Bool_t SetDecay(TLorentzVector &P, Int_t nt, const Double_t *mass, Option_t *opt="");
0033 Double_t Generate();
0034 TLorentzVector *GetDecay(Int_t n);
0035
0036 Int_t GetNt() const { return fNt;}
0037 Double_t GetWtMax() const { return fWtMax;}
0038
0039 ClassDefOverride(TGenPhaseSpace,1)
0040 };
0041
0042 #endif
0043