diff --git a/DDG4/python/DDSim/Helper/Gun.py b/DDG4/python/DDSim/Helper/Gun.py index 249826c5303909c0ee82ecafcfaf8e0de2bd2821..c5f7765ff1d1b3b8e613606f4407b2b139c6743b 100644 --- a/DDG4/python/DDSim/Helper/Gun.py +++ b/DDG4/python/DDSim/Helper/Gun.py @@ -70,7 +70,7 @@ class Gun(ConfigHelper): use the options phiMin, phiMax, thetaMin, and thetaMax to limit the range of randomly distributed directions if one of these options is not None the random distribution will be set to True and cannot be turned off! """ - return self._isotrop + return self._isotrop or bool(self._distribution) @isotrop.setter def isotrop(self, val):