CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/DataFormats/EcalRawData/src/ESDCCHeaderBlock.cc

Go to the documentation of this file.
00001 #include "DataFormats/EcalRawData/interface/ESDCCHeaderBlock.h"
00002 
00003 ESDCCHeaderBlock::ESDCCHeaderBlock()
00004 {
00005 
00006   dccId_ = -1;
00007   fedId_ = -1;
00008   LV1_ = -1;
00009   BX_ = -1;
00010   gain_ = -1;
00011   precision_ = -1;
00012   dac_ = -1;
00013   evtLen_ = -1;
00014   dccErrs_ = -1;
00015   runNum_ = -1;
00016   runType_ = -1;
00017   seqType_ = -1;
00018   trgType_ = -1;
00019   compFlag_ = -1;
00020   orbit_ = -1;
00021   vmajor_ = -1;
00022   vminor_ = -1;
00023   optoRX0_ = -1;
00024   optoRX1_ = -1;
00025   optoRX2_ = -1;
00026   optoBC0_ = -1;
00027   optoBC1_ = -1;
00028   optoBC2_ = -1;
00029   FEch_.reserve(36);
00030   packetLen_ = -1;
00031   bc_ = -1;
00032   ev_ = -1;
00033   BMMeasurements_ = -1;
00034   beginOfSpillSec_ = -1;
00035   beginOfSpillMilliSec_ = -1;
00036   endOfSpillSec_ = -1;
00037   endOfSpillMilliSec_ = -1;
00038   beginOfSpillLV1_ = -1;
00039   endOfSpillLV1_ = -1;
00040   timestamp_sec_ = -1;
00041   timestamp_usec_ = -1;
00042   spillNum_ = -1;
00043   evtInSpill_ = -1;
00044   camacErr_ = -1;
00045   vmeErr_ = -1;
00046   ADCch_status_.reserve(12);
00047   ADCch_.reserve(12);
00048   TDCch_status_.reserve(8);
00049   TDCch_.reserve(8);
00050 
00051 }
00052 
00053 ESDCCHeaderBlock::ESDCCHeaderBlock(const int& dccId)
00054 {
00055 
00056   dccId_ = dccId;
00057   fedId_ = -1;
00058   LV1_ = -1;
00059   BX_ = -1;
00060   gain_ = -1;
00061   precision_ = -1;
00062   dac_ = -1;
00063   evtLen_ = -1;
00064   dccErrs_ = -1;
00065   runNum_ = -1;
00066   runType_ = -1;
00067   seqType_ = -1;
00068   trgType_ = -1;
00069   compFlag_ = -1;
00070   orbit_ = -1;
00071   vmajor_ = -1;
00072   vminor_ = -1;
00073   optoRX0_ = -1;
00074   optoRX1_ = -1;
00075   optoRX2_ = -1;
00076   optoBC0_ = -1;
00077   optoBC1_ = -1;
00078   optoBC2_ = -1;
00079   FEch_.reserve(36);
00080   packetLen_ = -1;
00081   bc_ = -1;
00082   ev_ = -1;
00083   BMMeasurements_ = -1;
00084   beginOfSpillSec_ = -1;
00085   beginOfSpillMilliSec_ = -1;
00086   endOfSpillSec_ = -1;
00087   endOfSpillMilliSec_ = -1;
00088   beginOfSpillLV1_ = -1;
00089   endOfSpillLV1_ = -1;
00090   timestamp_sec_ = -1;
00091   timestamp_usec_ = -1;
00092   spillNum_ = -1;
00093   evtInSpill_ = -1;
00094   camacErr_ = -1;
00095   vmeErr_ = -1;
00096   ADCch_status_.reserve(12);
00097   ADCch_.reserve(12);
00098   TDCch_status_.reserve(8);
00099   TDCch_.reserve(8);
00100 
00101 }