10 #ifndef PERFECTCHARGEDCLUSTERSEPARATIONALGORITHM_H
11 #define PERFECTCHARGEDCLUSTERSEPARATIONALGORITHM_H 1
13 #include "Pandora/Algorithm.h"
15 namespace april_content
27 class Factory :
public pandora::AlgorithmFactory
30 pandora::Algorithm *CreateAlgorithm()
const;
41 pandora::StatusCode Run();
42 pandora::StatusCode ReadSettings(
const pandora::TiXmlHandle xmlHandle);
47 typedef std::map<const pandora::MCParticle*, pandora::ClusterList> MCParticleToClusterListMap;
48 typedef std::map<const pandora::MCParticle*, pandora::CaloHitList> MCParticleToCaloHitListMap;
64 pandora::StatusCode ClusterSeparation(pandora::ClusterList& localClusterList, MCParticleToCaloHitListMap& mcParticleToCaloHitListMap);
66 void AddToClusterMap(
const pandora::CaloHit* pCaloHit,
const pandora::MCParticle* pMCParticle,
67 MCParticleToCaloHitListMap& mcParticleToCaloHitListMap);
69 pandora::StatusCode
CreateClusters(pandora::ClusterList& clusterList, MCParticleToCaloHitListMap& mcParticleToCaloHitListMap)
const;
75 inline pandora::Algorithm *PerfectChargedClusterSeparationAlgorithm::Factory::CreateAlgorithm()
const
82 #endif // PERFECTCHARGEDCLUSTERSEPARATIONALGORITHM_H
pandora::StatusCode CreateClusters(pandora::ClusterList &clusterList, MCParticleToCaloHitListMap &mcParticleToCaloHitListMap) const
Definition: PerfectChargedClusterSeparationAlgorithm.cc:142
PerfectChargedClusterSeparationAlgorithm()
Default constructor.
Definition: PerfectChargedClusterSeparationAlgorithm.cc:20
Factory class for instantiating algorithm.
Definition: PerfectChargedClusterSeparationAlgorithm.h:27
PerfectChargedClusterSeparationAlgorithm class.
Definition: PerfectChargedClusterSeparationAlgorithm.h:21