KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVPartitionGenerator.h
Go to the documentation of this file.
1 
4 #ifndef __KVPartitionGenerator_H
5 #define __KVPartitionGenerator_H
6 #include "KVString.h"
7 #include "KVUniqueNameList.h"
8 
9 class TTree;
10 
70 protected:
71 
76 
78 
85 
90 
93 
96 
99  void Start();
100  void Stop();
102 
103  void MakePartitions(Int_t Ztot, Int_t Mtot, Int_t Zinf);
104  void SetConditions(Int_t Ztot, Int_t Mtot, Int_t Zinf);
105  void PreparTree();
106  void Process();
107 
108  void BeforeBreak();
109  void AfterBreak();
110 
111  void init();
112 
113 public:
115  virtual ~KVPartitionGenerator();
116 
117  void SetPathForFile(KVString path);
118 
119  void BreakUsing_Ztot_Zinf_Criterion(Int_t Ztot, Int_t Zinf, KVString chain_name = "", Int_t min = -1, Int_t max = -1);
120  void BreakUsing_Ztot_Zmax_Zinf_Criterion(Int_t Ztot, Int_t Zmax, Int_t Zinf, KVString chain_name = "");
121  void BreakUsing_Mtot_Zmax_Zinf_Criterion(Int_t Mtot, Int_t Zmax, Int_t Zinf, KVString chain_name = "");
122  void BreakUsing_Ztot_Mtot_Zinf_Criterion(Int_t Ztot, Int_t Mtot, Int_t Zinf, KVString chain_name = "");
123 
124  virtual void TreatePartition();
125  virtual void WriteTreeAndCloseFile();
126 
127  ClassDef(KVPartitionGenerator, 1) //Calcul numeriquement toutes les partitions d'un couple Ztot/Mtot donne
128 };
129 
130 #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:72
Optimised list in which named objects can only be placed once.