AliPhysics  cda3415 (cda3415)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HighPtTracks::AliReducedEmcalCluster Class Reference

Reduced EMCAL cluster information. More...

#include <AliReducedEmcalCluster.h>

Inheritance diagram for HighPtTracks::AliReducedEmcalCluster:

Public Member Functions

 AliReducedEmcalCluster ()
 
 AliReducedEmcalCluster (Int_t id, Float_t energy, Float_t eta, Float_t phi, Float_t m02, Float_t m20)
 
 AliReducedEmcalCluster (const AliReducedEmcalCluster &ref)
 
AliReducedEmcalClusteroperator= (const AliReducedEmcalCluster &ref)
 
virtual ~AliReducedEmcalCluster ()
 
void Copy (TObject &target) const
 
Int_t GetClusterID () const
 
Float_t GetClusterEnergy () const
 
Float_t GetEta () const
 
Float_t GetPhi () const
 
Float_t GetM02 () const
 
Float_t GetM20 () const
 
void FillCellEnergies (TArrayD &target)
 
TObjArrayGetClusterContributors () const
 
void SetClusterID (Int_t id)
 
void SetClusterEnergy (Float_t energy)
 
void SetClusterPosition (Float_t eta, Float_t phi)
 
void SetShowerShapeParameters (Float_t m02, Float_t m20)
 
void SetLeadingCellEnergies (Double_t e1, Double_t e2, Double_t e3)
 
void Set (Int_t id, Float_t energy, Float_t eta, Float_t phi, Float_t m02, Float_t m20)
 
void AddTrueContributor (Int_t pdg, Double_t px, Double_t py, Double_t pz, Double_t energy)
 

Protected Attributes

Int_t fClusterID
 ID of the cluster. More...
 
Float_t fEnergy
 Energy of the cluster. More...
 
Float_t fEta
 Cluster position in \( \eta \) relative to the primary vertex. More...
 
Float_t fPhi
 Cluster position in \( \phi \) relative to the primary vertex. More...
 
Float_t fM02
 M02 shower shape parameter. More...
 
Float_t fM20
 M20 shower shape parameter. More...
 
Float_t fCellEnergies [3]
 Leading cell energies. More...
 
TObjArrayfContributors
 True particles contributing to the cluster. More...
 

Detailed Description

Reduced EMCAL cluster information.

This object stores a reduced set of information of a reconstructed EMCAL cluster

  • unique ID of a cluster in the event (for cluster-track matching)
  • energy of the cluster
  • position of the cluster in ( \( \eta \), \( \phi \))
  • shower shape parameters This object is part of the reduced event structure for the high- \( p_{t} \) analysis

Definition at line 102 of file AliReducedEmcalCluster.h.

Constructor & Destructor Documentation

HighPtTracks::AliReducedEmcalCluster::AliReducedEmcalCluster ( )

Constructor, initialising with default values

Definition at line 31 of file AliReducedEmcalCluster.cxx.

HighPtTracks::AliReducedEmcalCluster::AliReducedEmcalCluster ( Int_t  id,
Float_t  energy,
Float_t  eta,
Float_t  phi,
Float_t  m02,
Float_t  m20 
)

Constructor, initialising cluster with all parameters

Parameters
idID of the cluster
energyEnergy of the cluster
eta\( \eta \) position of the cluster
phi\( \phi \) position of the cluster
m02The m02 shower shape parameter
m20The m20 shower shape parameter

Definition at line 52 of file AliReducedEmcalCluster.cxx.

HighPtTracks::AliReducedEmcalCluster::AliReducedEmcalCluster ( const AliReducedEmcalCluster ref)

Copy constructor

Parameters
refReference for the copy

Definition at line 69 of file AliReducedEmcalCluster.cxx.

HighPtTracks::AliReducedEmcalCluster::~AliReducedEmcalCluster ( )
virtual

Destructor

Definition at line 99 of file AliReducedEmcalCluster.cxx.

Referenced by operator=().

Member Function Documentation

void HighPtTracks::AliReducedEmcalCluster::AddTrueContributor ( Int_t  pdg,
Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  energy 
)

Add new true cluster contributor to the cluster

Parameters
pdgPDG code of the true particle
pxx-component of the momentum vector of the true particle
pyy-component of the momentum vector of the true particle
pzz-component of the momentum vector of the true particle
energyEnergy of the true particle

Definition at line 144 of file AliReducedEmcalCluster.cxx.

void HighPtTracks::AliReducedEmcalCluster::Copy ( TObject target) const

Copy content of this cluster into target

Parameters
targetTarget for the copy

Definition at line 107 of file AliReducedEmcalCluster.cxx.

Referenced by AliReducedEmcalCluster(), and operator=().

void HighPtTracks::AliReducedEmcalCluster::FillCellEnergies ( TArrayD target)

Fill cell energies into target array

Parameters
target

Definition at line 131 of file AliReducedEmcalCluster.cxx.

TObjArray* HighPtTracks::AliReducedEmcalCluster::GetClusterContributors ( ) const
inline

Get MC-true contributing particles

Returns
Array of contributing particles (NULL if not available)

Definition at line 146 of file AliReducedEmcalCluster.h.

Float_t HighPtTracks::AliReducedEmcalCluster::GetClusterEnergy ( ) const
inline

Get the cluster energy

Returns
Energy of the cluster

Definition at line 120 of file AliReducedEmcalCluster.h.

Int_t HighPtTracks::AliReducedEmcalCluster::GetClusterID ( ) const
inline

Get the ID of the cluster inside the event

Returns
ID of the cluster

