Main Page
Namespaces
Classes
Package Documentation
DataFormats
EcalRawData
src
EcalDCCHeaderBlock.cc
Go to the documentation of this file.
1
#include <
DataFormats/EcalRawData/interface/EcalDCCHeaderBlock.h
>
2
3
EcalDCCHeaderBlock::EcalDCCHeaderBlock
() {
4
dccId_
= -1;
// initialize
5
fedId_
= -1;
// initialize
6
dccInTTCCommand_
= -1;
// initialize
7
tccStatus_
.reserve(
MAX_TCC_SIZE
);
8
triggerTowerFlag_
.reserve(
MAX_TT_SIZE
);
9
feStatus_
.reserve(
MAX_TT_SIZE
);
10
11
feBx_
.reserve(
MAX_TT_SIZE
);
12
feLv1_
.reserve(
MAX_TT_SIZE
);
13
tccBx_
.reserve(
MAX_TCC_SIZE
);
14
tccLv1_
.reserve(
MAX_TCC_SIZE
);
15
16
srpLv1_
= -1;
17
srpBx_
= -1;
18
19
dccErrors_
= -1;
20
orbitNumber_
= -1;
// do we need it here?
21
runType_
= -1;
22
zs_
= -1;
23
basic_trigger_type_
= -1;
24
LV1event_
= -1;
25
runNumber_
= -1;
26
BX_
= -1;
27
28
EcalDCCEventSettings
dummySettings;
29
dummySettings.
LaserPower
= -1;
30
dummySettings.
LaserFilter
= -1;
31
dummySettings.
wavelength
= -1;
32
dummySettings.
delay
= -1;
33
dummySettings.
MEMVinj
= -1;
34
dummySettings.
mgpa_content
= -1;
35
dummySettings.
ped_offset
= -1;
36
37
EventSettings_
= dummySettings;
38
39
rtHalf_
= -1;
40
mgpaGain_
= -1;
41
memGain_
= -1;
42
srpStatus_
= -1;
43
selectiveReadout_
=
false
;
44
testZeroSuppression_
=
false
;
45
zeroSuppression_
=
false
;
46
}
47
48
EcalDCCHeaderBlock::EcalDCCHeaderBlock
(
const
int
&
dccId
) {
49
dccId_
=
dccId
;
50
fedId_
= -1;
// initialize
51
tccStatus_
.reserve(
MAX_TCC_SIZE
);
52
triggerTowerFlag_
.reserve(
MAX_TT_SIZE
);
53
feStatus_
.reserve(
MAX_TT_SIZE
);
54
55
feBx_
.reserve(
MAX_TT_SIZE
);
56
feLv1_
.reserve(
MAX_TT_SIZE
);
57
tccBx_
.reserve(
MAX_TCC_SIZE
);
58
tccLv1_
.reserve(
MAX_TCC_SIZE
);
59
60
srpLv1_
= -1;
61
srpBx_
= -1;
62
63
dccErrors_
= -1;
64
orbitNumber_
= -1;
// do we need it here?
65
runType_
= -1;
66
basic_trigger_type_
= -1;
67
LV1event_
= -1;
68
runNumber_
= -1;
69
BX_
= -1;
70
71
EcalDCCEventSettings
dummySettings;
72
dummySettings.
LaserPower
= -1;
73
dummySettings.
LaserFilter
= -1;
74
dummySettings.
wavelength
= -1;
75
dummySettings.
delay
= -1;
76
dummySettings.
MEMVinj
= -1;
77
dummySettings.
mgpa_content
= -1;
78
dummySettings.
ped_offset
= -1;
79
80
EventSettings_
= dummySettings;
81
82
rtHalf_
= -1;
83
mgpaGain_
= -1;
84
memGain_
= -1;
85
srpStatus_
= -1;
86
87
selectiveReadout_
=
false
;
88
testZeroSuppression_
=
false
;
89
zeroSuppression_
=
false
;
90
}
EcalDCCHeaderBlock::EcalDCCEventSettings::MEMVinj
short MEMVinj
Definition:
EcalDCCHeaderBlock.h:69
EcalDCCHeaderBlock::srpBx_
short srpBx_
Definition:
EcalDCCHeaderBlock.h:181
EcalDCCHeaderBlock::mgpaGain_
short mgpaGain_
Definition:
EcalDCCHeaderBlock.h:168
EcalDCCHeaderBlock::EventSettings_
EcalDCCEventSettings EventSettings_
Definition:
EcalDCCHeaderBlock.h:165
EcalDCCHeaderBlock::zs_
short zs_
Definition:
EcalDCCHeaderBlock.h:158
EcalDCCHeaderBlock::dccErrors_
int dccErrors_
Definition:
EcalDCCHeaderBlock.h:154
EcalDCCHeaderBlock::dccId_
int dccId_
Definition:
EcalDCCHeaderBlock.h:152
EcalDCCHeaderBlock::EcalDCCEventSettings::delay
short delay
Definition:
EcalDCCHeaderBlock.h:68
EcalDCCHeaderBlock::memGain_
short memGain_
Definition:
EcalDCCHeaderBlock.h:169
EcalDCCHeaderBlock.h
EcalDCCHeaderBlock::feStatus_
std::vector< short > feStatus_
Definition:
EcalDCCHeaderBlock.h:177
EcalDCCHeaderBlock::LV1event_
int LV1event_
Definition:
EcalDCCHeaderBlock.h:162
EcalDCCHeaderBlock::tccLv1_
std::vector< short > tccLv1_
Definition:
EcalDCCHeaderBlock.h:184
EcalDCCHeaderBlock::BX_
int BX_
Definition:
EcalDCCHeaderBlock.h:164
EcalDCCHeaderBlock::tccStatus_
std::vector< short > tccStatus_
Definition:
EcalDCCHeaderBlock.h:175
EcalDCCHeaderBlock::tccBx_
std::vector< short > tccBx_
Definition:
EcalDCCHeaderBlock.h:180
EcalDCCHeaderBlock::EcalDCCEventSettings::LaserPower
short LaserPower
Definition:
EcalDCCHeaderBlock.h:65
EcalDCCHeaderBlock::feBx_
std::vector< short > feBx_
Definition:
EcalDCCHeaderBlock.h:179
EcalDCCHeaderBlock::EcalDCCEventSettings::mgpa_content
short mgpa_content
Definition:
EcalDCCHeaderBlock.h:70
EcalDCCHeaderBlock::srpLv1_
short srpLv1_
Definition:
EcalDCCHeaderBlock.h:185
EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength
short wavelength
Definition:
EcalDCCHeaderBlock.h:67
EcalDCCHeaderBlock::dccInTTCCommand_
int dccInTTCCommand_
Definition:
EcalDCCHeaderBlock.h:155
EcalDCCHeaderBlock::EcalDCCEventSettings::ped_offset
short ped_offset
Definition:
EcalDCCHeaderBlock.h:71
EcalDCCHeaderBlock::rtHalf_
short rtHalf_
Definition:
EcalDCCHeaderBlock.h:167
EcalDCCHeaderBlock::orbitNumber_
int orbitNumber_
Definition:
EcalDCCHeaderBlock.h:156
EcalDCCHeaderBlock::srpStatus_
short srpStatus_
Definition:
EcalDCCHeaderBlock.h:174
EcalDCCHeaderBlock::basic_trigger_type_
short basic_trigger_type_
Definition:
EcalDCCHeaderBlock.h:160
EcalDCCHeaderBlock::EcalDCCEventSettings::LaserFilter
short LaserFilter
Definition:
EcalDCCHeaderBlock.h:66
EcalDCCHeaderBlock::feLv1_
std::vector< short > feLv1_
Definition:
EcalDCCHeaderBlock.h:183
EcalDCCHeaderBlock::EcalDCCHeaderBlock
EcalDCCHeaderBlock()
Definition:
EcalDCCHeaderBlock.cc:3
EcalDCCHeaderBlock::triggerTowerFlag_
std::vector< short > triggerTowerFlag_
Definition:
EcalDCCHeaderBlock.h:176
EcalDCCHeaderBlock::EcalDCCEventSettings
Definition:
EcalDCCHeaderBlock.h:64
MAX_TCC_SIZE
#define MAX_TCC_SIZE
Definition:
EcalDCCHeaderBlock.h:12
EcalDCCHeaderBlock::runNumber_
int runNumber_
Definition:
EcalDCCHeaderBlock.h:163
EcalDCCHeaderBlock::zeroSuppression_
bool zeroSuppression_
Definition:
EcalDCCHeaderBlock.h:172
ecaldqm::dccId
unsigned dccId(DetId const &)
MAX_TT_SIZE
#define MAX_TT_SIZE
Definition:
EcalDCCHeaderBlock.h:13
EcalDCCHeaderBlock::runType_
short runType_
Definition:
EcalDCCHeaderBlock.h:157
EcalDCCHeaderBlock::fedId_
int fedId_
Definition:
EcalDCCHeaderBlock.h:153
EcalDCCHeaderBlock::testZeroSuppression_
bool testZeroSuppression_
Definition:
EcalDCCHeaderBlock.h:171
EcalDCCHeaderBlock::selectiveReadout_
bool selectiveReadout_
Definition:
EcalDCCHeaderBlock.h:170
Generated for CMSSW Reference Manual by
1.8.11