19 SetROOTFileName(
Form(
"ELIE_%s_%s_%.1fAMeV_PRIM.root",
20 proj.GetSymbol(), targ.GetSymbol(), ebeam));
21 tree_title.Form(
"ELIE primary events %s + %s %.1f MeV/nuc.",
22 proj.GetSymbol(), targ.GetSymbol(), ebeam);
82 Info(
"ReadFile",
"begins");
135 Info(
"ReadHeader",
"Can't read system");
154 Info(
"ReadHeader",
"Can't read events");
290 Info(
"ReadNucleus",
"case 0 line est vide");
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
char * Form(const char *fmt,...)
virtual void SetNumber(UInt_t num)
KVNameValueList * GetParameters() const
void Clear(Option_t *opt="")
Clear object properties : name, type/title, number, label.
Handle reading columns of numeric data in text files.
@ 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 GetReadPar(Int_t pos) const
ReadStatus ReuseLineAndCheck(Int_t nexpect, const KVString &pattern)
Bool_t OpenFileToRead(const KVString &filename)
Int_t GetIntValue(const Char_t *name) const
void SetValue(const Char_t *name, value_type value)
virtual void Clear(Option_t *opt="")
Description of properties and kinematics of atomic nuclei.
void SetExcitEnergy(Double_t e)
Double_t GetExcitEnergy() const
void SetZ(Int_t z, Char_t mt=-1)
void SetZandA(Int_t z, Int_t a)
Set atomic number and mass number.
void SetZAandE(Int_t z, Int_t a, Double_t ekin)
Set atomic number, mass number, and kinetic energy in MeV.
void SetTheta(Double_t theta)
void SetPhi(Double_t phi)
void SetEnergy(Double_t e)
Nucleus in a simulated event.
void SetAngMom(Double_t lx, Double_t ly, Double_t lz)
set the angular momentum of the nucleus
Read ascii files containing events generated by Elie.
void read_elie_params(KVFileReader &input_file_reader)
virtual void define_output_filename()
void ConvertEventsInFile(KVString filename)
Method called by constructors with KVString filename argument.
KVNameValueList * elie_params
void transform_to_cm()
transform all particle kinematics to CM frame from lab
KVSimReader_ELIE()
Default constructor.
Base class to read output files for simulation and create tree using KVSimEvent class.
void Run(Option_t *option="recreate")
virtual Bool_t HasToFill()
void AddObject(TObject *obj)
void AddInfo(const Char_t *name, const Char_t *val)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
void ChangeFrame(const KVFrameTransform &ft, const KVString &name="")
void SetFrameName(const KVString &name)
virtual void SetName(const char *name)
virtual void Info(const char *method, const char *msgfmt,...) const