CMS 3D CMS Logo

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
LinkBoardSpec::LinkBoardSpec
LinkBoardSpec()
dummy
Definition: LinkBoardSpec.h:16
LinkBoardSpec::master
bool master()
true if master LB (is it of any use?)
Definition: LinkBoardSpec.h:23
funct::false
false
Definition: Factorize.h:34
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
LinkBoardSpec::theLinkBoardNumInLink
int theLinkBoardNumInLink
Definition: LinkBoardSpec.h:43
LinkBoardSpec::theFebs
std::vector< FebConnectorSpec > theFebs
Definition: LinkBoardSpec.h:45
LinkBoardSpec::linkBoardName
std::string linkBoardName() const
LB name as in OMDS.
Definition: LinkBoardSpec.cc:19
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FebConnectorSpec.h
LinkBoardSpec
Definition: LinkBoardSpec.h:13
LinkBoardSpec::theMaster
bool theMaster
Definition: LinkBoardSpec.h:42
LinkBoardSpec::linkBoardNumInLink
int linkBoardNumInLink() const
this LB number in link
Definition: LinkBoardSpec.h:26
Serializable.h
LinkBoardSpec::theCode
int theCode
Definition: LinkBoardSpec.h:44
LinkBoardSpec::febs
const std::vector< FebConnectorSpec > & febs() const
Definition: LinkBoardSpec.h:36
LinkBoardSpec::feb
const FebConnectorSpec * feb(int febInputNum) const
get Feb by its connection number to this board
Definition: LinkBoardSpec.cc:9
FebConnectorSpec
Definition: FebConnectorSpec.h:23
LinkBoardSpec::print
std::string print(int depth=0) const
debud printout
Definition: LinkBoardSpec.cc:40
LinkBoardSpec::add
void add(const FebConnectorSpec &feb)
attach feb
Definition: LinkBoardSpec.cc:7