CMS 3D CMS Logo

ConversionPostprocessing.h
Go to the documentation of this file.
1 #ifndef ConversionPostprocessing_H
2 #define ConversionPostprocessing_H
3 
6 //
10 
11 #include "TFile.h"
12 #include "TH1.h"
13 #include "TH2.h"
14 #include "TTree.h"
15 #include "TVector3.h"
16 #include "TProfile.h"
17 //
18 
19 
24 
25 //DQM services
29 
30 //
31 
32 #include <vector>
33 
44 // forward declarations
45 class TFile;
46 class TH1F;
47 class TH2F;
48 class TProfile;
49 class TTree;
50 
51 
53 {
54 
55  public:
56 
57  //
59  virtual ~ConversionPostprocessing();
60 
61 
62  virtual void analyze(const edm::Event&, const edm::EventSetup& ) ;
63  virtual void beginJob() ;
64  virtual void endJob() ;
65  virtual void endLuminosityBlock( const edm::LuminosityBlock& , const edm::EventSetup& ) ;
66  virtual void endRun(const edm::Run& , const edm::EventSetup& ) ;
67 
68  private:
69  //
70 
71 
72 
74  void dividePlots(MonitorElement* dividend, MonitorElement* numerator, double denominator);
75  virtual void runPostprocessing();
76 
79 
81 
83  bool batch_;
86 
87  std::stringstream currentFolder_;
88 
89 
90  double etMin;
91  double etMax;
92  int etBin;
93  double etaMin;
94  double etaMax;
95  int etaBin;
96  int etaBin2;
97  double phiMin;
98  double phiMax;
99  int phiBin;
100  double rMin;
101  double rMax;
102  int rBin;
103  double zMin;
104  double zMax;
105  int zBin;
106 
107 
108 
114 
119 
120 
126 
127 
128 };
129 
130 
131 
132 
133 
134 #endif
type
Definition: HCALResponse.h:21
MonitorElement * convFakeRateEtaTwoTracks_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
numerator
Definition: cuy.py:483
void dividePlots(MonitorElement *dividend, MonitorElement *numerator, MonitorElement *denominator, std::string type)
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
virtual void endRun(const edm::Run &, const edm::EventSetup &)
ConversionPostprocessing(const edm::ParameterSet &pset)
denominator
Definition: cuy.py:484
MonitorElement * convFakeRatePhiTwoTracks_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
Definition: Run.h:42