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
32b002e6
Commit
32b002e6
authored
9 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
DDSim: Add largest acceptable step option to bField, needs DD4hep revision 2050
parent
5c82aad8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DDSim/DD4hepSimulation.py
+1
-0
1 addition, 0 deletions
DDSim/DD4hepSimulation.py
DDSim/Helper/MagneticField.py
+2
-1
2 additions, 1 deletion
DDSim/Helper/MagneticField.py
with
3 additions
and
1 deletion
DDSim/DD4hepSimulation.py
+
1
−
0
View file @
32b002e6
...
...
@@ -461,6 +461,7 @@ class DD4hepSimulation(object):
field
.
delta_chord
=
self
.
field
.
delta_chord
field
.
delta_intersection
=
self
.
field
.
delta_intersection
field
.
delta_one_step
=
self
.
field
.
delta_one_step
field
.
largest_step
=
self
.
field
.
largest_step
def
__checkFileFormat
(
self
,
fileNames
,
extensions
):
"""
check if the fileName is allowed, note that the filenames are case
...
...
This diff is collapsed.
Click to expand it.
DDSim/Helper/MagneticField.py
+
2
−
1
View file @
32b002e6
"""
Helper object for Magnetic Field properties
"""
from
SystemOfUnits
import
mm
from
SystemOfUnits
import
mm
,
m
from
DDSim.Helper.ConfigHelper
import
ConfigHelper
class
MagneticField
(
ConfigHelper
):
...
...
@@ -14,3 +14,4 @@ class MagneticField( ConfigHelper ):
self
.
delta_chord
=
0.25
*
mm
self
.
delta_intersection
=
1e-05
*
mm
self
.
delta_one_step
=
1e-04
*
mm
self
.
largest_step
=
10
*
m
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