4 #ifndef __KVSIMREADER_H
5 #define __KVSIMREADER_H
107 stime.
Form(
"%d_%02d_%02d_%02d:%02d:%02d",
#define ClassDef(name, id)
Handle reading columns of numeric data in text files.
Extended TList class which owns its objects by default.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
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.
virtual Bool_t ReadHeader()
void SetTreeTitle(const Char_t *n)
void DeclareTree(Option_t *option)
KVList * linked_info
Liste d'info (TNamed) enregistree dans l arbre.
virtual Bool_t ReadNucleus()
virtual Bool_t ReadEvent()
TString fOutputDirectory
where to save converted events
void SetBranchName(const Char_t *n)
void SetOutputDirectory(const TString &where)
void Run(Option_t *option="recreate")
void SetROOTFileName(const Char_t *n)
KVList * linked_objects
liste d'objets a enregistree avec l'arbre
KVList * 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 AddInfo(const Char_t *name, const Char_t *val)
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....
const char * Data() const
void Form(const char *fmt,...)