00001 #include <DataFormats/EcalRawData/interface/EcalDCCHeaderBlock.h> 00002 00003 EcalDCCHeaderBlock::EcalDCCHeaderBlock() 00004 { 00005 dccId_ = -1; // initialize 00006 fedId_ = -1; // initialize 00007 tccStatus_.reserve(MAX_TCC_SIZE); 00008 triggerTowerFlag_.reserve(MAX_TT_SIZE); 00009 feStatus_.reserve(MAX_TT_SIZE); 00010 dccErrors_=-1; 00011 orbitNumber_=-1; // do we need it here? 00012 runType_=-1; 00013 basic_trigger_type_=-1; 00014 LV1event_ =-1; 00015 runNumber_ =-1; 00016 BX_ =-1; 00017 00018 EcalDCCEventSettings dummySettings; 00019 dummySettings.LaserPower =-1; 00020 dummySettings.LaserFilter =-1; 00021 dummySettings.wavelength =-1; 00022 dummySettings.delay =-1; 00023 dummySettings.MEMVinj =-1; 00024 dummySettings.mgpa_content =-1; 00025 dummySettings.ped_offset =-1; 00026 00027 EventSettings_ = dummySettings; 00028 00029 rtHalf_=-1; 00030 mgpaGain_=-1; 00031 memGain_=-1; 00032 srpStatus_ =-1; 00033 selectiveReadout_=false; 00034 testZeroSuppression_=false; 00035 zeroSuppression_=false; 00036 } 00037 00038 EcalDCCHeaderBlock::EcalDCCHeaderBlock(const int& dccId) 00039 { 00040 dccId_ = dccId; 00041 fedId_ = -1; // initialize 00042 tccStatus_.reserve(MAX_TCC_SIZE); 00043 triggerTowerFlag_.reserve(MAX_TT_SIZE); 00044 feStatus_.reserve(MAX_TT_SIZE); 00045 dccErrors_=-1; 00046 orbitNumber_=-1; // do we need it here? 00047 runType_=-1; 00048 basic_trigger_type_=-1; 00049 LV1event_ =-1; 00050 runNumber_ =-1; 00051 BX_ =-1; 00052 00053 EcalDCCEventSettings dummySettings; 00054 dummySettings.LaserPower =-1; 00055 dummySettings.LaserFilter =-1; 00056 dummySettings.wavelength =-1; 00057 dummySettings.delay =-1; 00058 dummySettings.MEMVinj =-1; 00059 dummySettings.mgpa_content =-1; 00060 dummySettings.ped_offset =-1; 00061 00062 EventSettings_ = dummySettings; 00063 00064 rtHalf_=-1; 00065 mgpaGain_=-1; 00066 memGain_=-1; 00067 srpStatus_ =-1; 00068 00069 selectiveReadout_=false; 00070 testZeroSuppression_=false; 00071 zeroSuppression_=false; 00072 } 00073