4 #include "KVPartitionList.h"
5 #include "KVPartition.h"
6 #include "KVIntegerList.h"
343 Info(
"GenereTree",
"Multiplicite max entregistree %d", mmax);
347 Info(
"GenereTree",
"Nbre de partitions entregistrees %d",
GetEntries());
351 tree->Branch(
"mtot", &mtot,
"mtot/I");
352 tree->Branch(
"tabz", tabz,
"tabz[mtot]/I");
354 tree->Branch(
"pop", &pop,
"pop/I");
364 Info(
"GenereTree",
"%d partitions traitees", kk);
367 for (
Int_t mm = 0; mm < mtot; mm += 1)
368 tabz[mm] = table->
At(mm);
376 for (
Int_t pp = 0; pp < pop; pp += 1)
tree->Fill();
380 Info(
"GenereTree",
"Fin du remplissage");
382 tree->ResetBranchAddresses();
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 * Compress(const char *str)
Handle a list of positive integers (partition)
void Add(TArrayI *tab)
void Fill(Double_t* tab,Int_t mult);
Int_t GetPopulation() const
TArrayI * CreateTArrayI()
Manage a list of partitions.
void SaveAsTree(const Char_t *filename, const Char_t *treename, Bool_t Compress=kTRUE, Option_t *option="recreate")
void ValidateEntrance(KVIntegerList *il)
void AddBefore(const TObject *before, TObject *obj) override
KVPartitionList()
Default constructor.
void AddAt(TObject *obj, Int_t idx) override
void AddFirst(TObject *obj) override
Double_t knbre_tot
Nbre de partitions totales.
TTree * GenereTree(const Char_t *treename, Bool_t Compress=kTRUE)
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
KVPartition * mult_range
Permet d'extraire la gamme en multiplicité
Double_t knbre_diff
Nbre de partitions differentes.
void Clear(Option_t *option="") override
Methode dérivée de KVIntegerList, Reinitialisation de l'object.
void Print(Option_t *option="") const override
Double_t GetZmax(Int_t rang=0) const
void Add(TObject *obj) override
void AddAfter(const TObject *after, TObject *obj) override
TObject * FindObject(const char *name) const override
void AddLast(TObject *obj) override
void AddBefore(const TObject *before, TObject *obj) override
void Clear(Option_t *option="") override
void SetOwner(Bool_t enable=kTRUE) override
TObject * At(Int_t idx) const override
void AddAt(TObject *obj, Int_t idx) override
void AddFirst(TObject *obj) override
void SetName(const char *name)
virtual Int_t GetEntries() const
virtual const char * GetName() const
virtual void Info(const char *method, const char *msgfmt,...) const
static const char * Class_Name()