TGenPhaseSpace Class Reference

#include <TGenPhaseSpace.h>

Inheritance diagram for TGenPhaseSpace:

TObject TObject List of all members.

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 ()
TLorentzVectorGetDecay (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 ()
TLorentzVectorGetDecay (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]

Detailed Description

Definition at line 15 of file TGenPhaseSpace.h.


Constructor & Destructor Documentation

TGenPhaseSpace::TGenPhaseSpace (  )  [inline]

Definition at line 27 of file TGenPhaseSpace.h.

TGenPhaseSpace::TGenPhaseSpace ( const TGenPhaseSpace gen  ) 

Definition at line 52 of file TGenPhaseSpace.cxx.

References fBeta, fDecPro, fMass, fNt, fTeCmTm, fWtMax, and i.

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.


Member Function Documentation

Double_t TGenPhaseSpace::PDK ( Double_t  a,
Double_t  b,
Double_t  c 
) [private]

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.

References fDecPro, and fNt.

Referenced by MyEvent::Decay(), MyEvent::PairCreation(), and PhaseSpace().

Int_t TGenPhaseSpace::GetNt (  )  const [inline]

Definition at line 35 of file TGenPhaseSpace.h.

References fNt.

Double_t TGenPhaseSpace::GetWtMax (  )  const [inline]

Definition at line 36 of file TGenPhaseSpace.h.

References fWtMax.

Double_t TGenPhaseSpace::PDK ( Double_t  a,
Double_t  b,
Double_t  c 
) [private]

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]

Definition at line 35 of file TGenPhaseSpace.h.

References fNt.

Double_t TGenPhaseSpace::GetWtMax (  )  const [inline]

Definition at line 36 of file TGenPhaseSpace.h.

References fWtMax.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:36 2011 for ROOT_528-00b_version by  doxygen 1.5.1