KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVSimReader_SMF.h
Go to the documentation of this file.
1 
4 #ifndef __KVSIMREADER_SMF_H
5 #define __KVSIMREADER_SMF_H
6 
7 #include "KVSimReader.h"
8 
15 class KVSimReader_SMF : public KVSimReader {
16 
17  void init()
18  {
19  tree_name = "SMF";
20  }
21 
22 public:
24  KVSimReader_SMF(KVString filename);
25 
26  virtual ~KVSimReader_SMF();
27 
28  virtual void ReadFile();
29  virtual Bool_t ReadHeader();
30  virtual Bool_t ReadEvent();
31  virtual Bool_t ReadNucleus();
32 
33 
35  {
36  KVString sval;
37  sval.Form("%lf", val);
38  AddInfo("Branching time", sval.Data());
39  }
40 
41 
42 
43  ClassDef(KVSimReader_SMF, 1) //Read ascii file for events of the SMF code after clusterization
44 };
45 
46 #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:57
KVString tree_name
Definition: KVSimReader.h:69
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:72
const char * Data() const
void Form(const char *fmt,...)