AliPhysics  32e057f (32e057f)
PWG::JETFW::AliEmcalParticleJetConstituent Class Reference

#include <AliEmcalParticleJetConstituent.h>

Inheritance diagram for PWG::JETFW::AliEmcalParticleJetConstituent:

Public Member Functions

 AliEmcalParticleJetConstituent ()
 
 AliEmcalParticleJetConstituent (const AliVParticle *const part)
 Main constructor. More...
 
 AliEmcalParticleJetConstituent (const AliEmcalParticleJetConstituent &other)
 Copy constructor Constituent object is non-owning. More...
 
AliEmcalParticleJetConstituentoperator= (const AliEmcalParticleJetConstituent &other)
 Assignment operator Constituent object is non-owning, therefore shallow copy is sufficient. More...
 
bool operator== (const AliEmcalParticleJetConstituent &rhs) const
 Check for equality Check done on the cluster itself. More...
 
virtual ~AliEmcalParticleJetConstituent ()
 Destructor. More...
 
virtual double Px () const
 Access to x-component of the momentum vector. More...
 
virtual double Py () const
 Access to y-component of the momentum vector. More...
 
virtual double Pz () const
 Access to z-component of the momentum vector. More...
 
virtual double Pt () const
 Access to transverse momentum. More...
 
virtual double E () const
 Access to constituent energy. More...
 
virtual double Eta () const
 Access to pseudorapidity. More...
 
virtual double Phi () const
 Access to azimuthal angle. More...
 
const AliVParticle * GetParticle () const
 
- Public Member Functions inherited from PWG::JETFW::AliEmcalJetConstituent
 AliEmcalJetConstituent ()
 Constructor. More...
 
virtual ~AliEmcalJetConstituent ()
 Destructor. More...
 
Bool_t IsFromEmbeddedEvent () const
 Checks whether the constituent is from an embedded event. More...
 
ULong_t GetGlobalIndex () const
 Get the index of the constituent in the global index map. More...
 
void SetIsFromEmbeddedEvent (Bool_t isEmbedded)
 Specify whether constituent is from embedded event. More...
 
void SetGlobalIndex (ULong_t index)
 Set the index in the globl. More...
 

Private Attributes

const AliVParticle * fkParticle
 Underlying particle. More...
 

Additional Inherited Members

- Protected Attributes inherited from PWG::JETFW::AliEmcalJetConstituent
Bool_t fIsFromEmbeddedEvent
 Flag whether constituent is from embedded event. More...
 
ULong_t fGlobalIndex
 Index of the constituent in the global index map. More...
 

Detailed Description

Definition at line 47 of file AliEmcalParticleJetConstituent.h.

Constructor & Destructor Documentation

PWG::JETFW::AliEmcalParticleJetConstituent::AliEmcalParticleJetConstituent ( )

Definition at line 37 of file AliEmcalParticleJetConstituent.cxx.

PWG::JETFW::AliEmcalParticleJetConstituent::AliEmcalParticleJetConstituent ( const AliVParticle *const  part)

Main constructor.

Fully initializing the particle constituent with the particle

Parameters
[in]partParticle trajectory

Definition at line 44 of file AliEmcalParticleJetConstituent.cxx.

PWG::JETFW::AliEmcalParticleJetConstituent::AliEmcalParticleJetConstituent ( const AliEmcalParticleJetConstituent other)

Copy constructor Constituent object is non-owning.

Parameters
otherObject from which to copy

Definition at line 51 of file AliEmcalParticleJetConstituent.cxx.

PWG::JETFW::AliEmcalParticleJetConstituent::~AliEmcalParticleJetConstituent ( )
virtual

Destructor.

Definition at line 71 of file AliEmcalParticleJetConstituent.cxx.

Member Function Documentation

double PWG::JETFW::AliEmcalParticleJetConstituent::E ( ) const
virtual

Access to constituent energy.

Returns
Constituent energy

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 91 of file AliEmcalParticleJetConstituent.cxx.

double PWG::JETFW::AliEmcalParticleJetConstituent::Eta ( ) const
virtual

Access to pseudorapidity.

Returns
Constituent pseudorapidity

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 95 of file AliEmcalParticleJetConstituent.cxx.

const AliVParticle* PWG::JETFW::AliEmcalParticleJetConstituent::GetParticle ( ) const
inline

Definition at line 129 of file AliEmcalParticleJetConstituent.h.

AliEmcalParticleJetConstituent & PWG::JETFW::AliEmcalParticleJetConstituent::operator= ( const AliEmcalParticleJetConstituent other)

Assignment operator Constituent object is non-owning, therefore shallow copy is sufficient.

Parameters
[in]other
Returns
Particle constituent object after assignment

Definition at line 58 of file AliEmcalParticleJetConstituent.cxx.

bool PWG::JETFW::AliEmcalParticleJetConstituent::operator== ( const AliEmcalParticleJetConstituent rhs) const

Check for equality Check done on the cluster itself.

Parameters
[in]rhsObject to be checked against
Returns
True if underlying clusters are equal, false otherwise

Definition at line 66 of file AliEmcalParticleJetConstituent.cxx.

double PWG::JETFW::AliEmcalParticleJetConstituent::Phi ( ) const
virtual

Access to azimuthal angle.

Returns
Constituent azimuthal angle

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 99 of file AliEmcalParticleJetConstituent.cxx.

double PWG::JETFW::AliEmcalParticleJetConstituent::Pt ( ) const
virtual

Access to transverse momentum.

Returns
Constituent transverse momentum

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 87 of file AliEmcalParticleJetConstituent.cxx.

Referenced by EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::DoConstituentQA(), and AliEmcalJet::GetLeadingParticleConstituent().

double PWG::JETFW::AliEmcalParticleJetConstituent::Px ( ) const
virtual

Access to x-component of the momentum vector.

Returns
x-component of the momentum vector

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 75 of file AliEmcalParticleJetConstituent.cxx.

double PWG::JETFW::AliEmcalParticleJetConstituent::Py ( ) const
virtual

Access to y-component of the momentum vector.

Returns
y-component of the momentum vector

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 79 of file AliEmcalParticleJetConstituent.cxx.

double PWG::JETFW::AliEmcalParticleJetConstituent::Pz ( ) const
virtual

Access to z-component of the momentum vector.

Returns
z-component of the momentum vector

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 83 of file AliEmcalParticleJetConstituent.cxx.

Member Data Documentation

const AliVParticle* PWG::JETFW::AliEmcalParticleJetConstituent::fkParticle
private

Underlying particle.

Definition at line 132 of file AliEmcalParticleJetConstituent.h.

Referenced by E(), Eta(), GetParticle(), operator=(), operator==(), Phi(), Pt(), Px(), Py(), and Pz().


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