LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
BranchAssociatedPfosTool class. More...
#include "BranchAssociatedPfosTool.h"
Public Member Functions | |
BranchAssociatedPfosTool () | |
Default constructor. More... | |
void | Run (const NeutrinoHierarchyAlgorithm *const pAlgorithm, const pandora::Vertex *const pNeutrinoVertex, NeutrinoHierarchyAlgorithm::PfoInfoMap &pfoInfoMap) |
Run the algorithm tool. More... | |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_minNeutrinoVertexDistance |
Branch association: min distance from branch vertex to neutrino vertex. More... | |
float | m_trackBranchAdditionFraction |
Branch association: min fraction of length along parent track before association allowed. More... | |
float | m_maxParentClusterDistance |
Branch association: max distance from branch vertex to a hit in parent 3D cluster. More... | |
BranchAssociatedPfosTool class.
Definition at line 19 of file BranchAssociatedPfosTool.h.
lar_content::BranchAssociatedPfosTool::BranchAssociatedPfosTool | ( | ) |
Default constructor.
Definition at line 27 of file BranchAssociatedPfosTool.cc.
|
private |
Definition at line 105 of file BranchAssociatedPfosTool.cc.
References m_maxParentClusterDistance, m_minNeutrinoVertexDistance, and m_trackBranchAdditionFraction.
|
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 36 of file BranchAssociatedPfosTool.cc.
References lar_content::LArClusterHelper::GetClosestDistance(), lar_content::ThreeDSlidingFitResult::GetGlobalMaxLayerPosition(), lar_content::ThreeDSlidingFitResult::GetGlobalMinLayerPosition(), lar_content::LArPfoHelper::IsTrack(), m_maxParentClusterDistance, m_minNeutrinoVertexDistance, m_trackBranchAdditionFraction, and lar_content::NeutrinoHierarchyAlgorithm::SeparatePfos().
|
private |
Branch association: max distance from branch vertex to a hit in parent 3D cluster.
Definition at line 35 of file BranchAssociatedPfosTool.h.
Referenced by ReadSettings(), and Run().
|
private |
Branch association: min distance from branch vertex to neutrino vertex.
Definition at line 33 of file BranchAssociatedPfosTool.h.
Referenced by ReadSettings(), and Run().
|
private |
Branch association: min fraction of length along parent track before association allowed.
Definition at line 34 of file BranchAssociatedPfosTool.h.
Referenced by ReadSettings(), and Run().