CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: MEtoMEComparitor.h,v 1.4 2010/12/13 16:56:42 vlimant Exp $
17 //
18 //
19 
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
27 
31 
33 
35 
38 
41 
43 
44 
45 #include <TH1F.h>
46 #include <TH1D.h>
47 
48 //
49 // class declaration
50 //
51 
53  public:
54  explicit MEtoMEComparitor(const edm::ParameterSet&);
56 
57 
58  private:
59  virtual void beginJob() ;
60  virtual void analyze(const edm::Event&, const edm::EventSetup&){}
61  virtual void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
62  virtual void endRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
63  virtual void endLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&);
64  virtual void endJob() ;
65 
66  template <class W,class T> void compare(const W& where,const std::string & instance);
67  template <class T> void book(const std::string & directory,const std::string & type, const T * h);
68  template <class T> void keepBadHistograms(const std::string & directory, const T * h_new, const T * h_ref);
69 
71  std::string _moduleLabel;
72 
73  std::string _lumiInstance;
74  std::string _runInstance;
75 
76  std::string _process_ref;
77  std::string _process_new;
79 
80  double _KSgoodness;
81  double _diffgoodness;
82  unsigned int _dirDepth;
84 
85 };
type
Definition: HCALResponse.h:22
virtual void endJob()
std::string _lumiInstance
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
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
long double T
Definition: Run.h:32
std::string _moduleLabel