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