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&);
53  ~MEtoMEComparitor() override;
54 
55 
56  private:
57  void beginJob() override ;
58  void analyze(const edm::Event&, const edm::EventSetup&) override{}
59  void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup) override;
60  void endRun(const edm::Run& iRun, const edm::EventSetup& iSetup) override;
61  void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
62  void endJob() override ;
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
std::string _lumiInstance
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
static PFTauRenderPlugin instance
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
void endRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
MEtoMEComparitor(const edm::ParameterSet &)
void compare(const W &where, const std::string &instance)
void endJob() override
void beginJob() override
void book(const std::string &directory, const std::string &type, const T *h)
std::string _process_ref
std::string _process_new
~MEtoMEComparitor() override
void keepBadHistograms(const std::string &directory, const T *h_new, const T *h_ref)
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
void analyze(const edm::Event &, const edm::EventSetup &) override
unsigned int _dirDepth
std::string _runInstance
long double T
Definition: Run.h:44
std::string _moduleLabel