All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NeutrinoPropertiesAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArThreeDReco/LArEventBuilding/NeutrinoPropertiesAlgorithm.h
3  *
4  * @brief Header file for the neutrino properties algorithm class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_NEUTRINO_PROPERTIES_ALGORITHM_H
9 #define LAR_NEUTRINO_PROPERTIES_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief NeutrinoPropertiesAlgorithm class
18  */
19 class NeutrinoPropertiesAlgorithm : public pandora::Algorithm
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27 private:
28  pandora::StatusCode Run();
29 
30  /**
31  * @brief identifying the primary daughter of a neutrino pfo and set the particle id accordingly
32  *
33  * @param pNeutrinoPfo address of the neutrino pfo
34  */
35  void SetNeutrinoId(const pandora::ParticleFlowObject *const pNeutrinoPfo) const;
36 
37  /**
38  * @brief Get the number of two dimensional hits (TPC_VIEW_U, V or W) contained in clusters in a pfo and all its daughters
39  *
40  * @param pPfo address of the pfo
41  *
42  * @return the number of two dimensional hits
43  */
44  unsigned int GetNTwoDHitsInPfoChain(const pandora::ParticleFlowObject *const pPfo) const;
45 
46  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
47 
48  std::string m_neutrinoPfoListName; ///< The name of the output neutrino pfo list
49 
50  bool m_includeIsolatedHits; ///< Whether to include isolated hits when counting 2d hits in pfo chain
51 };
52 
53 } // namespace lar_content
54 
55 #endif // #ifndef LAR_NEUTRINO_PROPERTIES_ALGORITHM_H
bool m_includeIsolatedHits
Whether to include isolated hits when counting 2d hits in pfo chain.
void SetNeutrinoId(const pandora::ParticleFlowObject *const pNeutrinoPfo) const
identifying the primary daughter of a neutrino pfo and set the particle id accordingly ...
std::string m_neutrinoPfoListName
The name of the output neutrino pfo list.
unsigned int GetNTwoDHitsInPfoChain(const pandora::ParticleFlowObject *const pPfo) const
Get the number of two dimensional hits (TPC_VIEW_U, V or W) contained in clusters in a pfo and all it...
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)