Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
GctRawToDigi
src
GctBlockHeader.cc
Go to the documentation of this file.
1
#include "
EventFilter/GctRawToDigi/src/GctBlockHeader.h
"
2
3
GctBlockHeader::GctBlockHeader
(uint32_t blockId,
4
uint32_t blockLength,
5
uint32_t nSamples,
6
uint32_t bxId,
7
uint32_t eventId,
8
bool
valid
):
9
m_blockId(blockId),
10
m_blockLength(blockLength),
11
m_nSamples(nSamples),
12
m_bxId(bxId),
13
m_eventId(eventId),
14
m_valid(valid)
15
{
16
}
17
18
std::ostream&
operator<<
(std::ostream& os,
const
GctBlockHeader
&
h
)
19
{
20
os <<
"ID "
<< std::hex << h.
blockId
() <<
" : Length : "
<< h.
blockLength
()
21
<<
" : Samples "
<< h.
nSamples
() <<
" : BX "
22
<< h.
bxId
() <<
" : Event "
<< h.
eventId
() <<
std::dec
;
23
return
os;
24
}
TrackValidation_HighPurity_cff.valid
tuple valid
Definition:
TrackValidation_HighPurity_cff.py:20
GctBlockHeader::bxId
uint32_t bxId() const
Get the bunch crossing ID.
Definition:
GctBlockHeader.h:44
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
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
GctBlockHeader::eventId
uint32_t eventId() const
Get the event ID.
Definition:
GctBlockHeader.h:47
GctBlockHeader
Simple class for holding the basic attributes of an 32-bit block header.
Definition:
GctBlockHeader.h:16
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition:
Activities.doc:4
GctBlockHeader::blockLength
uint32_t blockLength() const
Get the fundamental block length (for 1 time sample)
Definition:
GctBlockHeader.h:38
GctBlockHeader::blockId
uint32_t blockId() const
Get the block ID.
Definition:
GctBlockHeader.h:35
GctBlockHeader::nSamples
uint32_t nSamples() const
Get the number of time samples.
Definition:
GctBlockHeader.h:41
TauDecayModes.dec
tuple dec
Definition:
TauDecayModes.py:141
Generated for CMSSW Reference Manual by
1.8.5