CMS 3D CMS Logo

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