CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/DataFormats/CSCDigi/src/CSCTMBStatusDigi.cc

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