CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
19 
24 
25 //DQM services
29 
30 //
31 
32 #include <vector>
33 
45 // forward declarations
46 class TFile;
47 class TH1F;
48 class TH2F;
49 class TProfile;
50 class TTree;
51 
52 
54 {
55 
56  public:
57 
58  //
59  explicit PhotonPostprocessing( const edm::ParameterSet& pset ) ;
60  virtual ~PhotonPostprocessing();
61 
62 
63  virtual void analyze(const edm::Event&, const edm::EventSetup& ) ;
64  virtual void beginJob() ;
65  virtual void endJob() ;
66  virtual void endLuminosityBlock( const edm::LuminosityBlock& , const edm::EventSetup& ) ;
67  virtual void endRun(const edm::Run& , const edm::EventSetup& ) ;
68 
69 
70  private:
71  //
72 
73 
74 
75  void dividePlots(MonitorElement* dividend, MonitorElement* numerator, MonitorElement* denominator,std::string type);
76  void dividePlots(MonitorElement* dividend, MonitorElement* numerator, double denominator);
77  virtual void runPostprocessing();
78 
81 
83 
84 
86  bool batch_;
87  std::string outputFileName_;
88  std::string inputFileName_;
89 
90  std::stringstream currentFolder_;
91 
92 
93  double etMin;
94  double etMax;
95  int etBin;
96  double etaMin;
97  double etaMax;
98  int etaBin;
99  int etaBin2;
100  double phiMin;
101  double phiMax;
102  int phiBin;
103  double rMin;
104  double rMax;
105  int rBin;
106  double zMin;
107  double zMax;
108  int zBin;
109 
110 
111 
115 
119 
120 
126 
131 
135 
141 
145 
149 
150 
151 
152 
153 };
154 
155 
156 
157 
158 
159 #endif
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
type
Definition: HCALResponse.h:22
MonitorElement * convEffEtOneTrack_
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
edm::ParameterSet parameters_
MonitorElement * bkgRecoEffPhi_
MonitorElement * phoRecoEffEta_
MonitorElement * phoRecoEffPhi_
std::stringstream currentFolder_
MonitorElement * phoDeadChEta_
MonitorElement * convEffEtaOneTrack_
MonitorElement * phoDeadChPhi_
MonitorElement * bkgDeadChEta_
MonitorElement * convEffRTwoTracks_
MonitorElement * bkgRecoEffEt_
MonitorElement * phoRecoEffEt_
MonitorElement * bkgDeadChEt_
MonitorElement * phoDeadChEt_
MonitorElement * convFakeRateZTwoTracks_
MonitorElement * convFakeRateEtaTwoTracks_
tuple pset
Definition: CrabTask.py:85
MonitorElement * convEffPhiTwoTracks_
PhotonPostprocessing(const edm::ParameterSet &pset)
MonitorElement * convFakeRateEtTwoTracks_
MonitorElement * bkgDeadChPhi_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
MonitorElement * convFakeRatePhiTwoTracks_
virtual void runPostprocessing()
MonitorElement * convEffROneTrack_
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 * convEffZTwoTracks_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: Run.h:31
MonitorElement * convEffEtTwoTracks_