Definition at line 115 of file AliReducedEmcalCluster.h.

Float_t HighPtTracks::AliReducedEmcalCluster::GetEta ( ) const
inline

Get the \( \eta \) position of the cluster

Returns
\( \eta \) position of the cluster relative to the primary vertex

Definition at line 125 of file AliReducedEmcalCluster.h.

Float_t HighPtTracks::AliReducedEmcalCluster::GetM02 ( ) const
inline

Get the M02 shower shape parameter

Returns
the M02 shower shape parameter

Definition at line 135 of file AliReducedEmcalCluster.h.

Float_t HighPtTracks::AliReducedEmcalCluster::GetM20 ( ) const
inline

Get the M20 shower shape parameter

Returns
the M20 shower shape parameter

Definition at line 140 of file AliReducedEmcalCluster.h.

Float_t HighPtTracks::AliReducedEmcalCluster::GetPhi ( ) const
inline

Get the \( \phi \) position of the cluster

Returns
\( \phi \) position of the cluster relative to the primary vertex

Definition at line 130 of file AliReducedEmcalCluster.h.

AliReducedEmcalCluster & HighPtTracks::AliReducedEmcalCluster::operator= ( const AliReducedEmcalCluster ref)

Assignment operator

Parameters
refReference for the copy
Returns
This object

Definition at line 87 of file AliReducedEmcalCluster.cxx.

void HighPtTracks::AliReducedEmcalCluster::Set ( Int_t  id,
Float_t  energy,
Float_t  eta,
Float_t  phi,
Float_t  m02,
Float_t  m20 
)
inline

Set cluster parameters

Parameters
idID of the cluster
energyEnergy of the cluster
eta\( \eta \) position of the cluster
phi\( \phi \) position of the cluster
m02The m02 shower shape parameter
m20The m20 shower shape parameter

Definition at line 190 of file AliReducedEmcalCluster.h.

void HighPtTracks::AliReducedEmcalCluster::SetClusterEnergy ( Float_t  energy)
inline

Set the cluster energy

Parameters
energy

Definition at line 157 of file AliReducedEmcalCluster.h.

void HighPtTracks::AliReducedEmcalCluster::SetClusterID ( Int_t  id)
inline

Set the cluster ID

Parameters
idCluster ID

Definition at line 152 of file AliReducedEmcalCluster.h.

void HighPtTracks::AliReducedEmcalCluster::SetClusterPosition ( Float_t  eta,
Float_t  phi 
)
inline

Set the cluster position in \( \eta \) and \( \phi \)

Parameters
eta\( \eta \) position of the cluster
phi\( \phi \) position of the cluster

Definition at line 163 of file AliReducedEmcalCluster.h.

void HighPtTracks::AliReducedEmcalCluster::SetLeadingCellEnergies ( Double_t  e1,
Double_t  e2,
Double_t  e3 
)
inline

Set the leading cell energies

Parameters
e1max cell energy
e22nd highest cell energy
e33rd highest cell energy

Definition at line 176 of file AliReducedEmcalCluster.h.

void HighPtTracks::AliReducedEmcalCluster::SetShowerShapeParameters ( Float_t  m02,
Float_t  m20 
)
inline

Set the cluster shower shape parameters

Parameters
m02The m02 shower shape parameter
m20The m20 shower shape parameter

Definition at line 169 of file AliReducedEmcalCluster.h.

Member Data Documentation

Float_t HighPtTracks::AliReducedEmcalCluster::fCellEnergies[3]
protected

Leading cell energies.

Definition at line 206 of file AliReducedEmcalCluster.h.

Referenced by AliReducedEmcalCluster(), Copy(), FillCellEnergies(), and SetLeadingCellEnergies().

Int_t HighPtTracks::AliReducedEmcalCluster::fClusterID
protected

ID of the cluster.

Definition at line 200 of file AliReducedEmcalCluster.h.

Referenced by Copy(), GetClusterID(), Set(), and SetClusterID().

TObjArray* HighPtTracks::AliReducedEmcalCluster::fContributors
protected

True particles contributing to the cluster.

Definition at line 207 of file AliReducedEmcalCluster.h.

Referenced by AddTrueContributor(), Copy(), GetClusterContributors(), and ~AliReducedEmcalCluster().

Float_t HighPtTracks::AliReducedEmcalCluster::fEnergy
protected

Energy of the cluster.

Definition at line 201 of file AliReducedEmcalCluster.h.

Referenced by Copy(), GetClusterEnergy(), Set(), and SetClusterEnergy().

Float_t HighPtTracks::AliReducedEmcalCluster::fEta
protected

Cluster position in \( \eta \) relative to the primary vertex.

Definition at line 202 of file AliReducedEmcalCluster.h.

Referenced by Copy(), GetEta(), Set(), and SetClusterPosition().

Float_t HighPtTracks::AliReducedEmcalCluster::fM02
protected

M02 shower shape parameter.

Definition at line 204 of file AliReducedEmcalCluster.h.

Referenced by Copy(), GetM02(), Set(), and SetShowerShapeParameters().

Float_t HighPtTracks::AliReducedEmcalCluster::fM20
protected

M20 shower shape parameter.

Definition at line 205 of file AliReducedEmcalCluster.h.

Referenced by Copy(), GetM20(), Set(), and SetShowerShapeParameters().

Float_t HighPtTracks::AliReducedEmcalCluster::fPhi
protected

Cluster position in \( \phi \) relative to the primary vertex.

Definition at line 203 of file AliReducedEmcalCluster.h.

Referenced by Copy(), GetPhi(), Set(), and SetClusterPosition().


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