@@ -53,14 +53,10 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens) {
5353 DD4hepDetectorHelper::ensureExtension<dd4hep::rec::VariantParameters>(det);
5454 if (xml_det.hasChild (_Unicode (envelope))) {
5555 xml_comp_t x_envelope = xml_det.child (_Unicode (envelope));
56- envelope_params.set <double >(" envelope_r_min" ,
57- getAttrOrDefault (x_envelope, _U (rmin), 0 .));
58- envelope_params.set <double >(" envelope_r_max" ,
59- getAttrOrDefault (x_envelope, _U (rmax), 0 .));
60- envelope_params.set <double >(" envelope_z_min" ,
61- getAttrOrDefault (x_envelope, _U (zmin), 0 .));
62- envelope_params.set <double >(" envelope_z_max" ,
63- getAttrOrDefault (x_envelope, _U (zmax), 0 .));
56+ envelope_params.set <double >(" envelope_r_min" , getAttrOrDefault (x_envelope, _U (rmin), 0 .));
57+ envelope_params.set <double >(" envelope_r_max" , getAttrOrDefault (x_envelope, _U (rmax), 0 .));
58+ envelope_params.set <double >(" envelope_z_min" , getAttrOrDefault (x_envelope, _U (zmin), 0 .));
59+ envelope_params.set <double >(" envelope_z_max" , getAttrOrDefault (x_envelope, _U (zmax), 0 .));
6460 }
6561 // Add the volume boundary material if configured
6662 for (xml_coll_t boundary_material (xml_det, _Unicode (boundary_material)); boundary_material;
0 commit comments