Go to the documentation of this file.00001 #ifndef CondFormatsRPCObjectsDccSpec_H
00002 #define CondFormatsRPCObjectsDccSpec_H
00003
00008 #include <vector>
00009 #include <string>
00010 #include <boost/cstdint.hpp>
00011 #include "CondFormats/RPCObjects/interface/TriggerBoardSpec.h"
00012
00013 class ChamberLocationSpec;
00014
00015 class DccSpec {
00016 public:
00018 DccSpec(int id = -1);
00019
00021 int id() const { return theId;}
00022
00024 const TriggerBoardSpec * triggerBoard(int channelNumber) const;
00025 const std::vector<TriggerBoardSpec> & triggerBoards() const { return theTBs; }
00026
00028 void add(const TriggerBoardSpec & tb);
00029
00031 std::string print(int depth = 0) const;
00032
00033 private:
00034 int theId;
00035 std::vector<TriggerBoardSpec> theTBs;
00036
00037
00038
00039 };
00040
00041 #endif