Commit 783d31a5 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

AnalysisTelescope: fix issue introduced when refactoring

parent 7417f58d
Pipeline #3288363 passed with stages
in 25 minutes and 10 seconds
......@@ -188,8 +188,8 @@ StatusCode AnalysisTelescope::run(const std::shared_ptr<Clipboard>& clipboard) {
telescopeMCresidualsY[name]->Fill(interceptLocal.Y() + detector->getSize().Y() / 2 - particlePosition.Y());
}
// Calculate telescope resolution at DUT
for(auto& detector : get_regular_detectors(false)) {
// Calculate telescope resolution at DUTs
for(auto& detector : get_duts()) {
// Get the MC particles from the clipboard
auto mcParticles = clipboard->getData<MCParticle>(detector->getName());
if(mcParticles.empty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment