All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TwoDParticleCreationAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file TwoDParticleCreationAlgorithm.h
3  *
4  * @brief Header file for the two dimensional particle creation algorithm class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_TWO_D_PARTICLE_CREATION_ALGORITHM_H
9 #define LAR_TWO_D_PARTICLE_CREATION_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief TwoDParticleCreationAlgorithm class
18  */
19 class TwoDParticleCreationAlgorithm : public pandora::Algorithm
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27 private:
28  pandora::StatusCode Run();
29  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
30 
31  /**
32  * @brief Create pfos for provided clusters
33  *
34  * @param pClusterList address of the cluster list
35  */
36  pandora::StatusCode CreatePFOs(const pandora::ClusterList *const pClusterList) const;
37 
38  std::string m_inputClusterListNameU; ///< The input cluster list name for the U view
39  std::string m_inputClusterListNameV; ///< The input cluster list name for the V view
40  std::string m_inputClusterListNameW; ///< The input cluster list name for the W view
41 
42  std::string m_outputPfoListName; ///< The output pfo list name
43  unsigned int m_minHitsInCluster; ///< Min number of hits for clusters to form pfos
44  float m_minClusterEnergy; ///< Min energy for clusters to form pfos
45 };
46 
47 } // namespace lar_content
48 
49 #endif // #ifndef LAR_TWO_D_PARTICLE_CREATION_ALGORITHM_H
float m_minClusterEnergy
Min energy for clusters to form pfos.
std::string m_inputClusterListNameW
The input cluster list name for the W view.
pandora::StatusCode CreatePFOs(const pandora::ClusterList *const pClusterList) const
Create pfos for provided clusters.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
std::string m_inputClusterListNameU
The input cluster list name for the U view.
std::string m_inputClusterListNameV
The input cluster list name for the V view.
std::string m_outputPfoListName
The output pfo list name.
unsigned int m_minHitsInCluster
Min number of hits for clusters to form pfos.