CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTMBStatusDigi.cc
Go to the documentation of this file.
1 
10 #include <ostream>
11 #include <cstring>
12 #include <stdint.h>
13 
14 CSCTMBStatusDigi::CSCTMBStatusDigi(const uint16_t * header, const uint16_t * trailer)
15 {
16  uint16_t headerSizeInBytes =54;
17  uint16_t trailerSizeInBytes =16;
18  memcpy(header_, header, headerSizeInBytes);
19  memcpy(trailer_, trailer, trailerSizeInBytes);
20 }
21 
22 std::ostream & operator<<(std::ostream & o, const CSCTMBStatusDigi& digi) {
23  o << " ";
24  o <<"\n";
25 
26  return o;
27 }
28 
uint16_t header_[43]
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
uint16_t trailer_[8]
CSCTMBStatusDigi()
Default constructor.