Go to the source code of this file.
|
| StatusCode HGTD_GMX_DetectorTool::registerCallback | ATLAS_NOT_THREAD_SAFE () |
| | Install fatal handler with default options.
|
◆ ATLAS_NOT_THREAD_SAFE()
| StatusCode HGTD_GMX_DetectorTool::registerCallback ATLAS_NOT_THREAD_SAFE |
( |
void | | ) |
|
|
inline |
Install fatal handler with default options.
This is meant to be easy to call from python via ctypes.
Definition at line 109 of file HGTD_GMX_DetectorTool.cxx.
110{
111
112 if (m_alignable) {
114 ATH_MSG_DEBUG(
"Registering callback on AlignableTransformContainer with folder " << m_alignmentFolderName);
116 StatusCode
sc =
detStore()->regFcn(&IGeoModelTool::align,
dynamic_cast<IGeoModelTool *
>(
this), atc, m_alignmentFolderName);
117 if (
sc.isFailure()) {
118 ATH_MSG_ERROR(
"Could not register callback on AlignableTransformContainer with folder "
119 << m_alignmentFolderName);
120 return StatusCode::FAILURE;
121 }
122 } else {
123 ATH_MSG_WARNING(
"Unable to register callback on AlignableTransformContainer with folder "
124 << m_alignmentFolderName << ", Alignment disabled!");
125 }
126 } else {
127 ATH_MSG_INFO(
"Alignment disabled. No callback registered");
128
129 }
130 return StatusCode::SUCCESS;
131}
#define ATH_MSG_WARNING(x)
an iterator over instances of a given type in StoreGateSvc.
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring