LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
KinkSplittingAlgorithm class. More...
#include "KinkSplittingAlgorithm.h"
Public Member Functions | |
KinkSplittingAlgorithm () | |
Default constructor. More... | |
Protected Member Functions | |
virtual pandora::StatusCode | Run () |
pandora::StatusCode | RunUsingCurrentList () const |
Run the algorithm using the current cluster list as input. More... | |
Protected Attributes | |
unsigned int | m_slidingFitHalfWindow |
float | m_minClusterLength |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
pandora::StatusCode | FindBestSplitPosition (const TwoDSlidingFitResult &slidingFitResult, pandora::CartesianVector &splitPosition) const |
Use sliding linear fit to identify the best split position. More... | |
Private Attributes | |
float | m_maxScatterRms |
float | m_maxScatterCosTheta |
float | m_maxSlidingCosTheta |
KinkSplittingAlgorithm class.
Definition at line 19 of file KinkSplittingAlgorithm.h.
lar_content::KinkSplittingAlgorithm::KinkSplittingAlgorithm | ( | ) |
Default constructor.
Definition at line 18 of file KinkSplittingAlgorithm.cc.
|
privatevirtual |
Use sliding linear fit to identify the best split position.
slidingFitResult | the input sliding fit result |
splitPosition | the best split position |
Implements lar_content::TwoDSlidingFitSplittingAlgorithm.
Definition at line 27 of file KinkSplittingAlgorithm.cc.
References f, lar_content::TwoDSlidingFitResult::GetFitRms(), lar_content::TwoDSlidingFitResult::GetGlobalFitDirection(), lar_content::TwoDSlidingFitResult::GetGlobalFitPosition(), lar_content::TwoDSlidingFitResult::GetL(), lar_content::TwoDSlidingFitResult::GetLayerFitHalfWindow(), lar_content::TwoDSlidingFitResult::GetLayerFitResultMap(), m_maxScatterCosTheta, m_maxScatterRms, and m_maxSlidingCosTheta.
|
privatevirtual |
Reimplemented from lar_content::TwoDSlidingFitSplittingAlgorithm.
Definition at line 88 of file KinkSplittingAlgorithm.cc.
References m_maxScatterCosTheta, m_maxScatterRms, m_maxSlidingCosTheta, and lar_content::TwoDSlidingFitSplittingAlgorithm::ReadSettings().
|
protectedvirtualinherited |
Definition at line 20 of file ClusterSplittingAlgorithm.cc.
|
protectedinherited |
Run the algorithm using the current cluster list as input.
Definition at line 52 of file ClusterSplittingAlgorithm.cc.
|
private |
Definition at line 41 of file KinkSplittingAlgorithm.h.
Referenced by FindBestSplitPosition(), and ReadSettings().
|
private |
Definition at line 40 of file KinkSplittingAlgorithm.h.
Referenced by FindBestSplitPosition(), and ReadSettings().
|
private |
Definition at line 42 of file KinkSplittingAlgorithm.h.
Referenced by FindBestSplitPosition(), and ReadSettings().
|
protectedinherited |
|
protectedinherited |
Definition at line 42 of file TwoDSlidingFitSplittingAlgorithm.h.
Referenced by lar_content::TwoDSlidingFitSplittingAlgorithm::ReadSettings(), and lar_content::TwoDSlidingFitSplittingAlgorithm::TwoDSlidingFitSplittingAlgorithm().