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

class HParticleGeant: public TObject

_HADES_CLASS_DESCRIPTION



 HParticleGeant

 Simulation object keeping HGeant pointers and pointers to decays and
 reconstructed HParticleCand objects for this geant track.
 For documentation of use case see the documentation of
 HParticleGeantEvent.

Function Members (Methods)

public:
HParticleGeant()
HParticleGeant(const HParticleGeant&)
virtual~HParticleGeant()
voidTObject::AbstractMethod(const char* method) const
voidaddRecoCand(HParticleCandSim* c)
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
HGeomVector&getDecayVertex()
Float_tgetDistFromVertex(HGeomVector* primVer = 0)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tgetGeneration()
virtual const char*TObject::GetIconName() const
Int_tgetID()
Int_tgetMechanism()
Int_tgetMedium()
HGeantKine*getMother()
HParticleGeantDecay*getMotherDecay()
virtual const char*TObject::GetName() const
UInt_tgetNGhosts(Bool_t isUsed = kFALSE)
UInt_tgetNRecoCand()
UInt_tgetNRecoUsedCand()
UInt_tgetNTrueReco(Bool_t isUsed = kTRUE, UInt_t detbits = kIsInInnerMDC|kIsInOuterMDC|kIsInMETA)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
HGeantKine*getParticle()
vector<HParticleCandSim*>getRecoCand()
HParticleCandSim*getRecoCand(UInt_t i)
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
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tisInAcceptance()
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)
HParticleGeant&operator=(const HParticleGeant&)
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)
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* moth)
voidsetMotherDecay(HParticleGeantDecay* mdecay)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetParticle(HGeantKine* part)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
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()

Data Members

private:
Bool_tfInAcceptance= kTRUE if particle is detected in Acceptance
HGeomVectorfdecayVertexvertex of this particle
Int_tfgenerationgeneration of this particle (number of mothers)
HGeantKine*fmotherpointer to mother kine object
HParticleGeantDecay*fmotherDecaypointer to the mother decay
HGeantKine*fparticlepointer to kine object
vector<HParticleCandSim*>vRecolist of reconstructed candidates keeping the same Geant track

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HParticleGeant()
~HParticleGeant()
void setParticle(HGeantKine* part)
 sets kine pointer of particle
 the vertex and the acceptance flag
Float_t getDistFromVertex(HGeomVector* primVer = 0)
void addRecoCand(HParticleCandSim* c)
 adds a candidate to the list of recontructed
 candidates if it is not already in the list
UInt_t getNRecoCand()
UInt_t getNRecoUsedCand()
UInt_t getNGhosts(Bool_t isUsed = kFALSE)
 return the number of reconstructed candidates matching
 this geant object which are flagged kIsUsed (if isUsed=kTRUE, default=kFALSE)
 and are marked as Ghosts
UInt_t getNTrueReco(Bool_t isUsed = kTRUE, UInt_t detbits = kIsInInnerMDC|kIsInOuterMDC|kIsInMETA)
 return the number of reconstructed candidates matching
 this geant object which are flagged kIsUsed (if isUsed=kTRUE, default=kTRUE)
 and are not marked as Ghosts and fullfill the detector bits
 (default == kIsInInnerMDC|kIsInOuterMDC|kIsInMETA, = 0 will ignore)
void print()
 prints some basic infos about this particle
void clear()
 resets all internal varibales
HParticleGeant()
HGeantKine* getParticle()
{ return fparticle;}
HGeantKine* getMother()
{ return fmother;}
void setMother(HGeantKine* moth)
{ fmother = moth; }
Int_t getID()
{ return (fparticle ) ? fparticle->getID() : -1;}
HGeomVector& getDecayVertex()
{ return fdecayVertex;}
Int_t getMedium()
{ return (fparticle ) ? fparticle->getMedium() : -1;}
Int_t getMechanism()
{ return (fparticle ) ? fparticle->getMechanism() : 0;}
Int_t getGeneration()
{ return fgeneration;}
HParticleGeantDecay* getMotherDecay()
{ return fmotherDecay;}
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;}
vector<HParticleCandSim*> getRecoCand()
{ return vReco;}
HParticleCandSim* getRecoCand(UInt_t i)
{ return (i < vReco.size() ) ? vReco[i] : 0 ; }
Bool_t isInAcceptance()
{return fInAcceptance;}