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 
36 
39 
41 
42 
43 #include <TH1F.h>
44 #include <TH1D.h>
45 
46 //
47 // class declaration
48 //
49 
51  public:
52  explicit MEtoMEComparitor(const edm::ParameterSet&);
54 
55 
56  private:
57  virtual void beginJob() ;
58  virtual void analyze(const edm::Event&, const edm::EventSetup&){}
59  virtual void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
60  virtual void endRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
61  virtual void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
62  virtual void endJob() ;
63 
64  template <class W,class T> void compare(const W& where,const std::string & instance);
65  template <class T> void book(const std::string & directory,const std::string & type, const T * h);
66  template <class T> void keepBadHistograms(const std::string & directory, const T * h_new, const T * h_ref);
67 
70 
73 
77 
78  double _KSgoodness;
79  double _diffgoodness;
80  unsigned int _dirDepth;
82 
83 };
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