Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
91b746bb
Commit
91b746bb
authored
9 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
DDSim.Gun: Improve documentation for distributions
parent
eea3d3a7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDSim/Helper/Gun.py
+5
-3
5 additions, 3 deletions
DDSim/Helper/Gun.py
with
5 additions
and
3 deletions
DDSim/Helper/Gun.py
+
5
−
3
View file @
91b746bb
...
@@ -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
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment