84 ATH_MSG_INFO(
"Trk::TrackingGeometrySvc::trackingGeometryInit");
86 SmartIF<StoreGateSvc> detStore{service(
"DetectorStore")};
93 return StatusCode::FAILURE;
96 <<
" not properly configured. No GeometryBuilder defined. Aborting.");
97 return StatusCode::FAILURE;
104 return StatusCode::SUCCESS;
110 ATH_MSG_INFO(
"trackingGeometryInit - initialize on TagInfoMgr callback");
115#ifdef TRKDETDESCR_MEMUSAGE
117 ATH_MSG_INFO(
"[ memory usage ] Start to monitor memory usage of PID: " << getpid());
119 m_memoryLogger.refresh(getpid());
122 m_changeVsize = (-1.) * m_memoryLogger.vmSize();
123 m_changeRss = (-1.) * m_memoryLogger.vmRss();
129#ifdef TRKDETDESCR_MEMUSAGE
130 ATH_MSG_INFO(
"[ memory usage ] TrackingGeometry retrieved: ");
131 m_memoryLogger.refresh(getpid());
148 delete oldTrackingGeometry;
154 for (; gpIter != gpIterE; ++gpIter) {
155 if ((*gpIter)->process(*atlasTrackingGeometry).isFailure()) {
156 ATH_MSG_FATAL(
"Processing of TrackingGeometry did not succeed. Abort.");
157 return StatusCode::FAILURE;
159 ATH_MSG_VERBOSE(
"Successfully processed the TrackingGeometry with " << (*gpIter));
160#ifdef TRKDETDESCR_MEMUSAGE
161 ATH_MSG_INFO(
"[ memory usage ] After processing with " << (*gpIter));
162 m_memoryLogger.refresh(getpid());
172 <<
"' built and written to DetectorStore.");
175 return StatusCode::SUCCESS;