4#include "KVSimReader_ELIE.h"
39 SetROOTFileName(
Form(
"ELIE_%s_%s_%.1fAMeV_Run%d_PRIM.root",
40 proj.GetSymbol(), targ.GetSymbol(), ebeam, run_number));
42 SetROOTFileName(
Form(
"ELIE_%s_%s_%.1fAMeV_PRIM.root",
43 proj.GetSymbol(), targ.GetSymbol(), ebeam));
44 tree_title.Form(
"ELIE primary events %s + %s %.1f MeV/nuc.",
45 proj.GetSymbol(), targ.GetSymbol(), ebeam);
105 Info(
"ReadFile",
"begins");
158 Info(
"ReadHeader",
"Can't read system");
177 Info(
"ReadHeader",
"Can't read events");
263 for (
Int_t mm = 0; mm < mult; mm++) {
313 Info(
"ReadNucleus",
"case 0 line est vide");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
char * Form(const char *fmt,...)
virtual void SetNumber(UInt_t num)
void Clear(Option_t *opt="")
KVNameValueList * GetParameters() const
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)
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