CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/CondFormats/RPCObjects/interface/LinkConnSpec.h

Go to the documentation of this file.
00001 #ifndef CondFormatsRPCObjectsLinkConnSpec_H
00002 #define CondFormatsRPCObjectsLinkConnSpec_H
00003 
00004 #include "CondFormats/RPCObjects/interface/LinkBoardSpec.h"
00005 #include <vector>
00006 #include <string>
00007 
00012 class LinkConnSpec {
00013 public:
00014   
00016   LinkConnSpec(int num=-1) : theTriggerBoardInputNumber(num) { }
00017 
00019   int triggerBoardInputNumber() const { return theTriggerBoardInputNumber; }
00020 
00022   const LinkBoardSpec * linkBoard(int linkBoardNumInLink) const;
00023 
00024   const  std::vector<LinkBoardSpec> & linkBoards() const { return theLBs; }
00025   
00027   void add(const LinkBoardSpec & lb);
00028 
00030   std::string print(int depth = 0) const;
00031 
00032 private:
00033   int theTriggerBoardInputNumber;
00034   std::vector<LinkBoardSpec> theLBs;
00035 };
00036 #endif