#include <L1GlobalTrigger.h>
Public Member Functions | |
const L1GlobalTriggerFDL * | gtFDL () const |
const L1GlobalTriggerGTL * | gtGTL () const |
const L1GlobalTriggerPSB * | gtPSB () const |
L1GlobalTrigger (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~L1GlobalTrigger () override | |
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 |
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: see header file.
Implementation: <TODO: enter implementation details>
Description: L1 Global Trigger producer.
Implementation: <TODO: enter implementation details>
The CMSSW implementation of the L1 Global Trigger emulator uses concepts and code from the ORCA L1 Global Trigger simulation, authors: N. Neumeister, M. Fierro, M. Eder - HEPHY Vienna.
Definition at line 78 of file L1GlobalTrigger.h.
|
explicit |
Definition at line 66 of file L1GlobalTrigger.cc.
References TauDecayModes::dec, LogDebug, LogTrace, m_activeBoardsGtDaq, m_activeBoardsGtEvm, m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_alternativeNrBxBoardDaq, m_alternativeNrBxBoardEvm, m_bstLengthBytes, m_caloGctInputTag, m_castorInputTag, m_emulateBxInEvent, m_gtFDL, m_gtGTL, m_gtPSB, m_ifCaloEtaNumberBits, m_ifMuEtaNumberBits, m_l1GtBMCacheID, m_l1GtParCacheID, m_l1GtPfAlgoCacheID, m_l1GtPfTechCacheID, m_l1GtStableParCacheID, m_l1GtTmAlgoCacheID, m_l1GtTmTechCacheID, m_l1GtTmVetoAlgoCacheID, m_l1GtTmVetoTechCacheID, m_muGmtInputTag, m_nrL1CenJet, m_nrL1ForJet, m_nrL1IsoEG, m_nrL1JetCounts, m_nrL1Mu, m_nrL1NoIsoEG, m_nrL1TauJet, m_numberDaqPartitions, m_numberPhysTriggers, m_numberTechnicalTriggers, m_produceL1GtDaqRecord, m_produceL1GtEvmRecord, m_produceL1GtObjectMapRecord, m_psBstLengthBytes, m_readTechnicalTriggerRecords, m_recordLength, m_technicalTriggersInputTags, m_technicalTriggersUnmasked, m_technicalTriggersUnprescaled, m_totalBxInEvent, m_verbosity, m_writePsbL1GtDaqRecord, SiStripPI::max, L1GlobalTriggerFDL::setVerbosity(), L1GlobalTriggerGTL::setVerbosity(), and L1GlobalTriggerPSB::setVerbosity().
|
override |
|
inline |
|
inline |
|
inline |
|
override |
length of BST message (in bytes) for L1 GT EVM record
receive technical trigger
Definition at line 242 of file L1GlobalTrigger.cc.
References BptxQ, CastorQ, CenJetQ, TauDecayModes::dec, ESumsQ, FDL, L1GlobalTriggerFDL::fillDaqFdlBlock(), L1GlobalTriggerFDL::fillEvmFdlBlock(), L1GlobalTriggerPSB::fillPsbBlock(), ForJetQ, edm::EventSetup::get(), edm::EventSetup::getHandle(), L1GtBoardMaps::gtBoardMaps(), L1GtParameters::gtBstLengthBytes(), L1GtParameters::gtDaqActiveBoards(), L1GtParameters::gtEvmActiveBoards(), GtExternalQ, GTFE, L1GtStableParameters::gtIfCaloEtaNumberBits(), L1GtStableParameters::gtIfMuEtaNumberBits(), L1GtStableParameters::gtNumberL1CenJet(), L1GtStableParameters::gtNumberL1ForJet(), L1GtStableParameters::gtNumberL1IsoEG(), L1GtStableParameters::gtNumberL1JetCounts(), L1GtStableParameters::gtNumberL1Mu(), L1GtStableParameters::gtNumberL1NoIsoEG(), L1GtStableParameters::gtNumberL1TauJet(), L1GtStableParameters::gtNumberPhysTriggers(), L1GtStableParameters::gtNumberTechnicalTriggers(), L1GtPrescaleFactors::gtPrescaleFactors(), L1GtParameters::gtTotalBxInEvent(), L1GtTriggerMask::gtTriggerMask(), HfQ, iEvent, L1GlobalTriggerGTL::init(), L1GlobalTriggerPSB::init(), IsoEGQ, edm::HandleBase::isValid(), JetCountsQ, LogDebug, LogTrace, m_activeBoardsGtDaq, m_activeBoardsGtEvm, m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_alternativeNrBxBoardDaq, m_alternativeNrBxBoardEvm, m_bstLengthBytes, m_caloGctInputTag, m_emulateBxInEvent, m_gtFDL, m_gtGTL, m_gtPSB, m_ifCaloEtaNumberBits, m_ifMuEtaNumberBits, m_isDebugEnabled, m_l1GtBM, m_l1GtBMCacheID, m_l1GtBMToken, m_l1GtPar, m_l1GtParCacheID, m_l1GtParToken, m_l1GtPfAlgo, m_l1GtPfAlgoCacheID, m_l1GtPfAlgoToken, m_l1GtPfTech, m_l1GtPfTechCacheID, m_l1GtPfTechToken, m_l1GtStablePar, m_l1GtStableParCacheID, m_l1GtStableParToken, m_l1GtTmAlgo, m_l1GtTmAlgoCacheID, m_l1GtTmAlgoToken, m_l1GtTmTech, m_l1GtTmTechCacheID, m_l1GtTmTechToken, m_l1GtTmVetoAlgo, m_l1GtTmVetoAlgoCacheID, m_l1GtTmVetoAlgoToken, m_l1GtTmVetoTech, m_l1GtTmVetoTechCacheID, m_l1GtTmVetoTechToken, m_muGmtInputTag, m_nrL1CenJet, m_nrL1ForJet, m_nrL1IsoEG, m_nrL1JetCounts, m_nrL1Mu, m_nrL1NoIsoEG, m_nrL1TauJet, m_numberDaqPartitions, m_numberPhysTriggers, m_numberTechnicalTriggers, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_produceL1GtDaqRecord, m_produceL1GtEvmRecord, m_produceL1GtObjectMapRecord, m_psBstLengthBytes, m_readTechnicalTriggerRecords, m_recordLength, m_technicalTriggersInputTags, m_technicalTriggersUnmasked, m_technicalTriggersUnprescaled, m_technicalTriggersVetoUnmasked, m_totalBxInEvent, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, m_triggerMaskVetoAlgoTrig, m_triggerMaskVetoTechTrig, m_verbosity, m_writePsbL1GtDaqRecord, eostools::move(), NoIsoEGQ, edm::ESHandle< T >::product(), PSB, L1GlobalTriggerPSB::receiveGctObjectData(), L1GlobalTriggerGTL::receiveGmtObjectData(), L1GlobalTriggerPSB::receiveTechnicalTriggers(), L1GlobalTriggerGTL::reset(), L1GlobalTriggerFDL::reset(), L1GlobalTriggerPSB::reset(), L1GlobalTriggerFDL::run(), L1GlobalTriggerGTL::run(), L1GtfeWord::setActiveBoards(), L1GtfeWord::setAltNrBxBoard(), L1GtfeWord::setBoardId(), L1TcsWord::setBoardId(), L1GtfeExtWord::setBstSource(), L1TcsWord::setBxNr(), L1GtfeWord::setBxNr(), L1TcsWord::setEventNr(), L1GtfeExtWord::setGpsTime(), L1TcsWord::setLuminositySegmentNr(), L1TcsWord::setOrbitNr(), L1GtfeWord::setRecordLength(), L1GtfeWord::setRecordLength1(), L1GtfeWord::setTotalTriggerNr(), L1TcsWord::setTriggerType(), TauJetQ, TCS, TechTr, and TIM.
|
private |
active boards in L1 GT DAQ record and in L1 GT EVM record
Definition at line 137 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 138 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
if true, unmasked - all enabled (all trigger masks set to 0) will overwrite the event setup
Definition at line 237 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
run algorithm triggers if true, unprescaled (all prescale factors 1) will overwrite the event setup
Definition at line 233 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
alternative for number of BX per active board in GT DAQ record: 0 or 1 the position is identical with the active board bit
Definition at line 221 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
alternative for number of BX per active board in GT EVM record: 0 or 1 the position is identical with the active board bit
Definition at line 225 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
length of BST record (in bytes) from event setup
Definition at line 141 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
input tag for calorimeter collections from GCT
Definition at line 184 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
input tag for CASTOR record
Definition at line 187 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger().
|
private |
number of "bunch crossing in the event" (BxInEvent) to be emulated symmetric around L1Accept (BxInEvent = 0): 1 (BxInEvent = 0); 3 (F 0 1) (standard record); 5 (E F 0 1 2) (debug record) even numbers (except 0) "rounded" to the nearest lower odd number
Definition at line 212 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 178 of file L1GlobalTrigger.h.
Referenced by gtFDL(), L1GlobalTrigger(), produce(), and ~L1GlobalTrigger().
|
private |
Definition at line 177 of file L1GlobalTrigger.h.
Referenced by gtGTL(), L1GlobalTrigger(), produce(), and ~L1GlobalTrigger().
|
private |
Definition at line 176 of file L1GlobalTrigger.h.
Referenced by gtPSB(), L1GlobalTrigger(), produce(), and ~L1GlobalTrigger().
|
private |
Definition at line 127 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 126 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 254 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
board maps - cache only the record
Definition at line 144 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 145 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 259 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
|
private |
Definition at line 131 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 258 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
|
private |
Definition at line 149 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 260 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 151 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 152 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 261 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
cached stuff
stable parameters
Definition at line 98 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 99 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
|
private |
trigger masks & veto masks
Definition at line 158 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 159 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 262 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 161 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 162 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 263 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 164 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 165 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 264 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 167 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 168 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 265 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
input tag for muon collection from GMT
Definition at line 181 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 118 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 119 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 116 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 122 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
number of objects of each type { Mu, NoIsoEG, IsoEG, CenJet, ForJet, TauJet, ETM, ETT, HTT, JetCounts };
Definition at line 113 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 115 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 120 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
number of DAQ partitions
Definition at line 108 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
number of physics triggers
Definition at line 102 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
number of technical triggers
Definition at line 105 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 154 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 155 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
logical flag to produce the L1 GT DAQ readout record
Definition at line 193 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
logical flag to produce the L1 GT EVM readout record
Definition at line 196 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
logical flag to produce the L1 GT object map record
Definition at line 199 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
length of BST record (in bytes) from parameter set
Definition at line 228 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
logical flag to read the technical trigger records
Definition at line 205 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
number of BXs in the event corresponding to alternative 0 and 1 in altNrBxBoard() EmulateBxInEvent >= max(RecordLength[0], RecordLength[1]) negative values: take the numbers from event setup, from L1GtParameters
Definition at line 217 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
input tag for technical triggers
Definition at line 190 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
if true, unmasked - all enabled (all trigger masks set to 0) will overwrite the event setup
Definition at line 246 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
run technical triggers if true, unprescaled (all prescale factors 1) will overwrite the event setup
Definition at line 242 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
if true, veto unmasked - all enabled (all trigger veto masks set to 0) will overwrite the event setup
Definition at line 250 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
total number of Bx's in the event coming from EventSetup
Definition at line 134 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 170 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 171 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 173 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 174 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
verbosity level
Definition at line 253 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
logical flag to write the PSB content in the L1 GT DAQ record
Definition at line 202 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().