OvershootSplittingAlgorithm class.
More...
#include "OvershootSplittingAlgorithm.h"
|
virtual StatusCode | Initialize () |
| Perform any operations that must occur after reading settings, but before running the process.
|
|
virtual StatusCode | Reset () |
| Perform any operations when pandora is reset, typically at the end of each event.
|
|
StatusCode | RegisterDetails (const Pandora *const pPandora, const std::string &type, const std::string &instanceName) |
| Register i) the pandora instance that will run the process and ii) the process type.
|
|
|
void | GetListOfCleanClusters (const pandora::ClusterList *const pClusterList, pandora::ClusterVector &clusterVector) const |
| Populate cluster vector with subset of cluster list, containing clusters judged to be clean.
|
|
void | FindBestSplitPositions (const TwoDSlidingFitResultMap &slidingFitResultMap, ClusterPositionMap &clusterSplittingMap) const |
| Determine best split positions based on sliding fit result.
|
|
void | BuildIntersectionMap (const TwoDSlidingFitResultMap &slidingFitResultMap, ClusterPositionMap &clusterIntersectionMap) const |
| Use sliding fit results to calculate intersections of clusters.
|
|
void | BuildSortedIntersectionMap (const TwoDSlidingFitResultMap &slidingFitResultMap, const ClusterPositionMap &clusterIntersectionMap, ClusterPositionMap &sortedIntersectionMap) const |
| Use intersection points to decide on splitting points.
|
|
void | PopulateSplitPositionMap (const ClusterPositionMap &sortedIntersectionMap, ClusterPositionMap &clusterSplittingMap) const |
| Select split positions from sorted list of candidate positions.
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
pandora::StatusCode | Run () |
| Run the algorithm.
|
|
void | BuildSlidingFitResultMap (const pandora::ClusterVector &clusterVector, const unsigned int halfWindowLayers, TwoDSlidingFitResultMap &slidingFitResultMap) const |
| Build the map of sliding fit results.
|
|
pandora::StatusCode | SplitClusters (const TwoDSlidingFitResultMap &slidingFitResultMap, const ClusterPositionMap &clusterSplittingMap) const |
| Split clusters.
|
|
pandora::StatusCode | SplitCluster (const TwoDSlidingFitResult &slidingFitResult, const pandora::CartesianPointVector &splitPositionList) const |
| Split cluster.
|
|
◆ ClusterPositionMap
◆ MyTrajectoryPoint
◆ MyTrajectoryPointList
◆ OvershootSplittingAlgorithm()
lar_content::OvershootSplittingAlgorithm::OvershootSplittingAlgorithm |
( |
| ) |
|
◆ BuildIntersectionMap()
Use sliding fit results to calculate intersections of clusters.
- Parameters
-
slidingFitResultMap | the sliding fit result map |
clusterIntersectionMap | the map of cluster intersection points |
Definition at line 68 of file OvershootSplittingAlgorithm.cc.
◆ BuildSlidingFitResultMap()
Build the map of sliding fit results.
- Parameters
-
clusterVector | the vector of selected clusters |
halfWindowLayers | the half-window to use for the sliding fits |
slidingFitResultMap | the sliding fit result map |
Definition at line 72 of file TwoDSlidingFitMultiSplitAlgorithm.cc.
◆ BuildSortedIntersectionMap()
Use intersection points to decide on splitting points.
- Parameters
-
slidingFitResultMap | the sliding fit result map |
clusterIntersectionMap | the input map of cluster intersection points |
sortedIntersectionMap | the output map of sorted cluster intersection points |
Definition at line 175 of file OvershootSplittingAlgorithm.cc.
◆ FindBestSplitPositions()
◆ GetInstanceName()
const std::string & pandora::Process::GetInstanceName |
( |
| ) |
const |
|
inlineinherited |
Get the instance name.
- Returns
- The instance name
Definition at line 109 of file Process.h.
◆ GetListOfCleanClusters()
◆ GetPandora()
const Pandora & pandora::Process::GetPandora |
( |
| ) |
const |
|
inlineinherited |
Get the associated pandora instance.
- Returns
- the associated pandora instance
Definition at line 116 of file Process.h.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ PopulateSplitPositionMap()
Select split positions from sorted list of candidate positions.
- Parameters
-
sortedIntersectionMap | the input map of candidate split positions |
clusterSplittingMap | the output map of selected split positions |
Definition at line 220 of file OvershootSplittingAlgorithm.cc.
◆ ReadSettings()
◆ RegisterDetails()
StatusCode pandora::Process::RegisterDetails |
( |
const Pandora *const |
pPandora, |
|
|
const std::string & |
type, |
|
|
const std::string & |
instanceName |
|
) |
| |
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
- Parameters
-
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run()
StatusCode lar_content::TwoDSlidingFitMultiSplitAlgorithm::Run |
( |
| ) |
|
|
privatevirtualinherited |
◆ SortByHitProjection()
Sort pfos by number of constituent hits.
- Parameters
-
pLhs | address of first pfo |
pRhs | address of second pfo |
Definition at line 286 of file OvershootSplittingAlgorithm.cc.
◆ SplitCluster()
◆ SplitClusters()
Split clusters.
- Parameters
-
slidingFitResultMap | mapping from clusters to sliding fit results |
clusterSplittingMap | mapping from clusters to split positions |
Definition at line 99 of file TwoDSlidingFitMultiSplitAlgorithm.cc.
◆ m_inputClusterList
std::string lar_content::TwoDSlidingFitMultiSplitAlgorithm::m_inputClusterList |
|
privateinherited |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_maxClusterSeparation
float lar_content::OvershootSplittingAlgorithm::m_maxClusterSeparation |
|
private |
◆ m_maxIntersectDisplacement
float lar_content::OvershootSplittingAlgorithm::m_maxIntersectDisplacement |
|
private |
◆ m_minClusterLength
float lar_content::OvershootSplittingAlgorithm::m_minClusterLength |
|
private |
◆ m_minSplitDisplacement
float lar_content::OvershootSplittingAlgorithm::m_minSplitDisplacement |
|
private |
◆ m_minVertexDisplacement
float lar_content::OvershootSplittingAlgorithm::m_minVertexDisplacement |
|
private |
◆ m_pPandora
const Pandora* pandora::Process::m_pPandora |
|
protectedinherited |
The pandora object that will run the process.
Definition at line 87 of file Process.h.
◆ m_slidingFitHalfWindow
unsigned int lar_content::TwoDSlidingFitMultiSplitAlgorithm::m_slidingFitHalfWindow |
|
privateinherited |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
The documentation for this class was generated from the following files: