#include <Block.h>
Public Member Functions | |
BlockHeader (unsigned int id, unsigned int size, unsigned int capID=0, unsigned int flags=0, block_t type=MP7) | |
BlockHeader (const uint32_t *data) | |
unsigned int | getCapID () const |
unsigned int | getFlags () const |
unsigned int | getID () const |
unsigned int | getSize () const |
block_t | getType () const |
bool | operator< (const BlockHeader &o) const |
uint32_t | raw () const |
Private Attributes | |
unsigned int | capID_ |
unsigned int | flags_ |
unsigned int | id_ |
unsigned int | size_ |
block_t | type_ |
Static Private Attributes | |
static constexpr unsigned | capID_mask = 0xff |
static constexpr unsigned | capID_shift = 8 |
static constexpr unsigned | CTP7_mask = 0xffff |
static constexpr unsigned | CTP7_shift = 0 |
static constexpr unsigned | flags_mask = 0xff |
static constexpr unsigned | flags_shift = 0 |
static constexpr unsigned | ID_mask = 0xff |
static constexpr unsigned | ID_shift = 24 |
static constexpr unsigned | size_mask = 0xff |
static constexpr unsigned | size_shift = 16 |
|
inline |
|
inline |
Definition at line 17 of file Block.h.
|
inline |
Definition at line 23 of file Block.h.
References capID_.
Referenced by l1t::stage1::RCTEmRegionUnpacker::unpack().
|
inline |
Definition at line 24 of file Block.h.
References flags_.
Referenced by l1t::stage2::RegionalMuonGMTUnpacker::unpack(), l1t::stage2::MuonUnpacker::unpack(), l1t::stage2::IntermediateMuonUnpacker::unpack(), l1t::stage2::BMTFUnpackerOutput::unpack(), and l1t::stage2::unpacking_bmtf().
|
inline |
Definition at line 21 of file Block.h.
References id_.
Referenced by operator<(), operator<<(), process(), l1t::stage1::CaloSpareHFUnpacker::unpack(), l1t::stage1::MissEtUnpacker::unpack(), l1t::stage2::GlobalAlgBlkUnpacker::unpack(), l1t::stage2::GlobalExtBlkUnpacker::unpack(), l1t::stage1::HFRingUnpacker::unpack(), l1t::stage1::MissHtUnpacker::unpack(), l1t::stage2::MPUnpacker::unpack(), l1t::stage2::MPUnpacker_0x10010010::unpack(), l1t::stage2::MPUnpacker_0x10010033::unpack(), l1t::stage1::EtSumUnpacker::unpack(), l1t::stage2::CaloTowerUnpacker::unpack(), l1t::stage2::MPUnpacker_0x1001000b::unpack(), l1t::stage1::legacy::EtSumUnpacker::unpack(), l1t::stage1::legacy::HFRingUnpacker::unpack(), l1t::stage2::RegionalMuonGMTUnpacker::unpack(), l1t::stage2::EGammaUnpacker::unpack(), l1t::stage2::TauUnpacker::unpack(), l1t::stage2::EtSumUnpacker::unpack(), l1t::stage2::JetUnpacker::unpack(), l1t::stage2::EtSumUnpacker_0x10010057::unpack(), l1t::stage2::MuonUnpacker::unpack(), l1t::stage2::IntermediateMuonUnpacker::unpack(), l1t::stage2::BMTFUnpackerOutput::unpack(), l1t::stage1::unpack_em(), l1t::stage1::unpack_region(), and l1t::stage2::unpacking_bmtf().
|
inline |
Definition at line 22 of file Block.h.
References size_.
Referenced by operator<<(), process(), l1t::stage1::EtSumUnpacker::unpack(), l1t::stage1::HFRingUnpacker::unpack(), l1t::stage1::MissEtUnpacker::unpack(), l1t::stage1::MissHtUnpacker::unpack(), l1t::stage2::GlobalAlgBlkUnpacker::unpack(), l1t::stage2::GlobalExtBlkUnpacker::unpack(), l1t::stage2::MPUnpacker::unpack(), l1t::stage2::MPUnpacker_0x10010010::unpack(), l1t::stage2::MPUnpacker_0x10010033::unpack(), l1t::stage1::CaloSpareHFUnpacker::unpack(), l1t::stage2::CaloTowerUnpacker::unpack(), l1t::stage2::MPUnpacker_0x1001000b::unpack(), l1t::stage1::legacy::EtSumUnpacker::unpack(), l1t::stage1::legacy::HFRingUnpacker::unpack(), l1t::stage2::CaloLayer1Unpacker::unpack(), l1t::stage2::RegionalMuonGMTUnpacker::unpack(), l1t::stage2::TauUnpacker::unpack(), l1t::stage2::EGammaUnpacker::unpack(), l1t::stage2::JetUnpacker::unpack(), l1t::stage2::EtSumUnpacker::unpack(), l1t::stage2::EtSumUnpacker_0x10010057::unpack(), l1t::stage2::MuonUnpacker::unpack(), l1t::stage2::IntermediateMuonUnpacker::unpack(), l1t::stage2::BMTFUnpackerOutput::unpack(), l1t::stage1::unpack_em(), l1t::stage1::unpack_region(), and l1t::stage2::unpacking_bmtf().
|
inline |
Definition at line 25 of file Block.h.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getDaughterObjects(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getObjectRef(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getShortType(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::properties().
|
inline |
uint32_t l1t::BlockHeader::raw | ( | ) | const |
Definition at line 28 of file Block.cc.
References capID_, capID_mask, capID_shift, l1t::CTP7, flags_, flags_mask, flags_shift, id_, ID_mask, ID_shift, LogTrace, l1t::MP7, size_, size_mask, size_shift, and type_.
Referenced by getType().
|
private |
Definition at line 43 of file Block.h.
Referenced by getCapID(), and raw().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 44 of file Block.h.
Referenced by getFlags(), and raw().
|
staticprivate |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 45 of file Block.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), getType(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and raw().