TGenPhaseSpace


class description - source file - inheritance tree

class TGenPhaseSpace : public TObject

    private:
Double_t pdk(Double_t a, Double_t b, Double_t c) public:
TGenPhaseSpace TGenPhaseSpace() TGenPhaseSpace TGenPhaseSpace(const TGenPhaseSpace& gen) virtual void ~TGenPhaseSpace() static TClass* Class() Double_t Generate() TLorentzVector* GetDecay(Int_t n) Int_t GetNt() const Double_t GetWtMax() const virtual TClass* IsA() const Bool_t SetDecay(TLorentzVector& P, Int_t nt, Double_t* mass, Option_t* opt) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
Int_t fNt number of decay particles Double_t fMass[18] masses of particles Double_t fBeta[3] betas of decaying particle Double_t fTeCmTm total energy in the C.M. minus the total mass Double_t fWtMax maximum weigth TLorentzVector fDecPro[18] kinematics of the generated particles

Class Description

  Utility class to generate n-body event
  according to fermi lorentz-invariant phase space
  events are generated in their own center-of-mass,

Double_t pdk(Double_t a, Double_t b, Double_t c)

TGenPhaseSpace(const TGenPhaseSpace &gen)

Double_t Generate()
-----> With the help of fNt-2 random numbers in ascending order
       compute fNt invariant masses in ascending order


TLorentzVector* GetDecay(Int_t n)

Bool_t SetDecay(TLorentzVector &P, Int_t nt, Double_t *mass, Option_t *opt)
 input:
 TLorentzVector &P:    decay particle
 Int_t nt:             number of decay products
 Double_t *mass:       array of decay product masses
 Option_t *opt:        fermi or constant cross section

 return value:
 kTRUE:      the decay is permitted by kinematics
 kFALSE:     the decay is forbidden by kinematics




Inline Functions


        TGenPhaseSpace TGenPhaseSpace(const TGenPhaseSpace& gen)
                 Int_t GetNt() const
              Double_t GetWtMax() const
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void ~TGenPhaseSpace()


Author: Rene Brun , Valerio Filippini 06/09/2000
Last update: root/physics:$Name: $:$Id: TGenPhaseSpace.cxx,v 1.2 2000/09/11 06:16:26 brun Exp $


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.