From 2f3e8f4be0402d97c0e7a2e10787d5185ec4c40a Mon Sep 17 00:00:00 2001 From: Lynn Garren Date: Fri, 16 Jan 2026 15:42:54 -0600 Subject: [PATCH 1/2] changes for geant4 v4_11_2_p02 --- larg4/Services/CMakeLists.txt | 2 +- larg4/pluginActions/ParticleListAction.cc | 2 +- ups/product_deps | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/larg4/Services/CMakeLists.txt b/larg4/Services/CMakeLists.txt index 8b63284..744566d 100644 --- a/larg4/Services/CMakeLists.txt +++ b/larg4/Services/CMakeLists.txt @@ -21,7 +21,7 @@ cet_build_plugin(LArG4Detector artg4tk::DetectorService Geant4::G4geometry Geant4::G4global Geant4::G4graphics_reps - Geant4::G4persistency + Geant4::G4gdml Geant4::G4processes Geant4::G4run Geant4::G4track diff --git a/larg4/pluginActions/ParticleListAction.cc b/larg4/pluginActions/ParticleListAction.cc index 07ac446..6abe38f 100644 --- a/larg4/pluginActions/ParticleListAction.cc +++ b/larg4/pluginActions/ParticleListAction.cc @@ -626,7 +626,7 @@ namespace larg4 { // the track passes through, but we don't want to update the // trajectory information if the step was defined by the StepLimiter. G4String process = step->GetPostStepPoint()->GetProcessDefinedStep()->GetProcessName(); - G4bool ignoreProcess = process.contains("StepLimiter"); + G4bool ignoreProcess = G4StrUtil::contains(process,"StepLimiter"); // We store the initial creation point of the particle // and its final position (ie where it has no more energy, or at least < 1 eV) no matter diff --git a/ups/product_deps b/ups/product_deps index b4d3815..0b4244c 100644 --- a/ups/product_deps +++ b/ups/product_deps @@ -248,9 +248,9 @@ gdmldir product_dir gdml # #################################### product version qual flags -artg4tk v12_00_03 - +artg4tk v13_00_00 - larevt v10_00_18 - -nug4 v1_16_11 - +nug4 v1_17_02 - nurandom v1_11_05 - cetmodules v3_24_01 - only_for_build end_product_list From 973436137abbced08dd18600b30c6a4846d50ddc Mon Sep 17 00:00:00 2001 From: Lynn Garren Date: Fri, 16 Jan 2026 15:45:58 -0600 Subject: [PATCH 2/2] clang format --- larg4/pluginActions/ParticleListAction.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larg4/pluginActions/ParticleListAction.cc b/larg4/pluginActions/ParticleListAction.cc index 6abe38f..48bb040 100644 --- a/larg4/pluginActions/ParticleListAction.cc +++ b/larg4/pluginActions/ParticleListAction.cc @@ -626,7 +626,7 @@ namespace larg4 { // the track passes through, but we don't want to update the // trajectory information if the step was defined by the StepLimiter. G4String process = step->GetPostStepPoint()->GetProcessDefinedStep()->GetProcessName(); - G4bool ignoreProcess = G4StrUtil::contains(process,"StepLimiter"); + G4bool ignoreProcess = G4StrUtil::contains(process, "StepLimiter"); // We store the initial creation point of the particle // and its final position (ie where it has no more energy, or at least < 1 eV) no matter