diff --git a/NPSimulation/Process/PhysicsList.cc b/NPSimulation/Process/PhysicsList.cc index cd31f68fc05934cba0435b23d3082b26e84c0f6e..fd89a2f8766854acb7bdeb0a57a17ad9014feb02 100644 --- a/NPSimulation/Process/PhysicsList.cc +++ b/NPSimulation/Process/PhysicsList.cc @@ -426,8 +426,14 @@ void PhysicsList::ConstructProcess(){ em_parameters->SetFluo(true); em_parameters->SetAuger(true); + +#if NPS_GEANT4_VERSION_MAJOR > 10 +#if NPS_GEANT4_VERSION_MINOR > 2 em_parameters->SetDeexActiveRegion ("DefaultRegionForTheWorld", true, true,true); em_parameters->SetDeexcitationIgnoreCut(true); +#endif +#endif + AddParametrisation(); AddLevelData(); return;