NeutrinoCreationAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArThreeDReco/LArEventBuilding/NeutrinoCreationAlgorithm.h
3  *
4  * @brief Header file for the neutrino creation algorithm class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_NEUTRINO_CREATION_ALGORITHM_H
9 #define LAR_NEUTRINO_CREATION_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief NeutrinoCreationAlgorithm class
18  */
19 class NeutrinoCreationAlgorithm : public pandora::Algorithm
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27 private:
28  pandora::StatusCode Run();
29 
30  /**
31  * @brief Force creation of a single neutrino, with no vertex, regardless of number of input vertices
32  */
33  pandora::StatusCode ForceSingleEmptyNeutrino() const;
34 
35  /**
36  * @brief Fill provided pfo parameters with default/dummy values for later refinement
37  *
38  * @param pfoParameters the pfo parameters
39  */
40  void FillDefaultNeutrinoParameters(PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const;
41 
42  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
43 
44  std::string m_vertexListName; ///< The name of the neutrino vertex list
45  std::string m_neutrinoPfoListName; ///< The name of the neutrino pfo list
46 
47  bool m_forceSingleEmptyNeutrino; ///< Whether to force creation of a single neutrino, with no vertex, regardless of number of input vertices
48 };
49 
50 } // namespace lar_content
51 
52 #endif // #ifndef LAR_NEUTRINO_CREATION_ALGORITHM_H
std::string m_vertexListName
The name of the neutrino vertex list.
std::string string
Definition: nybbler.cc:12
bool m_forceSingleEmptyNeutrino
Whether to force creation of a single neutrino, with no vertex, regardless of number of input vertice...
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
void FillDefaultNeutrinoParameters(PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const
Fill provided pfo parameters with default/dummy values for later refinement.
std::string m_neutrinoPfoListName
The name of the neutrino pfo list.
pandora::StatusCode ForceSingleEmptyNeutrino() const
Force creation of a single neutrino, with no vertex, regardless of number of input vertices...