ClearTracksTool.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArThreeDReco/LArTransverseTrackMatching/ClearTracksTool.h
3  *
4  * @brief Header file for the clear tracks tool class.
5  *
6  * $Log: $
7  */
8 #ifndef CLEAR_TRACKS_TOOL_H
9 #define CLEAR_TRACKS_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief ClearTracksTool class
18  */
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27  bool Run(ThreeViewTransverseTracksAlgorithm *const pAlgorithm, TensorType &overlapTensor);
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(ThreeViewTransverseTracksAlgorithm *const pAlgorithm, const TensorType::ElementList &elementList, bool &particlesMade) const;
40 
41  float m_minMatchedFraction; ///< The min matched sampling point fraction for particle creation
42  float m_minXOverlapFraction; ///< The min x overlap fraction (in each view) for particle creation
43 };
44 
45 } // namespace lar_content
46 
47 #endif // #ifndef CLEAR_TRACKS_TOOL_H
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
bool Run(ThreeViewTransverseTracksAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
void CreateThreeDParticles(ThreeViewTransverseTracksAlgorithm *const pAlgorithm, const TensorType::ElementList &elementList, bool &particlesMade) const
Create three dimensional particles for a given tensor element list.
Header file for the three view transverse tracks algorithm class.
ClearTracksTool()
Default constructor.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float m_minXOverlapFraction
The min x overlap fraction (in each view) for particle creation.
ClearTracksTool class.