CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TriggerBoardSpec.h
Go to the documentation of this file.
1 #ifndef CondFormatsRPCObjectsTriggerBoardSpec_H
2 #define CondFormatsRPCObjectsTriggerBoardSpec_H
3 
4 #include <boost/cstdint.hpp>
6 #include <string>
7 
13 public:
15  TriggerBoardSpec(int num=-1, uint32_t aMask = 0);
16 
18  int dccInputChannelNum() const { return theNum; }
19 
21  const LinkConnSpec * linkConn(int tbInputNumber) const;
22 
24  std::vector<const LinkConnSpec* > enabledLinkConns() const;
25 
27  const std::vector<LinkConnSpec> linkConns() const { return theLinks; }
28 
30  void add(const LinkConnSpec & lc);
31 
33  void setMaskedLinks(uint32_t aMask) { theMaskedLinks = aMask; }
34 
36  std::string print(int depth = 0) const;
37 
38 private:
39  int theNum;
40  uint32_t theMaskedLinks;
41  std::vector<LinkConnSpec> theLinks;
42 };
43 #endif
std::vector< const LinkConnSpec * > enabledLinkConns() const
not masked links belonging to this TB
void add(const LinkConnSpec &lc)
attach connection to TB
const LinkConnSpec * linkConn(int tbInputNumber) const
link attached to this TB with given input number
std::string print(int depth=0) const
debud printaout, call its components with depth dectreased by one
void setMaskedLinks(uint32_t aMask)
set mask links
long long int num
Definition: procUtils.cc:71
int dccInputChannelNum() const
input channel number to DCC
const std::vector< LinkConnSpec > linkConns() const
all links kept by this TB
TriggerBoardSpec(int num=-1, uint32_t aMask=0)
ctor with ID only
std::vector< LinkConnSpec > theLinks