ROOT logo
AliRoot » PWGGA » PHOSTASKS » PHOS_PP_PI0 » AliCaloPhoton

class AliCaloPhoton: public TLorentzVector

 Minimal class to store photon infomation for pi0, tagged and isolated photon analysis

-- Author: Dmitri Peressounko (RRC "KI")

Function Members (Methods)

public:
AliCaloPhoton()
AliCaloPhoton(Double_t px, Double_t py, Double_t pz, Double_t E)
virtual~AliCaloPhoton()
voidTObject::AbstractMethod(const char* method) const
Double_tTLorentzVector::Angle(const TVector3& v) const
virtual voidTObject::AppendPad(Option_t* option = "")
Double_tTLorentzVector::Beta() const
voidTLorentzVector::Boost(const TVector3& b)
voidTLorentzVector::Boost(Double_t, Double_t, Double_t)
TVector3TLorentzVector::BoostVector() const
virtual voidTObject::Browse(TBrowser* b)
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
Int_tComparePi0Ids(AliCaloPhoton* phot)
virtual voidTObject::Copy(TObject& object) const
Double_tTLorentzVector::CosTheta() const
virtual voidTObject::Delete(Option_t* option = "")MENU
Double_tTLorentzVector::DeltaPhi(const TLorentzVector& v) const
Double_tTLorentzVector::DeltaR(const TLorentzVector& v) const
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
Int_tDistToBad() const
Double_tTLorentzVector::Dot(const TLorentzVector& q) const
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
Double_tTLorentzVector::DrEtaPhi(const TLorentzVector& v) const
virtual voidTObject::Dump() constMENU
Double_tTLorentzVector::E() const
Double_tEMCx() const
Double_tEMCy() const
Double_tEMCz() const
Double_tTLorentzVector::Energy() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
Double_tTLorentzVector::Et() const
Double_tTLorentzVector::Et(const TVector3& v) const
Double_tTLorentzVector::Et2() const
Double_tTLorentzVector::Et2(const TVector3& v) const
Double_tTLorentzVector::Eta() const
TVector2TLorentzVector::EtaPhiVector()
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
Double_tTLorentzVector::Gamma() const
Int_tGetBC() const
AliVCluster*GetCluster()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetFiducialArea() const
virtual const char*TObject::GetIconName() const
Int_tGetIsolationTag() const
Double_tGetLambda1() const
Double_tGetLambda2() const
const TLorentzVector*GetMomV2() const
virtual const char*TObject::GetName() const
Int_tGetNCells() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetPartnerPt() const
Int_tGetPrimary() const
Int_tGetPrimaryAtVertex() const
Int_tGetTagInfo() const
Double_tGetTime() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Double_tGetWeight() const
voidTLorentzVector::GetXYZT(Double_t* carray) const
voidTLorentzVector::GetXYZT(Float_t* carray) 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
Int_tIsConverted() const
Int_tIsConvertedPartner() const
Bool_tIsCPV2OK() const
Bool_tIsCPVOK() const
Bool_tIsDisp2OK() const
Bool_tIsDispOK() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tIsIsolated() const
Bool_tIsntUnfolded() const
Bool_tTObject::IsOnHeap() const
Bool_tIsPhoton() const
Int_tIsPi0Decay() const
Bool_tIsPIDOK(const Int_t ipid) const
virtual Bool_tTObject::IsSortable() const
Bool_tIsTagged() const
Bool_tIsTagged(Int_t i, Int_t k) const
Bool_tIsTOFOK() const
Bool_tIsTrig() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
Double_tTLorentzVector::M() const
Double_tTLorentzVector::M2() const
Double_tTLorentzVector::Mag() const
Double_tTLorentzVector::Mag2() const
voidTObject::MayNotUse(const char* method) const
Double_tTLorentzVector::Minus() const
Int_tModule() const
Double_tTLorentzVector::Mt() const
Double_tTLorentzVector::Mt2() 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)
Bool_tTLorentzVector::operator!=(const TLorentzVector& q) const
Double_tTLorentzVector::operator()(int i) const
Double_t&TLorentzVector::operator()(int i)
TLorentzVectorTLorentzVector::operator*(Double_t a) const
Double_tTLorentzVector::operator*(const TLorentzVector& q) const
TLorentzVector&TLorentzVector::operator*=(Double_t a)
TLorentzVector&TLorentzVector::operator*=(const TRotation& m)
TLorentzVector&TLorentzVector::operator*=(const TLorentzRotation&)
TLorentzVectorTLorentzVector::operator+(const TLorentzVector& q) const
TLorentzVector&TLorentzVector::operator+=(const TLorentzVector& q)
TLorentzVectorTLorentzVector::operator-() const
TLorentzVectorTLorentzVector::operator-(const TLorentzVector& q) const
TLorentzVector&TLorentzVector::operator-=(const TLorentzVector& q)
Bool_tTLorentzVector::operator==(const TLorentzVector& q) const
Double_tTLorentzVector::operator[](int i) const
Double_t&TLorentzVector::operator[](int i)
Double_tTLorentzVector::P() const
virtual voidTObject::Paint(Option_t* option = "")
Double_tTLorentzVector::Perp() const
Double_tTLorentzVector::Perp(const TVector3& v) const
Double_tTLorentzVector::Perp2() const
Double_tTLorentzVector::Perp2(const TVector3& v) const
Double_tTLorentzVector::Phi() const
voidPi0Decay(Int_t flag)
voidPi0Id(Int_t id)
Double_tTLorentzVector::Plus() const
virtual voidTObject::Pop()
virtual voidTLorentzVector::Print(Option_t* option = "") const
Double_tTLorentzVector::PseudoRapidity() const
Double_tTLorentzVector::Pt() const
Double_tTLorentzVector::Pt(const TVector3& v) const
Double_tTLorentzVector::Px() const
Double_tTLorentzVector::Py() const
Double_tTLorentzVector::Pz() const
Double_tTLorentzVector::Rapidity() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
Double_tTLorentzVector::Rho() const
voidTLorentzVector::Rotate(Double_t a, const TVector3& v)
voidTLorentzVector::RotateUz(TVector3& newUzVector)
voidTLorentzVector::RotateX(Double_t angle)
voidTLorentzVector::RotateY(Double_t angle)
voidTLorentzVector::RotateZ(Double_t angle)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidSetBC(Int_t bc)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetCluster(AliVCluster* cluster)
voidSetConverted(Int_t flag)
voidSetConvertedPartner(Int_t flag)
voidSetCPV2Bit(Bool_t cpv)
voidSetCPVBit(Bool_t cpv)
voidSetDisp2Bit(Bool_t chi2)
voidSetDispBit(Bool_t chi2)
voidSetDistToBad(Int_t dist)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTLorentzVector::SetE(Double_t a)
voidSetEMCx(Double_t x)
voidSetEMCy(Double_t y)
voidSetEMCz(Double_t z)
voidSetFiducialArea(Int_t a)
voidSetIsolated(Bool_t bit)
voidSetIsolationTag(Int_t tag)
voidSetLambdas(Double_t l1, Double_t l2)
voidSetModule(Int_t mod)
voidSetMomV2(TLorentzVector* p)
voidSetNCells(Int_t n)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPartnerPt(Double_t pt)
voidSetPCAPID(Bool_t pca)
voidTLorentzVector::SetPerp(Double_t r)
voidTLorentzVector::SetPhi(Double_t phi)
voidSetPhoton(Int_t flag)
voidSetPrimary(Int_t label)
voidSetPrimaryAtVertex(Int_t label)
voidTLorentzVector::SetPtEtaPhiE(Double_t pt, Double_t eta, Double_t phi, Double_t e)
voidTLorentzVector::SetPtEtaPhiM(Double_t pt, Double_t eta, Double_t phi, Double_t m)
voidTLorentzVector::SetPx(Double_t a)
voidTLorentzVector::SetPxPyPzE(Double_t px, Double_t py, Double_t pz, Double_t e)
voidTLorentzVector::SetPy(Double_t a)
voidTLorentzVector::SetPz(Double_t a)
voidTLorentzVector::SetRho(Double_t rho)
voidTLorentzVector::SetT(Double_t a)
voidSetTagged(Bool_t bit)
voidSetTagged(Bool_t bit, Int_t i, Int_t k)
voidSetTagInfo(Int_t bits)
voidTLorentzVector::SetTheta(Double_t th)
voidSetTime(Double_t t)
voidSetTOFBit(Bool_t tof)
voidSetTrig(Bool_t trig)
voidSetUnfolded(Bool_t wasNotUnfolded)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTLorentzVector::SetVect(const TVector3& p)
voidTLorentzVector::SetVectM(const TVector3& spatial, Double_t mass)
voidTLorentzVector::SetVectMag(const TVector3& spatial, Double_t magnitude)
voidSetWeight(Double_t w)
voidTLorentzVector::SetX(Double_t a)
voidTLorentzVector::SetXYZM(Double_t x, Double_t y, Double_t z, Double_t m)
voidTLorentzVector::SetXYZT(Double_t x, Double_t y, Double_t z, Double_t t)
voidTLorentzVector::SetY(Double_t a)
voidTLorentzVector::SetZ(Double_t a)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Double_tTLorentzVector::T() const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Double_tTLorentzVector::Theta() const
TLorentzVector&TLorentzVector::Transform(const TRotation& m)
TLorentzVector&TLorentzVector::Transform(const TLorentzRotation&)
virtual voidTObject::UseCurrentStyle()
TVector3TLorentzVector::Vect() 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_tTLorentzVector::X() const
Double_tTLorentzVector::Y() const
Double_tTLorentzVector::Z() const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

