Skip to content
Snippets Groups Projects
Commit cc541d04 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

Merge branch 'fix/precision-loss' into 'master'

Fix: adjust magnet field simulation granularity to avoid momentum reconstruction bias;

See merge request !159
parents f66320df 58d32202
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
......
......@@ -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"};
......
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