AliPhysics  cf1a5e2 (cf1a5e2)
PWG::JETFW::AliEmcalClusterJetConstituent Class Reference

Implementation of a jet constituent for constituent clusters. More...

#include <AliEmcalClusterJetConstituent.h>

Inheritance diagram for PWG::JETFW::AliEmcalClusterJetConstituent:

Public Member Functions

 AliEmcalClusterJetConstituent ()
 Default constructor. More...
 
 AliEmcalClusterJetConstituent (const AliVCluster *const clust, AliVCluster::VCluUserDefEnergy_t energydef, Double_t *pvec)
 Main constructor. More...
 
 AliEmcalClusterJetConstituent (const AliVCluster *const clust)
 Cluster-only constructor. More...
 
 AliEmcalClusterJetConstituent (const AliEmcalClusterJetConstituent &other)
 Copy constructor Constituent object is non-owning. More...
 
AliEmcalClusterJetConstituentoperator= (const AliEmcalClusterJetConstituent &other)
 Assignment operator Constituent object is non-owning, therefore shallow copy is sufficient. More...
 
bool operator== (const AliEmcalClusterJetConstituent &rhs) const
 Check for equality Check done on the cluster itself. More...
 
virtual ~AliEmcalClusterJetConstituent ()
 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 AliVCluster * GetCluster () const
 Get the underlying cluster. More...
 
AliVCluster::VCluUserDefEnergy_t GetDefaultEnergyType () const
 Get the energy definition used to calculate the cluster energy in the jetfinder. More...
 
- 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 AliVCluster * fkCaloCluster
 Underlying calorimeter cluster. More...
 
AliVCluster::VCluUserDefEnergy_t fDefaultEnergyDefinition
 Default energy definition used in jetfinder. More...
 
TVector3 fPVec
 Momentum vector. 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

Implementation of a jet constituent for constituent clusters.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
Sept 22, 2017

Cluster constituents provide access to the kinematic quantities as used in the jetfinder. Furthermore it handles settings used in the cluster selection in the jetfinder like default cluster energy, and provides access to the underlying cluster itself.

Definition at line 58 of file AliEmcalClusterJetConstituent.h.

Constructor & Destructor Documentation

PWG::JETFW::AliEmcalClusterJetConstituent::AliEmcalClusterJetConstituent ( )

Default constructor.

Definition at line 36 of file AliEmcalClusterJetConstituent.cxx.

PWG::JETFW::AliEmcalClusterJetConstituent::AliEmcalClusterJetConstituent ( const AliVCluster *const  clust,
AliVCluster::VCluUserDefEnergy_t  energydef,
Double_t pvec 
)

Main constructor.

Fully initializing the cluster consituent with the EMCAL cluster and the momentum vector used in the jetfinder

Parameters
[in]clustEMCAL cluster
[in]energydefCluster
[in]pvecCluster momentum vector

Definition at line 45 of file AliEmcalClusterJetConstituent.cxx.

PWG::JETFW::AliEmcalClusterJetConstituent::AliEmcalClusterJetConstituent ( const AliVCluster *const  clust)

Cluster-only constructor.

Only initializing cluster pointer. This constructer is intended for the usage in the comparator

Parameters
[in]clustEMCAL cluster

Definition at line 53 of file AliEmcalClusterJetConstituent.cxx.

PWG::JETFW::AliEmcalClusterJetConstituent::AliEmcalClusterJetConstituent ( const AliEmcalClusterJetConstituent other)

Copy constructor Constituent object is non-owning.

Parameters
otherObject from which to copy

Definition at line 61 of file AliEmcalClusterJetConstituent.cxx.

PWG::JETFW::AliEmcalClusterJetConstituent::~AliEmcalClusterJetConstituent ( )
virtual

Destructor.

Definition at line 86 of file AliEmcalClusterJetConstituent.cxx.

Member Function Documentation

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

Access to constituent energy.

Returns
Constituent energy

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 106 of file AliEmcalClusterJetConstituent.cxx.

Referenced by AliEmcalJet::GetLeadingClusterConstituent().

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

Access to pseudorapidity.

Returns
Constituent pseudorapidity

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 110 of file AliEmcalClusterJetConstituent.cxx.

const AliVCluster* PWG::JETFW::AliEmcalClusterJetConstituent::GetCluster ( ) const
inline

Get the underlying cluster.

Returns

Definition at line 157 of file AliEmcalClusterJetConstituent.h.

AliVCluster::VCluUserDefEnergy_t PWG::JETFW::AliEmcalClusterJetConstituent::GetDefaultEnergyType ( ) const
inline

Get the energy definition used to calculate the cluster energy in the jetfinder.

Returns
Cluster energy definition

Definition at line 163 of file AliEmcalClusterJetConstituent.h.

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

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

Parameters
[in]other
Returns
Cluster constituent object after assignment

Definition at line 69 of file AliEmcalClusterJetConstituent.cxx.

bool PWG::JETFW::AliEmcalClusterJetConstituent::operator== ( const AliEmcalClusterJetConstituent 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 80 of file AliEmcalClusterJetConstituent.cxx.

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

Access to azimuthal angle.

Returns
Constituent azimuthal angle

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 114 of file AliEmcalClusterJetConstituent.cxx.

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

Access to transverse momentum.

Returns
Constituent transverse momentum

Implements PWG::JETFW::AliEmcalJetConstituent.

Definition at line 102 of file AliEmcalClusterJetConstituent.cxx.

Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHUtils::GetLeadingHadronPt().

double PWG::JETFW::AliEmcalClusterJetConstituent::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 90 of file AliEmcalClusterJetConstituent.cxx.

double PWG::JETFW::AliEmcalClusterJetConstituent::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 94 of file AliEmcalClusterJetConstituent.cxx.

double PWG::JETFW::AliEmcalClusterJetConstituent::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 98 of file AliEmcalClusterJetConstituent.cxx.

Member Data Documentation

AliVCluster::VCluUserDefEnergy_t PWG::JETFW::AliEmcalClusterJetConstituent::fDefaultEnergyDefinition
private

Default energy definition used in jetfinder.

Definition at line 167 of file AliEmcalClusterJetConstituent.h.

Referenced by E(), GetDefaultEnergyType(), and operator=().

const AliVCluster* PWG::JETFW::AliEmcalClusterJetConstituent::fkCaloCluster
private

Underlying calorimeter cluster.

Definition at line 166 of file AliEmcalClusterJetConstituent.h.

Referenced by E(), GetCluster(), operator=(), and operator==().

TVector3 PWG::JETFW::AliEmcalClusterJetConstituent::fPVec
private

Momentum vector.

Definition at line 168 of file AliEmcalClusterJetConstituent.h.

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


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