KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVSimReader_HIPSE.h
1
3
4#ifndef __KVSIMREADER_HIPSE_H
5#define __KVSIMREADER_HIPSE_H
6
7#include "KVSimReader.h"
8#include "TH1F.h"
9
18 void init()
19 {
20 Info("init", "passe");
21 tree_name = "HIPSE";
22 Info("init", "%s", branch_name.Data());
23 h1 = 0;
24 }
25
26protected:
30 virtual void define_output_filename();
31
32public:
35
36 virtual ~KVSimReader_HIPSE();
37
38 void ReadFile();
42
44 {
45 KVString sval;
46 sval.Form("%lf", val);
47 AddInfo("Hardness of the potential", sval.Data());
48 }
50 {
51 KVString sval;
52 sval.Form("%lf", val);
53 AddInfo("Percentage of exchange", sval.Data());
54 }
56 {
57 KVString sval;
58 sval.Form("%lf", val);
59 AddInfo("Percentage of N-N collisions", sval.Data());
60 }
61 void ConvertEventsInFile(KVString filename);
62
63 ClassDef(KVSimReader_HIPSE, 1) //Read ascii file for events of the HIPSE code after clusterization
64};
65
66#endif
bool Bool_t
double Double_t
#define ClassDef(name, id)
Description of properties and kinematics of atomic nuclei.
Definition KVNucleus.h:126
Read ascii file for events of the HIPSE code after clusterization.
virtual void define_output_filename()
KVSimReader_HIPSE()
Default constructor.
virtual void SetExchangePercentage(Double_t val)
virtual void SetNNCollisionPercentage(Double_t val)
void ConvertEventsInFile(KVString filename)
virtual void SetPotentialHardness(Double_t val)
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
KVString branch_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
virtual void Info(const char *method, const char *msgfmt,...) const
const char * Data() const
void Form(const char *fmt,...)