1 #ifndef DQMServices_Core_DQMEDAnalyzer_h
2 #define DQMServices_Core_DQMEDAnalyzer_h
13 namespace edm::stream::impl {
41 edm::EndLuminosityBlockProducer,
52 return std::make_unique<DQMEDAnalyzerGlobalCache>();
57 runToken_ = this->
template produces<DQMToken, edm::Transition::EndRun>(
"DQMGenerationRecoRun");
58 lumiToken_ = this->
template produces<DQMToken, edm::Transition::EndLuminosityBlock>(
"DQMGenerationRecoLumi");
70 auto lock = std::scoped_lock(globalCache()->master_);
132 #endif // DQMServices_Core_DQMEDAnalyzer_h
virtual void analyze(edm::Event const &, edm::EventSetup const &)
dqm::reco::MonitorElement MonitorElement
static void globalEndLuminosityBlockProduce(edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0
void emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
void endRun(edm::Run const &run, edm::EventSetup const &setup) final
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
void beginStream(edm::StreamID id) final
static StreamID invalidStreamID()
dqm::reco::DQMStore DQMStore
void emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
void accumulate(edm::Event const &event, edm::EventSetup const &setup) final
static void globalEndRunProduce(edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
void beginRun(edm::Run const &run, edm::EventSetup const &setup) final
edm::EDPutTokenT< DQMToken > runToken_
T * makeStreamModule(edm::ParameterSet const &iPSet, DQMEDAnalyzerGlobalCache const *global)
edm::EDPutTokenT< DQMToken > runToken_
void endLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
virtual bool getCanSaveByLumi()
unsigned int value() const
unsigned long long uint64_t
static std::unique_ptr< DQMEDAnalyzerGlobalCache > initializeGlobalCache(edm::ParameterSet const &)
static void globalEndJob(DQMEDAnalyzerGlobalCache const *)
edm::EDPutTokenT< DQMToken > lumiToken_
constexpr bool isUninitialized() const noexcept
edm::EDPutTokenT< DQMToken > lumiToken_