AliPhysics  ff07904 (ff07904)
HighPtTracks::AliReconstructedParticlePair Class Reference

Pair of a Monte-Carlo true particle and the associated reconstructed information. More...

#include <AliParticleMap.h>

Public Member Functions

 AliReconstructedParticlePair ()
 
 AliReconstructedParticlePair (const AliReconstructedParticlePair &ref)
 
AliReconstructedParticlePairoperator= (const AliReconstructedParticlePair &ref)
 
 ~AliReconstructedParticlePair ()
 
AliVParticle * GetMCTrueParticle () const
 
const AliParticleListGetRecTracks () const
 
void SetMCTrueParticle (AliVParticle *const part)
 
void SetRecParticles (const AliParticleList &tracks)
 

Private Attributes

AliVParticle * fTrueParticle
 True selected particle. More...
 
AliParticleList fRecParticles
 List of all matched particles according to the Monte-Carlo label. More...
 

Detailed Description

Pair of a Monte-Carlo true particle and the associated reconstructed information.

Helper class mapping combining all reconstructed particles which can be associated to one generated particle.

Definition at line 94 of file AliParticleMap.h.

Constructor & Destructor Documentation

HighPtTracks::AliReconstructedParticlePair::AliReconstructedParticlePair ( )
inline

Constructor

Definition at line 99 of file AliParticleMap.h.

HighPtTracks::AliReconstructedParticlePair::AliReconstructedParticlePair ( const AliReconstructedParticlePair ref)
inline

Copy constructor. Creates new pair from a reference object. Does not take ownership of pointers.

Parameters
refReference for the copy

Definition at line 109 of file AliParticleMap.h.

HighPtTracks::AliReconstructedParticlePair::~AliReconstructedParticlePair ( )
inline

Destructor

Definition at line 131 of file AliParticleMap.h.

Member Function Documentation

AliVParticle* HighPtTracks::AliReconstructedParticlePair::GetMCTrueParticle ( ) const
inline

Access to true particle

Returns
The true MC particle

Definition at line 137 of file AliParticleMap.h.

const AliParticleList& HighPtTracks::AliReconstructedParticlePair::GetRecTracks ( ) const
inline

Access to reconstructed particles

Returns
List of reconstructed particles matched to this particle

Definition at line 143 of file AliParticleMap.h.

AliReconstructedParticlePair& HighPtTracks::AliReconstructedParticlePair::operator= ( const AliReconstructedParticlePair ref)
inline

Assignment operator. Assigns values stored in reference object to this object.

Parameters
refReference for the copy
Returns
This object

Definition at line 120 of file AliParticleMap.h.

void HighPtTracks::AliReconstructedParticlePair::SetMCTrueParticle ( AliVParticle *const  part)
inline

Set the particle at generator level

Parameters
partMC-true particle

Definition at line 149 of file AliParticleMap.h.

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

void HighPtTracks::AliReconstructedParticlePair::SetRecParticles ( const AliParticleList tracks)
inline

Set the list of reconstructed particles associated to this particle

Parameters
tracksList of reconstructed tracks

Definition at line 155 of file AliParticleMap.h.

Member Data Documentation

AliParticleList HighPtTracks::AliReconstructedParticlePair::fRecParticles
private

List of all matched particles according to the Monte-Carlo label.

Definition at line 160 of file AliParticleMap.h.

Referenced by operator=().

AliVParticle* HighPtTracks::AliReconstructedParticlePair::fTrueParticle
private

True selected particle.

Definition at line 159 of file AliParticleMap.h.

Referenced by operator=().


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