CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LinkConnSpec.h
Go to the documentation of this file.
1 #ifndef CondFormatsRPCObjectsLinkConnSpec_H
2 #define CondFormatsRPCObjectsLinkConnSpec_H
3 
5 #include <vector>
6 #include <string>
7 
12 class LinkConnSpec {
13 public:
14 
17 
20 
22  const LinkBoardSpec * linkBoard(int linkBoardNumInLink) const;
23 
24  const std::vector<LinkBoardSpec> & linkBoards() const { return theLBs; }
25 
27  void add(const LinkBoardSpec & lb);
28 
30  std::string print(int depth = 0) const;
31 
32 private:
34  std::vector<LinkBoardSpec> theLBs;
35 };
36 #endif
const LinkBoardSpec * linkBoard(int linkBoardNumInLink) const
LB served by this link, identified by its position in link.
Definition: LinkConnSpec.cc:21
void add(const LinkBoardSpec &lb)
attach LinkBoard to this link
Definition: LinkConnSpec.cc:16
int triggerBoardInputNumber() const
this link input number in TriggerBoard
Definition: LinkConnSpec.h:19
int theTriggerBoardInputNumber
Definition: LinkConnSpec.h:33
long long int num
Definition: procUtils.cc:71
std::string print(int depth=0) const
debud printaout, call its components with depth dectreased by one
Definition: LinkConnSpec.cc:4
LinkConnSpec(int num=-1)
ctor with ID only
Definition: LinkConnSpec.h:16
std::vector< LinkBoardSpec > theLBs
Definition: LinkConnSpec.h:34
const std::vector< LinkBoardSpec > & linkBoards() const
Definition: LinkConnSpec.h:24