CMS 3D CMS Logo

MEtoMEComparitor.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: MEtoMEComparitor
4 // Class: MEtoMEComparitor
5 //
13 //
14 // Original Author: jean-roch Vlimant,40 3-A28,+41227671209,
15 // Created: Tue Nov 30 18:55:50 CET 2010
16 //
17 //
18 
19 
20 // system include files
21 #include <memory>
22 
23 // user include files
26 
30 
32 
34 
37 
40 
42 
43 
44 #include <TH1F.h>
45 #include <TH1D.h>
46 
47 //
48 // class declaration
49 //
50 
52  public:
53  explicit MEtoMEComparitor(const edm::ParameterSet&);
55 
56 
57  private:
58  virtual void beginJob() ;
59  virtual void analyze(const edm::Event&, const edm::EventSetup&){}
60  virtual void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
61  virtual void endRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
62  virtual void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
63  virtual void endJob() ;
64 
65  template <class W,class T> void compare(const W& where,const std::string & instance);
66  template <class T> void book(const std::string & directory,const std::string & type, const T * h);
67  template <class T> void keepBadHistograms(const std::string & directory, const T * h_new, const T * h_ref);
68 
71 
74 
78 
79  double _KSgoodness;
80  double _diffgoodness;
81  unsigned int _dirDepth;
83 
84 };
type
Definition: HCALResponse.h:21
virtual void endJob()
std::string _lumiInstance
static PFTauRenderPlugin instance
MEtoMEComparitor(const edm::ParameterSet &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
void compare(const W &where, const std::string &instance)
void book(const std::string &directory, const std::string &type, const T *h)
std::string _process_ref
virtual void beginJob()
virtual void endRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
std::string _process_new
void keepBadHistograms(const std::string &directory, const T *h_new, const T *h_ref)
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
unsigned int _dirDepth
std::string _runInstance
long double T
Definition: Run.h:42
std::string _moduleLabel