APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
EventPreparationAlgorithm.h
Go to the documentation of this file.
1 /*
3  *
4  * EventPreparationAlgorithm.h header template automatically generated by a class generator
5  * Creation date : sam. mars 21 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 APRIL_EVENT_PREPARATION_ALGORITHM_H
29 #define APRIL_EVENT_PREPARATION_ALGORITHM_H 1
30 
31 #include "Pandora/Algorithm.h"
32 
33 namespace april_content
34 {
35 
39 class EventPreparationAlgorithm : public pandora::Algorithm
40 {
41 public:
45  class Factory : public pandora::AlgorithmFactory
46  {
47  public:
48  pandora::Algorithm *CreateAlgorithm() const;
49  };
50 
51  static inline int GetEventNumber() { return m_evtNumber; }
52 
53 private:
54  pandora::StatusCode Run();
55  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
56 
57  std::string m_outputTrackListName;
62 
65 
67 
68  static int m_evtNumber;
69 };
70 
71 //------------------------------------------------------------------------------------------------------------------------------------------
72 
73 inline pandora::Algorithm *EventPreparationAlgorithm::Factory::CreateAlgorithm() const
74 {
75  return new EventPreparationAlgorithm();
76 }
77 
78 }
79 
80 #endif // #ifndef APRIL_EVENT_PREPARATION_ALGORITHM_H
std::string m_replacementCaloHitListName
The replacement calo hit list name.
Definition: EventPreparationAlgorithm.h:64
std::string m_outputECalCaloHitListName
The output ecal calo hit list name.
Definition: EventPreparationAlgorithm.h:59
std::string m_outputCaloHitListName
The output calo hit list name.
Definition: EventPreparationAlgorithm.h:58
EventPreparationAlgorithm class.
Definition: EventPreparationAlgorithm.h:39
std::string m_replacementTrackListName
The replacement track list name.
Definition: EventPreparationAlgorithm.h:63
std::string m_outputMuonCaloHitListName
The output muon calo hit list name.
Definition: EventPreparationAlgorithm.h:61
std::string m_outputTrackListName
The output track list name.
Definition: EventPreparationAlgorithm.h:57
Factory class for instantiating algorithm.
Definition: EventPreparationAlgorithm.h:45
bool m_mergeECalHCalCaloHitLists
Whether the ecal and hcal calo hit list have to merged.
Definition: EventPreparationAlgorithm.h:66
std::string m_outputHCalCaloHitListName
The output hcal calo hit list name.
Definition: EventPreparationAlgorithm.h:60