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

MC true contributor to a reconstructed EMCAL cluster. More...

#include <AliReducedEmcalCluster.h>

Inheritance diagram for HighPtTracks::AliReducedClusterParticle:

Public Member Functions

 AliReducedClusterParticle ()
 
 AliReducedClusterParticle (Int_t pdg, Double_t px, Double_t py, Double_t pz, Double_t energy)
 
virtual ~AliReducedClusterParticle ()
 
void FillLorentzVector (TLorentzVector &target) const
 
Int_t GetPdgCode () const
 
void SetMomentum (Double_t px, Double_t py, Double_t pz)
 
void SetEnergy (Double_t energy)
 
void SetPdgCode (Int_t pdg)
 

Protected Attributes

Int_t fPdg
 Particle PDG code. More...
 
Double_t fPvec [3]
 Particle momentum vector. More...
 
Double_t fEnergy
 Particle energy. More...
 

Detailed Description

MC true contributor to a reconstructed EMCAL cluster.

This class is part of the reduced EMCAL cluster and stores true information of particles matched to the EMCAL cluster based on the label

  • 4-momentum vector
  • PDG code

Definition at line 46 of file AliReducedEmcalCluster.h.

Constructor & Destructor Documentation

HighPtTracks::AliReducedClusterParticle::AliReducedClusterParticle ( )

Dummy constructor

Definition at line 155 of file AliReducedEmcalCluster.cxx.

HighPtTracks::AliReducedClusterParticle::AliReducedClusterParticle ( Int_t  pdg,
Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  energy 
)

Default constructor, initializing params

Parameters
pdgParticle PDG code
pxx-component of the momentum vector
pyy-component of the momentum vector
pzz-component of the momentum vector
energyParticle energy

Definition at line 170 of file AliReducedEmcalCluster.cxx.

HighPtTracks::AliReducedClusterParticle::~AliReducedClusterParticle ( )
virtual

Destructor, does nothing

Definition at line 183 of file AliReducedEmcalCluster.cxx.

Member Function Documentation

void HighPtTracks::AliReducedClusterParticle::FillLorentzVector ( TLorentzVector &  target) const

Accessor to particle kinematical information via a TLorentzVector

Parameters
targetLorentzvector to fill with particle kinematical information

Definition at line 189 of file AliReducedEmcalCluster.cxx.

Int_t HighPtTracks::AliReducedClusterParticle::GetPdgCode ( ) const
inline

Get the PDG code of the particle

Returns
PDG code of the particle

Definition at line 57 of file AliReducedEmcalCluster.h.

void HighPtTracks::AliReducedClusterParticle::SetEnergy ( Double_t  energy)
inline

Set the particle energy

Parameters
energyThe particle energy

Definition at line 74 of file AliReducedEmcalCluster.h.

void HighPtTracks::AliReducedClusterParticle::SetMomentum ( Double_t  px,
Double_t  py,
Double_t  pz 
)
inline

Set the particle momentum

Parameters
pxx-component of the particle momentum
pyy-component of the particle momentum
pzz-component of the particle momentum

Definition at line 65 of file AliReducedEmcalCluster.h.

void HighPtTracks::AliReducedClusterParticle::SetPdgCode ( Int_t  pdg)
inline

Set the particle PDG code

Parameters
ThePDG code of the particle

Definition at line 79 of file AliReducedEmcalCluster.h.

Member Data Documentation

Double_t HighPtTracks::AliReducedClusterParticle::fEnergy
protected

Particle energy.

Definition at line 84 of file AliReducedEmcalCluster.h.

Referenced by SetEnergy().

Int_t HighPtTracks::AliReducedClusterParticle::fPdg
protected

Particle PDG code.

Definition at line 82 of file AliReducedEmcalCluster.h.

Referenced by GetPdgCode(), and SetPdgCode().

Double_t HighPtTracks::AliReducedClusterParticle::fPvec[3]
protected

Particle momentum vector.

Definition at line 83 of file AliReducedEmcalCluster.h.

Referenced by AliReducedClusterParticle(), and SetMomentum().


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