![]() |
AliPhysics
58ae0ed (58ae0ed)
|
Map of reconstructed particles which share the same Monte-Carlo label. More...
#include <AliParticleMap.h>
Public Member Functions | |
AliParticleMap () | |
~AliParticleMap () | |
void | AddParticle (AliVTrack *track) |
AliParticleList * | GetParticles (int label) const |
int | GetNumberOfParticles () const |
void | Print () const |
Private Attributes | |
std::map< int, AliParticleList * > | fParticles |
connection of particles to labels More... | |
Map of reconstructed particles which share the same Monte-Carlo label.
Class connecting all reconstructing particles sharing the same Monte-Carlo label. Used for a fast search of reconstructed tracks for given generated tracks.
Definition at line 170 of file AliParticleMap.h.
|
inline |
Constructor
Definition at line 175 of file AliParticleMap.h.
HighPtTracks::AliParticleMap::~AliParticleMap | ( | ) |
Destructor. Clean up all particle lists.
Definition at line 29 of file AliParticleMap.cxx.
void HighPtTracks::AliParticleMap::AddParticle | ( | AliVTrack * | track | ) |
Add particle to the list. In case the same label is already existing in the list, the particle is just added to the list, otherwise a new entry for the label is created.
track | particle to be added |
Definition at line 41 of file AliParticleMap.cxx.
Referenced by HighPtTracks::AliHighPtReconstructionEfficiency::CreateRectrackLookup().
|
inline |
Get the number of true particles (according to stored labels)
Definition at line 188 of file AliParticleMap.h.
Referenced by HighPtTracks::AliHighPtReconstructionEfficiency::UserExec().
AliParticleList * HighPtTracks::AliParticleMap::GetParticles | ( | int | label | ) | const |
Get list of all reconstructed particles associated with a given Monte-Carlo Label.
label | Label of the particle |
Definition at line 60 of file AliParticleMap.cxx.
Referenced by HighPtTracks::AliHighPtReconstructionEfficiency::FindReconstructedParticleFast().
void HighPtTracks::AliParticleMap::Print | ( | ) | const |
Print status of the particle map.
Definition at line 72 of file AliParticleMap.cxx.
|
private |
connection of particles to labels
Definition at line 193 of file AliParticleMap.h.
Referenced by AddParticle(), GetNumberOfParticles(), GetParticles(), Print(), and ~AliParticleMap().