otsdaq  v1_01_03
 All Classes Namespaces Functions
RawDataSaverConsumerConfiguration.h
1 #ifndef _ots_RawDataSaverConsumerConfiguration_h_
2 #define _ots_RawDataSaverConsumerConfiguration_h_
3 
4 #include "otsdaq-core/ConfigurationDataFormats/ConfigurationBase.h"
5 
6 #include <string>
7 
8 
9 namespace ots
10 {
11 
13 {
14 
15 public:
16 
18  virtual ~RawDataSaverConsumerConfiguration(void);
19 
20  //Methods
21  void init(ConfigurationManager *configManager);
22 
23  //Getter
24  std::vector<std::string> getProcessorIDList(void) const;
25  std::string getFilePath (std::string processorUID) const;
26  std::string getRadixFileName (std::string processorUID) const;
27 private:
28 
29  void check(std::string processorUID) const;
30  enum{
31  ProcessorID,
32  FilePath,
33  RadixFileName
34  };
35 
36  std::map<std::string, unsigned int> processorIDToRowMap_;
37 
38 };
39 }
40 #endif