APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
SimplePfoTestAlgorithm.h
Go to the documentation of this file.
1 /*
3  *
4  * SimplePfoTestAlgorithm.h header template automatically generated by a class generator
5  * Creation date : ven. mars 20 2015
6  *
7  * This file is part of APRILContent libraries.
8  *
9  * APRILContent is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  * based upon these libraries are permitted. Any copy of these libraries
14  * must include this copyright notice.
15  *
16  * APRILContent is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with APRILContent. If not, see <http://www.gnu.org/licenses/>.
23  *
24  * @author John Marshall
25  */
26 
27 
28 #ifndef SIMPLEPFOTEST_H
29 #define SIMPLEPFOTEST_H
30 
31 #include "Pandora/Algorithm.h"
32 
33 #include "Api/PandoraContentApi.h"
34 
35 namespace april_content
36 {
37 
41 class SimplePfoTestAlgorithm : public pandora::Algorithm
42 {
43 public:
47  class Factory : public pandora::AlgorithmFactory
48  {
49  public:
50  pandora::Algorithm *CreateAlgorithm() const;
51  };
52 
57 
58 private:
59  typedef PandoraContentApi::ParticleFlowObject::Parameters PfoParameters;
60 
61  pandora::StatusCode Run();
62  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
63 
64  void PfoTargetEnergy() const;
65 
66  pandora::StatusCode SimplePfo() const;
67 
68  //std::string m_outputPfoListName; ///< The output pfo list name
69  //std::string m_associationAlgorithmName; ///< The name of track-cluster alg
70 };
71 
72 //------------------------------------------------------------------------------------------------------------------------------------------
73 
74 inline pandora::Algorithm *SimplePfoTestAlgorithm::Factory::CreateAlgorithm() const
75 {
76  return new SimplePfoTestAlgorithm();
77 }
78 
79 }
80 
81 #endif
Factory class for instantiating algorithm.
Definition: SimplePfoTestAlgorithm.h:47
SimplePfoTestAlgorithm class.
Definition: SimplePfoTestAlgorithm.h:41
SimplePfoTestAlgorithm()
Default constructor.
Definition: SimplePfoTestAlgorithm.cc:41