KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVGenPhaseSpace.h
1
3
4#ifndef __KVGENPHASESPACE_H
5#define __KVGENPHASESPACE_H
6
7#include "KVBase.h"
8#include "KVNucleus.h"
9#include "KVEvent.h"
10
26
31
61class KVGenPhaseSpace : public KVBase {
62private:
63 void init();
64
65protected:
70 std::vector<Double_t> fMasses;
73
75 virtual void InitialiseMCSampler();
76
77public:
79 KVGenPhaseSpace(const Char_t* name, const Char_t* title = "");
80 virtual ~KVGenPhaseSpace();
81 void Copy(TObject& obj) const;
82
84
85 virtual Double_t Generate();
86
88 {
90 return fEtot;
91 }
92
93 ClassDef(KVGenPhaseSpace, 1) //Generate momenta for an event using microcanonical phase space sampling
94};
95
96#endif
int Int_t
bool Bool_t
char Char_t
double Double_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition KVBase.h:142
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)
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:126