From 91b746bb490594d7f0d0301597686f9cbaf9e94e Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Fri, 4 Mar 2016 17:10:10 +0000
Subject: [PATCH] DDSim.Gun: Improve documentation for distributions

---
 DDSim/Helper/Gun.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/DDSim/Helper/Gun.py b/DDSim/Helper/Gun.py
index 6c33c2ffc..4b3ab599f 100644
--- a/DDSim/Helper/Gun.py
+++ b/DDSim/Helper/Gun.py
@@ -28,10 +28,12 @@ class Gun( ConfigHelper ):
   def distribution( self ):
     """choose the distribution of the random direction for theta
 
-    Options for isotropic distributions in: 'uniform', 'cos(theta)', 'eta' (or
-    'pseudorapidity'), 'ffbar' (distributed flat in 1+cos^2 theta)
+    Options for random distributions:
 
-    'uniform' is the default distribution
+    'uniform' is the default distribution, flat in theta
+    'cos(theta)' is flat in cos(theta)
+    'eta', or 'pseudorapidity' is flat in pseudorapity
+    'ffbar' is distributed according to 1+cos^2(theta)
 
     Setting a distribution will set isotrop = True
     """
-- 
GitLab