CondFormats
RPCObjects
interface
LinkConnSpec.h
Go to the documentation of this file.
1
#ifndef CondFormatsRPCObjectsLinkConnSpec_H
2
#define CondFormatsRPCObjectsLinkConnSpec_H
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include "
CondFormats/RPCObjects/interface/LinkBoardSpec.h
"
7
#include <vector>
8
#include <string>
9
14
class
LinkConnSpec
{
15
public
:
17
LinkConnSpec
(
int
num
= -1) :
theTriggerBoardInputNumber
(
num
) {}
18
20
int
triggerBoardInputNumber
()
const
{
return
theTriggerBoardInputNumber
; }
21
23
const
LinkBoardSpec
*
linkBoard
(
int
linkBoardNumInLink)
const
;
24
25
const
std::vector<LinkBoardSpec>&
linkBoards
()
const
{
return
theLBs
; }
26
28
void
add
(
const
LinkBoardSpec
& lb);
29
31
std::string
print
(
int
depth
= 0)
const
;
32
33
private
:
34
int
theTriggerBoardInputNumber
;
35
std::vector<LinkBoardSpec>
theLBs
;
36
37
COND_SERIALIZABLE
;
38
};
39
#endif
LinkConnSpec
Definition:
LinkConnSpec.h:14
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
LinkConnSpec::linkBoards
const std::vector< LinkBoardSpec > & linkBoards() const
Definition:
LinkConnSpec.h:25
LinkConnSpec::LinkConnSpec
LinkConnSpec(int num=-1)
ctor with ID only
Definition:
LinkConnSpec.h:17
LinkConnSpec::theLBs
std::vector< LinkBoardSpec > theLBs
Definition:
LinkConnSpec.h:35
LEDCalibrationChannels.depth
depth
Definition:
LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
LinkBoardSpec
Definition:
LinkBoardSpec.h:13
LinkBoardSpec.h
Serializable.h
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:34
LinkConnSpec::theTriggerBoardInputNumber
int theTriggerBoardInputNumber
Definition:
LinkConnSpec.h:34
LinkConnSpec::linkBoard
const LinkBoardSpec * linkBoard(int linkBoardNumInLink) const
LB served by this link, identified by its position in link.
Definition:
LinkConnSpec.cc:18
LinkConnSpec::add
void add(const LinkBoardSpec &lb)
attach LinkBoard to this link
Definition:
LinkConnSpec.cc:16
LinkConnSpec::triggerBoardInputNumber
int triggerBoardInputNumber() const
this link input number in TriggerBoard
Definition:
LinkConnSpec.h:20
LinkConnSpec::print
std::string print(int depth=0) const
debud printaout, call its components with depth dectreased by one
Definition:
LinkConnSpec.cc:4
Generated for CMSSW Reference Manual by
1.8.16