KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVSimReader_SMF.h
1
3
4#ifndef __KVSIMREADER_SMF_H
5#define __KVSIMREADER_SMF_H
6
7#include "KVSimReader.h"
8
17
18 void init()
19 {
20 tree_name = "SMF";
21 }
22
23public:
25 KVSimReader_SMF(KVString filename);
26
27 virtual ~KVSimReader_SMF();
28
29 virtual void ReadFile();
30 virtual Bool_t ReadHeader();
31 virtual Bool_t ReadEvent();
32 virtual Bool_t ReadNucleus();
33
34
36 {
37 KVString sval;
38 sval.Form("%lf", val);
39 AddInfo("Branching time", sval.Data());
40 }
41
42
43
44 ClassDef(KVSimReader_SMF, 1) //Read ascii file for events of the SMF code after clusterization
45};
46
47#endif
bool Bool_t
double Double_t
#define ClassDef(name, id)
Read ascii file for events of the SMF code after clusterization.
virtual void ReadFile()
virtual Bool_t ReadEvent()
virtual Bool_t ReadNucleus()
KVSimReader_SMF()
Default constructor.
void SetTimeBranching(Double_t val)
virtual ~KVSimReader_SMF()
Destructor.
virtual Bool_t ReadHeader()
Base class to read output files for simulation and create tree using KVSimEvent class.
Definition KVSimReader.h:51
KVString tree_name
Definition KVSimReader.h:63
void AddInfo(const Char_t *name, const Char_t *val)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition KVString.h:73
const char * Data() const
void Form(const char *fmt,...)