#include <TGenPhaseSpace.h>
Inheritance diagram for TGenPhaseSpace:
Public Member Functions | |
TGenPhaseSpace () | |
TGenPhaseSpace (const TGenPhaseSpace &gen) | |
virtual | ~TGenPhaseSpace () |
Bool_t | SetDecay (TLorentzVector &P, Int_t nt, Double_t *mass, Option_t *opt="") |
Double_t | Generate () |
TLorentzVector * | GetDecay (Int_t n) |
Int_t | GetNt () const |
Double_t | GetWtMax () const |
TGenPhaseSpace () | |
TGenPhaseSpace (const TGenPhaseSpace &gen) | |
virtual | ~TGenPhaseSpace () |
Bool_t | SetDecay (TLorentzVector &P, Int_t nt, Double_t *mass, Option_t *opt="") |
Double_t | Generate () |
TLorentzVector * | GetDecay (Int_t n) |
Int_t | GetNt () const |
Double_t | GetWtMax () const |
Private Member Functions | |
Double_t | PDK (Double_t a, Double_t b, Double_t c) |
Double_t | PDK (Double_t a, Double_t b, Double_t c) |
Private Attributes | |
Int_t | fNt |
Double_t | fMass [18] |
Double_t | fBeta [3] |
Double_t | fTeCmTm |
Double_t | fWtMax |
TLorentzVector | fDecPro [18] |
Definition at line 15 of file TGenPhaseSpace.h.
TGenPhaseSpace::TGenPhaseSpace | ( | ) | [inline] |
Definition at line 27 of file TGenPhaseSpace.h.
TGenPhaseSpace::TGenPhaseSpace | ( | const TGenPhaseSpace & | gen | ) |
virtual TGenPhaseSpace::~TGenPhaseSpace | ( | ) | [inline, virtual] |
Definition at line 29 of file TGenPhaseSpace.h.
TGenPhaseSpace::TGenPhaseSpace | ( | ) | [inline] |
Definition at line 27 of file TGenPhaseSpace.h.
TGenPhaseSpace::TGenPhaseSpace | ( | const TGenPhaseSpace & | gen | ) |
virtual TGenPhaseSpace::~TGenPhaseSpace | ( | ) | [inline, virtual] |
Definition at line 29 of file TGenPhaseSpace.h.
Referenced by Generate(), and SetDecay().
Bool_t TGenPhaseSpace::SetDecay | ( | TLorentzVector & | P, | |
Int_t | nt, | |||
Double_t * | mass, | |||
Option_t * | opt = "" | |||
) |
Definition at line 156 of file TGenPhaseSpace.cxx.
References fBeta, fMass, fNt, fTeCmTm, fWtMax, kFALSE, kTRUE, n, ROOT::Math::Cephes::P, PDK(), TMath::Power(), strcasecmp, and w.
Referenced by MyEvent::Decay(), MyEvent::PairCreation(), and PhaseSpace().
Double_t TGenPhaseSpace::Generate | ( | ) |
Definition at line 68 of file TGenPhaseSpace.cxx.
References ROOT::Math::Cephes::beta(), Boost(), TMath::Cos(), DoubleMax(), fBeta, fDecPro, fMass, fNt, fTeCmTm, fWtMax, gRandom, i, j, kMAXP, n, pd, PDK(), TMath::Pi(), TRandom::Rndm(), TLorentzVector::SetPxPyPzE(), TMath::Sin(), TMath::Sqrt(), sqrt(), x, and y.
Referenced by MyEvent::Decay(), MyEvent::PairCreation(), and PhaseSpace().
TLorentzVector * TGenPhaseSpace::GetDecay | ( | Int_t | n | ) |
Definition at line 147 of file TGenPhaseSpace.cxx.
Referenced by MyEvent::Decay(), MyEvent::PairCreation(), and PhaseSpace().
Int_t TGenPhaseSpace::GetNt | ( | ) | const [inline] |
Double_t TGenPhaseSpace::GetWtMax | ( | ) | const [inline] |
Bool_t TGenPhaseSpace::SetDecay | ( | TLorentzVector & | P, | |
Int_t | nt, | |||
Double_t * | mass, | |||
Option_t * | opt = "" | |||
) |
Double_t TGenPhaseSpace::Generate | ( | ) |
TLorentzVector* TGenPhaseSpace::GetDecay | ( | Int_t | n | ) |
Int_t TGenPhaseSpace::GetNt | ( | ) | const [inline] |
Double_t TGenPhaseSpace::GetWtMax | ( | ) | const [inline] |
Int_t TGenPhaseSpace::fNt [private] |
Definition at line 17 of file TGenPhaseSpace.h.
Referenced by Generate(), GetDecay(), GetNt(), SetDecay(), and TGenPhaseSpace().
Double_t TGenPhaseSpace::fMass [private] |
Definition at line 18 of file TGenPhaseSpace.h.
Referenced by Generate(), SetDecay(), and TGenPhaseSpace().
Double_t TGenPhaseSpace::fBeta [private] |
Definition at line 19 of file TGenPhaseSpace.h.
Referenced by Generate(), SetDecay(), and TGenPhaseSpace().
Double_t TGenPhaseSpace::fTeCmTm [private] |
Definition at line 20 of file TGenPhaseSpace.h.
Referenced by Generate(), SetDecay(), and TGenPhaseSpace().
Double_t TGenPhaseSpace::fWtMax [private] |
Definition at line 21 of file TGenPhaseSpace.h.
Referenced by Generate(), GetWtMax(), SetDecay(), and TGenPhaseSpace().
TLorentzVector TGenPhaseSpace::fDecPro [private] |
Definition at line 22 of file TGenPhaseSpace.h.
Referenced by Generate(), GetDecay(), and TGenPhaseSpace().