KaliVeda
Toolkit for HIC analysis
|
Derived form KVPartition to optimize filling from a tree.
Created by KVClassFactory on Fri May 7 11:30:10 2010 Author: bonnet
Méthode KVPartitionFromLeaf::ReadEntry(Long64_t entry), jour le role de remplissage de la partition et aussi du calcul des valeurs associées On peut incrementer les entrees de l'arbre en meme temps ou non (defaut) Exemple: for (Int_t ii=0;ii<tt->GetEntries();ii+=1){
tree->GetEntry(ii); ... ... par->CheckForUpdate();
} ou for (Int_t ii=0;ii<tt->GetEntries();ii+=1){
par->ReadEntry(ii);
}
Definition at line 50 of file KVPartitionFromLeaf.h.
#include <KVPartitionFromLeaf.h>
Public Member Functions | |
KVPartitionFromLeaf () | |
Default constructor. | |
virtual | ~KVPartitionFromLeaf () |
Destructor. | |
void | ConnectToLeaf (TLeaf *lf) |
void | ReadEntry (Long64_t entry=-1) |
void | SetZmax (Int_t val) |
void | SetZmin (Int_t val) |
void | SetZminZmax (Int_t vmin, Int_t vmax) |
Public Member Functions inherited from KVPartition | |
KVPartition () | |
Default constructor. | |
KVPartition (Int_t mommax) | |
Constructor. | |
virtual | ~KVPartition () |
Destructeur. | |
void | Clear (Option_t *option="") |
Methode dérivée de KVIntegerList, Reinitialisation de l'object. | |
void | Copy (TObject &obj) const |
Methode dérivée de KVIntegerList, fait une copie dans l'objet "obj". | |
KVValues * | GetAddValues () |
Int_t | GetFrequenceAt (Int_t rang) const |
Double_t | GetMoment (Int_t ordre) const |
Methodes donnant acces aux variables calculees de la partition. | |
Double_t | GetMomentNormalise (Int_t ordre) const |
Double_t | GetMtot () const |
Int_t | GetMult (void) const |
Int_t | GetMultDiff (void) const |
Methodes donnant aux valeurs uniques de la partition. | |
Int_t | GetOrdreMax () const |
Int_t | GetValeur (Int_t rang) const |
Int_t | GetValeurDiff (Int_t rang) const |
Int_t * | GetValeurs () const |
Int_t * | GetValeursDiff () const |
Double_t | GetZ1 () const |
Double_t | GetZ2 () const |
Double_t | GetZmax (Int_t rang=0) const |
Double_t | GetZmean () const |
Double_t | GetZmin (Int_t rang=0) const |
Double_t | GetZtot () const |
void | Print (Option_t *option="") const |
Bool_t | RemoveAllValuesAt (Int_t rang) |
return kTRUE if the indicated rank is occupied | |
Bool_t | RemoveAt (Int_t rang) |
return kTRUE if the indicated rank is occupied | |
Public Member Functions inherited from KVIntegerList | |
KVIntegerList () | |
Default constructor. | |
virtual | ~KVIntegerList () |
Destructor. | |
void | Add (Double_t *tab, Int_t mult) |
Ajout d'un tableau de "mult" valeurs, version Double_t (Conversion Double_t -> Int_t (arrondi, TMath::Nint())) | |
void | Add (Double_t val) |
Ajout de la valeur val version Double_t (Conversion Double_t -> Int_t (arrondi, TMath::Nint())) | |
void | Add (Double_t val, Int_t freq) |
Ajout de "freq" fois la valeur val. | |
void | Add (Int_t *tab, Int_t mult) |
Ajout d'un tableau d'entiers de "mult" valeurs. | |
void | Add (Int_t val) |
Ajout de la valeur val (Int_t) | |
void | Add (Int_t val, Int_t freq) |
Ajout de "freq" fois la valeur val. | |
void | Add (TArrayI *tab) |
void Fill(Double_t* tab,Int_t mult); | |
void | AddPopulation (Int_t pop) |
Incrémente la population de "pop" fois. | |
void | CheckForUpdate () |
Int_t | Compare (const TObject *obj) const |
Bool_t | Contains (Int_t val) const |
Int_t * | CreateTableOfValues () |
TArrayI * | CreateTArrayI () |
TNamed * | CreateTNamed () |
KVPartition* CreateKVPartition(Int_t mom_max=5);. | |
void | Fill (Int_t *tab, Int_t mult) |
void Fill(TArrayI* tab); | |
Int_t | GetFrequency (Int_t val) const |
Ssiz_t | GetLengthName () const |
Int_t | GetNbre () const |
Int_t | GetPopulation () const |
Bool_t | Remove (Int_t val) |
Bool_t | Remove (Int_t val, Int_t freq) |
Bool_t | RemoveAll (Int_t val) |
void | ResetPopulation () |
Remet à 1 la population (comme dans le ctor) | |
void | SetPopulation (Int_t pop) |
Initialise la population à "pop". | |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TNamed &named) | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
void | Clear (Option_t *option="") override |
TObject * | Clone (const char *newname="") const override |
Int_t | Compare (const TObject *obj) const override |
void | Copy (TObject &named) const override |
virtual void | FillBuffer (char *&buffer) |
const char * | GetName () const override |
const char * | GetTitle () const override |
ULong_t | Hash () const override |
TClass * | IsA () const override |
Bool_t | IsSortable () const override |
void | ls (Option_t *option="") const override |
TNamed & | operator= (const TNamed &rhs) |
void | Print (Option_t *option="") const override |
virtual void | SetName (const char *name) |
virtual void | SetNameTitle (const char *name, const char *title) |
virtual void | SetTitle (const char *title="") |
virtual Int_t | Sizeof () const |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
virtual | ~TObject () |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
virtual void | Browse (TBrowser *b) |
ULong_t | CheckedHash () |
virtual const char * | ClassName () const |
virtual void | Delete (Option_t *option="") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | Draw (Option_t *option="") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | Dump () const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
Bool_t | HasInconsistentHash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
virtual void | Inspect () const |
void | InvertBit (UInt_t f) |
Bool_t | IsDestructed () const |
virtual Bool_t | IsEqual (const TObject *obj) const |
virtual Bool_t | IsFolder () const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
virtual Bool_t | Notify () |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *vp) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, void *vp) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Paint (Option_t *option="") |
virtual void | Pop () |
virtual Int_t | Read (const char *name) |
virtual void | RecursiveRemove (TObject *obj) |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetUniqueID (UInt_t uid) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Private Attributes | |
TLeaf * | linked_leaf |
Bool_t | select_max |
Bool_t | select_min |
Int_t | zmax |
Int_t | zmin |
Additional Inherited Members | |
Public Types inherited from KVIntegerList | |
enum | { kHastobeComputed = BIT(14) } |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from TNamed | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
KVPartitionFromLeaf::KVPartitionFromLeaf | ( | ) |
Default constructor.
Definition at line 15 of file KVPartitionFromLeaf.cpp.
|
virtual |
Destructor.
Definition at line 31 of file KVPartitionFromLeaf.cpp.
Definition at line 40 of file KVPartitionFromLeaf.cpp.
Definition at line 53 of file KVPartitionFromLeaf.cpp.
Definition at line 87 of file KVPartitionFromLeaf.cpp.
Definition at line 76 of file KVPartitionFromLeaf.cpp.
Definition at line 98 of file KVPartitionFromLeaf.cpp.
|
private |
Definition at line 53 of file KVPartitionFromLeaf.h.
|
private |
Definition at line 55 of file KVPartitionFromLeaf.h.
|
private |
Definition at line 55 of file KVPartitionFromLeaf.h.
|
private |
Definition at line 54 of file KVPartitionFromLeaf.h.
|
private |
Definition at line 54 of file KVPartitionFromLeaf.h.