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 
7 #include <vector>
8 #include <string>
9 
14 class LinkConnSpec {
15 public:
16 
19 
22 
24  const LinkBoardSpec * linkBoard(int linkBoardNumInLink) const;
25 
26  const std::vector<LinkBoardSpec> & linkBoards() const { return theLBs; }
27 
29  void add(const LinkBoardSpec & lb);
30 
32  std::string print(int depth = 0) const;
33 
34 private:
36  std::vector<LinkBoardSpec> theLBs;
37 
39 };
40 #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:21
int theTriggerBoardInputNumber
Definition: LinkConnSpec.h:35
#define COND_SERIALIZABLE
Definition: Serializable.h:37
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:18
std::vector< LinkBoardSpec > theLBs
Definition: LinkConnSpec.h:36
const std::vector< LinkBoardSpec > & linkBoards() const
Definition: LinkConnSpec.h:26