ROOT logo
HYDRA - THE HADES ANALYSIS PACKAGE » (UNKNOWN) » HParticleGeantDecay

class HParticleGeantDecay: public TObject

_HADES_CLASS_DESCRIPTION



 HParticleGeantDecay

 Simulation object keeping HGeant pointers mother and pointers to daughters and
 mother decays. For documentation of use case see the documentation of
 HParticleGeantEvent.

Function Members (Methods)

public:
HParticleGeantDecay()
HParticleGeantDecay(const HParticleGeantDecay&)
virtual~HParticleGeantDecay()
voidTObject::AbstractMethod(const char* method) const
voidaddDaughter(HGeantKine* d)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
voidclear()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
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
HGeantKine*getDaughter(UInt_t i)
vector<HGeantKine*>&getDaughters()
HGeomVector&getDecayVertex()
Float_tgetDistFromVertex(HGeomVector* primVer = 0)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tgetGeneration()
Int_tgetGeneratorInfo()
Int_tgetGeneratorInfo1()
Int_tgetGeneratorInfo2()
virtual const char*TObject::GetIconName() const
Int_tgetMechanism()
Int_tgetMedium()
HGeantKine*getMother()
HParticleGeantDecay*getMotherDecay()
Int_tgetMotherID()
virtual const char*TObject::GetName() const
UInt_tgetNDaughters()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
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
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tisDaughter(HGeantKine* d)
Bool_tisDaughter(vector<HGeantKine*> d)
Bool_tisDaughterPID(Int_t pid)
Bool_tisDaughterPID(vector<Int_t>& pids)
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Bool_tisExternalSource()
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
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)
HParticleGeantDecay&operator=(const HParticleGeantDecay&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidprint()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidsetDaughters(vector<HGeantKine*>& d)
voidsetDecayVertex(HGeomVector& ver)
voidsetDecayVertex(Float_t x, Float_t y, Float_t z)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetGeneration(Int_t gen)
voidsetMother(HGeantKine* mother)
voidsetMotherDecay(HParticleGeantDecay* mdecay)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
voidsortDaughters()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
static Bool_tcompareTrackNr(HGeantKine* kine1, HGeantKine* kine2)

Data Members

private:
vector<HGeantKine*>fdaughters
HGeomVectorfdecayVertex
Int_tfgeneration
HGeantKine*fmother
HParticleGeantDecay*fmotherDecay

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HParticleGeantDecay()
~HParticleGeantDecay()
Bool_t isDaughterPID(Int_t pid)
 return kTRUE if a daughters with the given id
 is among the list of daughters.
Bool_t isDaughterPID(vector<Int_t>& pids)
 checks if all pids in vector
 are contained in daughters. This function
 can be used to make sure that a decay has all
 all needed daughters in the list.
 example : lambda -> p + piminus
           if both daughters should be in acceptance found
           one can ask with ids 14+9
 example 2 :   pi0 -> e+ + e- + gamma
               2+3 will make sure both leptons are found
void addDaughter(HGeantKine* d)
 adds a daughter to the list of daughters
 if the daughters is not already in the list
void sortDaughters()
 sorts the daughters ascending by track number
Float_t getDistFromVertex(HGeomVector* primVer = 0)
 returns the distance of the decay from primary vertex (if provided)
 otherwise the distance from 0,0,0 in mm
void clear()
 clears all internal variables
Bool_t isDaughter(HGeantKine* d)
 return kTRUE if the particle is inside the list of
 daughters of the decay
Bool_t isDaughter(vector<HGeantKine*> d)
 returns kTRUE if all particles are found
 in the list of daughters
void print()
 print some basic infos about the decay
Bool_t compareTrackNr(HGeantKine* kine1, HGeantKine* kine2)
HParticleGeantDecay()
Int_t getMotherID()
{ return (fmother) ? fmother->getID() : -10;}
HGeantKine* getMother()
{ return fmother;}
vector<HGeantKine*>& getDaughters()
{ return fdaughters;}
UInt_t getNDaughters()
{ return fdaughters.size();}
HGeantKine* getDaughter(UInt_t i)
{ return (i < fdaughters.size()) ? fdaughters[i] : 0;}
HGeomVector& getDecayVertex()
{ return fdecayVertex;}
Int_t getMedium()
{ return (fmother) ? fmother->getMedium() : -1;}
Int_t getMechanism()
{ return (fmother) ? fmother->getMechanism() : 0;}
Int_t getGeneration()
{ return fgeneration;}
HParticleGeantDecay* getMotherDecay()
{ return fmotherDecay;}
Int_t getGeneratorInfo()
{ return (fmother) ? fmother->getGeneratorInfo() : 0;}
Int_t getGeneratorInfo1()
{ return (fmother) ? fmother->getGeneratorInfo1(): 0;}
Int_t getGeneratorInfo2()
{ return (fmother) ? fmother->getGeneratorInfo2(): 0;}
void setGeneration(Int_t gen)
{ fgeneration = gen;}
void setDecayVertex(Float_t x, Float_t y, Float_t z)
{ fdecayVertex.setXYZ(x,y,z);}
void setDecayVertex(HGeomVector& ver)
{ fdecayVertex = ver;}
void setMotherDecay(HParticleGeantDecay* mdecay)
{ fmotherDecay = mdecay;}
void setMother(HGeantKine* mother)
{ fmother = mother;}
void setDaughters(vector<HGeantKine*>& d)
{ fdaughters = d;}
Bool_t isExternalSource()
{ return (fmother) ? fmother->isExternalSource() : kFALSE; }