#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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Attributes | |
boost::uint16_t | m_activeBoardsGtDaq |
active boards in L1 GT DAQ record and in L1 GT EVM record More... | |
boost::uint16_t | m_activeBoardsGtEvm |
const bool | m_algorithmTriggersUnmasked |
const bool | m_algorithmTriggersUnprescaled |
const unsigned int | m_alternativeNrBxBoardDaq |
const unsigned int | m_alternativeNrBxBoardEvm |
unsigned int | m_bstLengthBytes |
length of BST record (in bytes) from event setup More... | |
const edm::InputTag | m_caloGctInputTag |
input tag for calorimeter collections from GCT More... | |
const edm::InputTag | m_castorInputTag |
input tag for CASTOR record More... | |
int | m_emulateBxInEvent |
L1GlobalTriggerFDL * | m_gtFDL |
L1GlobalTriggerGTL * | m_gtGTL |
L1GlobalTriggerPSB * | m_gtPSB |
int | m_ifCaloEtaNumberBits |
int | m_ifMuEtaNumberBits |
const bool | m_isDebugEnabled |
const L1GtBoardMaps * | m_l1GtBM |
board maps - cache only the record More... | |
unsigned long long | m_l1GtBMCacheID |
const L1GtParameters * | m_l1GtPar |
parameters More... | |
unsigned long long | m_l1GtParCacheID |
const L1GtPrescaleFactors * | m_l1GtPfAlgo |
prescale factors More... | |
unsigned long long | m_l1GtPfAlgoCacheID |
const L1GtPrescaleFactors * | m_l1GtPfTech |
unsigned long long | m_l1GtPfTechCacheID |
const L1GtStableParameters * | m_l1GtStablePar |
cached stuff More... | |
unsigned long long | m_l1GtStableParCacheID |
const L1GtTriggerMask * | m_l1GtTmAlgo |
trigger masks & veto masks More... | |
unsigned long long | m_l1GtTmAlgoCacheID |
const L1GtTriggerMask * | m_l1GtTmTech |
unsigned long long | m_l1GtTmTechCacheID |
const L1GtTriggerMask * | m_l1GtTmVetoAlgo |
unsigned long long | m_l1GtTmVetoAlgoCacheID |
const L1GtTriggerMask * | m_l1GtTmVetoTech |
unsigned long long | m_l1GtTmVetoTechCacheID |
const edm::InputTag | m_muGmtInputTag |
input tag for muon collection from GMT More... | |
int | m_nrL1CenJet |
int | m_nrL1ForJet |
int | m_nrL1IsoEG |
int | m_nrL1JetCounts |
int | m_nrL1Mu |
int | m_nrL1NoIsoEG |
int | m_nrL1TauJet |
unsigned int | m_numberDaqPartitions |
number of DAQ partitions More... | |
unsigned int | m_numberPhysTriggers |
number of physics triggers More... | |
unsigned int | m_numberTechnicalTriggers |
number of technical triggers More... | |
const std::vector< std::vector< int > > * | m_prescaleFactorsAlgoTrig |
const std::vector< std::vector< int > > * | m_prescaleFactorsTechTrig |
const bool | m_produceL1GtDaqRecord |
logical flag to produce the L1 GT DAQ readout record More... | |
const bool | m_produceL1GtEvmRecord |
logical flag to produce the L1 GT EVM readout record More... | |
const bool | m_produceL1GtObjectMapRecord |
logical flag to produce the L1 GT object map record More... | |
const int | m_psBstLengthBytes |
length of BST record (in bytes) from parameter set More... | |
const bool | m_readTechnicalTriggerRecords |
logical flag to read the technical trigger records More... | |
const std::vector< int > | m_recordLength |
const std::vector< edm::InputTag > | m_technicalTriggersInputTags |
input tag for technical triggers More... | |
const bool | m_technicalTriggersUnmasked |
const bool | m_technicalTriggersUnprescaled |
const bool | m_technicalTriggersVetoUnmasked |
int | m_totalBxInEvent |
total number of Bx's in the event coming from EventSetup More... | |
std::vector< unsigned int > | m_triggerMaskAlgoTrig |
std::vector< unsigned int > | m_triggerMaskTechTrig |
std::vector< unsigned int > | m_triggerMaskVetoAlgoTrig |
std::vector< unsigned int > | m_triggerMaskVetoTechTrig |
const int | m_verbosity |
verbosity level More... | |
const bool | m_writePsbL1GtDaqRecord |
logical flag to write the PSB content in the L1 GT DAQ record 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: 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 55 of file L1GlobalTrigger.h.
|
explicit |
Definition at line 89 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(), and L1GlobalTriggerGTL::setVerbosity().
|
override |
|
inline |
|
inline |
|
inline |
|
override |
length of BST message (in bytes) for L1 GT EVM record
receive technical trigger
Definition at line 300 of file L1GlobalTrigger.cc.
References BptxQ, edm::EventBase::bunchCrossing(), CastorQ, CenJetQ, TauDecayModes::dec, DEFINE_FWK_MODULE, ESumsQ, edm::EventID::event(), FDL, L1GlobalTriggerFDL::fillDaqFdlBlock(), L1GlobalTriggerFDL::fillEvmFdlBlock(), L1GlobalTriggerPSB::fillPsbBlock(), ForJetQ, edm::EventSetup::get(), edm::Event::getByLabel(), GMT, 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, edm::EventBase::id(), L1GlobalTriggerGTL::init(), L1GlobalTriggerPSB::init(), IsoEGQ, edm::HandleBase::isValid(), JetCountsQ, LogDebug, LogTrace, edm::EventBase::luminosityBlock(), 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_l1GtPar, m_l1GtParCacheID, m_l1GtPfAlgo, m_l1GtPfAlgoCacheID, m_l1GtPfTech, m_l1GtPfTechCacheID, m_l1GtStablePar, m_l1GtStableParCacheID, m_l1GtTmAlgo, m_l1GtTmAlgoCacheID, m_l1GtTmTech, m_l1GtTmTechCacheID, m_l1GtTmVetoAlgo, m_l1GtTmVetoAlgoCacheID, m_l1GtTmVetoTech, 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_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::EventBase::orbitNumber(), edm::ESHandle< T >::product(), PSB, edm::Event::put(), 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, TIM, edm::EventBase::time(), and edm::Timestamp::value().
|
private |
active boards in L1 GT DAQ record and in L1 GT EVM record
Definition at line 115 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 116 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 215 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 211 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 199 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 203 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
length of BST record (in bytes) from event setup
Definition at line 119 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
input tag for calorimeter collections from GCT
Definition at line 162 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
input tag for CASTOR record
Definition at line 165 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 190 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 156 of file L1GlobalTrigger.h.
Referenced by gtFDL(), L1GlobalTrigger(), produce(), and ~L1GlobalTrigger().
|
private |
Definition at line 155 of file L1GlobalTrigger.h.
Referenced by gtGTL(), L1GlobalTrigger(), produce(), and ~L1GlobalTrigger().
|
private |
Definition at line 154 of file L1GlobalTrigger.h.
Referenced by gtPSB(), L1GlobalTrigger(), produce(), and ~L1GlobalTrigger().
|
private |
Definition at line 105 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 104 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 232 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
board maps - cache only the record
Definition at line 122 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 123 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
|
private |
Definition at line 109 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
|
private |
Definition at line 127 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 129 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 130 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
cached stuff
stable parameters
Definition at line 76 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 77 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
trigger masks & veto masks
Definition at line 136 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 137 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 139 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 140 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 142 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 143 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 145 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 146 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
input tag for muon collection from GMT
Definition at line 159 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 96 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 97 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 94 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 100 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 91 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 93 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 98 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
number of DAQ partitions
Definition at line 86 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
number of physics triggers
Definition at line 80 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
number of technical triggers
Definition at line 83 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 132 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 133 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
logical flag to produce the L1 GT DAQ readout record
Definition at line 171 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
logical flag to produce the L1 GT EVM readout record
Definition at line 174 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
logical flag to produce the L1 GT object map record
Definition at line 177 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
length of BST record (in bytes) from parameter set
Definition at line 206 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
logical flag to read the technical trigger records
Definition at line 183 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 195 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
input tag for technical triggers
Definition at line 168 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 224 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 220 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 228 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
total number of Bx's in the event coming from EventSetup
Definition at line 112 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().
|
private |
Definition at line 148 of file L1GlobalTrigger.h.
Referenced by produce().
|
private |
Definition at line 149 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 produce().
|
private |
verbosity level
Definition at line 231 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 180 of file L1GlobalTrigger.h.
Referenced by L1GlobalTrigger(), and produce().