All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClearRemnantsTool.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArThreeDReco/LArShowerFragments/ClearRemnantsTool.h
3  *
4  * @brief Header file for the clear remnants tool class.
5  *
6  * $Log: $
7  */
8 #ifndef CLEAR_REMNANTS_TOOL_H
9 #define CLEAR_REMNANTS_TOOL_H 1
10 
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief ClearRemnantsTool class
18  */
20 {
21 public:
22  bool Run(ThreeViewRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor);
23 
24 private:
25  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
26 
27  /**
28  * @brief Create three dimensional particles for a given tensor element list
29  *
30  * @param pAlgorithm address of the calling algorithm (ultimately responsible for the particles)
31  * @param elementList the tensor element list
32  * @param particlesMade receive boolean indicating whether particles have been made
33  */
34  void CreateThreeDParticles(ThreeViewRemnantsAlgorithm *const pAlgorithm, const TensorType::ElementList &elementList, bool &particlesMade) const;
35 };
36 
37 } // namespace lar_content
38 
39 #endif // #ifndef CLEAR_REMNANTS_TOOL_H
void CreateThreeDParticles(ThreeViewRemnantsAlgorithm *const pAlgorithm, const TensorType::ElementList &elementList, bool &particlesMade) const
Create three dimensional particles for a given tensor element list.
std::vector< Element > ElementList
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
bool Run(ThreeViewRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
ClearRemnantsTool class.
Header file for the three view remnants algorithm class.