Skip to content
Snippets Groups Projects

fix speedup trick to account for all types of cluster sorting

Open Mark Waterlaat requested to merge mwaterla_fix_cluster_sorting_trick into master
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading