CondFormats
RPCObjects
interface
LinkBoardSpec.h
Go to the documentation of this file.
1
#ifndef CondFormatsRPCObjectsLinkBoardSpec_H
2
#define CondFormatsRPCObjectsLinkBoardSpec_H
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include "
CondFormats/RPCObjects/interface/FebConnectorSpec.h
"
7
#include <string>
8
13
class
LinkBoardSpec
{
14
public
:
16
LinkBoardSpec
() :
theMaster
(
false
) {}
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
;
43
int
theLinkBoardNumInLink
;
44
int
theCode
;
45
std::vector<FebConnectorSpec>
theFebs
;
46
47
COND_SERIALIZABLE
;
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:29
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
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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
Generated for CMSSW Reference Manual by
1.8.16