TwoDSlidingFitSplittingAlgorithm class.
More...
#include <TwoDSlidingFitSplittingAlgorithm.h>
|
virtual pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
virtual pandora::StatusCode | FindBestSplitPosition (const TwoDSlidingFitResult &slidingFitResult, pandora::CartesianVector &splitPosition) const =0 |
| Use sliding linear fit to identify the best split position. More...
|
|
virtual pandora::StatusCode | Run () |
|
pandora::StatusCode | RunUsingCurrentList () const |
| Run the algorithm using the current cluster list as input. More...
|
|
|
pandora::StatusCode | DivideCaloHits (const pandora::Cluster *const pCluster, pandora::CaloHitList &firstCaloHitList, pandora::CaloHitList &secondCaloHitList) const |
| Divide calo hits in a cluster into two lists, each associated with a separate fragment cluster. More...
|
|
pandora::StatusCode | DivideCaloHits (const TwoDSlidingFitResult &slidingFitResult, const pandora::CartesianVector &splitPosition, pandora::CaloHitList &firstCaloHitList, pandora::CaloHitList &secondCaloHitList) const |
| Use sliding linear fit to separate cluster into two fragments. More...
|
|
lar_content::TwoDSlidingFitSplittingAlgorithm::TwoDSlidingFitSplittingAlgorithm |
( |
| ) |
|
pandora::StatusCode lar_content::TwoDSlidingFitSplittingAlgorithm::DivideCaloHits |
( |
const pandora::Cluster *const |
pCluster, |
|
|
pandora::CaloHitList & |
firstCaloHitList, |
|
|
pandora::CaloHitList & |
secondCaloHitList |
|
) |
| const |
|
privatevirtual |
Divide calo hits in a cluster into two lists, each associated with a separate fragment cluster.
- Parameters
-
pCluster | address of the cluster |
firstCaloHitList | the hits in the first fragment |
secondCaloHitList | the hits in the second fragment |
Implements lar_content::ClusterSplittingAlgorithm.
pandora::StatusCode lar_content::TwoDSlidingFitSplittingAlgorithm::DivideCaloHits |
( |
const TwoDSlidingFitResult & |
slidingFitResult, |
|
|
const pandora::CartesianVector & |
splitPosition, |
|
|
pandora::CaloHitList & |
firstCaloHitList, |
|
|
pandora::CaloHitList & |
secondCaloHitList |
|
) |
| const |
|
private |
Use sliding linear fit to separate cluster into two fragments.
- Parameters
-
slidingFitResult | the input sliding fit result |
splitPosition | the split position |
firstCaloHitList | the hits in the first cluster fragment |
secondCaloHitList | the hits in the second cluster fragment |
- Returns
- pandora::StatusCode
virtual pandora::StatusCode lar_content::TwoDSlidingFitSplittingAlgorithm::FindBestSplitPosition |
( |
const TwoDSlidingFitResult & |
slidingFitResult, |
|
|
pandora::CartesianVector & |
splitPosition |
|
) |
| const |
|
protectedpure virtual |
StatusCode lar_content::TwoDSlidingFitSplittingAlgorithm::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
protectedvirtual |
Reimplemented from lar_content::ClusterSplittingAlgorithm.
Reimplemented in lar_content::VertexSplittingAlgorithm, and lar_content::KinkSplittingAlgorithm.
Definition at line 92 of file TwoDSlidingFitSplittingAlgorithm.cc.
94 PANDORA_RETURN_RESULT_IF_AND_IF(
95 STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"SlidingFitHalfWindow",
m_slidingFitHalfWindow));
97 PANDORA_RETURN_RESULT_IF_AND_IF(
98 STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"MinClusterLength",
m_minClusterLength));
unsigned int m_slidingFitHalfWindow
virtual pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float lar_content::TwoDSlidingFitSplittingAlgorithm::m_minClusterLength |
|
protected |
unsigned int lar_content::TwoDSlidingFitSplittingAlgorithm::m_slidingFitHalfWindow |
|
protected |
The documentation for this class was generated from the following files: