APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Classes | Public Member Functions | Private Types | Private Member Functions | List of all members
april_content::PerfectFragmentRemovalAlgorithm Class Reference

PerfectFragmentRemovalAlgorithm class. More...

#include <PerfectFragmentRemovalAlgorithm.h>

Inheritance diagram for april_content::PerfectFragmentRemovalAlgorithm:

Classes

class  Factory
 Factory class for instantiating algorithm. More...
 

Public Member Functions

 PerfectFragmentRemovalAlgorithm ()
 Default constructor.
 

Private Types

typedef std::map< const
pandora::MCParticle
*, pandora::ClusterList * > 
MCParticleToClusterListMap
 
typedef std::map< const
pandora::MCParticle *, const
pandora::Track * > 
MCParticleToTrackMap
 

Private Member Functions

pandora::StatusCode Run ()
 
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 
void SimpleMCParticleCollection (const pandora::Cluster *const pCaloHit, MCParticleToClusterListMap &mcParticleToClusterListMap) const
 Simple mc particle collection, using main mc particle associated with each calo hit. More...
 
void AddToClusterListMap (const pandora::Cluster *const pClusterToAdd, const pandora::MCParticle *const pMCParticle, MCParticleToClusterListMap &mcParticleToClusterListMap) const
 Full mc particle collection, using map of mc particles to hit weights; fragment calo hits where necessary. More...
 
pandora::StatusCode MergeClusters (const MCParticleToClusterListMap &mcParticleToClusterListMap) const
 Create clusters based on information in the mc particle to hit list map. More...
 

Detailed Description

PerfectFragmentRemovalAlgorithm class.

Member Function Documentation

void april_content::PerfectFragmentRemovalAlgorithm::AddToClusterListMap ( const pandora::Cluster *const  pClusterToAdd,
const pandora::MCParticle *const  pMCParticle,
MCParticleToClusterListMap &  mcParticleToClusterListMap 
) const
private

Full mc particle collection, using map of mc particles to hit weights; fragment calo hits where necessary.

Parameters
pCaloHitaddress of the calo hit
mcParticleToHitListMapthe mc particle to hit list map Add a calo hit to the mc particle to hit list map
pCaloHitaddress of the calo hit
pMCParticleaddress of the mc particle
mcParticleToHitListMapthe mc particle to hit list map
StatusCode april_content::PerfectFragmentRemovalAlgorithm::MergeClusters ( const MCParticleToClusterListMap &  mcParticleToClusterListMap) const
private

Create clusters based on information in the mc particle to hit list map.

Parameters
mcParticleToHitListMapthe mc particle to hit list map
void april_content::PerfectFragmentRemovalAlgorithm::SimpleMCParticleCollection ( const pandora::Cluster *const  pCaloHit,
MCParticleToClusterListMap &  mcParticleToClusterListMap 
) const
private

Simple mc particle collection, using main mc particle associated with each calo hit.

Parameters
pCaloHitaddress of the calo hit
mcParticleToHitListMapthe mc particle to hit list map

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