AliPhysics  v5-07-03-01-devcalib (ff73515)
HighPtTracks::AliParticleMap Class Reference

Map of reconstructed particles which share the same Monte-Carlo label. More...

#include <AliParticleMap.h>

Public Member Functions

AliParticleMap ()

~AliParticleMap ()

AliParticleListGetParticles (int label) const

int GetNumberOfParticles () const

void Print () const

Private Attributes

std::map< int, AliParticleList * > fParticles
connection of particles to labels More...

Detailed Description

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.

Constructor & Destructor Documentation

 HighPtTracks::AliParticleMap::AliParticleMap ( )
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.

Member Function Documentation

 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.

Parameters

Definition at line 41 of file AliParticleMap.cxx.

 int HighPtTracks::AliParticleMap::GetNumberOfParticles ( ) const
inline

Get the number of true particles (according to stored labels)

Returns
Number of entries

Definition at line 188 of file AliParticleMap.h.

 AliParticleList * HighPtTracks::AliParticleMap::GetParticles ( int label ) const

Get list of all reconstructed particles associated with a given Monte-Carlo Label.

Parameters
 label Label of the particle
Returns

Definition at line 60 of file AliParticleMap.cxx.

 void HighPtTracks::AliParticleMap::Print ( ) const

Print status of the particle map.

Definition at line 72 of file AliParticleMap.cxx.

Member Data Documentation

 std::map HighPtTracks::AliParticleMap::fParticles
private

connection of particles to labels

Definition at line 193 of file AliParticleMap.h.

Referenced by AddParticle(), GetNumberOfParticles(), GetParticles(), Print(), and ~AliParticleMap().

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