CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConversionPostprocessing.h
Go to the documentation of this file.
1 #ifndef ConversionPostprocessing_H
2 #define ConversionPostprocessing_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 ConversionPostprocessing( const edm::ParameterSet& pset ) ;
60  virtual ~ConversionPostprocessing();
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  private:
70  //
71 
72 
73 
74  void dividePlots(MonitorElement* dividend, MonitorElement* numerator, MonitorElement* denominator,std::string type);
75  void dividePlots(MonitorElement* dividend, MonitorElement* numerator, double denominator);
76  virtual void runPostprocessing();
77 
80 
82 
84  bool batch_;
85  std::string outputFileName_;
86  std::string inputFileName_;
87 
88  std::stringstream currentFolder_;
89 
90 
91  double etMin;
92  double etMax;
93  int etBin;
94  double etaMin;
95  double etaMax;
96  int etaBin;
97  int etaBin2;
98  double phiMin;
99  double phiMax;
100  int phiBin;
101  double rMin;
102  double rMax;
103  int rBin;
104  double zMin;
105  double zMax;
106  int zBin;
107 
108 
109 
115 
120 
121 
127 
128 
129 };
130 
131 
132 
133 
134 
135 #endif
type
Definition: HCALResponse.h:22
MonitorElement * convFakeRateEtaTwoTracks_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
void dividePlots(MonitorElement *dividend, MonitorElement *numerator, MonitorElement *denominator, std::string type)
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
virtual void endRun(const edm::Run &, const edm::EventSetup &)
ConversionPostprocessing(const edm::ParameterSet &pset)
MonitorElement * convFakeRatePhiTwoTracks_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
Definition: Run.h:33