KaliVeda
Toolkit for HIC analysis
KVSimReader_ELIE.h
1 
4 #ifndef __KVSIMREADER_ELIE_H
5 #define __KVSIMREADER_ELIE_H
6 
7 #include "KVSimReader.h"
8 
65 class KVSimReader_ELIE : public KVSimReader {
66 
67  void init()
68  {
69  tree_name = "ELIE";
70  elie_params = new KVNameValueList;//has to be on heap as it will be stored in TTree::GetUserInfo() list and written to file
71  }
72 
73 protected:
74  KVNucleus proj, targ;
75  Double_t ebeam;
76  KVNameValueList* elie_params;
77  int run_number = -1;
78 
79  virtual void define_output_filename();
80  void transform_to_cm();
81 
82  void read_elie_params(KVFileReader& input_file_reader);
83 public:
86  void ConvertEventsInFile(KVString filename) override;
87 
88  void ReadFile() override;
89  Bool_t ReadHeader() override;
90  Bool_t ReadEvent() override;
91  Bool_t ReadNucleus() override;
92 
93  ClassDefOverride(KVSimReader_ELIE, 1) //Read ELIE events before secondary decay
94 };
95 
96 #endif
bool Bool_t
double Double_t
#define ClassDefOverride(name, id)
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
Handle reading columns of numeric data in text files.
Definition: KVFileReader.h:121
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:123
Read ascii files containing events generated by Elie.
Bool_t ReadEvent() override
Bool_t ReadHeader() override
void ConvertEventsInFile(KVString filename) override
Bool_t ReadNucleus() override
void ReadFile() override
KVSimReader_ELIE()
Default constructor.
Base class to read output files for simulation and create tree using KVSimEvent class.
Definition: KVSimReader.h:51
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:73
str tree_name