PostProcessingAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArControlFlow/PostProcessingAlgorithm.h
3  *
4  * @brief Header file for the post processing algorithm class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_POST_PROCESSING_ALGORITHM_H
9 #define LAR_POST_PROCESSING_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief PostProcessingAlgorithm class
18  */
19 class PostProcessingAlgorithm : public pandora::Algorithm
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27 private:
28  pandora::StatusCode Reset();
29  pandora::StatusCode Run();
30 
31  /**
32  * @brief Rename a list of relevant type with specified name - the new name will be the old name with appended list counter
33  *
34  * @param oldListName the old list name
35  */
36  template <typename T>
37  pandora::StatusCode RenameList(const std::string &oldListName) const;
38 
39  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
40 
41  pandora::StringVector m_pfoListNames; ///< The list of pfo list names
42  pandora::StringVector m_clusterListNames; ///< The list of cluster list names
43  pandora::StringVector m_vertexListNames; ///< The list of vertex list names
44  pandora::StringVector m_caloHitListNames; ///< The list of calo hit list names
45 
46  std::string m_currentPfoListReplacement; ///< The name of the pfo list to replace the current list
47 
48  unsigned int m_listCounter; ///< The counter appended to output (and replacement current) list names and reset each event
49 };
50 
51 } // namespace lar_content
52 
53 #endif // #ifndef LAR_POST_PROCESSING_ALGORITHM_H
std::string string
Definition: nybbler.cc:12
std::string m_currentPfoListReplacement
The name of the pfo list to replace the current list.
pandora::StringVector m_clusterListNames
The list of cluster list names.
unsigned int m_listCounter
The counter appended to output (and replacement current) list names and reset each event...
pandora::StringVector m_caloHitListNames
The list of calo hit list names.
pandora::StringVector m_vertexListNames
The list of vertex list names.
PostProcessingAlgorithm class.
std::vector< string > StringVector
Definition: fcldump.cxx:29
pandora::StringVector m_pfoListNames
The list of pfo list names.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
pandora::StatusCode RenameList(const std::string &oldListName) const
Rename a list of relevant type with specified name - the new name will be the old name with appended ...