otsdaq  v2_04_01
MaskConfiguration.h
1 #ifndef _ots_MaskConfiguration_h_
2 #define _ots_MaskConfiguration_h_
3 
4 #include <map>
5 #include <string>
6 
7 #include "otsdaq-coreTableCore/TableBase.h"
8 
9 namespace ots
10 {
12 {
13  public:
14  MaskConfiguration(void);
15  virtual ~MaskConfiguration(void);
16 
17  // Methods
18  virtual void init(ConfigurationManager* configManager);
19 
20  // Getters
21  const std::string& getROCMask(std::string rocName) const;
22 
23  protected:
24  std::map<std::string, unsigned int> nameToRow_;
25 
26  private:
27  enum
28  {
29  DetectorID,
30  KillMask
31  };
32 };
33 } // namespace ots
34 #endif