KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVSimReader_ELIE.h
Go to the documentation of this file.
1 
4 #ifndef __KVSIMREADER_ELIE_H
5 #define __KVSIMREADER_ELIE_H
6 
7 #include "KVSimReader.h"
8 
64 class KVSimReader_ELIE : public KVSimReader {
65  void init()
66  {
67  tree_name = "ELIE";
68  elie_params = new KVNameValueList;//has to be on heap as it will be stored in TTree::GetUserInfo() list and written to file
69  }
70 
71 protected:
75  virtual void define_output_filename();
76  void transform_to_cm();
77 
78  void read_elie_params(KVFileReader& input_file_reader);
79 public:
81  KVSimReader_ELIE(KVString filename);
82  void ConvertEventsInFile(KVString filename);
83 
84  void ReadFile();
86  Bool_t ReadEvent();
88 
89  ClassDef(KVSimReader_ELIE, 1) //Read ELIE events before secondary decay
90 };
91 
92 #endif
bool Bool_t
double Double_t
#define ClassDef(name, id)
Handle reading columns of numeric data in text files.
Definition: KVFileReader.h:119
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:125
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.
Definition: KVSimReader.h:57
KVString tree_name
Definition: KVSimReader.h:69
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:72