LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
BranchSplittingAlgorithm class. More...
#include "BranchSplittingAlgorithm.h"
Public Member Functions | |
BranchSplittingAlgorithm () | |
Default constructor. More... | |
Protected Types | |
typedef std::vector< ClusterExtension > | ClusterExtensionList |
Protected Member Functions | |
virtual pandora::StatusCode | Run () |
Private Member Functions | |
void | FindBestSplitPosition (const TwoDSlidingFitResult &branchSlidingFit, const TwoDSlidingFitResult &replacementSlidingFit, pandora::CartesianVector &replacementStartPosition, pandora::CartesianVector &branchSplitPosition, pandora::CartesianVector &branchSplitDirection) const |
Output the best split positions in branch and replacement clusters. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_maxTransverseDisplacement |
float | m_maxLongitudinalDisplacement |
float | m_minLongitudinalExtension |
float | m_minCosRelativeAngle |
float | m_projectionAngularAllowance |
BranchSplittingAlgorithm class.
Definition at line 19 of file BranchSplittingAlgorithm.h.
|
protectedinherited |
Definition at line 85 of file TwoDSlidingFitSplittingAndSplicingAlgorithm.h.
lar_content::BranchSplittingAlgorithm::BranchSplittingAlgorithm | ( | ) |
Default constructor.
Definition at line 20 of file BranchSplittingAlgorithm.cc.
|
privatevirtual |
Output the best split positions in branch and replacement clusters.
branchSlidingFit | the inputted sliding fit result for possible branch cluster |
pReplacementCluster | the inputted sliding fit result for possible replacement cluster |
replacementStartPosition | the outputted start position of the replacement |
branchSplitPosition | the outputted start position of the branch |
branchSplitDirection | the outputted start direction of the branch |
Implements lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm.
Definition at line 31 of file BranchSplittingAlgorithm.cc.
References f, lar_content::TwoDSlidingFitResult::GetCluster(), lar_content::TwoDSlidingFitResult::GetCosScatteringAngle(), lar_content::TwoDSlidingFitResult::GetGlobalFitDirection(), lar_content::TwoDSlidingFitResult::GetGlobalMaxLayerDirection(), lar_content::TwoDSlidingFitResult::GetGlobalMaxLayerPosition(), lar_content::TwoDSlidingFitResult::GetGlobalMinLayerDirection(), lar_content::TwoDSlidingFitResult::GetGlobalMinLayerPosition(), lar_content::LArPointingClusterHelper::GetImpactParameters(), lar_content::TwoDSlidingFitResult::GetLayerFitHalfWindowLength(), lar_content::TwoDSlidingFitResult::GetLocalPosition(), lar_content::LArPointingClusterHelper::GetProjectedPosition(), m_maxLongitudinalDisplacement, m_maxTransverseDisplacement, m_minCosRelativeAngle, m_minLongitudinalExtension, and m_projectionAngularAllowance.
|
privatevirtual |
Reimplemented from lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm.
Definition at line 146 of file BranchSplittingAlgorithm.cc.
References m_maxLongitudinalDisplacement, m_maxTransverseDisplacement, m_minCosRelativeAngle, m_minLongitudinalExtension, m_projectionAngularAllowance, and lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::ReadSettings().
|
protectedvirtualinherited |
Definition at line 32 of file TwoDSlidingFitSplittingAndSplicingAlgorithm.cc.
References lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::BuildClusterExtensionList(), lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::BuildSlidingFitResultMap(), lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::GetListOfCleanClusters(), lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::m_longHalfWindowLayers, lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::m_runCosmicMode, lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::m_shortHalfWindowLayers, lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::PruneClusterExtensionList(), and lar_content::TwoDSlidingFitSplittingAndSplicingAlgorithm::RunSplitAndExtension().
|
private |
Definition at line 35 of file BranchSplittingAlgorithm.h.
Referenced by FindBestSplitPosition(), and ReadSettings().
|
private |
Definition at line 34 of file BranchSplittingAlgorithm.h.
Referenced by FindBestSplitPosition(), and ReadSettings().
|
private |
Definition at line 37 of file BranchSplittingAlgorithm.h.
Referenced by FindBestSplitPosition(), and ReadSettings().
|
private |
Definition at line 36 of file BranchSplittingAlgorithm.h.
Referenced by FindBestSplitPosition(), and ReadSettings().
|
private |
Definition at line 38 of file BranchSplittingAlgorithm.h.
Referenced by FindBestSplitPosition(), and ReadSettings().