#include <L1GlobalTriggerRawToDigi.h>
Public Member Functions | |
L1GlobalTriggerRawToDigi (const edm::ParameterSet &) | |
constructor(s) More... | |
~L1GlobalTriggerRawToDigi () override | |
destructor More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 | unpackGMT (const unsigned char *, std::unique_ptr< L1MuGMTReadoutCollection > &, edm::Event &) |
unpack the GMT record More... | |
void | unpackHeader (const unsigned char *, FEDHeader &) |
block unpackers More... | |
void | unpackPSB (const edm::EventSetup &, const unsigned char *, L1GtPsbWord &) |
void | unpackTrailer (const unsigned char *, FEDTrailer &) |
unpack trailer word More... | |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: unpack raw data into digitized data.
Implementation: <TODO: enter implementation details>
Definition at line 56 of file L1GlobalTriggerRawToDigi.h.
|
explicit |
constructor(s)
Definition at line 56 of file L1GlobaTriggerRawToDigi.cc.
References TauDecayModes::dec, LogDebug, m_activeBoardsMaskGt, m_daqGtFedId, m_daqGtInputTag, m_gtFdlWord, m_gtfeWord, m_gtPsbWord, m_isDebugEnabled, m_unpackBxInEvent, and m_verbosity.
|
override |
destructor
Definition at line 133 of file L1GlobaTriggerRawToDigi.cc.
References m_gtFdlWord, m_gtfeWord, and m_gtPsbWord.
|
private |
dump FED raw data
Definition at line 972 of file L1GlobaTriggerRawToDigi.cc.
References TauDecayModes::dec, mps_fire::i, LogDebug, LogTrace, jetCorrFactors_cfi::payload, L1GlobalTriggerReadoutSetup::UnitLength, and L1GlobalTriggerReadoutSetup::WordLength.
Referenced by produce().
|
static |
Definition at line 139 of file L1GlobaTriggerRawToDigi.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and FEDNumbering::MAXTriggerGTPFEDID.
|
overrideprivate |
Definition at line 170 of file L1GlobaTriggerRawToDigi.cc.
References L1GtfeWord::activeBoards(), L1GtfeWord::altNrBxBoard(), FEDRawData::data(), TauDecayModes::dec, dumpFedRawData(), FDL, edm::Event::getByLabel(), edm::EventSetup::getHandle(), L1GtPsbWord::getSize(), L1GtfeWord::getSize(), L1GtFdlWord::getSize(), GMT, GTFE, edm::HandleBase::isValid(), LogDebug, LogTrace, L1GtFdlWord::lumiSegmentNr(), m_activeBoardsMaskGt, m_daqGtFedId, m_daqGtInputTag, m_gtFdlWord, m_gtfeWord, m_gtPsbWord, m_isDebugEnabled, m_l1GtBMToken, m_lowSkipBxInEvent, m_recordLength0, m_recordLength1, m_totalBxInEvent, m_TriggerPtScale, m_TriggerScales, m_trigPtScaleToken, m_trigScalesToken, m_unpackBxInEvent, m_uppSkipBxInEvent, m_verbosity, SiStripPI::max, eostools::move(), L1GtPsbWord::print(), L1GtfeWord::print(), L1GtFdlWord::print(), produceEmptyProducts(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), PSB, edm::Event::put(), L1GtfeWord::recordLength(), L1GtfeWord::recordLength1(), L1GtPsbWord::reset(), L1GtfeWord::reset(), L1GtFdlWord::reset(), L1GtfeWord::setActiveBoards(), L1GtFdlWord::setLumiSegmentNr(), L1GtfeWord::setRecordLength(), L1GtfeWord::setRecordLength1(), FEDRawData::size(), TCS, TIM, L1GtfeWord::unpack(), L1GtFdlWord::unpack(), unpackGMT(), unpackHeader(), unpackPSB(), and unpackTrailer().
|
private |
produce empty products in case of problems
Definition at line 948 of file L1GlobaTriggerRawToDigi.cc.
References eostools::move(), and edm::Event::put().
Referenced by produce().
|
private |
unpack the GMT record
Definition at line 791 of file L1GlobaTriggerRawToDigi.cc.
References TauDecayModes::dec, L1MuRegionalCand::empty(), L1MuGMTCand::empty(), L1MuRegionalCand::eta_packed(), L1MuGMTCand::etaIndex(), L1MuScale::getCenter(), L1MuTriggerScales::getGMTEtaScale(), L1MuScale::getLowEdge(), L1MuTriggerScales::getPhiScale(), L1MuTriggerPtScale::getPtScale(), L1MuTriggerScales::getRegionalEtaScale(), LogTrace, m_lowSkipBxInEvent, m_totalBxInEvent, m_TriggerPtScale, m_TriggerScales, m_uppSkipBxInEvent, eostools::move(), AlCaHLTBitMon_ParallelJobs::p, L1MuRegionalCand::phi_packed(), L1MuGMTCand::phiIndex(), L1MuRegionalCand::pt_packed(), L1MuGMTCand::ptIndex(), edm::Event::put(), L1MuGMTReadoutRecord::setBCERR(), L1MuGMTReadoutRecord::setBxInEvent(), L1MuGMTReadoutRecord::setBxNr(), L1MuRegionalCand::setEtaValue(), L1MuGMTCand::setEtaValue(), L1MuGMTReadoutRecord::setEvNr(), L1MuGMTReadoutRecord::setGMTBrlCand(), L1MuGMTReadoutRecord::setGMTCand(), L1MuGMTReadoutRecord::setGMTFwdCand(), L1MuGMTReadoutRecord::setInputCand(), L1MuRegionalCand::setPhiValue(), L1MuGMTCand::setPhiValue(), L1MuRegionalCand::setPtValue(), L1MuGMTCand::setPtValue(), L1MuRegionalCand::setType(), and L1MuRegionalCand::type_idx().
Referenced by produce().
|
private |
block unpackers
unpack header
Definition at line 710 of file L1GlobaTriggerRawToDigi.cc.
References FEDHeader::bxID(), TauDecayModes::dec, LogDebug, FEDHeader::lvl1ID(), m_isDebugEnabled, m_verbosity, FEDHeader::moreHeaders(), jetCorrFactors_cfi::payload, FEDHeader::sourceID(), FEDHeader::triggerType(), and FEDHeader::version().
Referenced by produce().
|
private |
unpack PSB blocks unpacking is done in PSB class format methods are given later to translate from the PSB format to the physical input of the PSB
Definition at line 756 of file L1GlobaTriggerRawToDigi.cc.
References TauDecayModes::dec, L1GtPsbWord::getSize(), LogTrace, jetCorrFactors_cfi::payload, L1GtPsbWord::setAData(), L1GtPsbWord::setBData(), L1GtPsbWord::setBoardId(), L1GtPsbWord::setBxInEvent(), L1GtPsbWord::setBxNr(), L1GtPsbWord::setEventNr(), L1GtPsbWord::setLocalBxNr(), and L1GlobalTriggerReadoutSetup::UnitLength.
Referenced by produce().
|
private |
unpack trailer word
Definition at line 907 of file L1GlobaTriggerRawToDigi.cc.
References FEDTrailer::crc(), TauDecayModes::dec, FEDTrailer::evtStatus(), FEDTrailer::fragmentLength(), LogDebug, m_isDebugEnabled, m_verbosity, FEDTrailer::moreTrailers(), jetCorrFactors_cfi::payload, and FEDTrailer::ttsBits().
Referenced by produce().
|
private |
mask for active boards
Definition at line 105 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), and produce().
|
private |
FED Id for GT DAQ record default value defined in DataFormats/FEDRawData/src/FEDNumbering.cc
Definition at line 102 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), and produce().
|
private |
input tags for GT DAQ record
Definition at line 98 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), and produce().
|
private |
Definition at line 95 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), produce(), and ~L1GlobalTriggerRawToDigi().
|
private |
Definition at line 93 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), produce(), and ~L1GlobalTriggerRawToDigi().
|
private |
Definition at line 94 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), produce(), and ~L1GlobalTriggerRawToDigi().
|
private |
Definition at line 145 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), produce(), unpackHeader(), and unpackTrailer().
|
private |
EventSetup Token for L1GtBoardMaps.
Definition at line 114 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce().
|
private |
lowest bxInEvent to be unpacked in the event assume symmetrical number of BX around L1Accept
Definition at line 121 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce(), and unpackGMT().
|
private |
total Bx's in the event, obtained from GTFE block
corresponding to alternative 0 in altNrBxBoard()
Definition at line 130 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce().
|
private |
corresponding to alternative 1 in altNrBxBoard()
Definition at line 133 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce().
|
private |
number of Bx for a board, obtained from GTFE block (record length & alternative)
Definition at line 136 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce(), and unpackGMT().
|
private |
Definition at line 140 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce(), and unpackGMT().
|
private |
muon trigger scales to convert unpacked data into physical quantities
Definition at line 139 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce(), and unpackGMT().
|
private |
EventSetup Token for L1MuTriggerPtScale.
Definition at line 111 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce().
|
private |
EventSetup Token for L1MuTriggerScales.
Definition at line 108 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 117 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), and produce().
|
private |
upper bxInEvent to be unpacked in the event assume symmetrical number of BX around L1Accept
Definition at line 125 of file L1GlobalTriggerRawToDigi.h.
Referenced by produce(), and unpackGMT().
|
private |
verbosity level
Definition at line 144 of file L1GlobalTriggerRawToDigi.h.
Referenced by L1GlobalTriggerRawToDigi(), produce(), unpackHeader(), and unpackTrailer().