src
EventFilter
GctRawToDigi
src
GctBlockHeader.cc
Go to the documentation of this file.
1
#include "
EventFilter/GctRawToDigi/src/GctBlockHeader.h
"
2
3
GctBlockHeader::GctBlockHeader
(
4
uint32_t blockId, uint32_t blockLength, uint32_t
nSamples
, uint32_t bxId, uint32_t eventId,
bool
valid
)
5
: m_blockId(blockId),
6
m_blockLength(blockLength),
7
m_nSamples(
nSamples
),
8
m_bxId(bxId),
9
m_eventId(eventId),
10
m_valid(
valid
) {}
11
12
std::ostream&
operator<<
(std::ostream& os,
const
GctBlockHeader
&
h
) {
13
os <<
"ID "
<< std::hex <<
h
.blockId() <<
" : Length : "
<<
h
.blockLength() <<
" : Samples "
<<
h
.nSamples()
14
<<
" : BX "
<<
h
.bxId() <<
" : Event "
<<
h
.eventId() <<
std::dec
;
15
return
os;
16
}
GctBlockHeader::GctBlockHeader
GctBlockHeader(uint32_t blockId, uint32_t blockLength, uint32_t nSamples, uint32_t bxId, uint32_t eventId, bool valid)
Constructor. Don't use directly - use the generateBlockHeader() method in GctFormatTranslateBase-deri...
Definition:
GctBlockHeader.cc:3
GctBlockHeader.h
validateGeometry_cfg.valid
valid
Definition:
validateGeometry_cfg.py:21
GctBlockHeader
Simple class for holding the basic attributes of an 32-bit block header.
Definition:
GctBlockHeader.h:15
operator<<
std::ostream & operator<<(std::ostream &os, const GctBlockHeader &h)
Definition:
GctBlockHeader.cc:12
TauDecayModes.dec
dec
Definition:
TauDecayModes.py:142
PresampleTask_cfi.nSamples
nSamples
Definition:
PresampleTask_cfi.py:7
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition:
Activities.doc:4
Generated for CMSSW Reference Manual by
1.8.14