KaliVeda
Toolkit for HIC analysis
KVGenPhaseSpace.h
1 
4 #ifndef __KVGENPHASESPACE_H
5 #define __KVGENPHASESPACE_H
6 
7 #include "KVBase.h"
8 #include "KVNucleus.h"
9 #include "KVEvent.h"
10 
26 
31 
61 class KVGenPhaseSpace : public KVBase {
62 private:
63  void init();
64 
65 protected:
66  TObject* fMCSampler;
67  KVNucleus fCompound;
68  KVEvent* fEvent;
69  Int_t fMult;
70  std::vector<Double_t> fMasses;
71  Bool_t fOK;
72  Double_t fEtot;
73 
74  Bool_t CheckBreakUpChannel();
75  virtual void InitialiseMCSampler();
76 
77 public:
79  KVGenPhaseSpace(const Char_t* name, const Char_t* title = "");
80  virtual ~KVGenPhaseSpace();
81  void Copy(TObject& obj) const override;
82 
84 
85  virtual Double_t Generate();
86 
88  {
90  return fEtot;
91  }
92 
93  ClassDefOverride(KVGenPhaseSpace, 1) //Generate momenta for an event using microcanonical phase space sampling
94 };
95 
96 #endif
int Int_t
#define e(i)
bool Bool_t
char Char_t
double Double_t
#define ClassDefOverride(name, id)
char name[80]
Base class for KaliVeda framework.
Definition: KVBase.h:140
Abstract base class container for multi-particle events.
Definition: KVEvent.h:67
Generate momenta for an event using microcanonical phase space sampling.
Bool_t SetBreakUpChannel(const KVNucleus &CN, KVEvent *e)
virtual ~KVGenPhaseSpace()
Destructor.
void Copy(TObject &obj) const override
virtual Double_t Generate()
KVGenPhaseSpace()
Default constructor.
Double_t GetAvailableEnergy() const
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:123