4#include "KVGenPhaseSpace.h"
161 Warning(
"Generate",
"Generator is not initialised correctly.");
166 for (
int i = 0; i <
fMult; i++) {
190 Warning(
"CheckBreakUpChannel",
"Compound has (Z,A)=(%d,%d), break-up channel has (Z,A)=(%d,%d)",
198 Warning(
"CheckBreakUpChannel",
"Excitation energy of compound must be > %.2lf MeV", exmin);
Base class for KaliVeda framework.
virtual void Copy(TObject &) const
Make a copy of this object.
Abstract base class container for multi-particle events.
virtual Double_t GetSum(const Char_t *, Option_t *="")=0
virtual Double_t GetChannelQValue() const =0
KVNameValueList * GetParameters() const
virtual void GetMasses(std::vector< Double_t > &)=0
virtual Int_t GetMult(Option_t *opt="") const
virtual KVParticle * GetParticle(Int_t npart) const =0
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()
Int_t fMult
multiplicity of channel
void SetValue(const Char_t *name, value_type value)
Description of properties and kinematics of atomic nuclei.
Double_t GetExcitEnergy() const
Int_t GetZ() const
Return the number of proton / atomic number.
void Set4Mom(const TLorentzVector &p)
Bool_t SetDecay(TLorentzVector &P, Int_t nt, const Double_t *mass, Option_t *opt="")
virtual void Warning(const char *method, const char *msgfmt,...) const