Definition at line 19 of file TotemRPDQMHarvester.cc.
◆ TotemRPDQMHarvester()
◆ ~TotemRPDQMHarvester()
TotemRPDQMHarvester::~TotemRPDQMHarvester |
( |
| ) |
|
|
override |
◆ dqmEndJob()
void TotemRPDQMHarvester::dqmEndJob |
( |
DQMStore::IBooker & |
, |
|
|
DQMStore::IGetter & |
|
|
) |
| |
|
inlineoverrideprotected |
◆ dqmEndLuminosityBlock()
Definition at line 180 of file TotemRPDQMHarvester.cc.
186 for (
unsigned int arm = 0; arm < 2; arm++) {
188 for (
unsigned int st = 0; st < 3; st += 2) {
190 for (
unsigned int rp = 0; rp < 6; ++rp) {
205 bool rpPlotInitialized =
false;
208 for (
unsigned int pl = 0; pl < 10; ++pl) {
References year_2016_postTS2_cff::rpId.
◆ MakeHitNumberRatios()
void TotemRPDQMHarvester::MakeHitNumberRatios |
( |
unsigned int |
id, |
|
|
DQMStore::IBooker & |
ibooker, |
|
|
DQMStore::IGetter & |
igetter |
|
) |
| |
|
private |
Definition at line 57 of file TotemRPDQMHarvester.cc.
69 const string hit_ratio_name =
"hit ratio in hot spot";
72 if (hit_ratio ==
nullptr) {
73 ibooker.setCurrentFolder(
path);
76 hit_ratio = ibooker.book1D(hit_ratio_name,
title +
";plane;N_hits(320<strip<440) / N_hits(all)", 10, -0.5, 9.5);
82 TAxis *y_axis = activity->
getTH2F()->GetYaxis();
83 for (
int bix = 1; bix <= activity->
getNbinsX(); ++bix) {
84 double S_full = 0., S_sel = 0.;
85 for (
int biy = 1; biy <= activity->
getNbinsY(); ++biy) {
87 double s = y_axis->GetBinCenter(biy);
91 if (
s > 320. &&
s < 440.)
95 double r = (S_full > 0.) ? S_sel / S_full : 0.;
References HltBtagPostValidation_cff::c, dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getNbinsX(), dqm::impl::MonitorElement::getNbinsY(), dqm::legacy::MonitorElement::getTH1F(), dqm::legacy::MonitorElement::getTH2F(), CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, alignCSCRings::r, CTPPSDetId::rpName(), alignCSCRings::s, dqm::impl::MonitorElement::setBinContent(), and overlapproblemtsosanalyzer_cfi::title.
◆ MakePlaneEfficiencyHistograms()
void TotemRPDQMHarvester::MakePlaneEfficiencyHistograms |
( |
unsigned int |
id, |
|
|
DQMStore::IBooker & |
ibooker, |
|
|
DQMStore::IGetter & |
igetter, |
|
|
bool & |
rpPlotInitialized |
|
) |
| |
|
private |
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();
127 ibooker.setCurrentFolder(
path);
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();
144 ibooker.setCurrentFolder(
path);
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 L1TObjectsTimingClient_cff::efficiency, 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(), year_2016_postTS2_cff::rpId, CTPPSDetId::rpId(), dqm::impl::MonitorElement::setBinContent(), mathSSE::sqrt(), and overlapproblemtsosanalyzer_cfi::title.