From 32adc40dee6246a803cea00afade8e07c6fd180d Mon Sep 17 00:00:00 2001 From: "rodwyer@stanford.edu" Date: Sun, 4 Aug 2024 16:54:41 -0700 Subject: [PATCH] Still trying to fix stuff --- .../org/hps/recon/tracking/NearestNeighborRMSClusterer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tracking/src/main/java/org/hps/recon/tracking/NearestNeighborRMSClusterer.java b/tracking/src/main/java/org/hps/recon/tracking/NearestNeighborRMSClusterer.java index 87a0c74ca..cfee9dd5c 100644 --- a/tracking/src/main/java/org/hps/recon/tracking/NearestNeighborRMSClusterer.java +++ b/tracking/src/main/java/org/hps/recon/tracking/NearestNeighborRMSClusterer.java @@ -157,7 +157,9 @@ public List> findClusters(List fittedHits) { IIdentifier id = rawHit.getIdentifier(); int channel_number = sid_helper.getElectrodeValue(id); - if(((HpsSiSensor) rawHit.getDetectorElement()).isBadChannel(channel_number)){continue;} + if(_doDeadFix){ + if(((HpsSiSensor) rawHit.getDetectorElement()).isBadChannel(channel_number)){continue;} + } // Check for duplicate RawTrackerHits or channel numbers if (channel_to_hit.containsKey(channel_number)) {