Skip to content
Snippets Groups Projects
Commit 9ec449f4 authored by Finn King's avatar Finn King
Browse files

AnalysisEfficiency: Fixed filling of fake hits vs. time.

parent 6580cf02
No related branches found
No related tags found
No related merge requests found
...@@ -620,8 +620,8 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard) ...@@ -620,8 +620,8 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard)
} }
hFakePixelPerEvent->Fill(fake_hits); hFakePixelPerEvent->Fill(fake_hits);
fakePixelPerEventVsTime->Fill(fake_hits, static_cast<double>(Units::convert(event->start(), "s"))); fakePixelPerEventVsTime->Fill(static_cast<double>(Units::convert(event->start(), "s")), fake_hits);
fakePixelPerEventVsTimeLong->Fill(fake_hits, static_cast<double>(Units::convert(event->start(), "s"))); fakePixelPerEventVsTimeLong->Fill(static_cast<double>(Units::convert(event->start(), "s")), fake_hits);
hFakeClusterPerEvent->Fill(fake_clusters); hFakeClusterPerEvent->Fill(fake_clusters);
} else if(m_fake_rate_sensoredge > 0) { } else if(m_fake_rate_sensoredge > 0) {
...@@ -654,8 +654,8 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard) ...@@ -654,8 +654,8 @@ StatusCode AnalysisEfficiency::run(const std::shared_ptr<Clipboard>& clipboard)
fakePixelPerEventMap->Fill(pixel->column(), pixel->row(), 1); fakePixelPerEventMap->Fill(pixel->column(), pixel->row(), 1);
} }
hFakePixelPerEvent->Fill(fake_hits); hFakePixelPerEvent->Fill(fake_hits);
fakePixelPerEventVsTime->Fill(fake_hits, static_cast<double>(Units::convert(event->start(), "s"))); fakePixelPerEventVsTime->Fill(static_cast<double>(Units::convert(event->start(), "s")), fake_hits);
fakePixelPerEventVsTimeLong->Fill(fake_hits, static_cast<double>(Units::convert(event->start(), "s"))); fakePixelPerEventVsTimeLong->Fill(static_cast<double>(Units::convert(event->start(), "s")), fake_hits);
// get and iterate dut clusters from clipboard // get and iterate dut clusters from clipboard
auto clusters = clipboard->getData<Cluster>(m_detector->getName()); auto clusters = clipboard->getData<Cluster>(m_detector->getName());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment