KaliVeda
Toolkit for HIC analysis
KVPartitionGenerator.h
1 
4 #ifndef __KVPartitionGenerator_H
5 #define __KVPartitionGenerator_H
6 #include "KVString.h"
7 #include "KVUniqueNameList.h"
8 
9 class TTree;
10 
71 protected:
72 
77 
79 
86 
91 
94 
97 
100  void Start();
101  void Stop();
103 
104  void MakePartitions(Int_t Ztot, Int_t Mtot, Int_t Zinf);
105  void SetConditions(Int_t Ztot, Int_t Mtot, Int_t Zinf);
106  void PreparTree();
107  void Process();
108 
109  void BeforeBreak();
110  void AfterBreak();
111 
112  void init();
113 
114 public:
116  virtual ~KVPartitionGenerator();
117 
118  void SetPathForFile(KVString path);
119 
120  void BreakUsing_Ztot_Zinf_Criterion(Int_t Ztot, Int_t Zinf, KVString chain_name = "", Int_t min = -1, Int_t max = -1);
121  void BreakUsing_Ztot_Zmax_Zinf_Criterion(Int_t Ztot, Int_t Zmax, Int_t Zinf, KVString chain_name = "");
122  void BreakUsing_Mtot_Zmax_Zinf_Criterion(Int_t Mtot, Int_t Zmax, Int_t Zinf, KVString chain_name = "");
123  void BreakUsing_Ztot_Mtot_Zinf_Criterion(Int_t Ztot, Int_t Mtot, Int_t Zinf, KVString chain_name = "");
124 
125  virtual void TreatePartition();
126  virtual void WriteTreeAndCloseFile();
127 
128  ClassDef(KVPartitionGenerator, 1) //Calcul numeriquement toutes les partitions d'un couple Ztot/Mtot donne
129 };
130 
131 #endif
int Int_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Permet de determiner numeriquement et exactement un ensemble de partitions d'entrees remplissante cer...
void SetPathForFile(KVString path)
Int_t tstart
To give an estimation of time consuming.
void BreakUsing_Ztot_Zmax_Zinf_Criterion(Int_t Ztot, Int_t Zmax, Int_t Zinf, KVString chain_name="")
KVString kwriting_path
Chemin ou les arbres seront ecrits.
virtual ~KVPartitionGenerator()
Destructor.
KVPartitionGenerator()
Default constructor.
void BreakUsing_Ztot_Zinf_Criterion(Int_t Ztot, Int_t Zinf, KVString chain_name="", Int_t min=-1, Int_t max=-1)
KVUniqueNameList * flist
void MakePartitions(Int_t Ztot, Int_t Mtot, Int_t Zinf)
virtual void WriteTreeAndCloseFile()
void BreakUsing_Ztot_Mtot_Zinf_Criterion(Int_t Ztot, Int_t Mtot, Int_t Zinf, KVString chain_name="")
void SetConditions(Int_t Ztot, Int_t Mtot, Int_t Zinf)
Double_t npar
Compteurs de nombre de partitions crees.
void BreakUsing_Mtot_Zmax_Zinf_Criterion(Int_t Mtot, Int_t Zmax, Int_t Zinf, KVString chain_name="")
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:73
Optimised list in which named objects can only be placed once.