KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVGenPhaseSpace.h
Go to the documentation of this file.
1 
4 #ifndef __KVGENPHASESPACE_H
5 #define __KVGENPHASESPACE_H
6 
7 #include "KVBase.h"
8 #include "KVNucleus.h"
9 #include "KVEvent.h"
10 
25 
30 
60 class KVGenPhaseSpace : public KVBase {
61 private:
62  void init();
63 
64 protected:
69  std::vector<Double_t> fMasses;
72 
74  virtual void InitialiseMCSampler();
75 
76 public:
78  KVGenPhaseSpace(const Char_t* name, const Char_t* title = "");
79  virtual ~KVGenPhaseSpace();
80  void Copy(TObject& obj) const;
81 
83 
84  virtual Double_t Generate();
85 
87  {
89  return fEtot;
90  }
91 
92  ClassDef(KVGenPhaseSpace, 1) //Generate momenta for an event using microcanonical phase space sampling
93 };
94 
95 #endif
int Int_t
char Char_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:141
Abstract base class container for multi-particle events.
Definition: KVEvent.h:66
Generate momenta for an event using microcanonical phase space sampling.
Bool_t CheckBreakUpChannel()
Bool_t SetBreakUpChannel(const KVNucleus &CN, KVEvent *e)
Bool_t fOK
ready to calculate or not
KVNucleus fCompound
initial nucleus which undergoes break-up
virtual ~KVGenPhaseSpace()
Destructor.
KVEvent * fEvent
break-up channel
TObject * fMCSampler
Monte-Carlo phase space sampler.
void init()
default initialisations
std::vector< Double_t > fMasses
masses of nuclei in break-up channel
Double_t fEtot
available kinetic energy for decay
virtual Double_t Generate()
KVGenPhaseSpace()
Default constructor.
void Copy(TObject &obj) const
virtual void InitialiseMCSampler()
Double_t GetAvailableEnergy() const
Int_t fMult
multiplicity of channel
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:125