00001 #ifndef _ots_MaskConfiguration_h_
00002 #define _ots_MaskConfiguration_h_
00003
00004 #include <map>
00005 #include <string>
00006
00007 #include "otsdaq-coreTableCore/TableBase.h"
00008
00009 namespace ots
00010 {
00011 class MaskConfiguration : public TableBase
00012 {
00013 public:
00014 MaskConfiguration(void);
00015 virtual ~MaskConfiguration(void);
00016
00017
00018 virtual void init(ConfigurationManager* configManager);
00019
00020
00021 const std::string& getROCMask(std::string rocName) const;
00022
00023 protected:
00024 std::map<std::string, unsigned int> nameToRow_;
00025
00026 private:
00027 enum
00028 {
00029 DetectorID,
00030 KillMask
00031 };
00032 };
00033 }
00034 #endif