Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
LayerSplittingAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_LAYER_SPLITTING_ALGORITHM_H
9#define LAR_LAYER_SPLITTING_ALGORITHM_H 1
10
12
13namespace lar_content
14{
15
20{
21public:
26
27private:
30 const pandora::Cluster *const pCluster, pandora::CaloHitList &firstCaloHitList, pandora::CaloHitList &secondCaloHitList) const;
31
38 pandora::StatusCode FindBestSplitLayer(const pandora::Cluster *const pCluster, unsigned int &splitLayer) const;
39
48 pandora::StatusCode DivideCaloHits(const pandora::Cluster *const pCluster, const unsigned int &splitLayer,
49 pandora::CaloHitList &firstCaloHitList, pandora::CaloHitList &secondCaloHitList) const;
50
58 float CalculateRms(const pandora::Cluster *const pCluster, const unsigned int &firstLayer, const unsigned int &secondLayer) const;
59
60 unsigned int m_minClusterLayers;
61 unsigned int m_layerWindow;
65};
66
67} // namespace lar_content
68
69#endif // #ifndef LAR_LAYER_SPLITTING_ALGORITHM_H
Header file for the cluster splitting algorithm class.
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.
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.
pandora::StatusCode FindBestSplitLayer(const pandora::Cluster *const pCluster, unsigned int &splitLayer) const
Find the best layer for splitting the cluster.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
Cluster class.
Definition Cluster.h:31
MANAGED_CONTAINER< const CaloHit * > CaloHitList
StatusCode
The StatusCode enum.