48 Info(
"ReadHeader",
"Can't read file header infos");
63 Info(
"ReadHeader",
"res=%d", (
int)res);
69 auto suff_ind = input_file.Index(
"_primary.output");
70 if (suff_ind < 0) suff_ind = input_file.Index(
"_secondary.output");
72 Warning(
"ReadHeader",
"Cannot deduce name of '.input' file from filename:%s", input_file.Data());
73 Warning(
"ReadHeader",
"Informations on input parameters of calculation will not be read/kept");
76 input_file.Remove(suff_ind);
77 input_file.Append(
".input");
82 Warning(
"ReadHeader",
"Failed to open file %s", input_file.Data());
83 Warning(
"ReadHeader",
"Informations on input parameters of calculation will not be read/kept");
174 Info(
"ReadNucleus",
"premature end of file?");
177 Info(
"ReadNucleus",
"case 0 line est vide");
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
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
Bool_t OpenFileToRead(const KVString &filename)
Int_t GetIntValue(const Char_t *name) const
void SetValue(const Char_t *name, value_type value)
void SetExcitEnergy(Double_t e)
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 SetParameter(const Char_t *name, ValType value) const
void SetEnergy(Double_t e)
Nucleus in a simulated event.
Read ASCII files generated by ELIE (new format 2022)
void read_elie_params(KVFileReader &input_file_reader)
KVNameValueList * elie_params
void transform_to_cm()
transform all particle kinematics to CM frame from lab
void AddInfo(const Char_t *name, const Char_t *val)
void SetFrameName(const KVString &name)
virtual void Warning(const char *method, const char *msgfmt,...) const
virtual void Info(const char *method, const char *msgfmt,...) const