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

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
......@@ -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
......
"""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
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