From 61f63b89bf5c3b2cfe98400405dfad7adf5f4336 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Thu, 3 Mar 2016 12:36:22 +0000
Subject: [PATCH] Add to documentation for particle gun options about limiting
 randomized directions

---
 DDSim/Helper/Gun.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/DDSim/Helper/Gun.py b/DDSim/Helper/Gun.py
index a4cce5d7d..2ccac701e 100644
--- a/DDSim/Helper/Gun.py
+++ b/DDSim/Helper/Gun.py
@@ -20,7 +20,11 @@ class Gun( ConfigHelper ):
 
   @property
   def isotrop( self ):
-    """ isotropic distribution for the particle gun """
+    """ isotropic distribution for the particle gun
+
+    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
   @isotrop.setter
   def isotrop( self, val ):
-- 
GitLab