AliPhysics  1adf5bd (1adf5bd)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 
Double_t Pt () const
 
Double_t Eta () const
 
Double_t Phi () const
 
void FillMomentumVector (TVector3 &) const
 
void GetMomentumVector (Double_t &px, Double_t &py, Double_t &pz) 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 47 of file AliReducedGeneratedParticle.h.

Constructor & Destructor Documentation

HighPtTracks::AliReducedGeneratedParticle::AliReducedGeneratedParticle ( )

Default (dummy) constructor

Definition at line 27 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 45 of file AliReducedGeneratedParticle.cxx.

HighPtTracks::AliReducedGeneratedParticle::~AliReducedGeneratedParticle ( )
virtual

Destructor, nothing to do

Definition at line 60 of file AliReducedGeneratedParticle.cxx.

Member Function Documentation

Double_t HighPtTracks::AliReducedGeneratedParticle::Eta ( ) const

Get \( \eta \) of the generated particle

Returns
\( \eta \)

Definition at line 75 of file AliReducedGeneratedParticle.cxx.

void HighPtTracks::AliReducedGeneratedParticle::FillMomentumVector ( TVector3 &  pvec) const

Provide access to the momentum vector

Parameters
pvecMomentum vector to be filled

Definition at line 93 of file AliReducedGeneratedParticle.cxx.

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

Get the unique ID of the particle

Returns
The unique ID of the particle

Definition at line 57 of file AliReducedGeneratedParticle.h.

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

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

Access to components of the 3-momentum vector.

Parameters
pxx-component
pyy-component
pzz-component

Definition at line 81 of file AliReducedGeneratedParticle.h.

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

Get the energy of the particle

Returns
The energy of the particle

Definition at line 67 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 62 of file AliReducedGeneratedParticle.h.

Double_t HighPtTracks::AliReducedGeneratedParticle::Phi ( ) const

Get \( \phi \) of the generated particle

Returns
\( \phi \)

Definition at line 84 of file AliReducedGeneratedParticle.cxx.

Double_t HighPtTracks::AliReducedGeneratedParticle::Pt ( ) const

Get \( p_{t} \) of the generated particle

Returns
\( p_{t} \)

Definition at line 66 of file AliReducedGeneratedParticle.cxx.

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 96 of file AliReducedGeneratedParticle.h.

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

Set the particle energy

Parameters
energyThe particle energy

Definition at line 129 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 108 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 113 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 120 of file AliReducedGeneratedParticle.h.

Member Data Documentation

Double_t HighPtTracks::AliReducedGeneratedParticle::fEnergy
protected

Particle energy.

Definition at line 135 of file AliReducedGeneratedParticle.h.

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

Int_t HighPtTracks::AliReducedGeneratedParticle::fParticleID
protected

Unique ID of the particle.

Definition at line 132 of file AliReducedGeneratedParticle.h.

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

Int_t HighPtTracks::AliReducedGeneratedParticle::fPDGCode
protected

PDG code.

Definition at line 133 of file AliReducedGeneratedParticle.h.

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

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

Particle momentum vector.

Definition at line 134 of file AliReducedGeneratedParticle.h.

Referenced by AliReducedGeneratedParticle(), Eta(), FillMomentumVector(), GetMomentumVector(), Phi(), Pt(), Set(), and SetPVector().


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