AliPhysics  3337bb0 (3337bb0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalParticle Class Reference

#include <AliEmcalParticle.h>

Inheritance diagram for AliEmcalParticle:

Public Member Functions

 AliEmcalParticle ()
 
 AliEmcalParticle (AliVTrack *track, Int_t id=-1)
 
 AliEmcalParticle (AliVCluster *cluster, Int_t id=-1, Double_t vx=0, Double_t vy=0, Double_t vz=0, Int_t ude=-1)
 
 AliEmcalParticle (const AliEmcalParticle &p)
 
AliEmcalParticleoperator= (const AliEmcalParticle &p)
 
virtual ~AliEmcalParticle ()
 
Double_t Px () const
 
Double_t Py () const
 
Double_t Pz () const
 
Double_t Pt () const
 
Double_t P () const
 
Bool_t PxPyPz (Double_t p[3]) const
 
Double_t Xv () const
 
Double_t Yv () const
 
Double_t Zv () const
 
Bool_t XvYvZv (Double_t x[3]) const
 
Double_t OneOverPt () const
 
Double_t Phi () const
 
Double_t Theta () const
 
Double_t E () const
 
Double_t M () const
 
Double_t Eta () const
 
Double_t Y () const
 
Short_t Charge () const
 
Int_t GetLabel () const
 
Int_t PdgCode () const
 
const Double_tPID () const
 
void AddMatchedObj (Int_t id, Double_t d)
 
AliVCluster * GetCluster () const
 
Int_t GetMatchedObjId (UShort_t i=0) const
 
Double_t GetMatchedObjDistance (UShort_t i=0) const
 
UShort_t GetNumberOfMatchedObj () const
 
AliVCluster * GetMatchedCluster (UShort_t i=0) const
 
AliVTrack * GetMatchedTrack (UShort_t i=0) const
 
AliVTrack * GetTrack () const
 
Double_t GetTrackPhiOnEMCal () const
 
Double_t GetTrackEtaOnEMCal () const
 
Double_t GetTrackPtOnEMCal () const
 
Int_t IdInCollection () const
 
Bool_t IsCluster () const
 
Bool_t IsEMCAL () const
 
Bool_t IsTrack () const
 
Bool_t IsMC (Int_t minLabel=0) const
 
void ResetMatchedObjects ()
 
void SetIdInCollection (Int_t id)
 
void SetMatchedObj (Int_t id, Double_t d)
 
void SetMatchedPtr (TObjArray *arr)
 
void SetPtEtaPhiM (Double_t pt, Double_t eta, Double_t phi, Double_t m)
 

Protected Member Functions

TLorentzVector & GetLorentzVector (const Double_t *vertex=0) const
 

Protected Attributes

AliVTrack * fTrack
 size of matched clusters array More...
 
AliVCluster * fCluster
 track More...
 
UShort_t fMatchedIds [fSizeMatched]
 cluster More...
 
Double_t fMatchedDist [fSizeMatched]
 ids of matched tracks/clusters, ordered from the closest to the farthest More...
 
UShort_t fNMatched
 distances of matched tracks/clusters More...
 
Int_t fId
 number of matched objects More...
 
Double_t fPhi
 id in original collection More...
 
Double_t fEta
 phi More...
 
Double_t fPt
 eta More...
 
Double_t fM
 pt More...
 
TObjArrayfMatchedPtr
 M. More...
 

Static Protected Attributes

static const UShort_t fSizeMatched = 99
 

Detailed Description

Definition at line 11 of file AliEmcalParticle.h.

Constructor & Destructor Documentation

AliEmcalParticle::AliEmcalParticle ( )

Definition at line 11 of file AliEmcalParticle.cxx.

AliEmcalParticle::AliEmcalParticle ( AliVTrack *  track,
Int_t  id = -1 
)

Definition at line 29 of file AliEmcalParticle.cxx.

AliEmcalParticle::AliEmcalParticle ( AliVCluster *  cluster,
Int_t  id = -1,
Double_t  vx = 0,
Double_t  vy = 0,
Double_t  vz = 0,
Int_t  ude = -1 
)

Definition at line 57 of file AliEmcalParticle.cxx.

AliEmcalParticle::AliEmcalParticle ( const AliEmcalParticle p)

Definition at line 93 of file AliEmcalParticle.cxx.

AliEmcalParticle::~AliEmcalParticle ( )
virtual

Definition at line 114 of file AliEmcalParticle.cxx.

Member Function Documentation

void AliEmcalParticle::AddMatchedObj ( Int_t  id,
Double_t  d 
)
Short_t AliEmcalParticle::Charge ( ) const
inline

Definition at line 38 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::E ( ) const
inline

Definition at line 34 of file AliEmcalParticle.h.

Int_t AliEmcalParticle::GetLabel ( ) const
inline

Definition at line 39 of file AliEmcalParticle.h.

TLorentzVector & AliEmcalParticle::GetLorentzVector ( const Double_t vertex = 0) const
protected

Definition at line 177 of file AliEmcalParticle.cxx.

AliVCluster* AliEmcalParticle::GetMatchedCluster ( UShort_t  i = 0) const
inline

Definition at line 48 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::GetMatchedObjDistance ( UShort_t  i = 0) const
inline

Definition at line 46 of file AliEmcalParticle.h.

AliVTrack* AliEmcalParticle::GetMatchedTrack ( UShort_t  i = 0) const
inline

Definition at line 51 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::GetTrackEtaOnEMCal ( ) const
inline

Definition at line 56 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::GetTrackPhiOnEMCal ( ) const
inline

Definition at line 55 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::GetTrackPtOnEMCal ( ) const
inline

Definition at line 57 of file AliEmcalParticle.h.

Bool_t AliEmcalParticle::IsCluster ( ) const
inline

Definition at line 59 of file AliEmcalParticle.h.

Bool_t AliEmcalParticle::IsEMCAL ( ) const
inline

Definition at line 60 of file AliEmcalParticle.h.

Referenced by AliAnalysisTaskEmcalJetHadCorQA::Run().

Bool_t AliEmcalParticle::IsMC ( Int_t  minLabel = 0) const
inline

Definition at line 64 of file AliEmcalParticle.h.

Bool_t AliEmcalParticle::IsTrack ( ) const
inline

Definition at line 63 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::M ( ) const
inline

Definition at line 35 of file AliEmcalParticle.h.

Referenced by E().

Double_t AliEmcalParticle::OneOverPt ( ) const
inline

Definition at line 31 of file AliEmcalParticle.h.

AliEmcalParticle & AliEmcalParticle::operator= ( const AliEmcalParticle p)

Definition at line 120 of file AliEmcalParticle.cxx.

Double_t AliEmcalParticle::P ( ) const
inline

Definition at line 25 of file AliEmcalParticle.h.

Referenced by E().

Int_t AliEmcalParticle::PdgCode ( ) const
inline

Definition at line 40 of file AliEmcalParticle.h.

const Double_t* AliEmcalParticle::PID ( ) const
inline

Definition at line 41 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::Px ( ) const
inline

Definition at line 21 of file AliEmcalParticle.h.

Referenced by P(), and PxPyPz().

Bool_t AliEmcalParticle::PxPyPz ( Double_t  p[3]) const
inline

Definition at line 26 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::Py ( ) const
inline

Definition at line 22 of file AliEmcalParticle.h.

Referenced by P(), and PxPyPz().

Double_t AliEmcalParticle::Pz ( ) const
inline

Definition at line 23 of file AliEmcalParticle.h.

Referenced by P(), and PxPyPz().

void AliEmcalParticle::ResetMatchedObjects ( )

Definition at line 144 of file AliEmcalParticle.cxx.

Referenced by AliEmcalParticle(), operator=(), and SetMatchedObj().

void AliEmcalParticle::SetIdInCollection ( Int_t  id)
inline

Definition at line 67 of file AliEmcalParticle.h.

void AliEmcalParticle::SetMatchedObj ( Int_t  id,
Double_t  d 
)
inline

Definition at line 68 of file AliEmcalParticle.h.

void AliEmcalParticle::SetPtEtaPhiM ( Double_t  pt,
Double_t  eta,
Double_t  phi,
Double_t  m 
)
inline

Definition at line 71 of file AliEmcalParticle.h.

Referenced by AliEmcalJetTask::FillJetConstituents().

Double_t AliEmcalParticle::Theta ( ) const
inline

Definition at line 33 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::Xv ( ) const
inline

Definition at line 27 of file AliEmcalParticle.h.

Referenced by XvYvZv().

Bool_t AliEmcalParticle::XvYvZv ( Double_t  x[3]) const
inline

Definition at line 30 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::Y ( ) const
inline

Definition at line 37 of file AliEmcalParticle.h.

Double_t AliEmcalParticle::Yv ( ) const
inline

Definition at line 28 of file AliEmcalParticle.h.

Referenced by XvYvZv().

Double_t AliEmcalParticle::Zv ( ) const
inline

Definition at line 29 of file AliEmcalParticle.h.

Referenced by XvYvZv().

Member Data Documentation

AliVCluster* AliEmcalParticle::fCluster
protected
Double_t AliEmcalParticle::fEta
protected

phi

Definition at line 85 of file AliEmcalParticle.h.

Referenced by AliEmcalParticle(), Eta(), GetLorentzVector(), operator=(), Pz(), SetPtEtaPhiM(), Theta(), and Y().

Int_t AliEmcalParticle::fId
protected

number of matched objects

Definition at line 83 of file AliEmcalParticle.h.

Referenced by IdInCollection(), operator=(), and SetIdInCollection().

Double_t AliEmcalParticle::fM
protected

pt

Definition at line 87 of file AliEmcalParticle.h.

Referenced by AliEmcalParticle(), GetLorentzVector(), M(), operator=(), and SetPtEtaPhiM().

Double_t AliEmcalParticle::fMatchedDist[fSizeMatched]
protected

ids of matched tracks/clusters, ordered from the closest to the farthest

Definition at line 81 of file AliEmcalParticle.h.

Referenced by AddMatchedObj(), AliEmcalParticle(), GetMatchedObjDistance(), operator=(), ResetMatchedObjects(), and SetMatchedObj().

UShort_t AliEmcalParticle::fMatchedIds[fSizeMatched]
protected
TObjArray* AliEmcalParticle::fMatchedPtr
protected

M.

Definition at line 88 of file AliEmcalParticle.h.

Referenced by GetMatchedCluster(), GetMatchedTrack(), operator=(), and SetMatchedPtr().

UShort_t AliEmcalParticle::fNMatched
protected
Double_t AliEmcalParticle::fPhi
protected

id in original collection

Definition at line 84 of file AliEmcalParticle.h.

Referenced by AliEmcalParticle(), GetLorentzVector(), operator=(), Phi(), Px(), Py(), and SetPtEtaPhiM().

Double_t AliEmcalParticle::fPt
protected
const UShort_t AliEmcalParticle::fSizeMatched = 99
staticprotected

Definition at line 76 of file AliEmcalParticle.h.

Referenced by AddMatchedObj(), AliEmcalParticle(), operator=(), and ResetMatchedObjects().

AliVTrack* AliEmcalParticle::fTrack
protected

The documentation for this class was generated from the following files: