CMS 3D CMS Logo

PhotonPostprocessing.h
Go to the documentation of this file.
1 #ifndef PhotonPostprocessing_H
2 #define PhotonPostprocessing_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  //
58  explicit PhotonPostprocessing( const edm::ParameterSet& pset ) ;
59  virtual ~PhotonPostprocessing();
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 
69  private:
70  //
71 
72 
73 
75  void dividePlots(MonitorElement* dividend, MonitorElement* numerator, double denominator);
76  virtual void runPostprocessing();
77 
80 
82 
83 
85  bool batch_;
87  bool fastSim_;
91 
92  std::stringstream currentFolder_;
93 
94 
95  double etMin;
96  double etMax;
97  int etBin;
98  double etaMin;
99  double etaMax;
100  int etaBin;
101  int etaBin2;
102  double phiMin;
103  double phiMax;
104  int phiBin;
105  double rMin;
106  double rMax;
107  int rBin;
108  double zMin;
109  double zMax;
110  int zBin;
111 
112 
113 
117 
121 
122 
128 
133 
139 
145 
151 
152 
158 
162 
166 
168 
169 
170 };
171 
172 
173 
174 
175 
176 #endif
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
type
Definition: HCALResponse.h:21
MonitorElement * convEffEtTotal_
MonitorElement * convEffZOneTrack_
MonitorElement * h_simConvPhiMTotal_
MonitorElement * convEffEtOneTrack_
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
edm::ParameterSet parameters_
MonitorElement * bkgRecoEffPhi_
numerator
Definition: cuy.py:483
MonitorElement * phoRecoEffEta_
MonitorElement * phoRecoEffPhi_
std::stringstream currentFolder_
MonitorElement * phoDeadChEta_
MonitorElement * convEffEtaOneTrack_
MonitorElement * phoDeadChPhi_
MonitorElement * h_simConvEtaMTotal_
MonitorElement * bkgDeadChEta_
MonitorElement * convEffRTwoTracks_
MonitorElement * bkgRecoEffEt_
MonitorElement * convEffEtaTotal_
MonitorElement * phoRecoEffEt_
MonitorElement * convVsEt_[2]
MonitorElement * bkgDeadChEt_
MonitorElement * phoDeadChEt_
MonitorElement * convFakeRateZTwoTracks_
MonitorElement * convEffZTotal_
MonitorElement * convFakeRateEtaTwoTracks_
MonitorElement * convEffRTotal_
MonitorElement * convEffPhiTwoTracks_
PhotonPostprocessing(const edm::ParameterSet &pset)
MonitorElement * h_simConvEtMTotal_
MonitorElement * convFakeRateEtTwoTracks_
MonitorElement * bkgDeadChPhi_
MonitorElement * convEffPhiTotal_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
MonitorElement * convFakeRatePhiTwoTracks_
denominator
Definition: cuy.py:484
virtual void runPostprocessing()
MonitorElement * convEffPhiOneTrack_
MonitorElement * convEffROneTrack_
MonitorElement * h_simConvRMTotal_
MonitorElement * convEffEtaTwoTracks_
MonitorElement * bkgRecoEffEta_
void dividePlots(MonitorElement *dividend, MonitorElement *numerator, MonitorElement *denominator, std::string type)
virtual void endRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * convFakeRateRTwoTracks_
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
MonitorElement * h_simConvZMTotal_
MonitorElement * convEffZTwoTracks_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: Run.h:42
MonitorElement * convEffEtTwoTracks_