private:
Int_tfBCBunch crossing number (BC=0 is main-main collision)
Int_tfBadDistDistance to bad module in module units
AliVCluster*fCluster! Originating Cluster the Photon Candidate is based on
Int_tfConvertedIf this photon originated from convertion on material (i.e. its primary is electron)
Int_tfConvertedPartner
Bool_tfCpvCharged bit
Bool_tfCpv2Strict Charged bit
Bool_tfDispDispersion bit
Bool_tfDisp2Strict Dispersion bit
Int_tfFiducialAreaclass of fiducial areas
Bool_tfIsIsolatedit is isolated
Bool_tfIsPhotonIf it is really photon or not
Bool_tfIsTaggedIf it is tagged
Bool_tfIsTagged_reg[10][20]If it is tagged
Int_tfIsolationTag
Double_tfLambda0Short and
Double_tfLambda1Long dispersion axis
Int_tfModuleModule number
TLorentzVectorfMomV2Alternative momentum
Int_tfNCellsNumber of cells in cluster
Bool_tfPCAPrincipal Component Analysis bit
Double_tfPartnerPt
Int_tfPi0Decayflagif this photon is from pi0 decay (from simulation)
Int_tfPi0Id
Int_tfPrimaryPrimary entered PHOS
Int_tfPrimaryAtVertexPrimary at vertex
Int_tfTagInfo
Double_tfTimetime of the cluster
Bool_tfTofTOF bit
Bool_tfTrigIf this photon fired trigger
Bool_tfUnfoldedTrue if was not unfolded
Double_tfWeightWeight of parent particle
Double_tfXCluster coordinates in ALICE ref system
Double_tfYCluster coordinates in ALICE ref system
Double_tfZCluster coordinates in ALICE ref system

