CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DataFormats/CSCDigi/src/CSCALCTStatusDigi.cc

Go to the documentation of this file.
00001 
00009 #include "DataFormats/CSCDigi/interface/CSCALCTStatusDigi.h"
00010 
00011 #include <ostream>
00012 #include <cstring>
00013 #include <stdint.h>
00014 
00015 CSCALCTStatusDigi::CSCALCTStatusDigi(const uint16_t * header, const uint16_t * trailer)
00016 {
00017   uint16_t headerSizeInBytes =16;
00018   uint16_t trailerSizeInBytes =8;
00019   memcpy(header_, header, headerSizeInBytes);
00020   memcpy(trailer_, trailer, trailerSizeInBytes);
00021 }
00022 
00023 std::ostream & operator<<(std::ostream & o, const CSCALCTStatusDigi& digi) {
00024   o << " ";  
00025   o <<"\n";
00026 
00027   return o;
00028 }
00029