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);
376 for (
Int_t pp = 0; pp < pop; pp += 1)
tree->Fill();
380 Info(
"GenereTree",
"Fin du remplissage");
382 tree->ResetBranchAddresses();
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
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)
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.
void Clear(Option_t *option="")
Methode dérivée de KVIntegerList, Reinitialisation de l'object.
void Print(Option_t *option="") const
Double_t GetZmax(Int_t rang=0) const
virtual void AddLast(TObject *obj)
virtual void SetOwner(Bool_t enable=kTRUE)
virtual void Clear(Option_t *option="")
virtual TObject * At(Int_t idx) const
virtual void AddBefore(const TObject *before, TObject *obj)
virtual void AddAfter(const TObject *after, TObject *obj)
virtual void Add(TObject *obj)
virtual void AddAt(TObject *obj, Int_t idx)
virtual void AddFirst(TObject *obj)
virtual TObject * FindObject(const char *name) const
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