class HHypList: public TObject

Function Members (Methods)

public:
HHypList()
HHypList(const HHypList&)
HHypList(HHypList* HypList, Int_t IdxHypKine = -1)
HHypList(HHypComb* HypComb, Int_t IdxHypKine = -1)
HHypList(Int_t Idx_HypComb, Int_t IdxHypKine = -1)
virtual~HHypList()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static HCategory*buildLinearCat(const Text_t* Calssname)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* opt = "")
virtual TObject*TObject::Clone(const char* newname = "") const
Bool_tCombIterator()
Bool_tCombIteratorReset()
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Float_tgetBeta(Int_t Ipart)
Float_tgetBeta(const Char_t* name, Int_t num)
Float_tgetBeta(Int_t Icomb, Int_t Ipart)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tgetIdxHypComb()
Int_tgetIdxHypKine()
Int_tgetIdxPidTrackCand(Int_t Ipart)
Int_tgetIdxPidTrackCand(Int_t Icomb, Int_t Ipart)
Int_tgetIdxPidTrackCand(const Char_t* name, Int_t)
Bool_tgetIterStatus()
Int_tgetListId()
TVector3getMomentum(Int_t Ipart)
TVector3getMomentum(Int_t Icomb, Int_t Ipart)
virtual const char*TObject::GetName() const
Int_tgetNcomb()
Int_tgetNpart()
Float_tgetNrOfFakes()
Int_tgetNvalid()
Int_tgetNvalid(Int_t Icomb)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tgetOrder()
TVector3getOrigMomentum(Int_t Ipart)
TVector3getOrigMomentum(Int_t Icomb, Int_t Ipart)
HHypList*getParent()
Int_tgetPid(Int_t Ipart)
Int_tgetPid(Int_t Icomb, Int_t Ipart)
HPidTrackCand*getPidTrackCand(Int_t Ipart)
HPidTrackCand*getPidTrackCand(const Char_t* name, Int_t num)
Float_tgetProbAlg()
Float_tgetProbAlg(Int_t Icomb)
Float_tgetProbComb(Int_t Icomb)
virtual const char*TObject::GetTitle() const
TLorentzVectorgetTLorentzVector(Int_t Ipart)
TLorentzVectorgetTLorentzVector(Int_t Icomb, Int_t Ipart)
TLorentzVectorgetTLorentzVector(const Char_t*, Int_t)
virtual UInt_tTObject::GetUniqueID() const
Bool_tgetUserValue(Int_t valueID, Float_t& value, Int_t my_iter = -1)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
Bool_tinitcopyMomentum()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tisValidPart(Int_t Ipart)
Bool_tisValidPart(Int_t Icomb, Int_t Ipart)
Bool_tTObject::IsZombie() const
Bool_tJoin(HHypList* addthis)
voidKeepBestComb()
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
HHypList&operator=(const HHypList&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
Bool_tprepareHypList()
Bool_tprint()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
Bool_tReadNumberedUserValues(Int_t i, Int_t& my_iter, Int_t& valueID, Float_t& value)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidremoveComb()
voidTObject::ResetBit(UInt_t f)
voidresetIterStatus()
Bool_tresetProbAlg(Float_t Prob)
voidRestore()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Bool_tsetIdxHypComb(Int_t Idx)
Bool_tsetIdxHypKine(Int_t Idx)
Bool_tsetListId(Int_t Id_list)
Bool_tsetMomentum(Int_t Ipart, TVector3 vect)
Bool_tsetMomentum(Int_t Icomb, Int_t Ipart, TVector3 vect)
Bool_tsetMomentum(const Char_t* name, Int_t num, TVector3 vect)
static voidTObject::SetObjectStat(Bool_t stat)
Bool_tsetProbAlg(Int_t Icomb, Float_t Prob)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidsetUserValue(Int_t valueID, Float_t value, Int_t my_iter = -1)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Bool_twriteUserValues()
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
Int_tc_fuseralg[6000]!caching table
Float_tc_fvaluealg[3000]!caching table, avoids delete/new op. of TArray
Int_tc_nvaluealg! number of columns of c_fvaluealg
Int_tcomb_iter! for the iterator
TArrayFfprobalgprobability calculated by algorythm for given combination
TArrayIfuseralgstoring USER defined values: row0->ncomb, row1->valueID (up to 2*nvaluealg)
TArrayFfvaluealgstoring USER defined values (up to nvaluealg)
Int_tid_listchannel list ID (see hypchannel)
Int_tidx_hypcombindex of HHypComb container
Int_tidx_hypkineindex of HHypKine container ( -1 -> don't use kine )
Int_tidx_hyplistindex of "parent" HHypList container ( -1 -> no parent )
Bool_titerstatus! internal status of the particle iterator
Int_tnvaluealgnumber of columns of fvaluealg
HHypComb*p_hypcomb! pointer to HHypComb container (! -> don't strem p_hypcomb)
Bool_tstatus! exit status

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HHypList(HHypList * OldList, Int_t IdxHypKine)
 Constructor


 Input parameters:
       OldList    : pointer to the parent HHypList object.
                    New HHypList inherits HHypComb container from OldList
                    also fprobalg values are copied
       IdxHypKine : Index to HHypKine container; put -1 to have the same as the OldList has
                    (if does not have the new HHypList will not have too)

HHypList(HHypComb * HypComb, Int_t IdxHypKine)
 Constructor


 Input parameters:
       HypComb    : pointer to the HHypComb object.
                    New HHypList base on the HypComb
       IdxHypKine : Index to HHypKine container; put -1 to have the same as the OldList has
                    (if does not have the new HHypList will not have too)
HHypList(Int_t Idx_HypComb, Int_t IdxHypKine)
 Constructor


 Input parameters:
             Idx_HypComb : index to HHypComb container
             IdxHypKine  : index to HHypKine container
             see previous constructors
Bool_t Join(HHypList* addthis)
void Clear(Option_t* opt = "")
 opt -> for future :)
 set size of 3 TArray objects to 0
void Restore(void)
restore pointer after reading from root file
Bool_t setListId(Int_t Id_list)
 set id of the HHypList
Int_t getListId()
 returns id of the HHypList
HHypList * getParent()
 returns index of parent HHypList if exist
 if does not returns NULL
Bool_t prepareHypList()
 set variables : Ncomb, fprobalg size
 copy fprobalg from old HHypComb container to the actual one
void setUserValue(Int_t valueID, Float_t value, Int_t my_iter = -1)
 set user value
Bool_t getUserValue(Int_t valueID, Float_t& value, Int_t my_iter = -1)
This returns user values from this list or any parent list
Int_t valueID: see hypinfodef.h
Float_t & value: return user value
Int_t my_iter: Iteration (comb_iter by default, to be used in Iterator)
return Bool_t: success or not...
Bool_t ReadNumberedUserValues(Int_t i, Int_t& my_iter, Int_t& valueID, Float_t& value)
 now the arrayed vars
Bool_t writeUserValues(void)
 copy values from c_fuseralg to fuseralg
         and from c_fvaluealg to fuseralg
 from "cached" variables to dynamic Arrays
HPidTrackCand * getPidTrackCand(Int_t Ipart)
 returns HPidTrackCand for certain particle position
 iterates over combination !!!
HPidTrackCand * getPidTrackCand(const Char_t* name, Int_t num)
 returns HPidTrackCand for certain particle position
 iterates over combination !!!
Int_t getNcomb()
 returns number of possible combination
Int_t getNpart()
 returns number of particles in each single combination
 this is the size of the array, not the number of real valid tracks!
 use getNvalid() to get that number
Int_t getNvalid(Int_t Icomb)
 returns number of VALID particles in this combination
 this can be smaller that size of the array given by getNpart()
Int_t getNvalid(Int_t Icomb)
 returns number of VALID particles in this combination
 this can be smaller that size of the array given by getNpart()
Float_t getProbComb(Int_t Icomb)
 returns probability of given combination
Int_t getOrder(void)
 returns integer from 1 to NConb
 1 - for the combination with the highest probability
 Note: same Probability will result in same order number!!!
TLorentzVector getTLorentzVector(Int_t Icomb, Int_t Ipart)
 returns TLorentzVector for given cell
      x,y,z momentum components are taken from HPidTrackCand object
      mass taken according to assumed pid of the particle
     if kine container exist take momenta from this container
TLorentzVector getTLorentzVector(Int_t Ipart)
 returns TLorentzVector for given num (number of particle)
 iterates over combinations
      x,y,z momentum components are taken from HPidTrackCand object
      mass taken according to assumed pid of the particle
      if kine container exist take momenta from this container
TLorentzVector getTLorentzVector(const Char_t *name, Int_t num)
 returns TLorentzVector for given name of particle (i.e "p")
 num is number in order : use 1 for first "p" , 2 for secound ....
 iterates over combinations
      x,y,z momentum components are taken from HPidTrackCand object
      mass taken according to assumed pid of the particle
      if kine container exist take momenta from this container
Int_t getIdxPidTrackCand(Int_t Icomb, Int_t Ipart)
 returns PidTrackCand object index for certain cell
Int_t getIdxPidTrackCand(Int_t Ipart)
 returns index to HPidTrackCand for certain particle position
 iterates over combination
Int_t getIdxPidTrackCand(const Char_t *name, Int_t num)
 returns index to HPidTrackCand for given particle name and number in order
 iterates over combination
Bool_t isValidPart(Int_t Icomb, Int_t Ipart)
 returns if PidTrackCand Index is valid >=0
Bool_t isValidPart(Int_t Ipart)
 returns index to HPidTrackCand for certain particle position
 iterates over combination
Bool_t initcopyMomentum(void)
 Inits (and if necs. copies) momentum
 This fcuntion should be called at the beginning of every
 algo which uses setMomentum
 if not there is the *possibility* that one algo is
 overwriting the momentum another algo might need
Bool_t setMomentum(Int_t Icomb, Int_t Ipart, TVector3 vect)
 set momentum of particle for given cell (in HHypKine)
 vect=(px,py,pz) (HHypKine is created if does not exist)
Bool_t setMomentum(Int_t Ipart, TVector3 vect)
 set momentum of particle for given particle number (in HHypKine)
 vect=(px,py,pz) (HHypKine is created if does not exist)
 iterate over combinations
Bool_t setMomentum(const Char_t *name, Int_t num, TVector3 vect)
 set momentum of particle for given particle name (in HHypKine) and number in order
 i.e num=1 for first "p" , num=2 for secound "p"
 vect=(px,py,pz) (HHypKine is created if does not exist)
 iterate over combinations
TVector3 getMomentum(Int_t Icomb, Int_t Ipart)
 return TVector3 (px,py,pz) - 3-momentum components
 if HHypKine exist take TVector3 from HHypKine
TVector3 getMomentum(Int_t Ipart)
 return TVector3 (px,py,pz) - 3-momentum components
 if HHypKine exist take TVector3 from HHypKine
 num : x position of paticle in HypComb table
 iterate over combination
TVector3 getOrigMomentum(Int_t Icomb, Int_t Ipart)
 return TVector3 (px,py,pz) - 3-momentum components
TVector3 getOrigMomentum(Int_t Ipart)
 return TVector3 (px,py,pz) - 3-momentum components
 if HHypKine exist take TVector3 from HHypKine
 num : x position of paticle in HypComb table
 iterate over combination
Float_t getBeta(const Char_t *name, Int_t num)
 returns beta for given name of particle (i.e "p")
 num is number in order : use 1 for first "p" , 2 for secound ....
 iterates over combinations
Float_t getBeta(Int_t Icomb, Int_t Ipart)
 return beta of given particle according to applied algorithm
 for particle on position Ipart in combination Icomb
Float_t getBeta(Int_t Ipart)
 return beta of given particle according to applied algorithm
 for particle on position Ipart
 iterate over combination
Bool_t setProbAlg(Int_t Icomb, Float_t Prob)
 set probability Prob given by algorithm for combination number Icomb
Float_t getProbAlg(Int_t Icomb)
 returns probability given by algotrythm for  combination number Icomb
Float_t getProbAlg(Int_t Icomb)
 returns probability given by algorythm for combination
 iterate over combination
void removeComb(void)
 Use this function inside a selector to remove current combination.
void KeepBestComb(void)
 Remove all combinations, keep only the best one
Bool_t resetProbAlg(Float_t Prob)
 This function sets a new probability inside the Iterator()
 [Ingo]
Int_t getPid(Int_t Icomb, Int_t Ipart)
 returns assumed pid for given cell
Int_t getPid(Int_t Ipart)
 returns assumed pid for given num (number of particle)
 iterates over combinations
Bool_t setIdxHypComb(Int_t Idx)
 set index to the HHypComb
Int_t getIdxHypComb()
 returns index to the HHypComb
Bool_t setIdxHypKine(Int_t Idx)
 set index to the HHypKine
Int_t getIdxHypKine()
 returns index to the HHypKine
Bool_t CombIteratorReset(void)
 reset comb_iter
Bool_t getIterStatus(void)
void resetIterStatus(void)
Bool_t CombIterator(void)
 This is the only legal method how to scan the valid
 combinations. A combination is valid, if probAlg is equal or more
 than zero. It is unvalid, if probAlg is SMALLER than zero.
Bool_t print()
 use while debuging to print HHypComb table with indexes and pids
Float_t getNrOfFakes(void)
HCategory * buildLinearCat(const Text_t* Calssname)
 build linear category
void Streamer(TBuffer& b)
 Stream an object of class HHypList.
HHypList()
{}
HHypList(HHypList * HypList, Int_t IdxHypKine = -1)
~HHypList()
{}

Last change: 09.02.2005 by Marcin Wisniowski
Last generated: 2010-05-22 12:57

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.