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 // $Id: ConditionDumperInEdm.h,v 1.2 2010/03/12 12:55:31 vlimant Exp $
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
29 
34 
36 
39 
41 
43 
44 //
45 // class declaration
46 //
47 
49  public:
50  explicit ConditionDumperInEdm(const edm::ParameterSet&);
52 
53  private:
56  virtual void beginRun(edm::Run& , const edm::EventSetup&);
57  virtual void endRun(edm::Run& , const edm::EventSetup&);
58  virtual void produce(edm::Event&, const edm::EventSetup&);
59 
60  template <typename R, typename T>
61  const T * get(const edm::EventSetup & setup) {
63  setup.get<R>().get(handle);
64  return handle.product();
65  }
66 
67  // ----------member data ---------------------------
68 
70 
74 
75 };
76 
77 #endif
virtual void endRun(edm::Run &, const edm::EventSetup &)
virtual void endLuminosityBlock(edm::LuminosityBlock &, edm::EventSetup const &)
virtual void produce(edm::Event &, const edm::EventSetup &)
tuple handle
Definition: patZpeak.py:22
edm::ConditionsInLumiBlock lumiBlock_
ConditionDumperInEdm(const edm::ParameterSet &)
virtual void beginRun(edm::Run &, const edm::EventSetup &)
edm::ConditionsInEventBlock eventBlock_
edm::ConditionsInRunBlock runBlock_
T const * product() const
Definition: ESHandle.h:62
virtual void beginLuminosityBlock(edm::LuminosityBlock &, edm::EventSetup const &)
edm::InputTag gtEvmDigisLabel_
long double T
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition: Run.h:32