All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BranchAssociatedPfosTool.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArThreeDReco/LArEventBuilding/BranchAssociatedPfosTool.h
3  *
4  * @brief Header file for the branch associated pfos tool class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_BRANCH_ASSOCIATED_PFOS_TOOL_H
9 #define LAR_BRANCH_ASSOCIATED_PFOS_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief BranchAssociatedPfosTool class
18  */
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27  void Run(const NeutrinoHierarchyAlgorithm *const pAlgorithm, const pandora::Vertex *const pNeutrinoVertex,
29 
30 private:
31  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
32 
33  float m_minNeutrinoVertexDistance; ///< Branch association: min distance from branch vertex to neutrino vertex
34  float m_trackBranchAdditionFraction; ///< Branch association: min fraction of length along parent track before association allowed
35  float m_maxParentClusterDistance; ///< Branch association: max distance from branch vertex to a hit in parent 3D cluster
36 };
37 
38 } // namespace lar_content
39 
40 #endif // #ifndef LAR_BRANCH_ASSOCIATED_PFOS_TOOL_H
void Run(const NeutrinoHierarchyAlgorithm *const pAlgorithm, const pandora::Vertex *const pNeutrinoVertex, NeutrinoHierarchyAlgorithm::PfoInfoMap &pfoInfoMap)
Run the algorithm tool.
BranchAssociatedPfosTool class.
float m_maxParentClusterDistance
Branch association: max distance from branch vertex to a hit in parent 3D cluster.
float m_minNeutrinoVertexDistance
Branch association: min distance from branch vertex to neutrino vertex.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
std::unordered_map< const pandora::ParticleFlowObject *, PfoInfo * > PfoInfoMap
Header file for the neutrino hierarchy algorithm class.
float m_trackBranchAdditionFraction
Branch association: min fraction of length along parent track before association allowed.