Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
EndAssociatedPfosTool.h
Go to the documentation of this file.
1
8#ifndef LAR_END_ASSOCIATED_PFOS_TOOL_H
9#define LAR_END_ASSOCIATED_PFOS_TOOL_H 1
10
12
14
15namespace lar_content
16{
17
22{
23public:
28
29 void Run(const NeutrinoHierarchyAlgorithm *const pAlgorithm, const pandora::Vertex *const pNeutrinoVertex,
31
32private:
42 bool IsCloseToParentEndpoint(const pandora::CartesianVector &parentEndpoint, const pandora::Cluster *const pParentCluster3D,
43 const pandora::Cluster *const pDaughterCluster3D) const;
44
46
53};
54
55} // namespace lar_content
56
57#endif // #ifndef LAR_END_ASSOCIATED_PFOS_TOOL_H
Header file for the cluster helper class.
Header file for the neutrino hierarchy algorithm class.
bool IsCloseToParentEndpoint(const pandora::CartesianVector &parentEndpoint, const pandora::Cluster *const pParentCluster3D, const pandora::Cluster *const pDaughterCluster3D) const
Whether a daughter 3D cluster is in close proximity to the endpoint of a parent 3D cluster.
float m_maxVertexTransverseDistance
Vertex association check: max transverse distance cut.
float m_minVertexLongitudinalDistance
Vertex association check: min longitudinal distance cut.
float m_maxParentEndpointDistance
Max distance between candidate parent endpoint and candidate daughter.
float m_maxVertexLongitudinalDistance
Vertex association check: max longitudinal distance cut.
float m_minNeutrinoVertexDistance
Min distance between candidate parent endpoint and neutrino vertex.
float m_vertexAngularAllowance
Vertex association check: pointing angular allowance in degrees.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
void Run(const NeutrinoHierarchyAlgorithm *const pAlgorithm, const pandora::Vertex *const pNeutrinoVertex, NeutrinoHierarchyAlgorithm::PfoInfoMap &pfoInfoMap)
Run the algorithm tool.
std::unordered_map< const pandora::ParticleFlowObject *, PfoInfo * > PfoInfoMap
CartesianVector class.
Cluster class.
Definition Cluster.h:31
Vertex class.
Definition Vertex.h:26
StatusCode
The StatusCode enum.