CMS 3D CMS Logo

EcalDCCHeaderBlock.cc
Go to the documentation of this file.
2 
4 {
5  dccId_ = -1; // initialize
6  fedId_ = -1; // initialize
7  dccInTTCCommand_ = -1; // initialize
8  tccStatus_.reserve(MAX_TCC_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;
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;
46  zeroSuppression_=false;
47 }
48 
50 {
51  dccId_ = dccId;
52  fedId_ = -1; // initialize
53  tccStatus_.reserve(MAX_TCC_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;
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;
92  zeroSuppression_=false;
93 }
94 
EcalDCCEventSettings EventSettings_
std::vector< short > feStatus_
std::vector< short > tccLv1_
std::vector< short > tccStatus_
std::vector< short > tccBx_
std::vector< short > feBx_
std::vector< short > feLv1_
std::vector< short > triggerTowerFlag_
#define MAX_TCC_SIZE
unsigned dccId(DetId const &)
#define MAX_TT_SIZE