96 std::string simInfoPathName =
"EgammaV/ConversionValidator/SimulationInfo/";
97 std::string convPathName =
"EgammaV/ConversionValidator/ConversionInfo/";
98 std::string effPathName =
"EgammaV/ConversionValidator/EfficienciesAndFakeRate/";
103 dbe_->setCurrentFolder(effPathName);
108 histname =
"convEffVsPhiTwoTracks";
111 histname =
"convEffVsRTwoTracks";
114 histname =
"convEffVsZTwoTracks";
117 histname =
"convEffVsEtTwoTracks";
120 histname =
"convEffVsEtaTwoTracksAndVtxProbGT0";
122 histname =
"convEffVsEtaTwoTracksAndVtxProbGT0005";
124 histname =
"convEffVsRTwoTracksAndVtxProbGT0";
126 histname =
"convEffVsRTwoTracksAndVtxProbGT0005";
130 histname =
"convFakeRateVsEtaTwoTracks";
132 histname =
"convFakeRateVsPhiTwoTracks";
134 histname =
"convFakeRateVsRTwoTracks";
136 histname =
"convFakeRateVsZTwoTracks";
138 histname =
"convFakeRateVsEtTwoTracks";
142 dividePlots(
dbe_->get(effPathName+
"convEffVsEtaTwoTracks"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
dbe_->get(simInfoPathName+
"h_VisSimConvEta"),
"effic");
143 dividePlots(
dbe_->get(effPathName+
"convEffVsPhiTwoTracks"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksPhi"),
dbe_->get(simInfoPathName+
"h_VisSimConvPhi"),
"effic");
144 dividePlots(
dbe_->get(effPathName+
"convEffVsRTwoTracks"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksR"),
dbe_->get(simInfoPathName+
"h_VisSimConvR"),
"effic");
145 dividePlots(
dbe_->get(effPathName+
"convEffVsZTwoTracks"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksZ"),
dbe_->get(simInfoPathName+
"h_VisSimConvZ"),
"effic");
146 dividePlots(
dbe_->get(effPathName+
"convEffVsEtTwoTracks"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksEt"),
dbe_->get(simInfoPathName+
"h_VisSimConvEt"),
"effic");
147 dividePlots(
dbe_->get(effPathName+
"convEffVsEtaTwoTracksAndVtxProbGT0"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksEtaAndVtxPGT0"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
"effic");
148 dividePlots(
dbe_->get(effPathName+
"convEffVsEtaTwoTracksAndVtxProbGT0005"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksEtaAndVtxPGT0005"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksEta"),
"effic");
149 dividePlots(
dbe_->get(effPathName+
"convEffVsRTwoTracksAndVtxProbGT0"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksRAndVtxPGT0"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksR"),
"effic");
150 dividePlots(
dbe_->get(effPathName+
"convEffVsRTwoTracksAndVtxProbGT0005"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksRAndVtxPGT0005"),
dbe_->get(simInfoPathName+
"h_SimConvTwoMTracksR"),
"effic");
154 dividePlots(
dbe_->get(effPathName+
"convFakeRateVsEtaTwoTracks"),
dbe_->get(convPathName+
"convEtaAss2"),
dbe_->get(convPathName+
"convEta2"),
"fakerate");
155 dividePlots(
dbe_->get(effPathName+
"convFakeRateVsPhiTwoTracks"),
dbe_->get(convPathName+
"convPhiAss"),
dbe_->get(convPathName+
"convPhi"),
"fakerate");
156 dividePlots(
dbe_->get(effPathName+
"convFakeRateVsRTwoTracks"),
dbe_->get(convPathName+
"convRAss"),
dbe_->get(convPathName+
"convR"),
"fakerate");
157 dividePlots(
dbe_->get(effPathName+
"convFakeRateVsZTwoTracks"),
dbe_->get(convPathName+
"convZAss"),
dbe_->get(convPathName+
"convZ"),
"fakerate");
158 dividePlots(
dbe_->get(effPathName+
"convFakeRateVsEtTwoTracks"),
dbe_->get(convPathName+
"convPtAss"),
dbe_->get(convPathName+
"convPt"),
"fakerate");
MonitorElement * convEffPhiTwoTracks_
MonitorElement * convFakeRateEtaTwoTracks_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
MonitorElement * convEffRTwoTracks_
std::string inputFileName_
void dividePlots(MonitorElement *dividend, MonitorElement *numerator, MonitorElement *denominator, std::string type)
MonitorElement * convEffZTwoTracks_
MonitorElement * convEffRTwoTracksAndVtxProbGT0_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0005_
MonitorElement * convFakeRateEtTwoTracks_
MonitorElement * convFakeRateZTwoTracks_
MonitorElement * convFakeRatePhiTwoTracks_
MonitorElement * convEffEtaTwoTracks_
std::string outputFileName_
MonitorElement * convFakeRateRTwoTracks_
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
MonitorElement * convEffEtTwoTracks_