CMS 3D CMS Logo

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