4 #ifndef __KVSIMREADER_H
5 #define __KVSIMREADER_H
7 #include "KVSimEvent.h"
8 #include "KVSimNucleus.h"
12 #include "KVUnownedList.h"
15 #include "KVFileReader.h"
63 KVString tree_name, tree_title, branch_name, root_file_name;
94 fOutputDirectory = where;
101 stime.
Form(
"%d_%02d_%02d_%02d:%02d:%02d",
178 return root_file_name.
Data();
#define ClassDef(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
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Option_t Option_t TPoint TPoint const char mode
Handle reading columns of numeric data in text files.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
A generic named parameter storing values of different types.
KaliVeda extensions to ROOT collection classes.
Container class for simulated nuclei, KVSimNucleus.
Nucleus in a simulated event.
Base class to read output files for simulation and create tree using KVSimEvent class.
KVSeqCollection * GetSimuInfo()
virtual Bool_t ReadHeader()
void SetTreeTitle(const Char_t *n)
void DeclareTree(Option_t *option)
virtual Bool_t ReadNucleus()
virtual Bool_t ReadEvent()
void AddInfo(const KVNamedParameter &)
void SetBranchName(const Char_t *n)
void SetOutputDirectory(const TString &where)
void Run(Option_t *option="recreate")
void SetROOTFileName(const Char_t *n)
KVSeqCollection * GetLinkedObjects()
static KVSimReader * MakeSimReader(const char *model_uri)
void SetFillingMode(Bool_t mode=kTRUE)
virtual Bool_t HasToFill()
void AddObject(TObject *obj)
virtual void ConvertEventsInFile(KVString filename)
Method called by constructors with KVString filename argument.
KVSimReader()
Default constructor.
void SetTreeName(const Char_t *n)
Int_t GetNumberOfEvents()
virtual ~KVSimReader()
Destructor.
const char * GetROOTFileName()
virtual KVString GetDate()
void SetFileIndex(Int_t i)
void SetMultiFiles(Bool_t on=kTRUE)
virtual void ConvertAndSaveEventsInFile(KVString filename)
Read events, convert and save in ROOT file.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Extended TList class which does not own its objects by default.
const char * Data() const
void Form(const char *fmt,...)