CMS 3D CMS Logo

oneDQMEDAnalyzer.cc
Go to the documentation of this file.
2 
3 using namespace one::dqmimplementation;
4 
5 
7  lumiToken_{produces<DQMToken,edm::Transition::EndLuminosityBlock>("endLumi")}
8 {}
9 
11 {
12  dqmBeginLuminosityBlock(lumi, setup);
13 
14  /*
15  edm::Service<DQMStore>()->bookTransaction(
16  [this, &lumi, &setup](DQMStore::IBooker & booker)
17  {
18  booker.cd();
19  this->bookLumiHistograms(booker, lumi, setup);
20  },
21  lumi.run(),
22  lumi.moduleCallingContext()->moduleDescription()->id());
23  */
24 }
25 
27 { }
28 
30 { }
31 
33 {
34  edm::Service<DQMStore>()->cloneLumiHistograms(
35  lumi.run(),
36  lumi.luminosityBlock(),
37  moduleDescription().id());
38 
40 }
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
ModuleDescription const & moduleDescription() const
void emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
LuminosityBlockNumber_t luminosityBlock() const
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
RunNumber_t run() const
virtual void dqmBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
edm::EDPutTokenT< DQMToken > lumiToken_
void endLuminosityBlockProduce(edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
unsigned int id() const