From a3a1f4e3a1800194e310cc50389a956be4b17db7 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Thu, 6 Jun 2019 16:42:35 +0200 Subject: [PATCH] Geant4ExtraParticles: remove decays for extra particles --- DDG4/plugins/Geant4ExtraParticles.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/DDG4/plugins/Geant4ExtraParticles.cpp b/DDG4/plugins/Geant4ExtraParticles.cpp index 6de492dff..f9580d15a 100644 --- a/DDG4/plugins/Geant4ExtraParticles.cpp +++ b/DDG4/plugins/Geant4ExtraParticles.cpp @@ -154,10 +154,8 @@ void Geant4ExtraParticles::constructProcess(Constructor& ctor) { if (pdef->GetPDGCharge() != 0) { pmgr->AddProcess(new G4hMultipleScattering(), -1, 1, 1); //multiple scattering pmgr->AddProcess(new G4hIonisation(), -1, 2, 2); // ionisation - pmgr->AddProcess(new G4Decay(), -1, -1, 2); // decay } else { - // pmgr->AddProcess(new G4hMultipleScattering(), -1, 1, 1); // multiple scattering - pmgr->AddProcess(new G4Decay(), -1, -1, 2); // decay + //nothing to do } } } -- GitLab