AliPhysics  ff07904 (ff07904)
HighPtTracks::AliParticleList Class Reference

Container of reconstructed particles. More...

#include <AliParticleMap.h>

Public Member Functions

 AliParticleList ()
 
 ~AliParticleList ()
 
void AddParticle (AliVTrack *track)
 
AliVTrack * GetParticle (int itrack) const
 
int GetNumberOfParticles () const
 

Private Attributes

std::vector< AliVTrack * > fParticles
 Vector of reconstructed particles. More...
 

Detailed Description

Container of reconstructed particles.

This class is a container of pointers of reconstructed particles. It can be used in the paritcle map associating reconstructed particles to Monte-Carlo particles. The class does not take ownership over pointers.

Definition at line 49 of file AliParticleMap.h.

Constructor & Destructor Documentation

HighPtTracks::AliParticleList::AliParticleList ( )
inline

Constructor

Definition at line 54 of file AliParticleMap.h.

HighPtTracks::AliParticleList::~AliParticleList ( )
inline

Destructor

Definition at line 61 of file AliParticleMap.h.

Member Function Documentation

void HighPtTracks::AliParticleList::AddParticle ( AliVTrack *  track)
inline

Add new particle to the list

Parameters
trackTrack to be added

Definition at line 67 of file AliParticleMap.h.

Referenced by HighPtTracks::AliParticleMap::AddParticle(), and HighPtTracks::AliParticleMap::AliParticleMap().

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

Get the number of particles stored in the list

Returns
Number of particles

Definition at line 80 of file AliParticleMap.h.

Referenced by HighPtTracks::AliHighPtReconstructionEfficiency::ProcessJet(), and HighPtTracks::AliHighPtReconstructionEfficiency::SelectParticles().

AliVTrack* HighPtTracks::AliParticleList::GetParticle ( int  itrack) const
inline

Access to particle in the list with a given index

Parameters
itrackIndex of the particle
Returns
Track at the given index

Definition at line 74 of file AliParticleMap.h.

Referenced by HighPtTracks::AliHighPtReconstructionEfficiency::ProcessJet().

Member Data Documentation

std::vector<AliVTrack *> HighPtTracks::AliParticleList::fParticles
private

Vector of reconstructed particles.

Definition at line 84 of file AliParticleMap.h.

Referenced by AddParticle(), GetNumberOfParticles(), HighPtTracks::AliParticleMap::GetNumberOfParticles(), and GetParticle().


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