diff --git a/CMakeLists.txt b/CMakeLists.txt index 695241f1e20ace81d2f0b99e10152dcfa13bf8ea..53631c5c378d41d4cf94de4c2c2849c1b3cfe882 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,8 +5,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5) set(GEANT4_SRCS_REPOSITORY https://gitlab.cern.ch/lhcb/Geant4-srcs.git CACHE STRING "Repository for Geant4 sources") find_package(GaudiProject) -gaudi_project(Geant4 v10r3p3 - DATA Geant4Files VERSION v103r1) +gaudi_project(Geant4 v104r1 + DATA Geant4Files VERSION v104r0) # FIXME: hack for compatibility with CMT build file(WRITE ${CMAKE_BINARY_DIR}/dummy.cpp "") diff --git a/LHCbG4PhysLists/src/G4EmStandardPhysics_option1NoApplyCuts.cc b/LHCbG4PhysLists/src/G4EmStandardPhysics_option1NoApplyCuts.cc index 82a8541d6ffdd4ed00d60a6935b998f81f0f3aeb..f1862ccafb88b7732c953ada31379c20fd3d1099 100644 --- a/LHCbG4PhysLists/src/G4EmStandardPhysics_option1NoApplyCuts.cc +++ b/LHCbG4PhysLists/src/G4EmStandardPhysics_option1NoApplyCuts.cc @@ -224,7 +224,7 @@ void G4EmStandardPhysics_option1NoApplyCuts::ConstructProcess() G4eMultipleScattering* msc = new G4eMultipleScattering; G4UrbanMscModel* msc1 = new G4UrbanMscModel(); G4WentzelVIModel* msc2 = new G4WentzelVIModel(); - msc1->SetNewDisplacementFlag(false); + msc1->SetLateralDisplasmentFlag(false); msc1->SetHighEnergyLimit(highEnergyLimit); msc2->SetLowEnergyLimit(highEnergyLimit); msc->AddEmModel(0, msc1); @@ -250,7 +250,7 @@ void G4EmStandardPhysics_option1NoApplyCuts::ConstructProcess() G4eMultipleScattering* msc = new G4eMultipleScattering; G4UrbanMscModel* msc1 = new G4UrbanMscModel(); G4WentzelVIModel* msc2 = new G4WentzelVIModel(); - msc1->SetNewDisplacementFlag(false); + msc1->SetLateralDisplasmentFlag(false); msc1->SetHighEnergyLimit(highEnergyLimit); msc2->SetLowEnergyLimit(highEnergyLimit); msc->AddEmModel(0, msc1);