DataFormats
CSCDigi
src
CSCTMBStatusDigi.cc
Go to the documentation of this file.
1
7
#include "
DataFormats/CSCDigi/interface/CSCTMBStatusDigi.h
"
8
#include <ostream>
9
#include <cstring>
10
#include <cstdint>
11
12
CSCTMBStatusDigi::CSCTMBStatusDigi
(
const
uint16_t*
header
,
const
uint16_t* trailer) {
13
uint16_t headerSizeInBytes = 54;
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
CSCTMBStatusDigi
& digi) {
20
o
<<
" "
;
21
o
<<
"\n"
;
22
23
return
o
;
24
}
CSCTMBStatusDigi
Definition:
CSCTMBStatusDigi.h:15
CSCTMBStatusDigi::trailer
const uint16_t * trailer() const
Definition:
CSCTMBStatusDigi.h:25
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
CSCTMBStatusDigi::CSCTMBStatusDigi
CSCTMBStatusDigi()
Default constructor.
Definition:
CSCTMBStatusDigi.h:21
operator<<
std::ostream & operator<<(std::ostream &o, const CSCTMBStatusDigi &digi)
Definition:
CSCTMBStatusDigi.cc:19
CSCTMBStatusDigi::header_
uint16_t header_[43]
Definition:
CSCTMBStatusDigi.h:28
CSCTMBStatusDigi.h
CSCTMBStatusDigi::header
const uint16_t * header() const
Data Accessors.
Definition:
CSCTMBStatusDigi.h:24
RecoTauValidation_cfi.header
header
Definition:
RecoTauValidation_cfi.py:292
CSCTMBStatusDigi::trailer_
uint16_t trailer_[8]
Definition:
CSCTMBStatusDigi.h:29
Generated for CMSSW Reference Manual by
1.8.16