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  SetTreeName("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  bool reuse_last_line=true;
74 protected:
75  KVNucleus proj, targ;
76  Double_t ebeam;
77  KVNameValueList* elie_params;
78  int run_number = -1;
79  Int_t mult;
80 
81  virtual void define_output_filename();
82  void transform_to_cm(KVSimEvent* evt);
83 
84  void read_elie_params(KVFileReader& input_file_reader);
85 public:
88 
89  Bool_t ReadFileHeader() override;
91  Bool_t ReadEvent(KVSimEvent*) override;
92  Bool_t ReadNucleus(KVSimNucleus*) override;
93 
94  ClassDefOverride(KVSimReader_ELIE, 1) //Read ELIE events before secondary decay
95 };
96 
97 #endif
int Int_t
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:108
Container class for simulated nuclei, KVSimNucleus.
Definition: KVSimEvent.h:22
Nucleus in a simulated event.
Definition: KVSimNucleus.h:32
Read ascii files containing events generated by Elie.
Bool_t ReadNucleus(KVSimNucleus *) override
Bool_t ReadEventHeader(KVSimEvent *) override
Bool_t ReadEvent(KVSimEvent *) override
Bool_t ReadFileHeader() override
KVSimReader_ELIE()
Default constructor.
Base class to convert output from different simulation codes into TTrees containing KVSimEvent event ...
Definition: KVSimReader.h:117
void SetTreeName(KVString n)
Definition: KVSimReader.h:232
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:73