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 
36  Bool_t atrouve;
37  Double_t knbre_diff;
38  Double_t knbre_tot;
39  KVPartition* mult_range;
40 
41  void init();
42  void ValidateEntrance(KVIntegerList* il);
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 = "") override;
51 
53 
56 
57  void Update();
58 
59  virtual Bool_t Fill(KVIntegerList* par);
60 
61  void AddFirst(TObject* obj) override;
62  void AddLast(TObject* obj) override;
63  void AddAt(TObject* obj, Int_t idx) override;
64  void AddAfter(const TObject* after, TObject* obj) override;
65  void AddBefore(const TObject* before, TObject* obj) override;
66  void Add(TObject* obj) override;
67 
68  void SaveAsTree(const Char_t* filename, const Char_t* treename, Bool_t Compress = kTRUE, Option_t* option = "recreate");
69 
70  ClassDefOverride(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
constexpr Bool_t kTRUE
const char Option_t
#define ClassDefOverride(name, id)
Option_t Option_t option
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
char name[80]
char * Compress(const char *str)
Handle a list of positive integers (partition)
Definition: KVIntegerList.h:68
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 AddBefore(const TObject *before, TObject *obj) override
KVPartitionList()
Default constructor.
void AddAt(TObject *obj, Int_t idx) override
void AddFirst(TObject *obj) override
virtual Bool_t Fill(KVIntegerList *par)
void Clear(Option_t *option="") override
Mise a zero de la liste.
void Update()
Met a jour l'intervalle de multiplicité associées aux partitions dans la liste.
void AddAfter(const TObject *after, TObject *obj) override
virtual ~KVPartitionList()
Destructor.
void Add(TObject *obj) override
void AddLast(TObject *obj) override
Handle partitions.
Definition: KVPartition.h:31
Optimised list in which named objects can only be placed once.