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 }
operator<<
std::ostream & operator<<(std::ostream &o, const CSCALCTStatusDigi &digi)
Definition: CSCALCTStatusDigi.cc:20
CSCALCTStatusDigi::header
const uint16_t * header() const
Data Accessors.
Definition: CSCALCTStatusDigi.h:24
CSCALCTStatusDigi.h
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
CSCALCTStatusDigi
Definition: CSCALCTStatusDigi.h:15
CSCALCTStatusDigi::trailer
const uint16_t * trailer() const
Definition: CSCALCTStatusDigi.h:25
CSCALCTStatusDigi::header_
uint16_t header_[116]
Definition: CSCALCTStatusDigi.h:28
CSCALCTStatusDigi::CSCALCTStatusDigi
CSCALCTStatusDigi()
Default constructor.
Definition: CSCALCTStatusDigi.h:21
CSCALCTStatusDigi::trailer_
uint16_t trailer_[4]
maximum header size is 116 words
Definition: CSCALCTStatusDigi.h:29
RecoTauValidation_cfi.header
header
Definition: RecoTauValidation_cfi.py:292