Skip to content
Snippets Groups Projects
Commit 91b746bb authored by Andre Sailer's avatar Andre Sailer
Browse files

DDSim.Gun: Improve documentation for distributions

parent eea3d3a7
No related branches found
No related tags found
No related merge requests found
...@@ -28,10 +28,12 @@ class Gun( ConfigHelper ): ...@@ -28,10 +28,12 @@ class Gun( ConfigHelper ):
def distribution( self ): def distribution( self ):
"""choose the distribution of the random direction for theta """choose the distribution of the random direction for theta
Options for isotropic distributions in: 'uniform', 'cos(theta)', 'eta' (or Options for random distributions:
'pseudorapidity'), 'ffbar' (distributed flat in 1+cos^2 theta)
'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 Setting a distribution will set isotrop = True
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment