File indexing completed on 2024-04-06 12:04:05
0001 #include <DataFormats/EcalRawData/interface/EcalDCCHeaderBlock.h>
0002
0003 EcalDCCHeaderBlock::EcalDCCHeaderBlock() {
0004 dccId_ = -1;
0005 fedId_ = -1;
0006 dccInTTCCommand_ = -1;
0007 tccStatus_.reserve(MAX_TCC_SIZE);
0008 triggerTowerFlag_.reserve(MAX_TT_SIZE);
0009 feStatus_.reserve(MAX_TT_SIZE);
0010
0011 feBx_.reserve(MAX_TT_SIZE);
0012 feLv1_.reserve(MAX_TT_SIZE);
0013 tccBx_.reserve(MAX_TCC_SIZE);
0014 tccLv1_.reserve(MAX_TCC_SIZE);
0015
0016 srpLv1_ = -1;
0017 srpBx_ = -1;
0018
0019 dccErrors_ = -1;
0020 orbitNumber_ = -1;
0021 runType_ = -1;
0022 zs_ = -1;
0023 basic_trigger_type_ = -1;
0024 LV1event_ = -1;
0025 runNumber_ = -1;
0026 BX_ = -1;
0027
0028 EcalDCCEventSettings dummySettings;
0029 dummySettings.LaserPower = -1;
0030 dummySettings.LaserFilter = -1;
0031 dummySettings.wavelength = -1;
0032 dummySettings.delay = -1;
0033 dummySettings.MEMVinj = -1;
0034 dummySettings.mgpa_content = -1;
0035 dummySettings.ped_offset = -1;
0036
0037 EventSettings_ = dummySettings;
0038
0039 rtHalf_ = -1;
0040 mgpaGain_ = -1;
0041 memGain_ = -1;
0042 srpStatus_ = -1;
0043 selectiveReadout_ = false;
0044 testZeroSuppression_ = false;
0045 zeroSuppression_ = false;
0046 }
0047
0048 EcalDCCHeaderBlock::EcalDCCHeaderBlock(const int& dccId) {
0049 dccId_ = dccId;
0050 fedId_ = -1;
0051 tccStatus_.reserve(MAX_TCC_SIZE);
0052 triggerTowerFlag_.reserve(MAX_TT_SIZE);
0053 feStatus_.reserve(MAX_TT_SIZE);
0054
0055 feBx_.reserve(MAX_TT_SIZE);
0056 feLv1_.reserve(MAX_TT_SIZE);
0057 tccBx_.reserve(MAX_TCC_SIZE);
0058 tccLv1_.reserve(MAX_TCC_SIZE);
0059
0060 srpLv1_ = -1;
0061 srpBx_ = -1;
0062
0063 dccErrors_ = -1;
0064 orbitNumber_ = -1;
0065 runType_ = -1;
0066 basic_trigger_type_ = -1;
0067 LV1event_ = -1;
0068 runNumber_ = -1;
0069 BX_ = -1;
0070
0071 EcalDCCEventSettings dummySettings;
0072 dummySettings.LaserPower = -1;
0073 dummySettings.LaserFilter = -1;
0074 dummySettings.wavelength = -1;
0075 dummySettings.delay = -1;
0076 dummySettings.MEMVinj = -1;
0077 dummySettings.mgpa_content = -1;
0078 dummySettings.ped_offset = -1;
0079
0080 EventSettings_ = dummySettings;
0081
0082 rtHalf_ = -1;
0083 mgpaGain_ = -1;
0084 memGain_ = -1;
0085 srpStatus_ = -1;
0086
0087 selectiveReadout_ = false;
0088 testZeroSuppression_ = false;
0089 zeroSuppression_ = false;
0090 }