MarlinPandora  03.00.00
 All Classes Functions Variables
Classes | Public Types | Public Member Functions | List of all members
MCParticleCreator Class Reference

MCParticleCreator class. More...

#include <MCParticleCreator.h>

Classes

class  Settings
 Settings class. More...
 

Public Types

typedef std::vector< std::string > StringVector
 

Public Member Functions

 MCParticleCreator (const Settings &settings, const pandora::Pandora *const pPandora)
 Constructor. More...
 
 ~MCParticleCreator ()
 Destructor.
 
pandora::StatusCode CreateMCParticles (const EVENT::LCEvent *const pLCEvent) const
 Create MCParticles. More...
 
pandora::StatusCode CreateTrackToMCParticleRelationships (const EVENT::LCEvent *const pLCEvent, const TrackVector &trackVector) const
 Create Track to mc particle relationships. More...
 
pandora::StatusCode CreateCaloHitToMCParticleRelationships (const EVENT::LCEvent *const pLCEvent, const CalorimeterHitVector &calorimeterHitVector) const
 Create calo hit to mc particle relationships. More...
 

Detailed Description

MCParticleCreator class.

Constructor & Destructor Documentation

MCParticleCreator::MCParticleCreator ( const Settings settings,
const pandora::Pandora *const  pPandora 
)

Constructor.

Parameters
settingsthe creator settings
pPandoraaddress of the relevant pandora instance

Member Function Documentation

pandora::StatusCode MCParticleCreator::CreateCaloHitToMCParticleRelationships ( const EVENT::LCEvent *const  pLCEvent,
const CalorimeterHitVector &  calorimeterHitVector 
) const

Create calo hit to mc particle relationships.

Parameters
pLCEventthe lcio event
calorimeterHitVectorthe vector containing all calorimeter hits successfully passed to pandora

References MCParticleCreator::Settings::m_lcCaloHitRelationCollections.

Referenced by PandoraPFANewProcessor::processEvent().

pandora::StatusCode MCParticleCreator::CreateMCParticles ( const EVENT::LCEvent *const  pLCEvent) const

Create MCParticles.

Parameters
pLCEventthe lcio event

References MCParticleCreator::Settings::m_mcParticleCollections.

Referenced by PandoraPFANewProcessor::processEvent().

pandora::StatusCode MCParticleCreator::CreateTrackToMCParticleRelationships ( const EVENT::LCEvent *const  pLCEvent,
const TrackVector &  trackVector 
) const

Create Track to mc particle relationships.

Parameters
pLCEventthe lcio event
trackVectorthe vector containing all tracks successfully passed to pandora

References MCParticleCreator::Settings::m_lcTrackRelationCollections.

Referenced by PandoraPFANewProcessor::processEvent().


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