APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
CheatingParticleIDAlgorithm.h
Go to the documentation of this file.
1 
8 #ifndef APRIL_CHEATING_PARTICLE_ID_ALGORITHM_H
9 #define APRIL_CHEATING_PARTICLE_ID_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace april_content
14 {
15 
19 class CheatingParticleIDAlgorithm : public pandora::Algorithm
20 {
21 public:
26 
27  class Factory : public pandora::AlgorithmFactory
28  {
29  public:
30  pandora::Algorithm *CreateAlgorithm() const;
31  };
32 
33 private:
34  pandora::StatusCode Run();
35  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
36 
38 };
39 
40 inline pandora::Algorithm *CheatingParticleIDAlgorithm::Factory::CreateAlgorithm() const
41 {
42  return new CheatingParticleIDAlgorithm();
43 }
44 
45 } // namespace april_content
46 
47 #endif // #ifndef APRIL_CHEATING_PARTICLE_ID_ALGORITHM_H
CheatingParticleIDAlgorithm class.
Definition: CheatingParticleIDAlgorithm.h:19
bool m_useClusterOverTrackID
In case of PFO with tracks and clusters, take best mc particle from cluster.
Definition: CheatingParticleIDAlgorithm.h:37
Definition: CheatingParticleIDAlgorithm.h:27
CheatingParticleIDAlgorithm()
Factory class for instantiating algorithm.
Definition: CheatingParticleIDAlgorithm.cc:18