CMS 3D CMS Logo

CSCDMBStatusDigi.cc
Go to the documentation of this file.
1 
8 #include <ostream>
9 #include <cstring>
10 #include <stdint.h>
11 
12 CSCDMBStatusDigi::CSCDMBStatusDigi(const uint16_t * header, const uint16_t * trailer)
13 {
14  uint16_t headerSizeInBytes =16;
15  uint16_t trailerSizeInBytes =16;
16  memcpy(header_, header, headerSizeInBytes);
17  memcpy(trailer_, trailer, trailerSizeInBytes);
18 }
19 
20 std::ostream & operator<<(std::ostream & o, const CSCDMBStatusDigi& digi) {
21  o << " ";
22  o <<"\n";
23 
24  return o;
25 }
26 
uint16_t trailer_[8]
uint16_t header_[8]
std::ostream & operator<<(std::ostream &o, const CSCDMBStatusDigi &digi)
CSCDMBStatusDigi()
Default constructor.