17 gtEvmDigisLabelToken_{consumes<L1GlobalTriggerEvmReadoutRecord>(gtEvmDigisLabel_)},
19 lumiToken_{produces<edm::ConditionsInLumiBlock, edm::Transition::EndLuminosityBlock>()},
21 runToken_{produces<edm::ConditionsInRunBlock, edm::Transition::EndRun>()},
23 eventToken_{produces<edm::ConditionsInEventBlock>()} {}
32 return std::make_shared<edm::ConditionsInLumiBlock>();
41 return std::make_shared<edm::ConditionsInRunBlock>();
46 auto& runBlock = *(runCache(
run.index()));
64 if (!gtReadoutRecordData.
isValid()) {
66 <<
"\nrequested in configuration, but not found in the event."
67 <<
"\nNo BST quantities retrieved." << std::endl;
77 auto& lumiBlock = *luminosityBlockCache(
iEvent.getLuminosityBlock().index());
82 auto& runBlock = *runCache(
iEvent.getRun().index());
84 runBlock.beamMode = gtfeBlockData.
beamMode();