Install fatal handler with default options.
This is meant to be easy to call from python via ctypes.
Install fatal handler with default options.
getLorentzAngle() Read LorentzAngle from HIST and write out into local DB
getBSErrors() Read BSErrors from Monitoring HIST and write out into local DB
getEfficiency() Read Efficiency from Monitoring HIST and write out into local DB
getRawOccupancy() Read RawOccupancy from Monitoring HIST and write out into local DB
getNoiseOccupancy() Read NoiseOccupancy from HIST and write out into local DB
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition at line 164 of file TRT_DetectorTool.cxx.
165{
166
167
169
170
171
172 StatusCode
sc = StatusCode::FAILURE;
173
174 if (m_alignable) {
175
176
177 if (m_useDynamicAlignFolders){
180 msg(MSG::DEBUG) <<
"Registering callback on global Container with folder " <<
folderName <<
endmsg;
182 StatusCode trttmp =
detStore()->regFcn(&IGeoModelTool::align,
dynamic_cast<IGeoModelTool*
>(
this), calc, folderName);
183
184 if (trttmp.isFailure()) {
185 msg(MSG::ERROR) <<
"Problem when register callback on global Container with folder " <<
folderName <<
endmsg;
186 } else {
187 sc = StatusCode::SUCCESS;
188 }
189 } else {
190 msg(MSG::WARNING) <<
"Unable to register callback on global Container with folder " <<
folderName <<
endmsg;
191 return StatusCode::FAILURE;
192 }
193
196 if(msgLvl(MSG::DEBUG))
msg(MSG::DEBUG) <<
"Registering callback on AlignableTransformContainer with folder " <<
folderName <<
endmsg;
198 StatusCode sctmp =
detStore()->regFcn(&IGeoModelTool::align,
dynamic_cast<IGeoModelTool *
>(
this), atc, folderName);
199 if(sctmp.isFailure()) {
200 msg(MSG::ERROR) <<
"Problem when register callback on AlignableTransformContainer with folder " <<
folderName <<
endmsg;
201 } else {
202 sc = StatusCode::SUCCESS;
203 }
204 }
205 else {
206 msg(MSG::WARNING) <<
"Unable to register callback on AlignableTransformContainer with folder "
208 return StatusCode::FAILURE;
209 }
210 }
211 else {
214 msg(MSG::DEBUG) <<
"Registering callback on AlignableTransformContainer with folder " <<
folderName <<
endmsg;
216 StatusCode sctmp =
detStore()->regFcn(&IGeoModelTool::align,
dynamic_cast<IGeoModelTool *
>(
this), atc, folderName);
217
218 if (sctmp.isFailure()) {
219 msg(MSG::ERROR) <<
"Problem when register callback on AlignableTransformContainer with folder " <<
folderName <<
endmsg;
220 } else {
221 sc = StatusCode::SUCCESS;
222 }
223 } else {
224 msg(MSG::WARNING) <<
"Unable to register callback on AlignableTransformContainer with folder "
225 <<
folderName <<
", Alignments disabled! (Only if no Run2 schema is loaded)" <<
endmsg;
226 }
227 }
228
229
230
231 {
234 msg(MSG::DEBUG) <<
"Registering callback on StrawDxContainer with folder " <<
folderName <<
endmsg;
236 StatusCode sctmp =
detStore()->regFcn(&IGeoModelTool::align,
dynamic_cast<IGeoModelTool*
>(
this), sdc, folderName);
237
238 if (sctmp.isFailure()) {
239 msg(MSG::ERROR) <<
"Problem when register callback on StrawDxContainer with folder " <<
folderName <<
endmsg;
240 } else {
241 sc = StatusCode::SUCCESS;
242 }
243 } else {
244 msg(MSG::DEBUG) <<
"Unable to register callback on StrawDxContainer with folder " <<
folderName <<
endmsg;
245 }
246 }
247
248 } else {
249 msg(MSG::INFO) <<
"Alignment disabled. No callback registered" <<
endmsg;
250
251
252 }
253
255}
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
msgSvc
Provide convenience handles for various services.