StreamingAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoradlcontent/LArTwoDReco/StreamingAlgorithm.h
3  *
4  * @brief Header file for the deep learning track shower cluster streaming algorithm.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_STREAMING_ALGORITHM_H
9 #define LAR_STREAMING_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief StreamingAlgorithm class
18  */
19 class StreamingAlgorithm : public pandora::Algorithm
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
27  virtual ~StreamingAlgorithm();
28 
29 private:
30  typedef std::map<std::string, pandora::StringVector> StreamAlgorithmMap;
31  pandora::StatusCode Run();
32  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
33 
34  std::string m_outputListName; ///< The name of the output list
35  std::string m_listType; ///< The type of the input lists (currently only Cluster is supported)
36  pandora::StringVector m_inputListNames; ///< The names of the input lists
37  pandora::StringVector m_outputListNames; ///< Names of the output lists if not combining into a single list at the end
38  StreamAlgorithmMap m_streamAlgorithmMap; ///< A map from individual streams to the algorithms that stream should run
39 };
40 
41 } // namespace lar_content
42 
43 #endif // LAR_STREAMING_ALGORITHM_H
pandora::StringVector m_inputListNames
The names of the input lists.
std::string string
Definition: nybbler.cc:12
pandora::StringVector m_outputListNames
Names of the output lists if not combining into a single list at the end.
StreamingAlgorithm()
Default constructor.
StreamAlgorithmMap m_streamAlgorithmMap
A map from individual streams to the algorithms that stream should run.
std::map< std::string, pandora::StringVector > StreamAlgorithmMap
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
std::vector< string > StringVector
Definition: fcldump.cxx:29
StreamingAlgorithm class.
std::string m_listType
The type of the input lists (currently only Cluster is supported)
std::string m_outputListName
The name of the output list.