CMS 3D CMS Logo

DQMEDHarvester.cc
Go to the documentation of this file.
6 
7 #include <memory>
8 
10  usesResource("DQMStore");
11  lumiToken_ = produces<DQMToken,edm::Transition::EndLuminosityBlock>("endLumi");
12  runToken_ = produces<DQMToken,edm::Transition::EndRun>("endRun");
13 }
14 
18  this->dqmEndJob(b, g);
19  });
20 }
21 
23  edm::EventSetup const& iSetup) {
25  store->meBookerGetter([this, &iLumi, &iSetup](DQMStore::IBooker &b, DQMStore::IGetter &g){
26  this->dqmEndLuminosityBlock(b, g, iLumi, iSetup);
27  });
28 }
29 
31  iLumi.put(lumiToken_, std::make_unique<DQMToken>());
32 }
33 
35  run.put(runToken_, std::make_unique<DQMToken>());
36 }
edm::EDPutTokenT< DQMToken > lumiToken_
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) final
void endRunProduce(edm::Run &run, edm::EventSetup const &setup) override
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
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
Definition: Activities.doc:4
void endJob() final
void endLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) final
void put(std::unique_ptr< PROD > product)
Put a new product.
edm::EDPutTokenT< DQMToken > runToken_
double b
Definition: hdecay.h:120
void put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Run.h:108
void meBookerGetter(iFunc f)
Definition: DQMStore.h:288
virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)=0
Definition: Run.h:45
virtual void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)