1 #include "KVSimReader_HaC.h"
105 for(
int i=0; i<nfra; ++i)
virtual void SetNumber(UInt_t num)
KVNameValueList * GetParameters() const
@ CommentLine
last line read was a comment line
@ EndOfFile
end of file reached
@ EmptyLine
last line read was empty (only whitespace)
@ OK
successful read and import of parameters from line
ReadStatus ReadLineAndCheck(Int_t nexpect, const KVString &pattern)
Double_t GetDoubleReadPar(Int_t pos) const
Int_t GetIntReadPar(Int_t pos) const
KVString GetReadStatus(ReadStatus s)
KVString GetReadPar(Int_t pos) const
Int_t GetIntValue(const Char_t *name) const
void SetValue(const Char_t *name, value_type value)
static Double_t hbar
hbar*c in MeV.fm
void SetZ(Int_t z, Char_t mt=-1)
Strings used to represent a set of ranges of values.
const Char_t * AsString(Int_t maxchars=0) const
KVNameValueList * GetParameters() const
void SetMomentum(const TVector3 &v)
Container class for simulated nuclei, KVSimNucleus.
Nucleus in a simulated event.
void SetPosition(Double_t rx, Double_t ry, Double_t rz)
set the position of the nucleus in position space
Convert events generated by the HaC (Hybrid alpha-Cluster) model.
Bool_t ReadNucleus(KVSimNucleus *nuc) override
Bool_t ReadEventHeader(KVSimEvent *evt) override
Bool_t ReadEvent(KVSimEvent *evt) override
void SetROOTFileName(KVString name)
void SetTreeTitle(KVString n)
int GetEventNumber() const
void ConvertAndSaveEventsInFile(KVString filename)
Read events, convert and save in ROOT file(s)
void SetTreeName(KVString n)
void Error(UserClass p, const char *location, const char *va_(fmt),...)
void Info(UserClass p, const char *location, const char *va_(fmt),...)