src
DataFormats
CSCDigi
src
CSCALCTStatusDigi.cc
Go to the documentation of this file.
1
7
#include "
DataFormats/CSCDigi/interface/CSCALCTStatusDigi.h
"
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.h
CSCALCTStatusDigi
Definition:
CSCALCTStatusDigi.h:15
RecoTauValidation_cfi.header
header
Definition:
RecoTauValidation_cfi.py:291
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
CSCALCTStatusDigi::CSCALCTStatusDigi
CSCALCTStatusDigi()
Default constructor.
Definition:
CSCALCTStatusDigi.h:21
CSCALCTStatusDigi::trailer
const uint16_t * trailer() const
Definition:
CSCALCTStatusDigi.h:25
CSCALCTStatusDigi::trailer_
uint16_t trailer_[4]
maximum header size is 116 words
Definition:
CSCALCTStatusDigi.h:29
operator<<
std::ostream & operator<<(std::ostream &o, const CSCALCTStatusDigi &digi)
Definition:
CSCALCTStatusDigi.cc:20
CSCALCTStatusDigi::header_
uint16_t header_[116]
Definition:
CSCALCTStatusDigi.h:28
CSCALCTStatusDigi::header
const uint16_t * header() const
Data Accessors.
Definition:
CSCALCTStatusDigi.h:24
Generated for CMSSW Reference Manual by
1.8.14