Main Page
Namespaces
Classes
Package Documentation
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 <stdint.h>
11
12
CSCTMBStatusDigi::CSCTMBStatusDigi
(
const
uint16_t *
header
,
const
uint16_t * trailer)
13
{
14
uint16_t headerSizeInBytes =54;
15
uint16_t trailerSizeInBytes =16;
16
memcpy(
header_
, header, headerSizeInBytes);
17
memcpy(
trailer_
, trailer, trailerSizeInBytes);
18
}
19
20
std::ostream &
operator<<
(std::ostream &
o
,
const
CSCTMBStatusDigi
& digi) {
21
o <<
" "
;
22
o <<
"\n"
;
23
24
return
o
;
25
}
26
CSCTMBStatusDigi::header_
uint16_t header_[43]
Definition:
CSCTMBStatusDigi.h:31
CSCTMBStatusDigi.h
CSCTMBStatusDigi::trailer_
uint16_t trailer_[8]
Definition:
CSCTMBStatusDigi.h:32
RecoTauValidation_cfi.header
header
Definition:
RecoTauValidation_cfi.py:296
connectstrParser.o
o
Definition:
connectstrParser.py:70
CSCTMBStatusDigi
Definition:
CSCTMBStatusDigi.h:15
CSCTMBStatusDigi::CSCTMBStatusDigi
CSCTMBStatusDigi()
Default constructor.
Definition:
CSCTMBStatusDigi.h:23
operator<<
std::ostream & operator<<(std::ostream &o, const CSCTMBStatusDigi &digi)
Definition:
CSCTMBStatusDigi.cc:20
Generated for CMSSW Reference Manual by
1.8.11