CMS 3D CMS Logo

LinkBoardSpec.h

Go to the documentation of this file.
00001 #ifndef CondFormatsRPCObjectsLinkBoardSpec_H
00002 #define CondFormatsRPCObjectsLinkBoardSpec_H
00003 
00004 #include "CondFormats/RPCObjects/interface/FebConnectorSpec.h"
00005 #include <string>
00006 
00011 class LinkBoardSpec {
00012 public:
00014   LinkBoardSpec() {}
00015 
00018   LinkBoardSpec(bool master, int linkBoardNumInLin);
00019 
00021   bool master() { return theMaster; }
00022 
00024   int linkBoardNumInLink() const { return theLinkBoardNumInLink; }
00025 
00027   void add(const FebConnectorSpec & feb); 
00028 
00030   const FebConnectorSpec * feb(int febInputNum) const;
00031   const  std::vector<FebConnectorSpec> & febs() const { return theFebs; }
00032 
00034   std::string print(int depth=0) const;
00035 
00036 private: 
00037   bool theMaster;
00038   int theLinkBoardNumInLink; 
00039   std::vector<FebConnectorSpec> theFebs;
00040 };
00041 #endif

Generated on Tue Jun 9 17:26:45 2009 for CMSSW by  doxygen 1.5.4