Skip to content

Commit

Permalink
DDSim: ParticleHandler: make compatible with new cppyy
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer committed Apr 15, 2024
1 parent 8acd7a5 commit e34bdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDG4/python/DDSim/Helper/ParticleHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def setupUserParticleHandler(self, part, kernel, DDG4):
except AttributeError as e:
logger.debug("Attribute tracker_region_zmin for asymmetric tracker region missing %s", e)
logger.debug(" will use symmetric region defined by tracker_region_zmax")
user.TrackingVolume_Zmin = str(-float(user.TrackingVolume_Zmax))
user.TrackingVolume_Zmin = str(-float(DDG4.tracker_region_zmax))

logger.info(" *** definition of tracker region *** ")
logger.info(" tracker_region_zmin = %s", user.TrackingVolume_Zmin)
Expand Down

0 comments on commit e34bdc5

Please sign in to comment.