Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:17

0001 #include "DataFormats/EcalRawData/interface/ESDCCHeaderBlock.h"
0002 
0003 ESDCCHeaderBlock::ESDCCHeaderBlock() {
0004   dccId_ = -1;
0005   fedId_ = -1;
0006   LV1_ = -1;
0007   BX_ = -1;
0008   gain_ = -1;
0009   precision_ = -1;
0010   dac_ = -1;
0011   evtLen_ = -1;
0012   dccErrs_ = -1;
0013   runNum_ = -1;
0014   runType_ = -1;
0015   seqType_ = -1;
0016   trgType_ = -1;
0017   compFlag_ = -1;
0018   orbit_ = -1;
0019   vmajor_ = -1;
0020   vminor_ = -1;
0021   optoRX0_ = -1;
0022   optoRX1_ = -1;
0023   optoRX2_ = -1;
0024   optoBC0_ = -1;
0025   optoBC1_ = -1;
0026   optoBC2_ = -1;
0027   FEch_.reserve(36);
0028   packetLen_ = -1;
0029   bc_ = -1;
0030   ev_ = -1;
0031   BMMeasurements_ = -1;
0032   beginOfSpillSec_ = -1;
0033   beginOfSpillMilliSec_ = -1;
0034   endOfSpillSec_ = -1;
0035   endOfSpillMilliSec_ = -1;
0036   beginOfSpillLV1_ = -1;
0037   endOfSpillLV1_ = -1;
0038   timestamp_sec_ = -1;
0039   timestamp_usec_ = -1;
0040   spillNum_ = -1;
0041   evtInSpill_ = -1;
0042   camacErr_ = -1;
0043   vmeErr_ = -1;
0044   ADCch_status_.reserve(12);
0045   ADCch_.reserve(12);
0046   TDCch_status_.reserve(8);
0047   TDCch_.reserve(8);
0048 }
0049 
0050 ESDCCHeaderBlock::ESDCCHeaderBlock(const int& dccId) {
0051   dccId_ = dccId;
0052   fedId_ = -1;
0053   LV1_ = -1;
0054   BX_ = -1;
0055   gain_ = -1;
0056   precision_ = -1;
0057   dac_ = -1;
0058   evtLen_ = -1;
0059   dccErrs_ = -1;
0060   runNum_ = -1;
0061   runType_ = -1;
0062   seqType_ = -1;
0063   trgType_ = -1;
0064   compFlag_ = -1;
0065   orbit_ = -1;
0066   vmajor_ = -1;
0067   vminor_ = -1;
0068   optoRX0_ = -1;
0069   optoRX1_ = -1;
0070   optoRX2_ = -1;
0071   optoBC0_ = -1;
0072   optoBC1_ = -1;
0073   optoBC2_ = -1;
0074   FEch_.reserve(36);
0075   packetLen_ = -1;
0076   bc_ = -1;
0077   ev_ = -1;
0078   BMMeasurements_ = -1;
0079   beginOfSpillSec_ = -1;
0080   beginOfSpillMilliSec_ = -1;
0081   endOfSpillSec_ = -1;
0082   endOfSpillMilliSec_ = -1;
0083   beginOfSpillLV1_ = -1;
0084   endOfSpillLV1_ = -1;
0085   timestamp_sec_ = -1;
0086   timestamp_usec_ = -1;
0087   spillNum_ = -1;
0088   evtInSpill_ = -1;
0089   camacErr_ = -1;
0090   vmeErr_ = -1;
0091   ADCch_status_.reserve(12);
0092   ADCch_.reserve(12);
0093   TDCch_status_.reserve(8);
0094   TDCch_.reserve(8);
0095 }