CMS 3D CMS Logo

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