Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
CutClusterCharacterisationAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_CUT_CLUSTER_CHARACTERISATION_ALGORITHM_H
9#define LAR_CUT_CLUSTER_CHARACTERISATION_ALGORITHM_H 1
10
12
13namespace lar_content
14{
15
20{
21public:
26
35 static float GetVertexDistance(const pandora::Algorithm *const pAlgorithm, const pandora::Cluster *const pCluster);
36
46 static float GetShowerFitWidth(const pandora::Algorithm *const pAlgorithm, const pandora::Cluster *const pCluster, const unsigned int showerFitWindow);
47
48private:
49 virtual bool IsClearTrack(const pandora::Cluster *const pCluster) const;
51
52 unsigned int m_slidingFitWindow;
54 unsigned int m_minCaloHitsCut;
60};
61
62} // namespace lar_content
63
64#endif // #ifndef LAR_CUT_CLUSTER_CHARACTERISATION_ALGORITHM_H
Header file for the cluster characterisation base algorithm class.
static float GetShowerFitWidth(const pandora::Algorithm *const pAlgorithm, const pandora::Cluster *const pCluster, const unsigned int showerFitWindow)
Get a measure of the width of a cluster, using a sliding shower fit result.
unsigned int m_slidingShowerFitWindow
The layer window for the sliding shower fits.
unsigned int m_slidingFitWindow
The layer window for the sliding linear fits.
float m_showerWidthRatioCut
The maximum ratio of shower fit width to straight line length to qualify as a track.
virtual bool IsClearTrack(const pandora::Cluster *const pCluster) const
Whether cluster is identified as a clear track.
float m_pathLengthRatioCut
The maximum ratio of path length to straight line length to qualify as a track.
float m_vertexDistanceRatioCut
The maximum ratio of vertex separation to straight line length to qualify as a track.
unsigned int m_minCaloHitsCut
The minimum number of calo hits to qualify as a track.
float m_rTWidthRatioCut
The maximum ratio of transverse fit position width to straight line length to qualify as a track.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
float m_maxShowerLengthCut
The maximum cluster length to qualify as a shower.
static float GetVertexDistance(const pandora::Algorithm *const pAlgorithm, const pandora::Cluster *const pCluster)
Get the distance between the interaction vertex (if present in the current vertex list) and a provide...
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition Algorithm.h:21
Cluster class.
Definition Cluster.h:31
StatusCode
The StatusCode enum.