TwoViewClearTracksTool.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArThreeDReco/LArTwoViewMatching/TwoViewClearTracksTool.h
3  *
4  * @brief Header file for the two view clear tracks tool class.
5  *
6  * $Log: $
7  */
8 #ifndef TWO_VIEW_CLEAR_TRACKS_TOOL_H
9 #define TWO_VIEW_CLEAR_TRACKS_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief TwoViewClearTracksTool class
18  */
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27  bool Run(TwoViewTransverseTracksAlgorithm *const pAlgorithm, MatrixType &overlapMatrix);
28 
29 private:
30  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
31 
32  /**
33  * @brief Create three dimensional particles for a given tensor element list
34  *
35  * @param pAlgorithm address of the calling algorithm (ultimately responsible for the particles)
36  * @param elementList the tensor element list
37  * @param particlesMade receive boolean indicating whether particles have been made
38  */
39  void CreateThreeDParticles(TwoViewTransverseTracksAlgorithm *const pAlgorithm, const MatrixType::ElementList &elementList, bool &particlesMade) const;
40 
41  float m_minXOverlapFraction; ///< The min x overlap fraction value for particle creation
42  float m_minMatchingScore; ///< The min global matching score for particle creation
43  float m_minLocallyMatchedFraction; ///< The min locally matched fraction for particle creation
44 };
45 
46 } // namespace lar_content
47 
48 #endif // #ifndef TWO_VIEW_CLEAR_TRACKS_TOOL_H
float m_minMatchingScore
The min global matching score for particle creation.
TwoViewClearTracksTool class.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float m_minXOverlapFraction
The min x overlap fraction value for particle creation.
bool Run(TwoViewTransverseTracksAlgorithm *const pAlgorithm, MatrixType &overlapMatrix)
Run the algorithm tool.
float m_minLocallyMatchedFraction
The min locally matched fraction for particle creation.
Header file for the two view transverse tracks algorithm class.
void CreateThreeDParticles(TwoViewTransverseTracksAlgorithm *const pAlgorithm, const MatrixType::ElementList &elementList, bool &particlesMade) const
Create three dimensional particles for a given tensor element list.