#include <L1GlobalTriggerEvmRawToDigi.h>
Public Member Functions | |
L1GlobalTriggerEvmRawToDigi (const edm::ParameterSet &) | |
constructor(s) More... | |
~L1GlobalTriggerEvmRawToDigi () override | |
destructor More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Member Functions | |
void | dumpFedRawData (const unsigned char *, int, std::ostream &) |
dump FED raw data More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | produceEmptyProducts (edm::Event &) |
produce empty products in case of problems More... | |
void | unpackHeader (const unsigned char *, FEDHeader &) |
block unpackers More... | |
void | unpackTrailer (const unsigned char *, FEDTrailer &) |
unpack trailer word More... | |
Private Attributes | |
cms_uint16_t | m_activeBoardsMaskGt |
mask for active boards More... | |
int | m_bstLengthBytes |
length of BST record (in bytes) More... | |
int | m_evmGtFedId |
edm::InputTag | m_evmGtInputTag |
input tags for GT EVM record More... | |
L1GtFdlWord * | m_gtFdlWord |
L1GtfeExtWord * | m_gtfeWord |
bool | m_isDebugEnabled |
int | m_lowSkipBxInEvent |
int | m_recordLength0 |
total Bx's in the event, obtained from GTFE block More... | |
int | m_recordLength1 |
corresponding to alternative 1 in altNrBxBoard() More... | |
L1TcsWord * | m_tcsWord |
int | m_totalBxInEvent |
number of Bx for a board, obtained from GTFE block (record length & alternative) More... | |
int | m_unpackBxInEvent |
int | m_uppSkipBxInEvent |
int | m_verbosity |
verbosity level More... | |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Description: unpack EVM raw data into digitized data.
Implementation: <TODO: enter implementation details>
Description: unpack raw data into digitized data.
Implementation: <TODO: enter implementation details>
Definition at line 44 of file L1GlobalTriggerEvmRawToDigi.h.
|
explicit |
constructor(s)
Definition at line 56 of file L1GlobaTriggerEvmRawToDigi.cc.
References TauDecayModes::dec, LogDebug, m_activeBoardsMaskGt, m_bstLengthBytes, m_evmGtFedId, m_evmGtInputTag, m_gtFdlWord, m_gtfeWord, m_isDebugEnabled, m_tcsWord, m_unpackBxInEvent, and m_verbosity.
|
override |
destructor
Definition at line 126 of file L1GlobaTriggerEvmRawToDigi.cc.
References m_gtFdlWord, m_gtfeWord, and m_tcsWord.
|
private |
dump FED raw data
Definition at line 800 of file L1GlobaTriggerEvmRawToDigi.cc.
References TauDecayModes::dec, mps_fire::i, LogDebug, LogTrace, jets_cff::payload, L1GlobalTriggerReadoutSetup::UnitLength, and L1GlobalTriggerReadoutSetup::WordLength.
Referenced by produce().
|
overrideprivate |
Definition at line 137 of file L1GlobaTriggerEvmRawToDigi.cc.
References L1GtfeWord::activeBoards(), L1GtfeWord::altNrBxBoard(), FEDRawData::data(), TauDecayModes::dec, dumpFedRawData(), FDL, edm::EventSetup::get(), edm::Event::getByLabel(), L1GtfeExtWord::getSize(), L1TcsWord::getSize(), L1GtFdlWord::getSize(), GMT, L1GtBoardMaps::gtBoardMaps(), L1GtParameters::gtBstLengthBytes(), GTFE, edm::HandleBase::isValid(), LogDebug, LogTrace, L1TcsWord::luminositySegmentNr(), L1GtFdlWord::lumiSegmentNr(), m_activeBoardsMaskGt, m_bstLengthBytes, m_evmGtFedId, m_evmGtInputTag, m_gtFdlWord, m_gtfeWord, m_isDebugEnabled, m_lowSkipBxInEvent, m_recordLength0, m_recordLength1, m_tcsWord, m_totalBxInEvent, m_unpackBxInEvent, m_uppSkipBxInEvent, m_verbosity, SiStripPI::max, eostools::move(), L1GtfeExtWord::print(), L1TcsWord::print(), L1GtFdlWord::print(), produceEmptyProducts(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), PSB, edm::Event::put(), L1GtfeWord::recordLength(), L1GtfeWord::recordLength1(), L1GtfeExtWord::reset(), L1TcsWord::reset(), L1GtFdlWord::reset(), L1GtfeExtWord::resize(), L1GtfeWord::setActiveBoards(), L1TcsWord::setLuminositySegmentNr(), L1GtFdlWord::setLumiSegmentNr(), L1GtfeWord::setRecordLength(), L1GtfeWord::setRecordLength1(), FEDRawData::size(), TCS, TIM, L1GtfeExtWord::unpack(), L1TcsWord::unpack(), L1GtFdlWord::unpack(), unpackHeader(), and unpackTrailer().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
produce empty products in case of problems
Definition at line 789 of file L1GlobaTriggerEvmRawToDigi.cc.
References eostools::move(), and edm::Event::put().
Referenced by produce().
|
private |
block unpackers
unpack header
Definition at line 690 of file L1GlobaTriggerEvmRawToDigi.cc.
References FEDHeader::bxID(), TauDecayModes::dec, edm::isDebugEnabled(), LogDebug, FEDHeader::lvl1ID(), FEDHeader::moreHeaders(), jets_cff::payload, FEDHeader::sourceID(), FEDHeader::triggerType(), and FEDHeader::version().
Referenced by produce().
|
private |
unpack trailer word
Definition at line 742 of file L1GlobaTriggerEvmRawToDigi.cc.
References FEDTrailer::crc(), TauDecayModes::dec, FEDTrailer::evtStatus(), FEDTrailer::fragmentLength(), LogDebug, m_isDebugEnabled, m_verbosity, FEDTrailer::moreTrailers(), jets_cff::payload, and FEDTrailer::ttsBits().
Referenced by produce().
|
private |
mask for active boards
Definition at line 87 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), and produce().
|
private |
length of BST record (in bytes)
Definition at line 113 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), and produce().
|
private |
FED Id for GT EVM record default value defined in DataFormats/FEDRawData/src/FEDNumbering.cc
Definition at line 84 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), and produce().
|
private |
input tags for GT EVM record
Definition at line 80 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), and produce().
|
private |
Definition at line 77 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), produce(), and ~L1GlobalTriggerEvmRawToDigi().
|
private |
Definition at line 75 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), produce(), and ~L1GlobalTriggerEvmRawToDigi().
|
private |
Definition at line 119 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), produce(), and unpackTrailer().
|
private |
lowest bxInEvent to be unpacked in the event assume symmetrical number of BX around L1Accept
Definition at line 94 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by produce().
|
private |
total Bx's in the event, obtained from GTFE block
corresponding to alternative 0 in altNrBxBoard()
Definition at line 103 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by produce().
|
private |
corresponding to alternative 1 in altNrBxBoard()
Definition at line 106 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 76 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), produce(), and ~L1GlobalTriggerEvmRawToDigi().
|
private |
number of Bx for a board, obtained from GTFE block (record length & alternative)
Definition at line 109 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 90 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), and produce().
|
private |
upper bxInEvent to be unpacked in the event assume symmetrical number of BX around L1Accept
Definition at line 98 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by produce().
|
private |
verbosity level
Definition at line 118 of file L1GlobalTriggerEvmRawToDigi.h.
Referenced by L1GlobalTriggerEvmRawToDigi(), produce(), and unpackTrailer().