14 gtEvmDigisLabelToken_{consumes<L1GlobalTriggerEvmReadoutRecord>(gtEvmDigisLabel_)},
15 runInfoToken_{esConsumes<edm::Transition::EndRun>()},
17 lumiToken_{produces<edm::ConditionsInLumiBlock, edm::Transition::EndLuminosityBlock>()},
19 runToken_{produces<edm::ConditionsInRunBlock, edm::Transition::EndRun>()},
21 eventToken_{produces<edm::ConditionsInEventBlock>()} {}
30 return std::make_shared<edm::ConditionsInLumiBlock>();
39 return std::make_shared<edm::ConditionsInRunBlock>();
44 auto& runBlock = *(runCache(
run.index()));
47 runBlock.BStartCurrent = sum.m_start_current;
48 runBlock.BStopCurrent = sum.m_stop_current;
49 runBlock.BAvgCurrent = sum.m_avg_current;
61 if (!gtReadoutRecordData.
isValid()) {
63 <<
"\nrequested in configuration, but not found in the event." 64 <<
"\nNo BST quantities retrieved." << std::endl;
74 auto& lumiBlock = *luminosityBlockCache(
iEvent.getLuminosityBlock().index());
79 auto& runBlock = *runCache(
iEvent.getRun().index());
81 runBlock.beamMode = gtfeBlockData.
beamMode();
T getParameter(std::string const &) const
const cms_uint16_t beamMode() const
std::shared_ptr< edm::ConditionsInLumiBlock > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const final
const edm::EDGetTokenT< L1GlobalTriggerEvmReadoutRecord > gtEvmDigisLabelToken_
const edm::InputTag gtEvmDigisLabel_
const L1GtfeExtWord gtfeWord() const
get / set GTFE word (record) in the GT readout record
const edm::EDPutTokenT< edm::ConditionsInEventBlock > eventToken_
~ConditionDumperInEdm() override
const cms_uint16_t bstMasterStatus() const
const cms_uint32_t turnCountNumber() const
const cms_uint32_t lhcFillNumber() const
void endRunProduce(edm::Run &, const edm::EventSetup &) final
const edm::EDPutTokenT< edm::ConditionsInLumiBlock > lumiToken_
ConditionDumperInEdm(const edm::ParameterSet &)
edm::ConditionsInEventBlock eventBlock_
std::shared_ptr< edm::ConditionsInRunBlock > globalBeginRun(edm::Run const &, const edm::EventSetup &) const final
const cms_uint16_t beamMomentum() const
void produce(edm::Event &, const edm::EventSetup &) final
const cms_uint32_t totalIntensityBeam2() const
void endLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) final
const edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
const cms_uint32_t totalIntensityBeam1() const
const edm::EDPutTokenT< edm::ConditionsInRunBlock > runToken_