/Users/proj/soft/ilcsoft/v02-03-03/PandoraPFANew/tmp diff -uNr v03-25-03.ORIG/LCContent-v03-01-06/src/LCFragmentRemoval/BeamHaloMuonRemovalAlgorithm.cc v03-25-03/LCContent-v03-01-06/src/LCFragmentRemoval/BeamHaloMuonRemovalAlgorithm.cc --- v03-25-03.ORIG/LCContent-v03-01-06/src/LCFragmentRemoval/BeamHaloMuonRemovalAlgorithm.cc 2024-12-27 17:40:08 +++ v03-25-03/LCContent-v03-01-06/src/LCFragmentRemoval/BeamHaloMuonRemovalAlgorithm.cc 2024-12-27 17:51:21 @@ -53,7 +53,11 @@ return false; float zmin(std::numeric_limits::max()), zmax(-std::numeric_limits::max()); +#if 0 float sumEnergy(0.f), sumEnergyX(0.f), sumEnergyY(0.f), sumEnergyZ(0.f); +#else + [[maybe_unused]] float sumEnergy(0.f), sumEnergyX(0.f), sumEnergyY(0.f), sumEnergyZ(0.f); +#endif float inertiaX(0.f), inertiaY(0.f), inertiaZ(0.f); const OrderedCaloHitList &orderedCaloHitList(pCluster->GetOrderedCaloHitList()); @@ -142,7 +146,11 @@ const bool isBeamHaloMuonInertia(this->IsBeamHaloMuonInertia(pCluster)); bool isBeamHaloMuon(isBeamHaloMuonInertia); +#if 0 float sumEnergy(0.f), sumEnergyX(0.f), sumEnergyY(0.f), sumEnergyZ(0.f); +#else + [[maybe_unused]] float sumEnergy(0.f), sumEnergyX(0.f), sumEnergyY(0.f), sumEnergyZ(0.f); +#endif float xmin(std::numeric_limits::max()), xmax(-std::numeric_limits::max()); float ymin(std::numeric_limits::max()), ymax(-std::numeric_limits::max()); float zmin(std::numeric_limits::max()), zmax(-std::numeric_limits::max());