diff --git a/Simulation/DetSimGeom/src/DDG4DetElemTool.cpp b/Simulation/DetSimGeom/src/DDG4DetElemTool.cpp index 8f898c90dce60572e7b353f33f7bc9a3d132f9cd..63f33a25b74e2c1c93f03bb4b3b80648d180fd99 100644 --- a/Simulation/DetSimGeom/src/DDG4DetElemTool.cpp +++ b/Simulation/DetSimGeom/src/DDG4DetElemTool.cpp @@ -224,7 +224,10 @@ DDG4DetElemTool::ConstructSDandField() { fieldManager->SetDetectorField(mag_field); fieldManager->CreateChordFinder(mag_field); - + fieldManager->SetDeltaIntersection(m_DeltaIntersection.value()); + fieldManager->SetDeltaOneStep(m_DeltaOneStep.value()); + fieldManager->SetMinimumEpsilonStep(m_MinimumEpsilonStep.value()); + fieldManager->SetMaximumEpsilonStep(m_MaximumEpsilonStep.value()); } diff --git a/Simulation/DetSimGeom/src/DDG4DetElemTool.h b/Simulation/DetSimGeom/src/DDG4DetElemTool.h index ccd73537aeafe265538dea447d209b53ec395c56..afa31ad756b5c5c68eb49e562f689714f98cd7e1 100644 --- a/Simulation/DetSimGeom/src/DDG4DetElemTool.h +++ b/Simulation/DetSimGeom/src/DDG4DetElemTool.h @@ -28,6 +28,11 @@ private: Gaudi::Property<double> m_x{this, "X", 30.*m}; Gaudi::Property<double> m_y{this, "Y", 30.*m}; Gaudi::Property<double> m_z{this, "Z", 30.*m}; + Gaudi::Property<double> m_DeltaIntersection{this, "DeltaIntersection", 1.0e-8*mm}; + Gaudi::Property<double> m_DeltaOneStep{this, "DeltaOneStep",1.0e-7 * mm}; + Gaudi::Property<double> m_MinimumEpsilonStep{this, "MinimumEpsilonStep",1.0e-10 * mm}; + Gaudi::Property<double> m_MaximumEpsilonStep{this, "MaximumEpsilonStep",1.0e-8 * mm}; + // DD4hep XML compact file path Gaudi::Property<std::string> m_dd4hep_xmls{this, "detxml"};