CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LinkBoardSpec.h
Go to the documentation of this file.
1 #ifndef CondFormatsRPCObjectsLinkBoardSpec_H
2 #define CondFormatsRPCObjectsLinkBoardSpec_H
3 
5 #include <string>
6 
12 public:
15 
18  LinkBoardSpec(bool master, int linkBoardNumInLin, int lbCode);
19 
21  bool master() { return theMaster; }
22 
24  int linkBoardNumInLink() const { return theLinkBoardNumInLink; }
25 
27  std::string linkBoardName() const;
28 
30  void add(const FebConnectorSpec & feb);
31 
33  const FebConnectorSpec * feb(int febInputNum) const;
34  const std::vector<FebConnectorSpec> & febs() const { return theFebs; }
35 
37  std::string print(int depth=0) const;
38 
39 private:
40  bool theMaster;
42  int theCode;
43  std::vector<FebConnectorSpec> theFebs;
44 };
45 #endif
void add(const FebConnectorSpec &feb)
attach feb
Definition: LinkBoardSpec.cc:8
std::string print(int depth=0) const
debud printout
int theLinkBoardNumInLink
Definition: LinkBoardSpec.h:41
LinkBoardSpec()
dummy
Definition: LinkBoardSpec.h:14
const FebConnectorSpec * feb(int febInputNum) const
get Feb by its connection number to this board
bool master()
true if master LB (is it of any use?)
Definition: LinkBoardSpec.h:21
std::string linkBoardName() const
LB name as in OMDS.
std::vector< FebConnectorSpec > theFebs
Definition: LinkBoardSpec.h:43
const std::vector< FebConnectorSpec > & febs() const
Definition: LinkBoardSpec.h:34
int linkBoardNumInLink() const
this LB number in link
Definition: LinkBoardSpec.h:24