CMS 3D CMS Logo

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 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
33 
35 
38 
40 
43 
44 //
45 // class declaration
46 //
47 
48 class ConditionDumperInEdm : public edm::one::EDProducer<edm::EndRunProducer,
49  edm::EndLuminosityBlockProducer> {
50  public:
51  explicit ConditionDumperInEdm(const edm::ParameterSet&);
52  ~ConditionDumperInEdm() override;
53 
54  private:
56  void endRunProduce(edm::Run& , const edm::EventSetup&) final;
57  void produce(edm::Event&, const edm::EventSetup&) final;
58 
59  template <typename R, typename T>
60  const T * get(const edm::EventSetup & setup) {
62  setup.get<R>().get(handle);
63  return handle.product();
64  }
65 
66  // ----------member data ---------------------------
67 
69 
73 
75 
76 
77 };
78 
79 #endif
edm::EDGetTokenT< L1GlobalTriggerEvmReadoutRecord > gtEvmDigisLabelToken_
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
void endRunProduce(edm::Run &, const edm::EventSetup &) final
edm::ConditionsInLumiBlock lumiBlock_
ConditionDumperInEdm(const edm::ParameterSet &)
edm::ConditionsInEventBlock eventBlock_
edm::ConditionsInRunBlock runBlock_
edm::InputTag gtEvmDigisLabel_
void produce(edm::Event &, const edm::EventSetup &) final
void endLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) final
long double T
T const * product() const
Definition: ESHandle.h:84
Definition: Run.h:44