From 1a9cac794dd49264483d083f1602cebc3bff1095 Mon Sep 17 00:00:00 2001 From: mwaterla <markwaterlaat@gmail.com> Date: Thu, 13 Mar 2025 14:54:33 +0100 Subject: [PATCH] fix speedup trick to account for all types of cluster sorting --- Tr/TrackMonitors/src/VPHitEfficiencyMonitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tr/TrackMonitors/src/VPHitEfficiencyMonitor.cpp b/Tr/TrackMonitors/src/VPHitEfficiencyMonitor.cpp index c21a508a5f4..009dcd23a63 100644 --- a/Tr/TrackMonitors/src/VPHitEfficiencyMonitor.cpp +++ b/Tr/TrackMonitors/src/VPHitEfficiencyMonitor.cpp @@ -202,8 +202,8 @@ public: const int unwrapped_num = vphit.get<VPHitsTag::ChannelId>().cast(); LHCb::Detector::VPChannelID vpChannel( unwrapped_num ); - if ( unsigned( vpChannel.module() ) > unsigned( my_sensor.module() ) ) startPosition = i_hit; - if ( unsigned( vpChannel.module() ) < unsigned( my_sensor.module() ) ) endPosition = i_hit; + if ( unsigned( vpChannel.station() ) > unsigned( my_sensor.station() ) ) startPosition = i_hit; + if ( unsigned( vpChannel.station() ) < unsigned( my_sensor.station() ) ) endPosition = i_hit; if ( to_unsigned( vpChannel.sensor() ) != m_sensorUnderStudy ) continue; // get vp hit position -- GitLab