![]() |
AliPhysics
1adf5bd (1adf5bd)
|
Structure for reduced particle information at generator level. More...
#include <AliReducedGeneratedParticle.h>
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... | |
Structure for reduced particle information at generator level.
This structure stores basic information at generator level
Definition at line 47 of file AliReducedGeneratedParticle.h.
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
id | Unique ID of the particle |
pdg | PDG code |
px | x-component of the momentum vector |
py | y-component of the momentum vector |
pz | z-component of the momentum vector |
energy | Particle energy |
Definition at line 45 of file AliReducedGeneratedParticle.cxx.
|
virtual |
Destructor, nothing to do
Definition at line 60 of file AliReducedGeneratedParticle.cxx.
Double_t HighPtTracks::AliReducedGeneratedParticle::Eta | ( | ) | const |
Get \( \eta \) of the generated particle
Definition at line 75 of file AliReducedGeneratedParticle.cxx.
void HighPtTracks::AliReducedGeneratedParticle::FillMomentumVector | ( | TVector3 & | pvec | ) | const |
Provide access to the momentum vector
pvec | Momentum vector to be filled |
Definition at line 93 of file AliReducedGeneratedParticle.cxx.
|
inline |
Get the unique ID of the particle
Definition at line 57 of file AliReducedGeneratedParticle.h.
Referenced by HighPtTracks::AliReducedHighPtEvent::GetParticleForIndex().
|
inline |
Access to components of the 3-momentum vector.
px | x-component |
py | y-component |
pz | z-component |
Definition at line 81 of file AliReducedGeneratedParticle.h.
|
inline |
Get the energy of the particle
Definition at line 67 of file AliReducedGeneratedParticle.h.
|
inline |
Get 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
Definition at line 84 of file AliReducedGeneratedParticle.cxx.
Double_t HighPtTracks::AliReducedGeneratedParticle::Pt | ( | ) | const |
Get \( p_{t} \) of the generated particle
Definition at line 66 of file AliReducedGeneratedParticle.cxx.
|
inline |
Set the basic paricle parameters
id | ID of the particle |
pdgcode | PDG code of the particle |
px | x-component of the momentum vector |
py | y-component of the momentum vector |
pz | z-component of the momentum vector |
energy | Particle energy |
Definition at line 96 of file AliReducedGeneratedParticle.h.
|
inline |
Set the particle energy
energy | The particle energy |
Definition at line 129 of file AliReducedGeneratedParticle.h.
|
inline |
Set the unique ID of the particle
id | Unique ID of the particle |
Definition at line 108 of file AliReducedGeneratedParticle.h.
|
inline |
Set the particle PDG code
pdgcode | PDG code of the particle |
Definition at line 113 of file AliReducedGeneratedParticle.h.
|
inline |
Set the particle 3-momentum vector
px | x-component of the momentum vector |
py | y-component of the momentum vector |
pz | z-component of the momentum vector |
Definition at line 120 of file AliReducedGeneratedParticle.h.
|
protected |
Particle energy.
Definition at line 135 of file AliReducedGeneratedParticle.h.
Referenced by GetParticleEnergy(), Set(), and SetEnergy().
|
protected |
Unique ID of the particle.
Definition at line 132 of file AliReducedGeneratedParticle.h.
|
protected |
PDG code.
Definition at line 133 of file AliReducedGeneratedParticle.h.
Referenced by GetPdgCode(), Set(), and SetPDGCode().
|
protected |
Particle momentum vector.
Definition at line 134 of file AliReducedGeneratedParticle.h.
Referenced by AliReducedGeneratedParticle(), Eta(), FillMomentumVector(), GetMomentumVector(), Phi(), Pt(), Set(), and SetPVector().