APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
CheatingTrackToClusterMatching.h
Go to the documentation of this file.
1 
8 #ifndef APRIL_CHEATING_TRACK_TO_CLUSTER_MATCHING_ALGORITHM_H
9 #define APRIL_CHEATING_TRACK_TO_CLUSTER_MATCHING_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace april_content
14 {
15 
19 class CheatingTrackToClusterMatching : public pandora::Algorithm
20 {
21 public:
25  class Factory : public pandora::AlgorithmFactory
26  {
27  public:
28  pandora::Algorithm *CreateAlgorithm() const;
29  };
30 
31  bool IsParent(const pandora::MCParticle* parent, const pandora::MCParticle* daughter);
32 
33 private:
34  pandora::StatusCode Run();
35  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
36 
37  bool m_shouldMergeTrackClusters;
38 };
39 
40 //------------------------------------------------------------------------------------------------------------------------------------------
41 
42 inline pandora::Algorithm *CheatingTrackToClusterMatching::Factory::CreateAlgorithm() const
43 {
44  return new CheatingTrackToClusterMatching();
45 }
46 
47 } // namespace april_content
48 
49 #endif // #ifndef APRIL_CHEATING_TRACK_TO_CLUSTER_MATCHING_ALGORITHM_H
CheatingTrackToClusterMatching class.
Definition: CheatingTrackToClusterMatching.h:19
Factory class for instantiating algorithm.
Definition: CheatingTrackToClusterMatching.h:25