CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ConditionDumperInEdm.h
Go to the documentation of this file.
1 #ifndef ConditionDumperInEdm_H
2 #define ConditionDumperInEdm_H
3 // -*- C++ -*-
4 //
5 // Package: ConditionDumperInEdm
6 // Class: ConditionDumperInEdm
7 //
15 //
16 // Original Author: Jean-Roch Vlimant,40 3-A28,+41227671209,
17 // Created: Thu Feb 11 19:46:28 CET 2010
18 //
19 //
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
27 
32 
34 
36 
38 
41 
44 
45 //
46 // class declaration
47 //
48 
49 class ConditionDumperInEdm : public edm::one::EDProducer<edm::RunCache<edm::ConditionsInRunBlock>,
50  edm::LuminosityBlockCache<edm::ConditionsInLumiBlock>,
51  edm::EndRunProducer,
52  edm::EndLuminosityBlockProducer> {
53 public:
54  explicit ConditionDumperInEdm(const edm::ParameterSet&);
55  ~ConditionDumperInEdm() override;
56 
57 private:
58  std::shared_ptr<edm::ConditionsInLumiBlock> globalBeginLuminosityBlock(edm::LuminosityBlock const&,
59  edm::EventSetup const&) const final;
62  std::shared_ptr<edm::ConditionsInRunBlock> globalBeginRun(edm::Run const&, const edm::EventSetup&) const final;
63  void globalEndRun(edm::Run const&, const edm::EventSetup&) final {}
64  void endRunProduce(edm::Run&, const edm::EventSetup&) final;
65  void produce(edm::Event&, const edm::EventSetup&) final;
66 
67  // ----------member data ---------------------------
68 
70 
71  edm::ConditionsInEventBlock eventBlock_;
72 
75  const edm::EDPutTokenT<edm::ConditionsInLumiBlock> lumiToken_;
76  const edm::EDPutTokenT<edm::ConditionsInRunBlock> runToken_;
77  const edm::EDPutTokenT<edm::ConditionsInEventBlock> eventToken_;
78 };
79 
80 #endif
std::shared_ptr< edm::ConditionsInLumiBlock > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const final
const edm::EDGetTokenT< L1GlobalTriggerEvmReadoutRecord > gtEvmDigisLabelToken_
const edm::InputTag gtEvmDigisLabel_
const edm::EDPutTokenT< edm::ConditionsInEventBlock > eventToken_
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) final
void endRunProduce(edm::Run &, const edm::EventSetup &) final
const edm::EDPutTokenT< edm::ConditionsInLumiBlock > lumiToken_
ConditionDumperInEdm(const edm::ParameterSet &)
void globalEndRun(edm::Run const &, const edm::EventSetup &) final
edm::ConditionsInEventBlock eventBlock_
std::shared_ptr< edm::ConditionsInRunBlock > globalBeginRun(edm::Run const &, const edm::EventSetup &) const final
void produce(edm::Event &, const edm::EventSetup &) final
void endLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) final
const edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
const edm::EDPutTokenT< edm::ConditionsInRunBlock > runToken_
Definition: Run.h:45