Warning, /eic-spack/spack_repo/eic/packages/dd4hep/Geant4TVUserParticleHandler_compatibility_notice.patch is written in an unsupported language. File is not indexed.
0001 diff --git a/DDG4/python/DDSim/Helper/ParticleHandler.py b/DDG4/python/DDSim/Helper/ParticleHandler.py
0002 --- a/DDG4/python/DDSim/Helper/ParticleHandler.py
0003 +++ b/DDG4/python/DDSim/Helper/ParticleHandler.py
0004 @@ -156,6 +156,8 @@ class ParticleHandler(ConfigHelper):
0005 elif self.userParticleHandler == "Geant4TVUserParticleHandler":
0006 if not kernel.detectorDescription().trackingVolume().isValid():
0007 logger.error("Geant4TVUserParticleHandler requested but no tracking_volume defined in the XML")
0008 + logger.error("ePIC users: consider running with a more recent version of the ePIC geometry")
0009 + logger.error(" or setting --part.userParticleHandler=Geant4TCUserParticleHandler")
0010 exit(1)
0011
0012 user = DDG4.Action(kernel, "%s/UserParticleHandler" % self.userParticleHandler)