APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
PerformanceMonitoringAlgorithm.h
Go to the documentation of this file.
1 /*
3  *
4  * PerformanceMonitoringAlgorithm.h header template automatically generated by a class generator
5  * Creation date : jeu. mai 19 2016
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 Remi Ete
25  * @copyright CNRS , IPNL
26  */
27 
28 
29 #ifndef PERFORMANCEMONITORINGALGORITHM_H
30 #define PERFORMANCEMONITORINGALGORITHM_H
31 
32 #include "Pandora/Algorithm.h"
33 
34 namespace april_content
35 {
36 
40 class PerformanceMonitoringAlgorithm : public pandora::Algorithm
41 {
42 public:
46  class Factory : public pandora::AlgorithmFactory
47  {
48  public:
49  pandora::Algorithm *CreateAlgorithm() const;
50  };
51 
52 private:
53  pandora::StatusCode Run();
54  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
55 
56 private:
57  float m_expectedPfoTotalEnergy;
58  float m_pfoTotalEnergyDeviation;
59 
60  std::string m_visualMonitoringAlgorithmName;
61 };
62 
63 //------------------------------------------------------------------------------------------------------------------------------------------
64 
65 inline pandora::Algorithm *PerformanceMonitoringAlgorithm::Factory::CreateAlgorithm() const
66 {
67  return new PerformanceMonitoringAlgorithm();
68 }
69 
70 }
71 
72 #endif // PERFORMANCEMONITORINGALGORITHM_H
PerformanceMonitoringAlgorithm class.
Definition: PerformanceMonitoringAlgorithm.h:40
Factory class for instantiating algorithm.
Definition: PerformanceMonitoringAlgorithm.h:46