1 #ifndef CORE_DQMED_HARVESTER_H 2 #define CORE_DQMED_HARVESTER_H 31 if (
m(branchDescription)) {
46 edm::EndProcessBlockProducer,
47 edm::one::WatchLuminosityBlocks,
51 edm::one::SharedResources,
68 usesResource(
"DQMStore");
75 lumiToken_ = produces<DQMToken, edm::Transition::EndLuminosityBlock>(outputgeneration +
"Lumi");
76 runToken_ = produces<DQMToken, edm::Transition::EndRun>(outputgeneration +
"Run");
77 jobToken_ = produces<DQMToken, edm::Transition::EndProcessBlock>(outputgeneration +
"Job");
82 if (inputtags.empty()) {
84 inputtags.push_back(
edm::InputTag(
"", inputgeneration +
"Job"));
85 inputtags.push_back(
edm::InputTag(
"", inputgeneration +
"Run"));
86 inputtags.push_back(
edm::InputTag(
"", inputgeneration +
"Lumi"));
114 b.setScope(MonitorElementData::Scope::JOB);
125 b.setScope(MonitorElementData::Scope::JOB);
136 b.setScope(MonitorElementData::Scope::JOB);
147 b.setScope(MonitorElementData::Scope::JOB);
169 #endif // CORE_DQMED_HARVESTER_H
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
void beginRun(edm::Run const &run, edm::EventSetup const &) override
edm::EDPutTokenT< DQMToken > lumiToken_
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) final
virtual void dqmAnalyze(DQMStore::IBooker &, DQMStore::IGetter &, edm::Event const &, edm::EventSetup const &)
edm::EDPutTokenT< DQMToken > jobToken_
virtual void dqmEndRun(DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &)
~DQMEDHarvester() override=default
edm::GetterOfProducts< DQMToken > lumimegetter_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
void endRun(edm::Run const &, edm::EventSetup const &) override
T getUntrackedParameter(std::string const &, T const &) const
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &) final
dqm::harvesting::MonitorElement MonitorElement
edm::EDPutTokenT< DQMToken > runToken_
void meBookerGetter(iFunc f)
void endRunProduce(edm::Run &run, edm::EventSetup const &es) final
DQMEDHarvester(edm::ParameterSet const &iConfig)
edm::GetterOfProducts< DQMToken > runmegetter_
inputTags
All input tags are specified in this pset for convenience.
dqm::harvesting::DQMStore DQMStore
void endLuminosityBlockProduce(edm::LuminosityBlock &lumi, edm::EventSetup const &es) final
void accumulate(edm::Event const &ev, edm::EventSetup const &es) final
edm::GetterOfProducts< DQMToken > jobmegetter_
void endProcessBlockProduce(edm::ProcessBlock &) final
virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)=0
virtual void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)