CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
23 
24 //DQM services
27 
28 //
29 
30 #include <vector>
31 
41 // forward declarations
42 class TFile;
43 class TH1F;
44 class TH2F;
45 class TProfile;
46 class TTree;
47 
48 class PhotonPostprocessing : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
49 public:
52 
53  //
55  ~PhotonPostprocessing() override;
56 
57  void analyze(const edm::Event&, const edm::EventSetup&) override;
58  void beginJob() override;
59  void endJob() override;
60  void beginRun(const edm::Run&, const edm::EventSetup&) override {}
61  void endRun(const edm::Run&, const edm::EventSetup&) override;
62 
63 private:
64  //
65 
68  virtual void runPostprocessing();
69 
72 
74 
76  bool batch_;
78  bool fastSim_;
82 
83  std::stringstream currentFolder_;
84 
85  double etMin;
86  double etMax;
87  int etBin;
88  double etaMin;
89  double etaMax;
90  int etaBin;
91  int etaBin2;
92  double phiMin;
93  double phiMax;
94  int phiBin;
95  double rMin;
96  double rMax;
97  int rBin;
98  double zMin;
99  double zMax;
100  int zBin;
101 
105 
109 
115 
120 
126 
132 
138 
144 
148 
152 
154 };
155 
156 #endif
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
dqm::legacy::DQMStore DQMStore
MonitorElement * convEffEtTotal_
MonitorElement * convEffZOneTrack_
MonitorElement * h_simConvPhiMTotal_
MonitorElement * convEffEtOneTrack_
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
edm::ParameterSet parameters_
MonitorElement * bkgRecoEffPhi_
list numerator
Definition: cuy.py:484
MonitorElement * phoRecoEffEta_
MonitorElement * phoRecoEffPhi_
std::stringstream currentFolder_
MonitorElement * phoDeadChEta_
dqm::legacy::MonitorElement MonitorElement
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_
list denominator
Definition: cuy.py:485
MonitorElement * convFakeRateEtaTwoTracks_
void beginRun(const edm::Run &, const edm::EventSetup &) override
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_