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  ~PhotonPostprocessing() override;
60 
61 
62  void analyze(const edm::Event&, const edm::EventSetup& ) override ;
63  void beginJob() override ;
64  void endJob() override ;
65  void endRun(const edm::Run& , const edm::EventSetup& ) override ;
66 
67 
68  private:
69  //
70 
71 
72 
74  void dividePlots(MonitorElement* dividend, MonitorElement* numerator, double denominator);
75  virtual void runPostprocessing();
76 
79 
81 
82 
84  bool batch_;
86  bool fastSim_;
90 
91  std::stringstream currentFolder_;
92 
93 
94  double etMin;
95  double etMax;
96  int etBin;
97  double etaMin;
98  double etaMax;
99  int etaBin;
100  int etaBin2;
101  double phiMin;
102  double phiMax;
103  int phiBin;
104  double rMin;
105  double rMax;
106  int rBin;
107  double zMin;
108  double zMax;
109  int zBin;
110 
111 
112 
116 
120 
121 
127 
132 
138 
144 
150 
151 
157 
161 
165 
167 
168 
169 };
170 
171 
172 
173 
174 
175 #endif
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
type
Definition: HCALResponse.h:21
MonitorElement * convEffEtTotal_
MonitorElement * convEffZOneTrack_
MonitorElement * h_simConvPhiMTotal_
MonitorElement * convEffEtOneTrack_
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
edm::ParameterSet parameters_
MonitorElement * bkgRecoEffPhi_
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_
void endRun(const edm::Run &, const edm::EventSetup &) override
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)
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * convFakeRateRTwoTracks_
MonitorElement * h_simConvZMTotal_
MonitorElement * convEffZTwoTracks_
Definition: Run.h:45
MonitorElement * convEffEtTwoTracks_