![]() |
AliPhysics
cf1a5e2 (cf1a5e2)
|
Implementation of a jet constituent for constituent clusters. More...
#include <AliEmcalClusterJetConstituent.h>
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... | |
AliEmcalClusterJetConstituent & | operator= (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... | |
![]() | |
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 | |
![]() | |
Bool_t | fIsFromEmbeddedEvent |
Flag whether constituent is from embedded event. More... | |
ULong_t | fGlobalIndex |
Index of the constituent in the global index map. More... | |
Implementation of a jet constituent for constituent clusters.
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.
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
[in] | clust | EMCAL cluster |
[in] | energydef | Cluster |
[in] | pvec | Cluster 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
[in] | clust | EMCAL cluster |
Definition at line 53 of file AliEmcalClusterJetConstituent.cxx.
PWG::JETFW::AliEmcalClusterJetConstituent::AliEmcalClusterJetConstituent | ( | const AliEmcalClusterJetConstituent & | other | ) |
Copy constructor Constituent object is non-owning.
other | Object from which to copy |
Definition at line 61 of file AliEmcalClusterJetConstituent.cxx.
|
virtual |
Destructor.
Definition at line 86 of file AliEmcalClusterJetConstituent.cxx.
|
virtual |
Access to constituent energy.
Implements PWG::JETFW::AliEmcalJetConstituent.
Definition at line 106 of file AliEmcalClusterJetConstituent.cxx.
Referenced by AliEmcalJet::GetLeadingClusterConstituent().
|
virtual |
Access to pseudorapidity.
Implements PWG::JETFW::AliEmcalJetConstituent.
Definition at line 110 of file AliEmcalClusterJetConstituent.cxx.
|
inline |
|
inline |
Get the energy definition used to calculate the cluster energy in the jetfinder.
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.
[in] | other |
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.
[in] | rhs | Object to be checked against |
Definition at line 80 of file AliEmcalClusterJetConstituent.cxx.
|
virtual |
Access to azimuthal angle.
Implements PWG::JETFW::AliEmcalJetConstituent.
Definition at line 114 of file AliEmcalClusterJetConstituent.cxx.
|
virtual |
Access to transverse momentum.
Implements PWG::JETFW::AliEmcalJetConstituent.
Definition at line 102 of file AliEmcalClusterJetConstituent.cxx.
Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHUtils::GetLeadingHadronPt().
|
virtual |
Access to x-component of the momentum vector.
Implements PWG::JETFW::AliEmcalJetConstituent.
Definition at line 90 of file AliEmcalClusterJetConstituent.cxx.
|
virtual |
Access to y-component of the momentum vector.
Implements PWG::JETFW::AliEmcalJetConstituent.
Definition at line 94 of file AliEmcalClusterJetConstituent.cxx.
|
virtual |
Access to z-component of the momentum vector.
Implements PWG::JETFW::AliEmcalJetConstituent.
Definition at line 98 of file AliEmcalClusterJetConstituent.cxx.
|
private |
Default energy definition used in jetfinder.
Definition at line 167 of file AliEmcalClusterJetConstituent.h.
Referenced by E(), GetDefaultEnergyType(), and operator=().
|
private |
Underlying calorimeter cluster.
Definition at line 166 of file AliEmcalClusterJetConstituent.h.
Referenced by E(), GetCluster(), operator=(), and operator==().
|
private |
Momentum vector.
Definition at line 168 of file AliEmcalClusterJetConstituent.h.
Referenced by Eta(), operator=(), Phi(), Pt(), Px(), Py(), and Pz().