MopUpBaseAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArUtility/MopUpBaseAlgorithm.h
3  *
4  * @brief Header file for the mop up algorithm base class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_MOP_UP_BASE_ALGORITHM_H
9 #define LAR_MOP_UP_BASE_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief MopUpBaseAlgorithm class
18  */
19 class MopUpBaseAlgorithm : public pandora::Algorithm
20 {
21 public:
22  /**
23  * @brief Find the name of the list hosting a specific object
24  *
25  * @param pT the address of the object
26  *
27  * @return the name of the list
28  */
29  template <typename T>
30  const std::string GetListName(const T *const pT) const;
31 
32 protected:
33  virtual pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
34 
35  pandora::StringVector m_daughterListNames; ///< The list of potential daughter object list names
36 };
37 
38 } // namespace lar_content
39 
40 #endif // #ifndef LAR_MOP_UP_BASE_ALGORITHM_H
std::string string
Definition: nybbler.cc:12
pandora::StringVector m_daughterListNames
The list of potential daughter object list names.
MopUpBaseAlgorithm class.
virtual pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
const std::string GetListName(const T *const pT) const
Find the name of the list hosting a specific object.
std::vector< string > StringVector
Definition: fcldump.cxx:29