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 
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 
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 endRun(const edm::Run&, const edm::EventSetup&) override;
61 
62 private:
63  //
64 
67  virtual void runPostprocessing();
68 
71 
73 
75  bool batch_;
77  bool fastSim_;
81 
82  std::stringstream currentFolder_;
83 
84  double etMin;
85  double etMax;
86  int etBin;
87  double etaMin;
88  double etaMax;
89  int etaBin;
90  int etaBin2;
91  double phiMin;
92  double phiMax;
93  int phiBin;
94  double rMin;
95  double rMax;
96  int rBin;
97  double zMin;
98  double zMax;
99  int zBin;
100 
104 
108 
114 
119 
125 
131 
137 
143 
147 
151 
153 };
154 
155 #endif
PhotonPostprocessing::dbe_
DQMStore * dbe_
Definition: PhotonPostprocessing.h:69
MessageLogger.h
PhotonPostprocessing::zMin
double zMin
Definition: PhotonPostprocessing.h:97
PhotonPostprocessing::bkgDeadChEt_
MonitorElement * bkgDeadChEt_
Definition: PhotonPostprocessing.h:150
edm::Run
Definition: Run.h:45
PhotonPostprocessing::phiBin
int phiBin
Definition: PhotonPostprocessing.h:93
PhotonPostprocessing::h_simConvRMTotal_
MonitorElement * h_simConvRMTotal_
Definition: PhotonPostprocessing.h:128
PhotonPostprocessing::isRunCentrally_
bool isRunCentrally_
Definition: PhotonPostprocessing.h:76
PhotonPostprocessing::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: PhotonPostprocessing.h:50
PhotonPostprocessing::~PhotonPostprocessing
~PhotonPostprocessing() override
Definition: PhotonPostprocessing.cc:56
PhotonPostprocessing::dividePlots
void dividePlots(MonitorElement *dividend, MonitorElement *numerator, MonitorElement *denominator, std::string type)
Definition: PhotonPostprocessing.cc:393
PhotonPostprocessing::h_simConvEtMTotal_
MonitorElement * h_simConvEtMTotal_
Definition: PhotonPostprocessing.h:130
DQMStore.h
PhotonPostprocessing::h_simConvZMTotal_
MonitorElement * h_simConvZMTotal_
Definition: PhotonPostprocessing.h:129
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
PhotonPostprocessing::etaBin
int etaBin
Definition: PhotonPostprocessing.h:89
PhotonPostprocessing::convEffROneTrack_
MonitorElement * convEffROneTrack_
Definition: PhotonPostprocessing.h:122
PhotonPostprocessing::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: PhotonPostprocessing.cc:60
PhotonPostprocessing::convEffRTwoTracksAndVtxProbGT0005_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
Definition: PhotonPostprocessing.h:118
PhotonPostprocessing::currentFolder_
std::stringstream currentFolder_
Definition: PhotonPostprocessing.h:82
PhotonPostprocessing::convEffPhiTwoTracks_
MonitorElement * convEffPhiTwoTracks_
Definition: PhotonPostprocessing.h:110
PhotonPostprocessing::rBin
int rBin
Definition: PhotonPostprocessing.h:96
PhotonPostprocessing::phoRecoEffEta_
MonitorElement * phoRecoEffEta_
Definition: PhotonPostprocessing.h:101
PhotonPostprocessing::phoRecoEffEt_
MonitorElement * phoRecoEffEt_
Definition: PhotonPostprocessing.h:103
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
PhotonPostprocessing::standAlone_
bool standAlone_
Definition: PhotonPostprocessing.h:74
PhotonPostprocessing::convFakeRatePhiTwoTracks_
MonitorElement * convFakeRatePhiTwoTracks_
Definition: PhotonPostprocessing.h:139
PhotonPostprocessing::h_simConvPhiMTotal_
MonitorElement * h_simConvPhiMTotal_
Definition: PhotonPostprocessing.h:127
PhotonPostprocessing::h_simConvEtaMTotal_
MonitorElement * h_simConvEtaMTotal_
Definition: PhotonPostprocessing.h:126
MakerMacros.h
PhotonPostprocessing::convFakeRateEtaTwoTracks_
MonitorElement * convFakeRateEtaTwoTracks_
Definition: PhotonPostprocessing.h:138
PhotonPostprocessing::phoRecoEffPhi_
MonitorElement * phoRecoEffPhi_
Definition: PhotonPostprocessing.h:102
dqm::legacy::DQMStore
Definition: DQMStore.h:727
PhotonPostprocessing::phoDeadChEt_
MonitorElement * phoDeadChEt_
Definition: PhotonPostprocessing.h:107
PhotonPostprocessing::endJob
void endJob() override
Definition: PhotonPostprocessing.cc:62
Service.h
PhotonPostprocessing::beginJob
void beginJob() override
Definition: PhotonPostprocessing.cc:58
PhotonPostprocessing::bkgRecoEffEta_
MonitorElement * bkgRecoEffEta_
Definition: PhotonPostprocessing.h:144
PhotonPostprocessing::convEffZOneTrack_
MonitorElement * convEffZOneTrack_
Definition: PhotonPostprocessing.h:123
PhotonPostprocessing::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: PhotonPostprocessing.h:51
PhotonPostprocessing::bkgDeadChPhi_
MonitorElement * bkgDeadChPhi_
Definition: PhotonPostprocessing.h:149
PhotonPostprocessing::convEffZTwoTracks_
MonitorElement * convEffZTwoTracks_
Definition: PhotonPostprocessing.h:112
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PhotonPostprocessing::zBin
int zBin
Definition: PhotonPostprocessing.h:99
PhotonPostprocessing
Definition: PhotonPostprocessing.h:48
TFileService.h
edm::ParameterSet
Definition: ParameterSet.h:47
PhotonPostprocessing::etMax
double etMax
Definition: PhotonPostprocessing.h:85
Event.h
PhotonPostprocessing::batch_
bool batch_
Definition: PhotonPostprocessing.h:75
PhotonPostprocessing::convEffRTwoTracksAndVtxProbGT0_
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
Definition: PhotonPostprocessing.h:117
PhotonPostprocessing::zMax
double zMax
Definition: PhotonPostprocessing.h:98
PhotonPostprocessing::etaMin
double etaMin
Definition: PhotonPostprocessing.h:87
PhotonPostprocessing::parameters_
edm::ParameterSet parameters_
Definition: PhotonPostprocessing.h:72
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
PhotonPostprocessing::fastSim_
bool fastSim_
Definition: PhotonPostprocessing.h:77
PhotonPostprocessing::convEffEtTwoTracks_
MonitorElement * convEffEtTwoTracks_
Definition: PhotonPostprocessing.h:113
PhotonPostprocessing::etMin
double etMin
Definition: PhotonPostprocessing.h:84
PhotonPostprocessing::convEffPhiOneTrack_
MonitorElement * convEffPhiOneTrack_
Definition: PhotonPostprocessing.h:121
PhotonPostprocessing::convEffEtaTotal_
MonitorElement * convEffEtaTotal_
Definition: PhotonPostprocessing.h:132
PhotonPostprocessing::convFakeRateEtTwoTracks_
MonitorElement * convFakeRateEtTwoTracks_
Definition: PhotonPostprocessing.h:142
HLTTauDQMOffline_cfi.numerator
numerator
Definition: HLTTauDQMOffline_cfi.py:179
edm::EventSetup
Definition: EventSetup.h:57
PhotonPostprocessing::bkgRecoEffEt_
MonitorElement * bkgRecoEffEt_
Definition: PhotonPostprocessing.h:146
PhotonPostprocessing::outputFileName_
std::string outputFileName_
Definition: PhotonPostprocessing.h:79
PhotonPostprocessing::etaMax
double etaMax
Definition: PhotonPostprocessing.h:88
PhotonPostprocessing::convEffEtaTwoTracksAndVtxProbGT0_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
Definition: PhotonPostprocessing.h:115
PhotonPostprocessing::convEffRTwoTracks_
MonitorElement * convEffRTwoTracks_
Definition: PhotonPostprocessing.h:111
HLTTauDQMOffline_cfi.denominator
denominator
Definition: HLTTauDQMOffline_cfi.py:180
PhotonPostprocessing::inputFileName_
std::string inputFileName_
Definition: PhotonPostprocessing.h:80
PhotonPostprocessing::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: PhotonPostprocessing.cc:67
PhotonPostprocessing::convEffEtOneTrack_
MonitorElement * convEffEtOneTrack_
Definition: PhotonPostprocessing.h:124
PhotonPostprocessing::convEffZTotal_
MonitorElement * convEffZTotal_
Definition: PhotonPostprocessing.h:135
PhotonPostprocessing::phiMax
double phiMax
Definition: PhotonPostprocessing.h:92
PhotonPostprocessing::convFakeRateRTwoTracks_
MonitorElement * convFakeRateRTwoTracks_
Definition: PhotonPostprocessing.h:140
PhotonPostprocessing::convEffRTotal_
MonitorElement * convEffRTotal_
Definition: PhotonPostprocessing.h:134
PhotonPostprocessing::phoDeadChEta_
MonitorElement * phoDeadChEta_
Definition: PhotonPostprocessing.h:105
PhotonPostprocessing::convFakeRateZTwoTracks_
MonitorElement * convFakeRateZTwoTracks_
Definition: PhotonPostprocessing.h:141
PhotonPostprocessing::convEffEtaTwoTracksAndVtxProbGT0005_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
Definition: PhotonPostprocessing.h:116
PhotonPostprocessing::rMax
double rMax
Definition: PhotonPostprocessing.h:95
PhotonPostprocessing::bkgDeadChEta_
MonitorElement * bkgDeadChEta_
Definition: PhotonPostprocessing.h:148
PhotonPostprocessing::etaBin2
int etaBin2
Definition: PhotonPostprocessing.h:90
EventSetup.h
Exception.h
PhotonPostprocessing::etBin
int etBin
Definition: PhotonPostprocessing.h:86
PhotonPostprocessing::phiMin
double phiMin
Definition: PhotonPostprocessing.h:91
PhotonPostprocessing::rMin
double rMin
Definition: PhotonPostprocessing.h:94
PhotonPostprocessing::analyzerName_
std::string analyzerName_
Definition: PhotonPostprocessing.h:78
PhotonPostprocessing::PhotonPostprocessing
PhotonPostprocessing(const edm::ParameterSet &pset)
Definition: PhotonPostprocessing.cc:21
ParameterSet.h
PhotonPostprocessing::convEffPhiTotal_
MonitorElement * convEffPhiTotal_
Definition: PhotonPostprocessing.h:133
edm::Event
Definition: Event.h:73
PhotonPostprocessing::convEffEtaTwoTracks_
MonitorElement * convEffEtaTwoTracks_
Definition: PhotonPostprocessing.h:109
PhotonPostprocessing::convVsEt_
MonitorElement * convVsEt_[2]
Definition: PhotonPostprocessing.h:152
PhotonPostprocessing::convEffEtaOneTrack_
MonitorElement * convEffEtaOneTrack_
Definition: PhotonPostprocessing.h:120
PhotonPostprocessing::convEffEtTotal_
MonitorElement * convEffEtTotal_
Definition: PhotonPostprocessing.h:136
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
PhotonPostprocessing::bkgRecoEffPhi_
MonitorElement * bkgRecoEffPhi_
Definition: PhotonPostprocessing.h:145
PhotonPostprocessing::runPostprocessing
virtual void runPostprocessing()
Definition: PhotonPostprocessing.cc:72
PhotonPostprocessing::phoDeadChPhi_
MonitorElement * phoDeadChPhi_
Definition: PhotonPostprocessing.h:106
PhotonPostprocessing::verbosity_
int verbosity_
Definition: PhotonPostprocessing.h:70