KaliVeda
1.13/01
Heavy-Ion Analysis Toolkit
|
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 49 of file KVPartitionFromLeaf.h.
Public Member Functions | |
KVPartitionFromLeaf () | |
Default constructor. More... | |
virtual | ~KVPartitionFromLeaf () |
Destructor. More... | |
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. More... | |
KVPartition (Int_t mommax) | |
Constructor. More... | |
virtual | ~KVPartition () |
Destructeur. More... | |
void | Clear (Option_t *option="") |
Methode dérivée de KVIntegerList, Reinitialisation de l'object. More... | |
void | Copy (TObject &obj) const |
Methode dérivée de KVIntegerList, fait une copie dans l'objet "obj". More... | |
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. More... | |
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. More... | |
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 More... | |
Bool_t | RemoveAt (Int_t rang) |
return kTRUE if the indicated rank is occupied More... | |
Public Member Functions inherited from KVIntegerList | |
KVIntegerList () | |
Default constructor. More... | |
virtual | ~KVIntegerList () |
Destructor. More... | |
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())) More... | |
void | Add (Double_t val) |
Ajout de la valeur val version Double_t (Conversion Double_t -> Int_t (arrondi, TMath::Nint())) More... | |
void | Add (Double_t val, Int_t freq) |
Ajout de "freq" fois la valeur val. More... | |
void | Add (Int_t *tab, Int_t mult) |
Ajout d'un tableau d'entiers de "mult" valeurs. More... | |
void | Add (Int_t val) |
Ajout de la valeur val (Int_t) More... | |
void | Add (Int_t val, Int_t freq) |
Ajout de "freq" fois la valeur val. More... | |
void | Add (TArrayI *tab) |
void Fill(Double_t* tab,Int_t mult); More... | |
void | AddPopulation (Int_t pop) |
Incrémente la population de "pop" fois. More... | |
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);. More... | |
void | Fill (Int_t *tab, Int_t mult) |
void Fill(TArrayI* tab); More... | |
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) More... | |
void | SetPopulation (Int_t pop) |
Initialise la population à "pop". More... | |
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 () |
virtual TObject * | Clone (const char *newname="") const |
virtual void | FillBuffer (char *&buffer) |
virtual const char * | GetName () const |
virtual const char * | GetTitle () const |
virtual ULong_t | Hash () const |
virtual Bool_t | IsSortable () const |
virtual void | ls (Option_t *option="") const |
TNamed & | operator= (const TNamed &rhs) |
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 |
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=0) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
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) |
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 * | 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) |
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=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Protected Attributes | |
TLeaf * | linked_leaf |
Bool_t | select_max |
Bool_t | select_min |
Int_t | zmax |
Int_t | zmin |
Protected Attributes inherited from KVPartition | |
Int_t | fMult_diff |
Nbre de valeurs differentes. More... | |
TArrayI * | ftab |
tableau regroupant tous les entiers de la partition (ordre decroissant) More... | |
TArrayI * | ftab_diff |
tableau regroupant tous les entiers differents de la partition (ordre decroissant) More... | |
KVValues * | fValues |
Object permettant de gerer les moments ou autre. More... | |
Protected Attributes inherited from KVIntegerList | |
Ssiz_t | fLength |
Longueur du nom de la liste/partition usilisée dans Compare. More... | |
Int_t | fLimiteRegle |
taille max de fRegle More... | |
Int_t | fMult |
Nombre d'éléments dans la liste. More... | |
Int_t | fPop |
population de la liste/partition consideree, permet le comptage de partitions identiques dansun lot de donée More... | |
TArrayI * | fRegle |
tableau d'entiers où sont stockée l'occurence des valeurs More... | |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
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 TObject | |
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 KVPartition | |
void | add_values (Int_t val, Int_t freq) |
void | init (Int_t mommax=5) |
Initialisation. More... | |
Bool_t | remove_values (Int_t val, Int_t freq) |
void | Update () |
Protected Member Functions inherited from KVIntegerList | |
virtual void | DeducePartitionFromName () |
protected method, utilisee par le Streamer More... | |
virtual void | DeducePartitionFromTNamed () |
virtual void | DeducePopulationFromTitle () |
protected method, utilisee par le Streamer More... | |
void | init () |
virtual void | ResetRegle () |
protected method, Mise a zero de l'ensemble des valeurs More... | |
virtual void | SetPartition (const Char_t *par) |
Bool_t | ToBeUpdated () |
protected method, test si les grandeurs associées à la liste doivent etre mises a jour More... | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
#include <KVPartitionFromLeaf.h>
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.
|
protected |
Definition at line 52 of file KVPartitionFromLeaf.h.
|
protected |
Definition at line 54 of file KVPartitionFromLeaf.h.
|
protected |
Definition at line 54 of file KVPartitionFromLeaf.h.
|
protected |
Definition at line 53 of file KVPartitionFromLeaf.h.
|
protected |
Definition at line 53 of file KVPartitionFromLeaf.h.