CutPfoCharacterisationAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArTrackShowerId/CutPfoCharacterisationAlgorithm.h
3  *
4  * @brief Header file for the cut based pfo characterisation algorithm class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_PFO_CHARACTERISATION_ALGORITHM_H
9 #define LAR_PFO_CHARACTERISATION_ALGORITHM_H 1
10 
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief CutPfoCharacterisationAlgorithm class
18  */
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27 private:
28  bool IsClearTrack(const pandora::Cluster *const pCluster) const;
29  bool IsClearTrack(const pandora::ParticleFlowObject *const pPfo) const;
30  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
31 
32  bool m_postBranchAddition; ///< Whether to use configuration for shower clusters post branch addition
33  unsigned int m_slidingFitWindow; ///< The layer window for the sliding linear fits
34  unsigned int m_slidingShowerFitWindow; ///< The layer window for the sliding shower fits
35  float m_maxShowerLengthCut; ///< The maximum cluster length to qualify as a shower
36  float m_dTdLWidthRatioCut; ///< The maximum ratio of transverse fit gradient width to straight line length to qualify as a track
37  float m_vertexDistanceRatioCut; ///< The maximum ratio of vertex separation to straight line length to qualify as a track
38  float m_showerWidthRatioCut; ///< The maximum ratio of shower fit width to straight line length to qualify as a track
39 };
40 
41 } // namespace lar_content
42 
43 #endif // #ifndef LAR_PFO_CHARACTERISATION_ALGORITHM_H
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float m_dTdLWidthRatioCut
The maximum ratio of transverse fit gradient width to straight line length to qualify as a track...
unsigned int m_slidingShowerFitWindow
The layer window for the sliding shower fits.
float m_showerWidthRatioCut
The maximum ratio of shower fit width 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.
float m_maxShowerLengthCut
The maximum cluster length to qualify as a shower.
Header file for the pfo characterisation base algorithm class.
bool IsClearTrack(const pandora::Cluster *const pCluster) const
Whether cluster is identified as a clear track.
unsigned int m_slidingFitWindow
The layer window for the sliding linear fits.
bool m_postBranchAddition
Whether to use configuration for shower clusters post branch addition.