From 9a69cae4bc534b2c2d25a107d1c2946ee52b9ad9 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Wed, 11 Aug 2021 00:46:45 -0500 Subject: [PATCH] modified: src/CylinderTrackerBarrel_geo.cpp --- src/CylinderTrackerBarrel_geo.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/CylinderTrackerBarrel_geo.cpp b/src/CylinderTrackerBarrel_geo.cpp index 6cada05c..071b7ee6 100644 --- a/src/CylinderTrackerBarrel_geo.cpp +++ b/src/CylinderTrackerBarrel_geo.cpp @@ -25,9 +25,9 @@ static Ref_t CylinderTrackerBarrel_create_detector(Detector& description, xml_h string det_name = x_det.nameStr(); DetElement sdet(det_name, det_id); - Acts::ActsExtension* barrelExtension = new Acts::ActsExtension(); - barrelExtension->addType("barrel", "detector"); - sdet.addExtension<Acts::ActsExtension>(barrelExtension); + //Acts::ActsExtension* barrelExtension = new Acts::ActsExtension(); + //barrelExtension->addType("barrel", "detector"); + //sdet.addExtension<Acts::ActsExtension>(barrelExtension); Assembly assembly(det_name); map<string, Volume> mod_volumes; @@ -120,10 +120,10 @@ static Ref_t CylinderTrackerBarrel_create_detector(Detector& description, xml_h Volume m_env = mod_volumes[m_nam]; DetElement lay_elt(sdet, _toString(x_layer.id(), "layer%d"), lay_id); - Acts::ActsExtension* layerExtension = new Acts::ActsExtension(); - layerExtension->addType("sensitive cylinder", "layer"); - //// layerExtension->addValue(10. * Acts::UnitConstants::mm, "r", "envelope"); - lay_elt.addExtension<Acts::ActsExtension>(layerExtension); + ///Acts::ActsExtension* layerExtension = new Acts::ActsExtension(); + ///layerExtension->addType("sensitive cylinder", "layer"); + /////// layerExtension->addValue(10. * Acts::UnitConstants::mm, "r", "envelope"); + ///lay_elt.addExtension<Acts::ActsExtension>(layerExtension); Placements& sensVols = sensitives[m_nam]; @@ -160,8 +160,8 @@ static Ref_t CylinderTrackerBarrel_create_detector(Detector& description, xml_h PlacedVolume sens_pv = sensVols[ic]; DetElement comp_elt(mod_elt, sens_pv.volume().name(), module); comp_elt.setPlacement(sens_pv); - Acts::ActsExtension* moduleExtension = new Acts::ActsExtension(); - comp_elt.addExtension<Acts::ActsExtension>(moduleExtension); + //Acts::ActsExtension* moduleExtension = new Acts::ActsExtension(); + //comp_elt.addExtension<Acts::ActsExtension>(moduleExtension); } /// Increase counters etc. -- GitLab