LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
EndAssociatedPfosTool class. More...
#include "EndAssociatedPfosTool.h"
Public Member Functions | |
EndAssociatedPfosTool () | |
Default constructor. More... | |
void | Run (NeutrinoHierarchyAlgorithm *const pAlgorithm, const pandora::Vertex *const pNeutrinoVertex, NeutrinoHierarchyAlgorithm::PfoInfoMap &pfoInfoMap) |
Run the algorithm tool. More... | |
Private Member Functions | |
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. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_minNeutrinoVertexDistance |
Min distance between candidate parent endpoint and neutrino vertex. More... | |
float | m_minVertexLongitudinalDistance |
Vertex association check: min longitudinal distance cut. More... | |
float | m_maxVertexLongitudinalDistance |
Vertex association check: max longitudinal distance cut. More... | |
float | m_maxVertexTransverseDistance |
Vertex association check: max transverse distance cut. More... | |
float | m_vertexAngularAllowance |
Vertex association check: pointing angular allowance in degrees. More... | |
float | m_maxParentEndpointDistance |
Max distance between candidate parent endpoint and candidate daughter. More... | |
EndAssociatedPfosTool class.
Definition at line 21 of file EndAssociatedPfosTool.h.
lar_content::EndAssociatedPfosTool::EndAssociatedPfosTool | ( | ) |
Default constructor.
Definition at line 26 of file EndAssociatedPfosTool.cc.
|
private |
Whether a daughter 3D cluster is in close proximity to the endpoint of a parent 3D cluster.
parentEndpoint | the parent endpoint position |
pParentCluster3D | the address of the parent 3D cluster |
pDaughterCluster3D | the address of the daughter 3D cluster |
Definition at line 100 of file EndAssociatedPfosTool.cc.
References f, lar_content::LArClusterHelper::GetClosestPositions(), and m_maxParentEndpointDistance.
Referenced by Run().
|
private |
Definition at line 120 of file EndAssociatedPfosTool.cc.
References m_maxParentEndpointDistance, m_maxVertexLongitudinalDistance, m_maxVertexTransverseDistance, m_minNeutrinoVertexDistance, m_minVertexLongitudinalDistance, and m_vertexAngularAllowance.
|
virtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
pNeutrinoVertex | the address of the three dimensional neutrino interaction vertex |
pfoInfoMap | mapping from pfos to three dimensional clusters, sliding fits, vertices, etc. |
Implements lar_content::PfoRelationTool.
Definition at line 38 of file EndAssociatedPfosTool.cc.
References IsCloseToParentEndpoint(), lar_content::LArPointingClusterHelper::IsEmission(), lar_content::LArPointingClusterHelper::IsNode(), m_maxVertexLongitudinalDistance, m_maxVertexTransverseDistance, m_minNeutrinoVertexDistance, m_minVertexLongitudinalDistance, m_vertexAngularAllowance, and lar_content::NeutrinoHierarchyAlgorithm::SeparatePfos().
|
private |
Max distance between candidate parent endpoint and candidate daughter.
Definition at line 51 of file EndAssociatedPfosTool.h.
Referenced by IsCloseToParentEndpoint(), and ReadSettings().
|
private |
Vertex association check: max longitudinal distance cut.
Definition at line 48 of file EndAssociatedPfosTool.h.
Referenced by ReadSettings(), and Run().
|
private |
Vertex association check: max transverse distance cut.
Definition at line 49 of file EndAssociatedPfosTool.h.
Referenced by ReadSettings(), and Run().
|
private |
Min distance between candidate parent endpoint and neutrino vertex.
Definition at line 46 of file EndAssociatedPfosTool.h.
Referenced by ReadSettings(), and Run().
|
private |
Vertex association check: min longitudinal distance cut.
Definition at line 47 of file EndAssociatedPfosTool.h.
Referenced by ReadSettings(), and Run().
|
private |
Vertex association check: pointing angular allowance in degrees.
Definition at line 50 of file EndAssociatedPfosTool.h.
Referenced by ReadSettings(), and Run().