test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
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&);
53 
54  private:
55  virtual void endLuminosityBlockProduce(edm::LuminosityBlock&, edm::EventSetup const&) override final;
56  virtual void endRunProduce(edm::Run& , const edm::EventSetup&) override final;
57  virtual void produce(edm::Event&, const edm::EventSetup&) override 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_
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) overridefinal
virtual void produce(edm::Event &, const edm::EventSetup &) overridefinal
tuple handle
Definition: patZpeak.py:22
edm::ConditionsInLumiBlock lumiBlock_
ConditionDumperInEdm(const edm::ParameterSet &)
virtual void endRunProduce(edm::Run &, const edm::EventSetup &) overridefinal
edm::ConditionsInEventBlock eventBlock_
edm::ConditionsInRunBlock runBlock_
T const * product() const
Definition: ESHandle.h:62
edm::InputTag gtEvmDigisLabel_
long double T
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition: Run.h:41