109 string histname =
"h_simConvEtaMTotal";
111 histname =
"h_simConvPhiMTotal";
113 histname =
"h_simConvRMTotal";
115 histname =
"h_simConvZMTotal";
117 histname =
"h_simConvEtMTotal";
122 histname =
"recoEffVsEta";
124 histname =
"recoEffVsPhi";
126 histname =
"recoEffVsEt";
129 histname =
"deadChVsEta";
131 histname =
"deadChVsPhi";
133 histname =
"deadChVsEt";
137 histname =
"convVsEt";
145 histname =
"convEffVsEtaTwoTracks";
148 histname =
"convEffVsPhiTwoTracks";
151 histname =
"convEffVsRTwoTracks";
154 histname =
"convEffVsZTwoTracks";
157 histname =
"convEffVsEtTwoTracks";
160 histname =
"convEffVsEtaTwoTracksAndVtxProbGT0";
162 histname =
"convEffVsEtaTwoTracksAndVtxProbGT0005";
164 histname =
"convEffVsRTwoTracksAndVtxProbGT0";
166 histname =
"convEffVsRTwoTracksAndVtxProbGT0005";
169 histname =
"convEffVsEtaOneTrack";
171 histname =
"convEffVsROneTrack";
173 histname =
"convEffVsZOneTrack";
175 histname =
"convEffVsEtOneTrack";
177 histname =
"convEffVsPhiOneTrack";
180 histname =
"convEffVsEtaTotal";
182 histname =
"convEffVsRTotal";
184 histname =
"convEffVsZTotal";
186 histname =
"convEffVsEtTotal";
188 histname =
"convEffVsPhiTotal";
191 histname =
"convFakeRateVsEtaTwoTracks";
193 histname =
"convFakeRateVsPhiTwoTracks";
195 histname =
"convFakeRateVsRTwoTracks";
197 histname =
"convFakeRateVsZTwoTracks";
199 histname =
"convFakeRateVsEtTwoTracks";
202 histname =
"bkgEffVsEta";
204 histname =
"bkgEffVsPhi";
206 histname =
"bkgEffVsEt";
209 histname =
"deadChVsEtaBkg";
211 histname =
"deadChVsPhiBkg";
213 histname =
"deadChVsEtBkg";
226 dividePlots(
dbe_->
get(effPathName+
"convVsEtBarrel"),
dbe_->
get(photonPathName+
"EtR9Less093ConvBarrel"),
dbe_->
get(photonPathName+
"EtR9Less093Barrel"),
"effic");
227 dividePlots(
dbe_->
get(effPathName+
"convVsEtEndcap"),
dbe_->
get(photonPathName+
"EtR9Less093ConvEndcap"),
dbe_->
get(photonPathName+
"EtR9Less093Endcap"),
"effic");
234 dividePlots(
dbe_->
get(effPathName+
"deadChVsEta"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoBadChEta"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoEta"),
"effic");
235 dividePlots(
dbe_->
get(effPathName+
"deadChVsPhi"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoBadChPhi"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoPhi"),
"effic");
236 dividePlots(
dbe_->
get(effPathName+
"deadChVsEt"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoBadChEt"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoEt"),
"effic");
239 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEta"),
"effic");
240 dividePlots(
dbe_->
get(effPathName+
"convEffVsPhiTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksPhi"),
dbe_->
get(simInfoPathName+
"h_VisSimConvPhi"),
"effic");
241 dividePlots(
dbe_->
get(effPathName+
"convEffVsRTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksR"),
dbe_->
get(simInfoPathName+
"h_VisSimConvR"),
"effic");
242 dividePlots(
dbe_->
get(effPathName+
"convEffVsZTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksZ"),
dbe_->
get(simInfoPathName+
"h_VisSimConvZ"),
"effic");
243 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEt"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEt"),
"effic");
244 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaTwoTracksAndVtxProbGT0"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEtaAndVtxPGT0"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
"effic");
245 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaTwoTracksAndVtxProbGT0005"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEtaAndVtxPGT0005"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
"effic");
246 dividePlots(
dbe_->
get(effPathName+
"convEffVsRTwoTracksAndVtxProbGT0"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksRAndVtxPGT0"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksR"),
"effic");
247 dividePlots(
dbe_->
get(effPathName+
"convEffVsRTwoTracksAndVtxProbGT0005"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksRAndVtxPGT0005"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksR"),
"effic");
249 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaOneTrack"),
dbe_->
get(simInfoPathName+
"h_SimConvOneMTracksEta"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEta"),
"effic");
250 dividePlots(
dbe_->
get(effPathName+
"convEffVsPhiOneTrack"),
dbe_->
get(simInfoPathName+
"h_SimConvOneMTracksPhi"),
dbe_->
get(simInfoPathName+
"h_VisSimConvPhi"),
"effic");
251 dividePlots(
dbe_->
get(effPathName+
"convEffVsROneTrack"),
dbe_->
get(simInfoPathName+
"h_SimConvOneMTracksR"),
dbe_->
get(simInfoPathName+
"h_VisSimConvR"),
"effic");
252 dividePlots(
dbe_->
get(effPathName+
"convEffVsZOneTrack"),
dbe_->
get(simInfoPathName+
"h_SimConvOneMTracksZ"),
dbe_->
get(simInfoPathName+
"h_VisSimConvZ"),
"effic");
253 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtOneTrack"),
dbe_->
get(simInfoPathName+
"h_SimConvOneMTracksEt"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEt"),
"effic");
255 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaTotal"),
dbe_->
get(simInfoPathName+
"h_simConvEtaMTotal"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEta"),
"effic");
256 dividePlots(
dbe_->
get(effPathName+
"convEffVsPhiTotal"),
dbe_->
get(simInfoPathName+
"h_simConvPhiMTotal"),
dbe_->
get(simInfoPathName+
"h_VisSimConvPhi"),
"effic");
261 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsEtaTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksEta"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksEta"),
"fakerate");
262 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsPhiTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksPhi"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksPhi"),
"fakerate");
263 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsRTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksR"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksR"),
"fakerate");
264 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsZTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksZ"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksZ"),
"fakerate");
265 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsEtTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksEt"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksEt"),
"fakerate");
272 dividePlots(
dbe_->
get(effPathName+
"deadChVsEtaBkg"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetBadChEta"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetEta"),
"effic");
273 dividePlots(
dbe_->
get(effPathName+
"deadChVsPhiBkg"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetBadChPhi"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetPhi"),
"effic");
274 dividePlots(
dbe_->
get(effPathName+
"deadChVsEtBkg"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetBadChEt"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetEt"),
"effic");
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
MonitorElement * convEffEtTotal_
MonitorElement * convEffZOneTrack_
MonitorElement * h_simConvPhiMTotal_
MonitorElement * convEffEtOneTrack_
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
MonitorElement * bkgRecoEffPhi_
MonitorElement * phoRecoEffEta_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * phoRecoEffPhi_
MonitorElement * phoDeadChEta_
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_
MonitorElement * convFakeRateEtaTwoTracks_
std::string outputFileName_
MonitorElement * convEffRTotal_
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * convEffPhiTwoTracks_
std::string inputFileName_
MonitorElement * h_simConvEtMTotal_
MonitorElement * convFakeRateEtTwoTracks_
MonitorElement * bkgDeadChPhi_
MonitorElement * convEffPhiTotal_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
MonitorElement * convFakeRatePhiTwoTracks_
MonitorElement * convEffPhiOneTrack_
TH1F * getTH1F(void) const
MonitorElement * convEffROneTrack_
MonitorElement * h_simConvRMTotal_
MonitorElement * convEffEtaTwoTracks_
MonitorElement * bkgRecoEffEta_
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
void dividePlots(MonitorElement *dividend, MonitorElement *numerator, MonitorElement *denominator, std::string type)
bool open(const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
MonitorElement * convFakeRateRTwoTracks_
std::string analyzerName_
void setCurrentFolder(const std::string &fullpath)
MonitorElement * h_simConvZMTotal_
MonitorElement * convEffZTwoTracks_
MonitorElement * convEffEtTwoTracks_