#include <L1GlobalTriggerEvmRawToDigi.h>
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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, jetCorrFactors_cfi::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(), jetCorrFactors_cfi::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::lenght(), LogDebug, m_isDebugEnabled, m_verbosity, FEDTrailer::moreTrailers(), jetCorrFactors_cfi::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().