108 string histname =
"recoEffVsEta";
110 histname =
"recoEffVsPhi";
112 histname =
"recoEffVsEt";
115 histname =
"deadChVsEta";
117 histname =
"deadChVsPhi";
119 histname =
"deadChVsEt";
123 histname =
"convVsEt";
131 histname =
"convEffVsEtaTwoTracks";
134 histname =
"convEffVsPhiTwoTracks";
137 histname =
"convEffVsRTwoTracks";
140 histname =
"convEffVsZTwoTracks";
143 histname =
"convEffVsEtTwoTracks";
146 histname =
"convEffVsEtaTwoTracksAndVtxProbGT0";
148 histname =
"convEffVsEtaTwoTracksAndVtxProbGT0005";
150 histname =
"convEffVsRTwoTracksAndVtxProbGT0";
152 histname =
"convEffVsRTwoTracksAndVtxProbGT0005";
155 histname =
"convEffVsEtaOneTrack";
157 histname =
"convEffVsROneTrack";
159 histname =
"convEffVsEtOneTrack";
162 histname =
"convFakeRateVsEtaTwoTracks";
164 histname =
"convFakeRateVsPhiTwoTracks";
166 histname =
"convFakeRateVsRTwoTracks";
168 histname =
"convFakeRateVsZTwoTracks";
170 histname =
"convFakeRateVsEtTwoTracks";
173 histname =
"bkgEffVsEta";
175 histname =
"bkgEffVsPhi";
177 histname =
"bkgEffVsEt";
180 histname =
"deadChVsEtaBkg";
182 histname =
"deadChVsPhiBkg";
184 histname =
"deadChVsEtBkg";
191 dividePlots(
dbe_->
get(effPathName+
"convVsEtBarrel"),
dbe_->
get(photonPathName+
"EtR9Less093ConvBarrel"),
dbe_->
get(photonPathName+
"EtR9Less093Barrel"),
"effic");
192 dividePlots(
dbe_->
get(effPathName+
"convVsEtEndcap"),
dbe_->
get(photonPathName+
"EtR9Less093ConvEndcap"),
dbe_->
get(photonPathName+
"EtR9Less093Endcap"),
"effic");
199 dividePlots(
dbe_->
get(effPathName+
"deadChVsEta"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoBadChEta"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoEta"),
"effic");
200 dividePlots(
dbe_->
get(effPathName+
"deadChVsPhi"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoBadChPhi"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoPhi"),
"effic");
201 dividePlots(
dbe_->
get(effPathName+
"deadChVsEt"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoBadChEt"),
dbe_->
get(simInfoPathName+
"h_MatchedSimPhoEt"),
"effic");
204 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEta"),
"effic");
205 dividePlots(
dbe_->
get(effPathName+
"convEffVsPhiTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksPhi"),
dbe_->
get(simInfoPathName+
"h_VisSimConvPhi"),
"effic");
206 dividePlots(
dbe_->
get(effPathName+
"convEffVsRTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksR"),
dbe_->
get(simInfoPathName+
"h_VisSimConvR"),
"effic");
207 dividePlots(
dbe_->
get(effPathName+
"convEffVsZTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksZ"),
dbe_->
get(simInfoPathName+
"h_VisSimConvZ"),
"effic");
208 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtTwoTracks"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEt"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEt"),
"effic");
209 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaTwoTracksAndVtxProbGT0"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEtaAndVtxPGT0"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
"effic");
210 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaTwoTracksAndVtxProbGT0005"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEtaAndVtxPGT0005"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
"effic");
211 dividePlots(
dbe_->
get(effPathName+
"convEffVsRTwoTracksAndVtxProbGT0"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksRAndVtxPGT0"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksR"),
"effic");
212 dividePlots(
dbe_->
get(effPathName+
"convEffVsRTwoTracksAndVtxProbGT0005"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksRAndVtxPGT0005"),
dbe_->
get(simInfoPathName+
"h_SimConvTwoMTracksR"),
"effic");
214 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtaOneTrack"),
dbe_->
get(simInfoPathName+
"h_SimConvOneMTracksEta"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEta"),
"effic");
215 dividePlots(
dbe_->
get(effPathName+
"convEffVsROneTrack"),
dbe_->
get(simInfoPathName+
"h_SimConvOneMTracksR"),
dbe_->
get(simInfoPathName+
"h_VisSimConvR"),
"effic");
216 dividePlots(
dbe_->
get(effPathName+
"convEffVsEtOneTrack"),
dbe_->
get(simInfoPathName+
"h_SimConvOneMTracksEt"),
dbe_->
get(simInfoPathName+
"h_VisSimConvEt"),
"effic");
218 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsEtaTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksEta"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksEta"),
"fakerate");
219 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsPhiTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksPhi"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksPhi"),
"fakerate");
220 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsRTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksR"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksR"),
"fakerate");
221 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsZTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksZ"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksZ"),
"fakerate");
222 dividePlots(
dbe_->
get(effPathName+
"convFakeRateVsEtTwoTracks"),
dbe_->
get(convPathName+
"h_RecoConvTwoMTracksEt"),
dbe_->
get(convPathName+
"h_RecoConvTwoTracksEt"),
"fakerate");
229 dividePlots(
dbe_->
get(effPathName+
"deadChVsEtaBkg"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetBadChEta"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetEta"),
"effic");
230 dividePlots(
dbe_->
get(effPathName+
"deadChVsPhiBkg"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetBadChPhi"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetPhi"),
"effic");
231 dividePlots(
dbe_->
get(effPathName+
"deadChVsEtBkg"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetBadChEt"),
dbe_->
get(simInfoPathName+
"h_MatchedSimJetEt"),
"effic");
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
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 * bkgDeadChEta_
MonitorElement * convEffRTwoTracks_
MonitorElement * bkgRecoEffEt_
MonitorElement * phoRecoEffEt_
MonitorElement * convVsEt_[2]
MonitorElement * bkgDeadChEt_
MonitorElement * phoDeadChEt_
MonitorElement * convFakeRateZTwoTracks_
MonitorElement * convFakeRateEtaTwoTracks_
std::string outputFileName_
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
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 * convFakeRateEtTwoTracks_
MonitorElement * bkgDeadChPhi_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
MonitorElement * convFakeRatePhiTwoTracks_
MonitorElement * convEffROneTrack_
MonitorElement * convEffEtaTwoTracks_
MonitorElement * bkgRecoEffEta_
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 * convEffZTwoTracks_
MonitorElement * convEffEtTwoTracks_