From 4ea39b211ba287433d39be61241a9ab9e5abf265 Mon Sep 17 00:00:00 2001 From: Yuri Oksuzian Date: Fri, 31 Jul 2026 22:23:15 -0500 Subject: [PATCH] Fix LineFinder build: migrate to calo transform API from #1908 Calorimeter::geomUtil()/CaloGeomUtil were removed in #1908, but the calo-cluster matching added to LineFinder in 0d172558 (2026-07-20, after that PR branched) still called them, breaking main for every PR buildtest. Migrate the one surviving call site to the hoisted transforms, matching how #1908 migrated the identical pattern in CalPatRec (CalTimePeakFinder, CalLineTimePeakFinder). Co-Authored-By: Claude Fable 5 --- CosmicReco/src/LineFinder_module.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CosmicReco/src/LineFinder_module.cc b/CosmicReco/src/LineFinder_module.cc index b79e355493..57472fae36 100644 --- a/CosmicReco/src/LineFinder_module.cc +++ b/CosmicReco/src/LineFinder_module.cc @@ -329,7 +329,7 @@ void LineFinder::addClusterToSeed(CosmicTrackSeed& tseed) { constexpr double t0_match_window = 50.; // ns, loose time window for matching for(size_t i_cl = 0; i_cl < _cccol->size(); ++i_cl) { const CaloCluster& cl = _cccol->at(i_cl); - const CLHEP::Hep3Vector cl_pos = _calorimeter->geomUtil().mu2eToTracker(_calorimeter->geomUtil().diskToMu2e(cl.diskID(), cl.cog3Vector())); + const CLHEP::Hep3Vector cl_pos = _calorimeter->mu2eToTracker(_calorimeter->diskToMu2e(cl.diskID(), cl.cog3Vector())); const double cl_time = cl.time(); // Get the expected time at the calo disk based on the line seed const double speed = CLHEP::c_light; // assume speed of the particle is close to the speed of light