test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
EcalRawData
src
EcalDCCHeaderBlock.cc
Go to the documentation of this file.
1
#include <
DataFormats/EcalRawData/interface/EcalDCCHeaderBlock.h
>
2
3
EcalDCCHeaderBlock::EcalDCCHeaderBlock
()
4
{
5
dccId_
= -1;
// initialize
6
fedId_
= -1;
// initialize
7
dccInTTCCommand_
= -1;
// initialize
8
tccStatus_
.reserve(
MAX_TCC_SIZE
);
9
triggerTowerFlag_
.reserve(
MAX_TT_SIZE
);
10
feStatus_
.reserve(
MAX_TT_SIZE
);
11
12
feBx_
.reserve(
MAX_TT_SIZE
);
13
feLv1_
.reserve(
MAX_TT_SIZE
);
14
tccBx_
.reserve(
MAX_TCC_SIZE
);
15
tccLv1_
.reserve(
MAX_TCC_SIZE
);
16
17
srpLv1_
=-1;
18
srpBx_
=-1;
19
20
dccErrors_
=-1;
21
orbitNumber_
=-1;
// do we need it here?
22
runType_
=-1;
23
zs_
=-1;
24
basic_trigger_type_
=-1;
25
LV1event_
=-1;
26
runNumber_
=-1;
27
BX_
=-1;
28
29
EcalDCCEventSettings
dummySettings;
30
dummySettings.
LaserPower
=-1;
31
dummySettings.
LaserFilter
=-1;
32
dummySettings.
wavelength
=-1;
33
dummySettings.
delay
=-1;
34
dummySettings.
MEMVinj
=-1;
35
dummySettings.
mgpa_content
=-1;
36
dummySettings.
ped_offset
=-1;
37
38
EventSettings_
= dummySettings;
39
40
rtHalf_
=-1;
41
mgpaGain_
=-1;
42
memGain_
=-1;
43
srpStatus_
=-1;
44
selectiveReadout_
=
false
;
45
testZeroSuppression_
=
false
;
46
zeroSuppression_
=
false
;
47
}
48
49
EcalDCCHeaderBlock::EcalDCCHeaderBlock
(
const
int
&
dccId
)
50
{
51
dccId_
=
dccId
;
52
fedId_
= -1;
// initialize
53
tccStatus_
.reserve(
MAX_TCC_SIZE
);
54
triggerTowerFlag_
.reserve(
MAX_TT_SIZE
);
55
feStatus_
.reserve(
MAX_TT_SIZE
);
56
57
feBx_
.reserve(
MAX_TT_SIZE
);
58
feLv1_
.reserve(
MAX_TT_SIZE
);
59
tccBx_
.reserve(
MAX_TCC_SIZE
);
60
tccLv1_
.reserve(
MAX_TCC_SIZE
);
61
62
srpLv1_
=-1;
63
srpBx_
=-1;
64
65
66
dccErrors_
=-1;
67
orbitNumber_
=-1;
// do we need it here?
68
runType_
=-1;
69
basic_trigger_type_
=-1;
70
LV1event_
=-1;
71
runNumber_
=-1;
72
BX_
=-1;
73
74
EcalDCCEventSettings
dummySettings;
75
dummySettings.
LaserPower
=-1;
76
dummySettings.
LaserFilter
=-1;
77
dummySettings.
wavelength
=-1;
78
dummySettings.
delay
=-1;
79
dummySettings.
MEMVinj
=-1;
80
dummySettings.
mgpa_content
=-1;
81
dummySettings.
ped_offset
=-1;
82
83
EventSettings_
= dummySettings;
84
85
rtHalf_
=-1;
86
mgpaGain_
=-1;
87
memGain_
=-1;
88
srpStatus_
=-1;
89
90
selectiveReadout_
=
false
;
91
testZeroSuppression_
=
false
;
92
zeroSuppression_
=
false
;
93
}
94
EcalDCCHeaderBlock::EcalDCCEventSettings::MEMVinj
short MEMVinj
Definition:
EcalDCCHeaderBlock.h:81
EcalDCCHeaderBlock::srpBx_
short srpBx_
Definition:
EcalDCCHeaderBlock.h:199
EcalDCCHeaderBlock::mgpaGain_
short mgpaGain_
Definition:
EcalDCCHeaderBlock.h:186
EcalDCCHeaderBlock::EventSettings_
EcalDCCEventSettings EventSettings_
Definition:
EcalDCCHeaderBlock.h:183
EcalDCCHeaderBlock::zs_
short zs_
Definition:
EcalDCCHeaderBlock.h:176
EcalDCCHeaderBlock::dccErrors_
int dccErrors_
Definition:
EcalDCCHeaderBlock.h:172
EcalDCCHeaderBlock::dccId_
int dccId_
Definition:
EcalDCCHeaderBlock.h:170
EcalDCCHeaderBlock::EcalDCCEventSettings::delay
short delay
Definition:
EcalDCCHeaderBlock.h:80
EcalDCCHeaderBlock::memGain_
short memGain_
Definition:
EcalDCCHeaderBlock.h:187
EcalDCCHeaderBlock.h
EcalDCCHeaderBlock::feStatus_
std::vector< short > feStatus_
Definition:
EcalDCCHeaderBlock.h:195
EcalDCCHeaderBlock::LV1event_
int LV1event_
Definition:
EcalDCCHeaderBlock.h:180
EcalDCCHeaderBlock::tccLv1_
std::vector< short > tccLv1_
Definition:
EcalDCCHeaderBlock.h:202
EcalDCCHeaderBlock::BX_
int BX_
Definition:
EcalDCCHeaderBlock.h:182
EcalDCCHeaderBlock::tccStatus_
std::vector< short > tccStatus_
Definition:
EcalDCCHeaderBlock.h:193
EcalDCCHeaderBlock::tccBx_
std::vector< short > tccBx_
Definition:
EcalDCCHeaderBlock.h:198
EcalDCCHeaderBlock::EcalDCCEventSettings::LaserPower
short LaserPower
Definition:
EcalDCCHeaderBlock.h:77
EcalDCCHeaderBlock::feBx_
std::vector< short > feBx_
Definition:
EcalDCCHeaderBlock.h:197
EcalDCCHeaderBlock::EcalDCCEventSettings::mgpa_content
short mgpa_content
Definition:
EcalDCCHeaderBlock.h:82
EcalDCCHeaderBlock::srpLv1_
short srpLv1_
Definition:
EcalDCCHeaderBlock.h:203
EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength
short wavelength
Definition:
EcalDCCHeaderBlock.h:79
EcalDCCHeaderBlock::dccInTTCCommand_
int dccInTTCCommand_
Definition:
EcalDCCHeaderBlock.h:173
EcalDCCHeaderBlock::EcalDCCEventSettings::ped_offset
short ped_offset
Definition:
EcalDCCHeaderBlock.h:83
EcalDCCHeaderBlock::rtHalf_
short rtHalf_
Definition:
EcalDCCHeaderBlock.h:185
EcalDCCHeaderBlock::orbitNumber_
int orbitNumber_
Definition:
EcalDCCHeaderBlock.h:174
EcalDCCHeaderBlock::srpStatus_
short srpStatus_
Definition:
EcalDCCHeaderBlock.h:192
EcalDCCHeaderBlock::basic_trigger_type_
short basic_trigger_type_
Definition:
EcalDCCHeaderBlock.h:178
EcalDCCHeaderBlock::EcalDCCEventSettings::LaserFilter
short LaserFilter
Definition:
EcalDCCHeaderBlock.h:78
EcalDCCHeaderBlock::feLv1_
std::vector< short > feLv1_
Definition:
EcalDCCHeaderBlock.h:201
EcalDCCHeaderBlock::EcalDCCHeaderBlock
EcalDCCHeaderBlock()
Definition:
EcalDCCHeaderBlock.cc:3
EcalDCCHeaderBlock::triggerTowerFlag_
std::vector< short > triggerTowerFlag_
Definition:
EcalDCCHeaderBlock.h:194
EcalDCCHeaderBlock::EcalDCCEventSettings
Definition:
EcalDCCHeaderBlock.h:76
MAX_TCC_SIZE
#define MAX_TCC_SIZE
Definition:
EcalDCCHeaderBlock.h:14
EcalDCCHeaderBlock::runNumber_
int runNumber_
Definition:
EcalDCCHeaderBlock.h:181
EcalDCCHeaderBlock::zeroSuppression_
bool zeroSuppression_
Definition:
EcalDCCHeaderBlock.h:190
ecaldqm::dccId
unsigned dccId(DetId const &)
Definition:
EcalDQMCommonUtils.cc:20
MAX_TT_SIZE
#define MAX_TT_SIZE
Definition:
EcalDCCHeaderBlock.h:15
EcalDCCHeaderBlock::runType_
short runType_
Definition:
EcalDCCHeaderBlock.h:175
EcalDCCHeaderBlock::fedId_
int fedId_
Definition:
EcalDCCHeaderBlock.h:171
EcalDCCHeaderBlock::testZeroSuppression_
bool testZeroSuppression_
Definition:
EcalDCCHeaderBlock.h:189
EcalDCCHeaderBlock::selectiveReadout_
bool selectiveReadout_
Definition:
EcalDCCHeaderBlock.h:188
Generated for CMSSW Reference Manual by
1.8.5