![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
LayerSplittingAlgorithm class. More...
#include "LayerSplittingAlgorithm.h"
Public Member Functions | |
| LayerSplittingAlgorithm () | |
| 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... | |
Private Member Functions | |
| pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| 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 | FindBestSplitLayer (const pandora::Cluster *const pCluster, unsigned int &splitLayer) const |
| Find the best layer for splitting the cluster. More... | |
| pandora::StatusCode | DivideCaloHits (const pandora::Cluster *const pCluster, const unsigned int &splitLayer, pandora::CaloHitList &firstCaloHitList, pandora::CaloHitList &secondCaloHitList) const |
| Split the cluster into two fragments at the input layer. More... | |
| float | CalculateRms (const pandora::Cluster *const pCluster, const unsigned int &firstLayer, const unsigned int &secondLayer) const |
| Calculate rms deviation of cluster centroids between two extremal layers. More... | |
Private Attributes | |
| unsigned int | m_minClusterLayers |
| unsigned int | m_layerWindow |
| float | m_maxScatterRms |
| float | m_maxScatterCosTheta |
| float | m_maxSlidingCosTheta |
LayerSplittingAlgorithm class.
Definition at line 19 of file LayerSplittingAlgorithm.h.
| lar_content::LayerSplittingAlgorithm::LayerSplittingAlgorithm | ( | ) |
Default constructor.
Definition at line 18 of file LayerSplittingAlgorithm.cc.
References DivideCaloHits(), and FindBestSplitLayer().
|
private |
Calculate rms deviation of cluster centroids between two extremal layers.
| pCluster | the input cluster |
| firstLayer | the first extremal layer |
| secondLayer | the second extremal layer |
Definition at line 118 of file LayerSplittingAlgorithm.cc.
References DivideCaloHits(), f, max, and min.
Referenced by FindBestSplitLayer().
|
privatevirtual |
Divide calo hits in a cluster into two lists, each associated with a separate fragment cluster.
| pCluster | address of the cluster |
| firstCaloHitList | the hits in the first fragment |
| secondCaloHitList | the hits in the second fragment |
Implements lar_content::ClusterSplittingAlgorithm.
Referenced by CalculateRms(), and LayerSplittingAlgorithm().
|
private |
Split the cluster into two fragments at the input layer.
| pCluster | the input cluster |
| splitLayer | the split layer |
| firstCaloHitList | the hits in the first cluster fragment |
| secondCaloHitList | the hits in the second cluster fragment |
|
private |
Find the best layer for splitting the cluster.
| pCluster | the input cluster |
| splitLayer | the best layer |
Definition at line 41 of file LayerSplittingAlgorithm.cc.
References CalculateRms(), f, m_layerWindow, m_maxScatterCosTheta, m_maxScatterRms, m_maxSlidingCosTheta, m_minClusterLayers, and max.
Referenced by LayerSplittingAlgorithm().
|
privatevirtual |
Reimplemented from lar_content::ClusterSplittingAlgorithm.
Definition at line 183 of file LayerSplittingAlgorithm.cc.
References m_layerWindow, m_maxScatterCosTheta, m_maxScatterRms, m_maxSlidingCosTheta, m_minClusterLayers, and lar_content::ClusterSplittingAlgorithm::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 61 of file LayerSplittingAlgorithm.h.
Referenced by FindBestSplitLayer(), and ReadSettings().
|
private |
Definition at line 63 of file LayerSplittingAlgorithm.h.
Referenced by FindBestSplitLayer(), and ReadSettings().
|
private |
Definition at line 62 of file LayerSplittingAlgorithm.h.
Referenced by FindBestSplitLayer(), and ReadSettings().
|
private |
Definition at line 64 of file LayerSplittingAlgorithm.h.
Referenced by FindBestSplitLayer(), and ReadSettings().
|
private |
Definition at line 60 of file LayerSplittingAlgorithm.h.
Referenced by FindBestSplitLayer(), and ReadSettings().