ROOT logo
AliRoot » STEER » AOD » AliAODPWG4Particle

class AliAODPWG4Particle: public AliVParticle

     AOD objects class in use in the CaloTrackCorrelations
     analysis pacackge ($ALICE_ROOT/PWGGA/CaloTrackCorrelations)

     Author: Gustavo Conesa Balbastre - CNRS-LPSC-Grenoble

Function Members (Methods)

public:
AliAODPWG4Particle()
AliAODPWG4Particle(TLorentzVector& p)
AliAODPWG4Particle(const AliAODPWG4Particle& photon)
AliAODPWG4Particle(Double_t px, Double_t py, Double_t pz, Double_t e)
virtual~AliAODPWG4Particle()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual Short_tCharge() const
Bool_tCheckBTagBit(const Int_t tag, const UInt_t test) const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t*)
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tAliVParticle::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual Int_tDecayTag() const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual Int_tDistToBad() const
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual Double_tE() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual Double_tEta() 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
virtual Int_tGetBtag() const
virtual Int_tGetCaloLabel(Int_t i) const
virtual Bool_tGetChargedBit() const
virtual UInt_tGetDetectorTag() const
virtual Bool_tGetDispBit() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Int_tGetFiducialArea() const
virtual Int_tAliVParticle::GetFirstDaughter() const
virtual UInt_tAliVParticle::GetFlag() const
virtual Short_tAliVParticle::GetGeneratorIndex() const
virtual const char*TObject::GetIconName() const
virtual Int_tGetIdentifiedParticleType() const
virtual Int_tGetInputFileIndex() const
virtual Int_tGetLabel() const
virtual Int_tAliVParticle::GetLastDaughter() const
virtual Float_tGetM02() const
virtual Int_tAliVParticle::GetMother() const
virtual const char*TObject::GetName() const
virtual Int_tGetNCells() const
virtual Int_tGetNLM() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetPairMass(AliAODPWG4Particle* p) const
virtual Int_tGetSModNumber() const
virtual Int_tGetTag() const
virtual Float_tGetTime() const
virtual const char*TObject::GetTitle() const
virtual Bool_tGetTOFBit() const
virtual Int_tGetTrackLabel(Int_t i) const
virtual UInt_tTObject::GetUniqueID() const
Bool_tAliVParticle::Global2LocalMomentum(Double_t* p, Short_t charge, Double_t& alpha) const
Bool_tAliVParticle::Global2LocalPosition(Double_t* r, Double_t alpha) 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
virtual Bool_tIsIsolated() const
virtual Bool_tIsLeadingParticle() const
Bool_tTObject::IsOnHeap() const
Bool_tIsPIDOK(const Int_t ipid, const Int_t pdgwanted) const
virtual Bool_tAliVParticle::IsPrimary() const
virtual Bool_tAliVParticle::IsSortable() const
virtual Bool_tIsTagged() const
Bool_tTObject::IsZombie() const
Bool_tAliVParticle::Local2GlobalMomentum(Double_t* p, Double_t alpha) const
Bool_tAliVParticle::Local2GlobalPosition(Double_t* r, Double_t alpha) const
virtual voidTObject::ls(Option_t* option = "") const
virtual Double_tM() const
voidTObject::MayNotUse(const char* method) const
TLorentzVector*Momentum() const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
virtual Double_tOneOverPt() 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)
AliAODPWG4Particle&operator=(const AliAODPWG4Particle& photon)
virtual Double_tP() const
virtual voidTObject::Paint(Option_t* option = "")
virtual Int_tPdgCode() const
virtual Double_tPhi() const
virtual const Double_t*PID() const
virtual voidTObject::Pop()
virtual voidPrint(Option_t*) const
virtual Double_tPt() const
virtual Double_tPx() const
virtual Bool_tPxPyPz(Double_t* p) const
virtual Double_tPy() const
virtual Double_tPz() 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(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetBtag(Int_t tag)
voidSetBTagBit(Int_t& tag, const UInt_t set) const
virtual voidSetCaloLabel(Int_t a, Int_t b)
virtual voidSetChargedBit(Bool_t ch)
virtual voidSetDecayTag(Int_t tag)
virtual voidSetDetectorTag(UInt_t d)
virtual voidSetDispBit(Bool_t disp)
virtual voidSetDistToBad(Int_t dist)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetFiducialArea(Int_t a)
virtual voidAliVParticle::SetFlag(UInt_t)
virtual voidAliVParticle::SetGeneratorIndex(Short_t)
virtual voidSetIdentifiedParticleType(Int_t pdg)
virtual voidSetInputFileIndex(Int_t i)
virtual voidSetIsolated(Bool_t iso)
virtual voidSetLabel(Int_t l)
virtual voidSetLeadingParticle(Bool_t l)
virtual voidSetM02(Float_t m02)
virtual voidSetMomentum(TLorentzVector* lv)
virtual voidSetNCells(Int_t nce)
virtual voidSetNLM(Int_t nlm)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetSModNumber(Int_t sm)
virtual voidSetTag(Int_t tag)
virtual voidSetTagged(Bool_t tag)
virtual voidSetTime(Float_t tim)
virtual voidSetTOFBit(Bool_t tof)
virtual voidSetTrackLabel(Int_t a, Int_t b)
virtual voidSetTrackLabel(Int_t a, Int_t b, Int_t c, Int_t d)
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 Double_tTheta() 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
virtual Double_tXv() const
virtual Bool_tXvYvZv(Double_t* x) const
virtual Double_tY() const
virtual Double_tYv() const
virtual Double_tZv() const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum btagTypes { kDVMTag0
kDVMTag1
kDVMTag2
kTransverseIPTag
kUnknownTag
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
Int_tfBadDistDistance to bad module in module units
Int_tfBtagtag particle from B.
Int_tfCaloLabel[2]CaloCluster index, 1 for photons, 2 for pi0.
Bool_tfChargedCharged bit
Int_tfDecayTagTag the photon as decay from, pi0, eta, pi0 side band, eta side band
UInt_tfDetectorTagDetector where particle was measured, integer
Bool_tfDispDispersion bit
Int_tfFidAreaType of fiducial area hit by this photon
Int_tfInputFileIndex0, standard input, 1 first input added. Only possible one for now, not really used.
Bool_tfIsolatedParticle is isolated or not
Int_tfLabelMC label
Bool_tfLeadingParticleParticle is leading or not
Float_tfM02Store the main axis of the calorimeter shower shape
TLorentzVector*fMomentumPhoton 4-momentum vector
Int_tfNCellsStore the number of cells in cluster
UInt_tfNLMStore the number of local maxima
Int_tfPdgtype of identified particle, same code as PDG, but this is not a MonteCarlo particle
Int_tfSuperModuleStore the super-module number of cluster
Int_tfTagtag of particle (decay, fragment, prompt photon), MC
Bool_tfTaggedIf photon tagged (pi0 decay), not used anymore, replace by fDecayTag
Float_tfTimeStore the time of cluster or track, nano seconds
Bool_tfTofTOF bit
Int_tfTrackLabel[4]Track lable, 1 for pions, 2 for conversion photons

Class Charts

Inheritance Chart:
TObject
AliVParticle
AliAODPWG4Particle
AliAODPWG4ParticleCorrelation

Function documentation

AliAODPWG4Particle()
 constructor
AliAODPWG4Particle(Double_t px, Double_t py, Double_t pz, Double_t e)
 constructor
AliAODPWG4Particle(TLorentzVector& p)
 constructor
~AliAODPWG4Particle()
 destructor
void Clear(Option_t* )
clear
AliAODPWG4Particle(const AliAODPWG4Particle& photon)
 Copy constructor
AliAODPWG4Particle& operator=(const AliAODPWG4Particle& photon)
 Assignment operator
Bool_t IsPIDOK(const Int_t ipid, const Int_t pdgwanted) const
 returns true if particle satisfies given PID criterium
void Print(Option_t* ) const
 Print information of all data members
Double_t Phi() const
 Return phi
TLorentzVector * Momentum() const
 Main methods to recover kinematics or PID
{ return fMomentum ; }
void SetMomentum(TLorentzVector* lv)
{ fMomentum = lv ; }
Double_t GetPairMass(AliAODPWG4Particle* p) const
{ return (*(p->fMomentum)+*fMomentum).M(); }
Double_t Px() const
 AliVParticle methods
{ return fMomentum->Px(); }
Double_t Py() const
{ return fMomentum->Py(); }
Double_t Pz() const
{ return fMomentum->Pz(); }
Double_t Pt() const
{ return fMomentum->Pt(); }
Double_t P() const
{ return fMomentum->P(); }
Bool_t PxPyPz(Double_t* p) const
{ p[0] = Px(); p[1] = Py(); p[2] = Pz(); return kTRUE; }
Double_t OneOverPt() const
{ return 1. / fMomentum->Pt(); }
Double_t Theta() const
{ return fMomentum->Theta(); }
Double_t E() const
{ return fMomentum->E(); }
Double_t M() const
{ return fMomentum->M(); }
Double_t Eta() const
{ return fMomentum->Eta(); }
Double_t Y() const
{ return fMomentum->Rapidity();}
Double_t Xv() const
{ return -999.;}
Double_t Yv() const
{ return -999.;}
Double_t Zv() const
{ return -999.;}
Bool_t XvYvZv(Double_t* x) const
{ x[0] = Xv(); x[1] = Yv(); x[2] = Zv(); return kTRUE; }
Short_t Charge() const
Dummy
{ return 0;}
const Double_t* PID() const
{ return NULL;}
Int_t PdgCode() const
{return 0;}
Int_t GetIdentifiedParticleType() const
 Specific getters
{ return fPdg ; }
Int_t GetLabel() const
{ return fLabel ; }
Int_t GetCaloLabel(Int_t i) const
{ return fCaloLabel[i] ; }
Int_t GetTrackLabel(Int_t i) const
{ return fTrackLabel[i]; }
UInt_t GetDetectorTag() const
{ return fDetectorTag ; }
Bool_t GetDispBit() const
{ return fDisp ; }
Bool_t GetTOFBit() const
{ return fTof ; }
Bool_t GetChargedBit() const
{ return fCharged ; }
Int_t DistToBad() const
{ return fBadDist ; }
Int_t GetInputFileIndex() const
{ return fInputFileIndex ; }
Int_t GetFiducialArea() const
{ return fFidArea ; }
Int_t GetTag() const
 Tags
{ return fTag ; }
Bool_t IsTagged() const
{ return fTagged ; }
Int_t DecayTag() const
{ return fDecayTag ; }
Bool_t IsIsolated() const
{ return fIsolated ; }
Bool_t IsLeadingParticle() const
{ return fLeadingParticle ; }
Int_t GetNLM() const
 Calorimeter specific param
{ return fNLM ; }
Float_t GetM02() const
{ return fM02 ; }
Float_t GetTime() const
{ return fTime ; }
Int_t GetNCells() const
{ return fNCells ; }
Int_t GetSModNumber() const
{ return fSuperModule ; }
void SetIdentifiedParticleType(Int_t pdg)
 Specific setters
{ fPdg = pdg ; }
void SetLabel(Int_t l)
{ fLabel = l ; }
void SetCaloLabel(Int_t a, Int_t b)
{ fCaloLabel [0] = a; fCaloLabel [1] = b ; }
void SetTrackLabel(Int_t a, Int_t b)
{ fTrackLabel[0] = a; fTrackLabel[1] = b ; }
void SetTrackLabel(Int_t a, Int_t b, Int_t c, Int_t d)
{ fTrackLabel[0] = a; fTrackLabel[1] = b ; fTrackLabel[2] = c; fTrackLabel[3] = d; }
void SetDetectorTag(UInt_t d)
{ fDetectorTag = d ; }
void SetDispBit(Bool_t disp)
{ fDisp = disp ; }
void SetTOFBit(Bool_t tof)
{ fTof = tof ; }
void SetChargedBit(Bool_t ch)
{ fCharged = ch ; }
void SetDistToBad(Int_t dist)
{ fBadDist = dist ; }
void SetInputFileIndex(Int_t i)
{ fInputFileIndex = i ; }
void SetFiducialArea(Int_t a)
{ fFidArea = a ; }
void SetTag(Int_t tag)
 Tags
{ fTag = tag ; }
void SetTagged(Bool_t tag)
{ fTagged = tag ; }
void SetDecayTag(Int_t tag)
{ fDecayTag = tag ; }
void SetIsolated(Bool_t iso)
{ fIsolated = iso ; }
void SetLeadingParticle(Bool_t l)
void SetNLM(Int_t nlm)
 Calorimeter specific param
{ fNLM = nlm ; }
void SetM02(Float_t m02)
{ fM02 = m02 ; }
void SetTime(Float_t tim)
{ fTime = tim ; }
void SetNCells(Int_t nce)
{ fNCells = nce ; }
void SetSModNumber(Int_t sm)
{ fSuperModule = sm ; }
void SetBtag(Int_t tag)
{ fBtag = tag ; }
Int_t GetBtag() const
{ return fBtag ; }
void SetBTagBit(Int_t& tag, const UInt_t set) const
 Set bit of type set (btagTypes) in tag
Bool_t CheckBTagBit(const Int_t tag, const UInt_t test) const
 Check if in fBtag the bit test (btagTypes) is set.