CondFormats
RPCObjects
interface
DccSpec.h
Go to the documentation of this file.
1
#ifndef CondFormatsRPCObjectsDccSpec_H
2
#define CondFormatsRPCObjectsDccSpec_H
3
8
#include "
CondFormats/Serialization/interface/Serializable.h
"
9
10
#include <vector>
11
#include <string>
12
#include "
CondFormats/RPCObjects/interface/TriggerBoardSpec.h
"
13
14
struct
ChamberLocationSpec
;
15
16
class
DccSpec
{
17
public
:
19
DccSpec
(
int
id
= -1);
20
22
int
id
()
const
{
return
theId
; }
23
25
const
TriggerBoardSpec
*
triggerBoard
(
int
channelNumber)
const
;
26
const
std::vector<TriggerBoardSpec>&
triggerBoards
()
const
{
return
theTBs
; }
27
29
void
add
(
const
TriggerBoardSpec
& tb);
30
32
std::string
print
(
int
depth
= 0)
const
;
33
34
private
:
35
int
theId
;
36
std::vector<TriggerBoardSpec>
theTBs
;
37
38
// static const int MIN_CHANNEL_NUMBER = 1;
39
// static const int NUMBER_OF_CHANNELS = 68;
40
41
COND_SERIALIZABLE
;
42
};
43
44
#endif
ChamberLocationSpec
Definition:
ChamberLocationSpec.h:11
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
DccSpec::triggerBoards
const std::vector< TriggerBoardSpec > & triggerBoards() const
Definition:
DccSpec.h:26
DccSpec::id
int id() const
id of FED
Definition:
DccSpec.h:22
LEDCalibrationChannels.depth
depth
Definition:
LEDCalibrationChannels.py:65
DccSpec::theTBs
std::vector< TriggerBoardSpec > theTBs
Definition:
DccSpec.h:36
Serializable.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TriggerBoardSpec.h
DccSpec::DccSpec
DccSpec(int id=-1)
ctor with ID only
Definition:
DccSpec.cc:5
DccSpec::print
std::string print(int depth=0) const
debud printaout, call its components with depth dectreased by one
Definition:
DccSpec.cc:7
DccSpec
Definition:
DccSpec.h:16
TriggerBoardSpec
Definition:
TriggerBoardSpec.h:14
DccSpec::triggerBoard
const TriggerBoardSpec * triggerBoard(int channelNumber) const
TB attached to channel.
Definition:
DccSpec.cc:19
DccSpec::add
void add(const TriggerBoardSpec &tb)
attach TB to DCC. The channel is defined by TB
Definition:
DccSpec.cc:31
DccSpec::theId
int theId
Definition:
DccSpec.h:35
Generated for CMSSW Reference Manual by
1.8.16