APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
CheatingClusterMergingNewAlgorithm.h
Go to the documentation of this file.
1 
8 #ifndef APRIL_CHEATING_CLUSTER_MERGING_NEW_ALGORITHM_H
9 #define APRIL_CHEATING_CLUSTER_MERGING_NEW_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace april_content
14 {
15 typedef std::map<const pandora::MCParticle* const, pandora::CaloHitList> MCPCaloHitListMap;
16 typedef std::map<const pandora::MCParticle* const, pandora::ClusterList> MCPClusterListMap;
17 typedef std::map<const pandora::Cluster* const, pandora::CaloHitList> ClusterCaloHitListMap;
18 
22 class CheatingClusterMergingNewAlgorithm : public pandora::Algorithm
23 {
24 public:
28  class Factory : public pandora::AlgorithmFactory
29  {
30  public:
31  pandora::Algorithm *CreateAlgorithm() const;
32  };
33 
34 private:
35  pandora::StatusCode Run();
36 
37  pandora::StatusCode MergeClusters();
38 
39  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
40 
41  std::string m_mergedClusterListName;
42 
43  bool m_mergePhoton;
44  bool m_mergeCharged;
45  bool m_mergeNeutral;
46  bool m_mergeNeutralHadron;
47 
48  float m_minClusterEnergyToMerge;
49 };
50 
51 inline pandora::Algorithm *CheatingClusterMergingNewAlgorithm::Factory::CreateAlgorithm() const
52 {
54 }
55 
56 } // namespace APRIL_content
57 
58 #endif
CheatingClusterMergingNewAlgorithm class.
Definition: CheatingClusterMergingNewAlgorithm.h:22
Factory class for instantiating algorithm.
Definition: CheatingClusterMergingNewAlgorithm.h:28