96 std::string simInfoPathName =
"EgammaV/ConversionValidator/SimulationInfo/";
97 std::string convPathName =
"EgammaV/ConversionValidator/ConversionInfo/";
98 std::string effPathName =
"EgammaV/ConversionValidator/EfficienciesAndFakeRate/";
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");
MonitorElement * convEffPhiTwoTracks_
MonitorElement * convFakeRateEtaTwoTracks_
MonitorElement * convEffRTwoTracksAndVtxProbGT0005_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
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 * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * convFakeRateZTwoTracks_
MonitorElement * convFakeRatePhiTwoTracks_
MonitorElement * convEffEtaTwoTracks_
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, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
MonitorElement * convFakeRateRTwoTracks_
bool open(const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
MonitorElement * convEffEtaTwoTracksAndVtxProbGT0_
MonitorElement * convEffEtTwoTracks_
void setCurrentFolder(const std::string &fullpath)