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 
7 #include <string>
8 
14 public:
17 
20  LinkBoardSpec(bool master, int linkBoardNumInLin, int lbCode);
21 
23  bool master() { return theMaster; }
24 
26  int linkBoardNumInLink() const { return theLinkBoardNumInLink; }
27 
29  std::string linkBoardName() const;
30 
32  void add(const FebConnectorSpec & feb);
33 
35  const FebConnectorSpec * feb(int febInputNum) const;
36  const std::vector<FebConnectorSpec> & febs() const { return theFebs; }
37 
39  std::string print(int depth=0) const;
40 
41 private:
42  bool theMaster;
44  int theCode;
45  std::vector<FebConnectorSpec> theFebs;
46 
48 };
49 #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:43
LinkBoardSpec()
dummy
Definition: LinkBoardSpec.h:16
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:23
std::string linkBoardName() const
LB name as in OMDS.
std::vector< FebConnectorSpec > theFebs
Definition: LinkBoardSpec.h:45
const std::vector< FebConnectorSpec > & febs() const
Definition: LinkBoardSpec.h:36
volatile std::atomic< bool > shutdown_flag false
int linkBoardNumInLink() const
this LB number in link
Definition: LinkBoardSpec.h:26