KaliVeda
Toolkit for HIC analysis
KVPartitionList.h
1 
4 #ifndef __KVPARTITIONLIST_H
5 #define __KVPARTITIONLIST_H
6 
7 #include "KVUniqueNameList.h"
8 
9 class KVIntegerList;
10 class KVPartition;
11 class TTree;
12 
34 protected:
35 
40 
41  void init();
43  TTree* GenereTree(const Char_t* treename, Bool_t Compress = kTRUE);
44 
45 public:
46 
47  KVPartitionList(const Char_t* name);
49  virtual ~KVPartitionList();
50  void Clear(Option_t* option = "");
51 
53 
56 
57  void Update();
58 
59  virtual Bool_t Fill(KVIntegerList* par);
60 
61  virtual void AddFirst(TObject* obj);
62  virtual void AddLast(TObject* obj);
63  virtual void AddAt(TObject* obj, Int_t idx);
64  virtual void AddAfter(const TObject* after, TObject* obj);
65  virtual void AddBefore(const TObject* before, TObject* obj);
66  virtual void Add(TObject* obj);
67 
68  void SaveAsTree(const Char_t* filename, const Char_t* treename, Bool_t Compress = kTRUE, Option_t* option = "recreate");
69 
70  ClassDef(KVPartitionList, 1) //Store KVIntegerList and increment its population, if one is already in the list
71 
72 };
73 
74 #endif
int Int_t
bool Bool_t
char Char_t
double Double_t
const char Option_t
#define ClassDef(name, id)
Handle a list of positive integers (partition)
Definition: KVIntegerList.h:69
Manage a list of partitions.
void SaveAsTree(const Char_t *filename, const Char_t *treename, Bool_t Compress=kTRUE, Option_t *option="recreate")
Double_t GetNbreDiff()
void ValidateEntrance(KVIntegerList *il)
virtual void AddAt(TObject *obj, Int_t idx)
virtual void AddBefore(const TObject *before, TObject *obj)
KVPartitionList()
Default constructor.
Double_t knbre_tot
Nbre de partitions totales.
TTree * GenereTree(const Char_t *treename, Bool_t Compress=kTRUE)
virtual Bool_t Fill(KVIntegerList *par)
virtual void AddLast(TObject *obj)
virtual void AddAfter(const TObject *after, TObject *obj)
void Update()
Met a jour l'intervalle de multiplicité associées aux partitions dans la liste.
virtual ~KVPartitionList()
Destructor.
void Clear(Option_t *option="")
Mise a zero de la liste.
virtual void Add(TObject *obj)
virtual void AddFirst(TObject *obj)
KVPartition * mult_range
Permet d'extraire la gamme en multiplicité
Double_t knbre_diff
Nbre de partitions differentes.
Handle partitions.
Definition: KVPartition.h:31
Optimised list in which named objects can only be placed once.