ROOT logo
AliRoot » PHOS » AliPHOSFastRecParticle

class AliPHOSFastRecParticle: public TParticle

  A  Particle modified by PHOS response and produced by AliPHOSvFast
  To become a general class of AliRoot ?
--
  This is also a base class for AliPHOSRecParticle produced by AliPHOSPIDv1
  The rec.particle type is to be defined by AliPHOSvFast or AliPHOSPIDv1
--
*-- Author: Yves Schutz (SUBATECH)

Function Members (Methods)

public:
AliPHOSFastRecParticle()
AliPHOSFastRecParticle(const AliPHOSFastRecParticle& rp)
AliPHOSFastRecParticle(const TParticle& p)
virtual~AliPHOSFastRecParticle()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
Int_tTParticle::Beauty() const
virtual voidTObject::Browse(TBrowser* b)
Int_tTParticle::Charm() const
static TClass*Class()
virtual const char*TObject::ClassName() const
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
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tDistancetoPrimitive(Int_t px, Int_t py)
virtual voidDraw(Option_t* option)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
Double_tTParticle::Energy() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
Double_tTParticle::Eta() 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 voidExecuteEvent(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
Double_tTParticle::GetCalcMass() const
Int_tTParticle::GetDaughter(Int_t i) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tTParticle::GetFirstDaughter() const
Int_tTParticle::GetFirstMother() const
virtual const char*TObject::GetIconName() const
Int_tGetIndexInList() const
Int_tTParticle::GetLastDaughter() const
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
Double_tTParticle::GetMass() const
Int_tTParticle::GetMother(Int_t i) const
virtual const char*TParticle::GetName() const
Int_tTParticle::GetNDaughters() const
virtual Int_tGetNPrimaries() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TParticlePDG*TParticle::GetPDG(Int_t mode = 0) const
Int_tTParticle::GetPdgCode() const
voidTParticle::GetPolarisation(TVector3& v) const
virtual const TParticle*GetPrimary(Int_t) const
Int_tTParticle::GetSecondMother() const
Int_tTParticle::GetStatusCode() const
virtual const char*TParticle::GetTitle() const
Int_tGetType() const
virtual UInt_tTObject::GetUniqueID() const
Float_tTParticle::GetWeight() 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_tIsChargedHadron() const
Bool_tIsEleCon(TString purity = "low") const
Bool_tIsElectron(TString purity = "low") const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Bool_tIsFastChargedHadron() const
Bool_tIsFastNeutralHadron() const
virtual Bool_tTObject::IsFolder() const
Bool_tIsHadron() const
Bool_tIsHardPhoton() const
Bool_tIsHardPi0() const
Bool_tIsNeutralHadron() const
Bool_tTObject::IsOnHeap() const
Bool_tIsPhoton(TString purity = "low") const
Bool_tIsPi0(TString purity = "low") const
Bool_tTParticle::IsPrimary() const
Bool_tIsSlowChargedHadron() const
Bool_tIsSlowNeutralHadron() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTAttLine::Modify()
voidTParticle::Momentum(TLorentzVector& v) const
TStringName() 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)
AliPHOSFastRecParticle&operator=(const AliPHOSFastRecParticle&)
Double_tTParticle::P() const
virtual voidPaint(Option_t* option = "")
Double_tTParticle::Phi() const
virtual voidTObject::Pop()
virtual voidPrint(Option_t* = "") const
voidTParticle::ProductionVertex(TLorentzVector& v) const
Double_tTParticle::Pt() const
Double_tTParticle::Px() const
Double_tTParticle::Py() const
Double_tTParticle::Pz() const
Double_tTParticle::R() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
voidTObject::ResetBit(UInt_t f)
Double_tTParticle::Rho() const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTAttLine::SaveLineAttributes(basic_ostream<char,char_traits<char> >& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
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)
voidTParticle::SetCalcMass(Double_t mass)
voidTParticle::SetDaughter(int i, int code)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTParticle::SetFirstDaughter(int code)
voidTParticle::SetFirstMother(int code)
voidSetIndexInList(Int_t val)
voidTParticle::SetLastDaughter(int code)
voidTParticle::SetLastMother(int code)
virtual voidTAttLine::SetLineAttributes()MENU
virtual voidTAttLine::SetLineColor(Color_t lcolor)
virtual voidTAttLine::SetLineStyle(Style_t lstyle)
virtual voidTAttLine::SetLineWidth(Width_t lwidth)
voidTParticle::SetMomentum(const TLorentzVector& p)
voidTParticle::SetMomentum(Double_t px, Double_t py, Double_t pz, Double_t e)
voidTParticle::SetMother(int i, int code)
static voidTObject::SetObjectStat(Bool_t stat)
voidTParticle::SetPdgCode(Int_t pdg)
voidSetPIDBit(UInt_t fSet)
voidTParticle::SetPolarisation(const TVector3& v)
voidTParticle::SetPolarisation(Double_t polx, Double_t poly, Double_t polz)
voidTParticle::SetProductionVertex(const TLorentzVector& v)
voidTParticle::SetProductionVertex(Double_t vx, Double_t vy, Double_t vz, Double_t t)
voidTParticle::SetStatusCode(int status)
voidSetTof(Float_t tof)
voidSetType(Int_t type)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTParticle::SetWeight(Float_t weight = 1)
virtual voidShowMembers(TMemberInspector&)
virtual voidTParticle::Sizeof3D() const
Int_tTParticle::Strangeness() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Double_tTParticle::T() const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Bool_tTestPIDBit(UInt_t fTest) const
Double_tTParticle::Theta() const
Float_tToF() const
virtual voidTObject::UseCurrentStyle()
Double_tTParticle::Vx() const
Double_tTParticle::Vy() const
Double_tTParticle::Vz() const
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
Double_tTParticle::Y() const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum EParticleType { kTYPE
kUNDEFINED
kNEUTRALEMFAST
kNEUTRALHAFAST
kNEUTRALEMSLOW
kNEUTRALHASLOW
kCHARGEDEMFAST
kCHARGEDHAFAST
kCHARGEDEMSLOW
kCHARGEDHASLOW
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Double_tTParticle::fCalcMassCalculated mass
Int_tTParticle::fDaughter[2]Indices of the daughter particles
Double_tTParticle::fEEnergy
Int_tfIndexInListthe index of this RecParticle in the list stored in TreeR (to be set by analysis)
Color_tTAttLine::fLineColorline color
Style_tTAttLine::fLineStyleline style
Width_tTAttLine::fLineWidthline width
Int_tTParticle::fMother[2]Indices of the mother particles
Float_tfPID[14]PID probability densities
TParticlePDG*TParticle::fParticlePDG! reference to the particle record in PDG database
Int_tTParticle::fPdgCodePDG code of the particle
Double_tTParticle::fPolarPhiazymutal angle of polarisation
Double_tTParticle::fPolarThetaPolar angle of polarisation
Double_tTParticle::fPxx component of momentum
Double_tTParticle::fPyy component of momentum
Double_tTParticle::fPzz component of momentum
Int_tTParticle::fStatusCodegeneration status code
Float_tfToftime of fliht
Int_tfTypeparticle type obtained by "virtual" reconstruction
Double_tTParticle::fVtt of production vertex
Double_tTParticle::fVxx of production vertex
Double_tTParticle::fVyy of production vertex
Double_tTParticle::fVzz of production vertex
Float_tTParticle::fWeightparticle weight

Class Charts

Inheritance Chart:
TParticle
AliPHOSFastRecParticle
AliPHOSRecParticle

Function documentation

AliPHOSFastRecParticle()
 ctor
AliPHOSFastRecParticle(const AliPHOSFastRecParticle& rp)
 copy ctor
AliPHOSFastRecParticle(const TParticle& p)
 ctor from a TParticle (crummy?!)
Int_t DistancetoPrimitive(Int_t px, Int_t py)
  Compute distance from point px,py to a AliPHOSFastRecParticle considered as a Tmarker
  Compute the closest distance of approach from point px,py to this marker.
  The distance is computed in pixels units.
void Draw(Option_t* option)
 Draw this AliPHOSFastRecParticle with its current attributes
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
  Execute action corresponding to one event
  This member function is called when a AliPHOSFastRecParticle is clicked with the locator
Bool_t IsPhoton(TString purity = "low") const
 Rec.Particle is a photon if it has a photon-like shape, fast and neutral
 photon-like shape is defined with a purity "low", "medium" or "high"
Bool_t IsPi0(TString purity = "low") const
 Rec.Particle is a pi0 if it has a pi0-like shape, fast and neutral
 pi0-like shape is defined with a purity "low", "medium" or "high"
Bool_t IsElectron(TString purity = "low") const
 Rec.Particle is an electron if it has a photon-like shape, fast and charged
 photon-like shape is defined with a purity "low", "medium" or "high"
Bool_t IsEleCon(TString purity = "low") const
 Rec.Particle is an electron if it has a photon-like shape, fast and charged
 photon-like shape is defined with a purity "low", "medium" or "high"
Bool_t IsHardPhoton() const
 Rec.Particle is a hard photon (E > 30 GeV) if its second moment M2x
 corresponds to photons
Bool_t IsHardPi0() const
 Rec.Particle is a hard pi0 (E > 30 GeV) if its second moment M2x
 corresponds to pi0
Bool_t IsHadron() const
 Rec.Particle is an hadron if it does not look like
 a low-purity photon nor low-purity pi0
Bool_t IsChargedHadron() const
 Rec.Particle is a charged hadron if it does not look like
 a low-purity photon nor low-purity pi0 and is low-purity charged
Bool_t IsNeutralHadron() const
 Rec.Particle is a neutral hadron if it does not look like
 a low-purity photon nor low-purity pi0 and is high-purity neutral
Bool_t IsFastChargedHadron() const
 Rec.Particle is a fast charged hadron if it does not look like
 a low-purity photon nor low-purity pi0, is low-purity charged
 and is high-purity fast
Bool_t IsSlowChargedHadron() const
 Rec.Particle is a slow neutral hadron if it does not look like
 a low-purity photon nor low-purity pi0, is high-purity neutral
 and is not high-purity fast
Bool_t IsFastNeutralHadron() const
 Rec.Particle is a fast neutral hadron if it does not look like
 a low-purity photon nor low-purity pi0, is high-purity neutral
 and is high-purity fast
Bool_t IsSlowNeutralHadron() const
 Rec.Particle is a slow neutral hadron if it does not look like
 a low-purity photon nor low-purity pi0, is high-purity neutral
 and is not high-purity fast
TString Name() const
 Returns the name of the particle type (only valid if PIDv1 is employed)
void SetType(Int_t type)
 sets the particle type
 bit-mask of the particle type means the following:
 bits 0,1,2   - neutral particle with low, medium and high purity
 bits 3.4,5   - fast particle with low, medium and high purity
 bits 6.7,8   - photon shower with low, medium and high purity
 bits 9,10,11 - hard-pi0 shower with low, medium and high purity
void Paint(Option_t* option = "")
 Paint this ALiRecParticle in theta,phi coordinate as a TMarker  with its current attributes
void Print(Option_t* = "") const
 Print the type, energy and momentum of the reconstructed particle
virtual ~AliPHOSFastRecParticle()
{ }
Int_t GetIndexInList() const
 returns the index of this in the list
Int_t GetNPrimaries() const
{return 0 ;}
const TParticle * GetPrimary(Int_t ) const
{return 0 ;}
Int_t GetType() const
 returns the type of the particle
void SetPIDBit(UInt_t fSet)
 Set PID bit number fSet
Bool_t TestPIDBit(UInt_t fTest) const
 Check PID bit number fTest
void SetTof(Float_t tof)
{ fTof = tof ; }
Float_t ToF() const
{ return fTof ; }
void SetIndexInList(Int_t val)
 sets the value of the index in the list