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

fix the name of safe value

parent 002c86e0
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@
<constant name="DC_inner_chamber_enabled" value="1"/>
<constant name="DC_outer_chamber_enabled" value="1"/>
<constant name="Safe_distance" value="0.02*mm"/>
<constant name="DC_safe_distance" value="0.02*mm"/>
</define>
......
......@@ -67,7 +67,7 @@ static dd4hep::Ref_t create_detector(dd4hep::Detector& theDetector,
int outer_chamber_enabled = theDetector.constant<int>("DC_outer_chamber_enabled");
// - safe distance
double safe_diatance = theDetector.constant<double>("Safe_distance");
double safe_diatance = theDetector.constant<double>("DC_safe_distance");
// =======================================================================
// Detector Construction
......
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