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_;
88  bool fastSim_;
89  std::string outputFileName_;
90  std::string inputFileName_;
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 
137 
143 
147 
151 
153 
154 
155 };
156 
157 
158 
159 
160 
161 #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 * convVsEt_[2]
MonitorElement * bkgDeadChEt_
MonitorElement * phoDeadChEt_
MonitorElement * convFakeRateZTwoTracks_
MonitorElement * convFakeRateEtaTwoTracks_
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:33
MonitorElement * convEffEtTwoTracks_