CMS 3D CMS Logo

TriggerBoardSpec.h
Go to the documentation of this file.
1 #ifndef CondFormatsRPCObjectsTriggerBoardSpec_H
2 #define CondFormatsRPCObjectsTriggerBoardSpec_H
3 
5 
7 #include <string>
8 #include <cstdint>
9 
15 public:
17  TriggerBoardSpec(int num = -1, uint32_t aMask = 0);
18 
20  int dccInputChannelNum() const { return theNum; }
21 
23  const LinkConnSpec* linkConn(int tbInputNumber) const;
24 
26  std::vector<const LinkConnSpec*> enabledLinkConns() const;
27 
29  const std::vector<LinkConnSpec> linkConns() const { return theLinks; }
30 
32  void add(const LinkConnSpec& lc);
33 
35  void setMaskedLinks(uint32_t aMask) { theMaskedLinks = aMask; }
36 
38  std::string print(int depth = 0) const;
39 
40 private:
41  int theNum;
42  uint32_t theMaskedLinks;
43  std::vector<LinkConnSpec> theLinks;
44 
46 };
47 #endif
TriggerBoardSpec::enabledLinkConns
std::vector< const LinkConnSpec * > enabledLinkConns() const
not masked links belonging to this TB
Definition: TriggerBoardSpec.cc:18
LinkConnSpec
Definition: LinkConnSpec.h:14
TriggerBoardSpec::print
std::string print(int depth=0) const
debud printaout, call its components with depth dectreased by one
Definition: TriggerBoardSpec.cc:30
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
TriggerBoardSpec::linkConns
const std::vector< LinkConnSpec > linkConns() const
all links kept by this TB
Definition: TriggerBoardSpec.h:29
TriggerBoardSpec::theMaskedLinks
uint32_t theMaskedLinks
Definition: TriggerBoardSpec.h:42
TriggerBoardSpec::theLinks
std::vector< LinkConnSpec > theLinks
Definition: TriggerBoardSpec.h:43
TriggerBoardSpec::TriggerBoardSpec
TriggerBoardSpec(int num=-1, uint32_t aMask=0)
ctor with ID only
Definition: TriggerBoardSpec.cc:7
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TriggerBoardSpec::theNum
int theNum
Definition: TriggerBoardSpec.h:41
Serializable.h
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
TriggerBoardSpec::setMaskedLinks
void setMaskedLinks(uint32_t aMask)
set mask links
Definition: TriggerBoardSpec.h:35
TriggerBoardSpec::dccInputChannelNum
int dccInputChannelNum() const
input channel number to DCC
Definition: TriggerBoardSpec.h:20
TriggerBoardSpec
Definition: TriggerBoardSpec.h:14
TriggerBoardSpec::linkConn
const LinkConnSpec * linkConn(int tbInputNumber) const
link attached to this TB with given input number
Definition: TriggerBoardSpec.cc:9
TriggerBoardSpec::add
void add(const LinkConnSpec &lc)
attach connection to TB
Definition: TriggerBoardSpec.cc:41
LinkConnSpec.h