Definition at line 102 of file TotemRPDQMHarvester.cc.
116 if (!efficiency_num || !efficiency_den)
120 const string efficiency_name =
"efficiency";
126 TAxis *axis = efficiency_den->
getTH1()->GetXaxis();
129 efficiency_name,
title +
";track position (mm)", axis->GetNbins(), axis->GetXmin(), axis->GetXmax());
137 const string rp_efficiency_name =
"plane efficiency";
140 if (rp_efficiency ==
nullptr) {
143 TAxis *axis = efficiency_den->
getTH1()->GetXaxis();
145 rp_efficiency = ibooker.
book2D(rp_efficiency_name,
146 title +
";plane;track position (mm)",
153 rpPlotInitialized =
true;
155 if (!rpPlotInitialized)
156 rp_efficiency->
getTH2F()->Reset();
157 rpPlotInitialized =
true;
161 for (
signed int bi = 1; bi <=
efficiency->getNbinsX(); bi++) {
166 double p =
num / den;
167 double p_unc =
sqrt(
p * (1. -
p) / den);
171 int pl_bi = detId.plane() + 1;
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), L1TObjectsTimingClient_cff::efficiency, dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getBinContent(), dqm::legacy::MonitorElement::getTH1(), dqm::legacy::MonitorElement::getTH2F(), CTPPSDetId::nFull, CTPPSDetId::nPath, EgammaValidation_cff::num, AlCaHLTBitMon_ParallelJobs::p, castor_dqm_sourceclient_file_cfg::path, TotemRPDetId::plane(), TotemRPDetId::planeName(), profile_2016_postTS2_cff::rpId, CTPPSDetId::rpId(), dqm::impl::MonitorElement::setBinContent(), dqm::implementation::NavigatorBase::setCurrentFolder(), mathSSE::sqrt(), and runGCPTkAlMap::title.