Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /** \class CSCTMBStatusDigi
0002  * 
0003  *  Digi for CSC TMB info available in DDU
0004  *
0005  *
0006  */
0007 #include "DataFormats/CSCDigi/interface/CSCTMBStatusDigi.h"
0008 #include <ostream>
0009 #include <cstring>
0010 #include <cstdint>
0011 
0012 CSCTMBStatusDigi::CSCTMBStatusDigi(const uint16_t* header, const uint16_t* trailer) {
0013   uint16_t headerSizeInBytes = 54;
0014   uint16_t trailerSizeInBytes = 16;
0015   memcpy(header_, header, headerSizeInBytes);
0016   memcpy(trailer_, trailer, trailerSizeInBytes);
0017 }
0018 
0019 std::ostream& operator<<(std::ostream& o, const CSCTMBStatusDigi& digi) {
0020   o << " ";
0021   o << "\n";
0022 
0023   return o;
0024 }