AliPhysics  vAN-20150507 (0645659)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
HighPtTracks::AliReducedGeneratedParticle Class Reference

Structure for reduced particle information at generator level. More...

#include <AliReducedGeneratedParticle.h>

Inheritance diagram for HighPtTracks::AliReducedGeneratedParticle:

Public Member Functions

 AliReducedGeneratedParticle ()
 
 AliReducedGeneratedParticle (Int_t id, Int_t pdg, Double_t px, Double_t py, Double_t pz, Double_t energy)
 
virtual ~AliReducedGeneratedParticle ()
 
Int_t GetID () const
 
Int_t GetPdgCode () const
 
Double_t GetParticleEnergy () const
 
void Set (Int_t id, Int_t pdgcode, Double_t px, Double_t py, Double_t pz, Double_t energy)
 
void SetID (Int_t id)
 
void SetPDGCode (Int_t pdgcode)
 
void SetPVector (Double_t px, Double_t py, Double_t pz)
 
void SetEnergy (Double_t energy)
 

Protected Attributes

Int_t fParticleID
 Unique ID of the particle. More...
 
Int_t fPDGCode
 PDG code. More...
 
Double_t fPVec [3]
 Particle momentum vector. More...
 
Double_t fEnergy
 Particle energy. More...
 

Detailed Description

Structure for reduced particle information at generator level.

This structure stores basic information at generator level

  • momentum vector of the particle
  • energy
  • PDG code
  • Unique ID for matching with reconstructed track This class is part of the reduced event for the high- \( p_{t} \) analysis

Definition at line 45 of file AliReducedGeneratedParticle.h.

Constructor & Destructor Documentation

HighPtTracks::AliReducedGeneratedParticle::AliReducedGeneratedParticle ( )

Default (dummy) constructor

Definition at line 26 of file AliReducedGeneratedParticle.cxx.

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

Constructor, setting parameters of the particle

Parameters
idUnique ID of the particle
pdgPDG code
pxx-component of the momentum vector
pyy-component of the momentum vector
pzz-component of the momentum vector
energyParticle energy

Definition at line 44 of file AliReducedGeneratedParticle.cxx.

HighPtTracks::AliReducedGeneratedParticle::~AliReducedGeneratedParticle ( )
virtual

Destructor, nothing to do

Definition at line 59 of file AliReducedGeneratedParticle.cxx.

Member Function Documentation

Int_t HighPtTracks::AliReducedGeneratedParticle::GetID ( ) const
inline

Get the unique ID of the particle

Returns
The unique ID of the particle

Definition at line 55 of file AliReducedGeneratedParticle.h.

Referenced by HighPtTracks::AliReducedHighPtEvent::GetParticleForIndex().

Double_t HighPtTracks::AliReducedGeneratedParticle::GetParticleEnergy ( ) const
inline

Get the energy of the particle

Returns
The energy of the particle

Definition at line 65 of file AliReducedGeneratedParticle.h.

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

Get the PDG code of the particle

Returns
The pdg code of the particle

Definition at line 60 of file AliReducedGeneratedParticle.h.

void HighPtTracks::AliReducedGeneratedParticle::Set ( Int_t  id,
Int_t  pdgcode,
Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  energy 
)
inline

Set the basic paricle parameters

Parameters
idID of the particle
pdgcodePDG code of the particle
pxx-component of the momentum vector
pyy-component of the momentum vector
pzz-component of the momentum vector
energyParticle energy

Definition at line 76 of file AliReducedGeneratedParticle.h.

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

Set the particle energy

Parameters
energyThe particle energy

Definition at line 109 of file AliReducedGeneratedParticle.h.

void HighPtTracks::AliReducedGeneratedParticle::SetID ( Int_t  id)
inline

Set the unique ID of the particle

Parameters
idUnique ID of the particle

Definition at line 88 of file AliReducedGeneratedParticle.h.

void HighPtTracks::AliReducedGeneratedParticle::SetPDGCode ( Int_t  pdgcode)
inline

Set the particle PDG code

Parameters
pdgcodePDG code of the particle

Definition at line 93 of file AliReducedGeneratedParticle.h.

void HighPtTracks::AliReducedGeneratedParticle::SetPVector ( Double_t  px,
Double_t  py,
Double_t  pz 
)
inline

Set the particle 3-momentum vector

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

Definition at line 100 of file AliReducedGeneratedParticle.h.

Member Data Documentation

Double_t HighPtTracks::AliReducedGeneratedParticle::fEnergy
protected

Particle energy.

Definition at line 115 of file AliReducedGeneratedParticle.h.

Referenced by GetParticleEnergy(), Set(), and SetEnergy().

Int_t HighPtTracks::AliReducedGeneratedParticle::fParticleID
protected

Unique ID of the particle.

Definition at line 112 of file AliReducedGeneratedParticle.h.

Referenced by GetID(), Set(), and SetID().

Int_t HighPtTracks::AliReducedGeneratedParticle::fPDGCode
protected

PDG code.

Definition at line 113 of file AliReducedGeneratedParticle.h.

Referenced by GetPdgCode(), Set(), and SetPDGCode().

Double_t HighPtTracks::AliReducedGeneratedParticle::fPVec[3]
protected

Particle momentum vector.

Definition at line 114 of file AliReducedGeneratedParticle.h.

Referenced by AliReducedGeneratedParticle(), Set(), and SetPVector().


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