Class Charts

Inheritance Chart:
TLorentzVector
AliCaloPhoton

Function documentation

AliCaloPhoton()
AliCaloPhoton(Double_t px, Double_t py, Double_t pz, Double_t E)
Bool_t IsPIDOK(const Int_t ipid) const
 returns true if photon satisfies given PID criterium
AliCaloPhoton()
~AliCaloPhoton()
{}
const TLorentzVector * GetMomV2() const
{return &fMomV2;}
Int_t DistToBad() const
{return fBadDist ;}
Double_t EMCx(void)
{return fX;}
Double_t EMCy(void)
{return fY;}
Double_t EMCz(void)
{return fZ;}
Int_t Module(void)
{return fModule;}
Int_t GetBC(void)
{return fBC;}
Int_t GetFiducialArea(void)
{return fFiducialArea ;}
Int_t GetIsolationTag(void)
{return fIsolationTag ;}
Double_t GetLambda1(void)
{return fLambda0;}
Double_t GetLambda2(void)
{return fLambda1;}
Int_t GetNCells() const
{ return fNCells ;}
Int_t GetPrimary() const
{return fPrimary;}
Int_t GetPrimaryAtVertex() const
Double_t GetPartnerPt(void)
{return fPartnerPt;}
Int_t GetTagInfo(void)
{return fTagInfo;}
Double_t GetTime(void)
{return fTime ;}
Double_t GetWeight(void)
{return fWeight;}
Int_t IsConvertedPartner() const
{ if(fConvertedPartner == 1) return 1; else return 0; }
Bool_t IsCPVOK(void)
{return fCpv;}
Bool_t IsCPV2OK(void)
{return fCpv2;}
Bool_t IsDispOK(void)
{return fDisp;}
Bool_t IsDisp2OK(void)
{return fDisp2;}
Bool_t IsIsolated(void)
{return fIsIsolated ;}
Bool_t IsPhoton() const
{return fIsPhoton ;}
Bool_t IsTagged(void)
{return fIsTagged ;}
Bool_t IsTagged(Int_t i, Int_t k) const
{return fIsTagged_reg[i][k] ;}
Bool_t IsTOFOK(void)
{return fTof;}
Bool_t IsTrig(void)
{ return fTrig ; }
Bool_t IsntUnfolded(void)
{return fUnfolded;}
Int_t IsConverted(void)
ConvertedPair bit is set for events when photon's FirstMother is not e+/e- but pi0, but after pi0 decayed
there is conversion of one or both of the photons and results of their conversion are registered by PHOS.
This process is marked as tagged photons but actually the energy of photons is changed and pi0 can't be
correctly found.
{ if(fConverted == 1) return 1; else return 0; }
Int_t IsPi0Decay(void)
Converted bit is set if this photon originate from e+/e- conversion on medium
{ if(fPi0Decayflag == 1) return 1; else return 0; }
void Pi0Decay(Int_t flag)
Pi0Decayflag is set if this photon originate from pi0 decay
{ fPi0Decayflag=flag; }
void Pi0Id(Int_t id)
Id of pi0 from which this photon is decayed (to check if 2 photons originate from the same pi0 or not)
{ fPi0Id=id; }
Int_t ComparePi0Ids(AliCaloPhoton* phot)
{ if(AliCaloPhoton::fPi0Id!=0 && (*phot).fPi0Id !=0 && AliCaloPhoton::fPi0Id == (*phot).fPi0Id) return 1; else return 0; }
void SetBC(Int_t bc)
{fBC = bc;}
void SetCluster(AliVCluster* cluster)
{ fCluster = cluster; }
void SetConverted(Int_t flag)
{ fConverted=flag; }
void SetConvertedPartner(Int_t flag)
void SetCPVBit(Bool_t cpv)
{fCpv = cpv; }
void SetCPV2Bit(Bool_t cpv)
{fCpv2 = cpv; }
void SetDispBit(Bool_t chi2)
{fDisp = chi2 ;}
void SetDisp2Bit(Bool_t chi2)
{fDisp2 = chi2 ;}
void SetDistToBad(Int_t dist)
{fBadDist=dist;}
void SetEMCx(Double_t x)
{fX = x ;}
void SetEMCy(Double_t y)
{fY = y ;}
void SetEMCz(Double_t z)
{fZ = z ;}
void SetFiducialArea(Int_t a)
void SetIsolationTag(Int_t tag)
void SetIsolated(Bool_t bit)
void SetLambdas(Double_t l1, Double_t l2)
{fLambda0=l1; fLambda1=l2;}
void SetModule(Int_t mod)
{fModule = mod ;}
void SetMomV2(TLorentzVector* p)
{fMomV2=(*p);}
void SetNCells(Int_t n)
{fNCells=n;}
void SetPartnerPt(Double_t pt)
void SetPCAPID(Bool_t pca)
{fPCA = pca;}
void SetPhoton(Int_t flag)
{ fIsPhoton=flag; }
void SetPrimary(Int_t label)
{fPrimary=label;}
void SetPrimaryAtVertex(Int_t label)
void SetTagged(Bool_t bit)
{fIsTagged=bit;}
void SetTagged(Bool_t bit, Int_t i, Int_t k)
{fIsTagged_reg[i][k]=bit;}
void SetTagInfo(Int_t bits)
{fTagInfo=bits;}
void SetTime(Double_t t)
{fTime=t ;}
void SetTOFBit(Bool_t tof)
{fTof = tof ;}
void SetTrig(Bool_t trig)
{fTrig=trig;}
void SetUnfolded(Bool_t wasNotUnfolded)
{fUnfolded=wasNotUnfolded;}
void SetWeight(Double_t w)
{fWeight=w;}
AliVCluster* GetCluster()
{ return fCluster; }
AliCaloPhoton& operator=(const AliCaloPhoton& )