CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/CondFormats/RPCObjects/interface/DccSpec.h

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 //  static const int MIN_CHANNEL_NUMBER = 1;
00038 //  static const int NUMBER_OF_CHANNELS = 68;
00039 };
00040 
00041 #endif