diff --git a/source/Refitting/src/SiliconTracking_MarlinTrk.cc b/source/Refitting/src/SiliconTracking_MarlinTrk.cc index 9856805..ba5379d 100644 --- a/source/Refitting/src/SiliconTracking_MarlinTrk.cc +++ b/source/Refitting/src/SiliconTracking_MarlinTrk.cc @@ -3154,30 +3154,31 @@ void SiliconTracking_MarlinTrk::setupGeom(const dd4hep::Detector& theDetector) { theDetector.field().magneticField({0, 0, 0}, bFieldVec); // get the magnetic field vector from DD4hep _bField = bFieldVec[2] / dd4hep::tesla; // z component at (0,0,0) - //-- VertexBarrel Parameters-- + //-- VXD Parameters-- _nLayersVTX = 0; try { - streamlog_out(DEBUG9) << " filling VertexBarrel parameters " << std::endl; + streamlog_out(DEBUG9) << " filling VXD parameters " << std::endl; - dd4hep::DetElement vtxDE = theDetector.detector("VertexBarrel"); + dd4hep::DetElement vtxDE = theDetector.detector("VXD"); dd4hep::rec::ZPlanarData* vtx = vtxDE.extension(); _nLayersVTX = vtx->layers.size(); } catch (std::runtime_error& e) { - streamlog_out(DEBUG9) << " ### VertexBarrel detector Not Present in Compact File" << std::endl; + streamlog_out(DEBUG9) << " ### VXD detector Not Present in Compact File" << std::endl; } - //-- InnerTrackerBarrel Parameters-- + //-- SIT Parameters-- _nLayersSIT = 0; try { - streamlog_out(DEBUG9) << " filling InnerTrackerBarrel parameters " << std::endl; - dd4hep::DetElement sitDE = theDetector.detector("InnerTrackerBarrel"); + streamlog_out(DEBUG9) << " filling SIT parameters " << std::endl; + + dd4hep::DetElement sitDE = theDetector.detector("SIT"); dd4hep::rec::ZPlanarData* sit = sitDE.extension(); _nLayersSIT = sit->layers.size(); } catch (std::runtime_error& e) { - streamlog_out(DEBUG9) << " ### InnerTrackerBarrel detector Not Present in Compact File " << std::endl; + streamlog_out(DEBUG9) << " ### SIT detector Not Present in Compact File " << std::endl; } //-- FTD Parameters--