72 ATH_MSG_INFO(
"Trk::TrackingGeometrySvc::trackingGeometryInit");
74 SmartIF<StoreGateSvc> detStore{service(
"DetectorStore")};
81 return StatusCode::FAILURE;
84 <<
" not properly configured. No GeometryBuilder defined. Aborting.");
85 return StatusCode::FAILURE;
92 return StatusCode::SUCCESS;
98 ATH_MSG_INFO(
"trackingGeometryInit - initialize on TagInfoMgr callback");
103#ifdef TRKDETDESCR_MEMUSAGE
105 ATH_MSG_INFO(
"[ memory usage ] Start to monitor memory usage of PID: " << getpid());
107 m_memoryLogger.refresh(getpid());
110 m_changeVsize = (-1.) * m_memoryLogger.vmSize();
111 m_changeRss = (-1.) * m_memoryLogger.vmRss();
117#ifdef TRKDETDESCR_MEMUSAGE
118 ATH_MSG_INFO(
"[ memory usage ] TrackingGeometry retrieved: ");
119 m_memoryLogger.refresh(getpid());
136 delete oldTrackingGeometry;
142 for (; gpIter != gpIterE; ++gpIter) {
143 if ((*gpIter)->process(*atlasTrackingGeometry).isFailure()) {
144 ATH_MSG_FATAL(
"Processing of TrackingGeometry did not succeed. Abort.");
145 return StatusCode::FAILURE;
147 ATH_MSG_VERBOSE(
"Successfully processed the TrackingGeometry with " << (*gpIter));
148#ifdef TRKDETDESCR_MEMUSAGE
149 ATH_MSG_INFO(
"[ memory usage ] After processing with " << (*gpIter));
150 m_memoryLogger.refresh(getpid());
160 <<
"' built and written to DetectorStore.");
163 return StatusCode::SUCCESS;