APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
ClusteringParentAlgorithm.h
Go to the documentation of this file.
1 /*
3  *
4  * ParentClusteringAlgorithm.h header template automatically generated by a class generator
5  * Creation date : mer. avr. 8 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 J. Marshall
25  * @comment Copied from LCContent at https://github.com/PandoraPFA/LCContent
26  */
27 
28 #ifndef CLUSTERINGPARENTALGORITHM_H
29 #define CLUSTERINGPARENTALGORITHM_H 1
30 
31 #include "Pandora/Algorithm.h"
32 
33 namespace april_content // modified namespace
34 {
35 
39 class ClusteringParentAlgorithm : public pandora::Algorithm
40 {
41 public:
45  class Factory : public pandora::AlgorithmFactory
46  {
47  public:
48  pandora::Algorithm *CreateAlgorithm() const;
49  };
50 
55 
56 private:
57  pandora::StatusCode Run();
58  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
59 
62 
63  std::string m_inputCaloHitListName;
65 
66  std::string m_clusterListName;
68 };
69 
70 //------------------------------------------------------------------------------------------------------------------------------------------
71 
72 inline pandora::Algorithm *ClusteringParentAlgorithm::Factory::CreateAlgorithm() const
73 {
74  return new ClusteringParentAlgorithm();
75 }
76 
77 }
78 
79 #endif // #ifndef CLUSTERINGPARENTALGORITHM_H
std::string m_inputCaloHitListName
The name of the input calo hit list, containing the hits to be clustered.
Definition: ClusteringParentAlgorithm.h:63
Factory class for instantiating algorithm.
Definition: ClusteringParentAlgorithm.h:45
bool m_restoreOriginalCaloHitList
Whether to restore the original calo hit list as the &quot;current&quot; list upon completion.
Definition: ClusteringParentAlgorithm.h:64
std::string m_clusteringAlgorithmName
The name of the clustering algorithm to run.
Definition: ClusteringParentAlgorithm.h:60
bool m_replaceCurrentClusterList
Whether to subsequently use the new cluster list as the &quot;current&quot; list.
Definition: ClusteringParentAlgorithm.h:67
std::string m_associationAlgorithmName
The name of the topological association algorithm to run.
Definition: ClusteringParentAlgorithm.h:61
std::string m_clusterListName
The name under which to save the new cluster list.
Definition: ClusteringParentAlgorithm.h:66
ClusteringParentAlgorithm class.
Definition: ClusteringParentAlgorithm.h:39
ClusteringParentAlgorithm()
Default constructor.
Definition: ClusteringParentAlgorithm.cc:36