LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
StreamingAlgorithm.h
Go to the documentation of this file.
1 
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 
19 class StreamingAlgorithm : public pandora::Algorithm
20 {
21 public:
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;
35  std::string m_listType;
36  pandora::StringVector m_inputListNames;
37  pandora::StringVector m_outputListNames;
38  StreamAlgorithmMap m_streamAlgorithmMap;
39 };
40 
41 } // namespace lar_content
42 
43 #endif // LAR_STREAMING_ALGORITHM_H
pandora::StringVector m_inputListNames
The names of the input lists.
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)
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.