9 #include "GaudiKernel/ITHistSvc.h"
13 AthAlgorithm(
name, pSvcLocator), m_initialized(false), m_nt(NULL), m_log(NULL),
14 m_emId(NULL), m_hecId(NULL), m_fcalId(NULL),m_onlineId(NULL)
35 (*m_log) << MSG::ERROR <<
"Could not access lar EM ID helper" <<
endmsg;
36 return StatusCode::FAILURE;
39 (*m_log) << MSG::ERROR <<
"Could not access lar FCAL ID helper" <<
endmsg;
40 return StatusCode::FAILURE;
43 (*m_log) << MSG::ERROR <<
"Could not access lar HEC ID helper" <<
endmsg;
44 return StatusCode::FAILURE;
49 (*m_log) << MSG::ERROR <<
"Could not get LArOnlineID helper !" <<
endmsg;
50 return StatusCode::FAILURE;
58 return StatusCode::SUCCESS;
68 *
m_log << MSG::ERROR <<
"Need to set variable 'm_ntpath' and 'm_ntTitle' in constructor of deriving class!" <<
endmsg;
69 return StatusCode::FAILURE;
73 if (
i==std::string::npos) {
75 return StatusCode::FAILURE;
81 ITHistSvc * tHistSvc = 0;
82 sc = Gaudi::svcLocator()->service(
"THistSvc", tHistSvc);
84 *
m_log << MSG::ERROR <<
"Unable to retrieve pointer to THistSvc" <<
endmsg;
116 *
m_log << MSG::ERROR <<
" Standard exception "
118 <<
" caught from sub-algorithm::CBNT_initialize () :" <<
endmsg ;
121 *
m_log << MSG::ERROR <<
" Unknown exception "
122 <<
" caught from sub-algorithm::CBNT_initialize () :" <<
endmsg ;
127 *
m_log << MSG::ERROR <<
"CBNT_initialize() failed" <<
endmsg;
139 *
m_log << MSG::ERROR <<
" Standard exception "
141 <<
" caught from sub-algorithm::CBNT_clear () :" <<
endmsg ;
144 *
m_log << MSG::ERROR <<
" Unknown exception "
145 <<
" caught from sub-algorithm::CBNT_clear () :" <<
endmsg ;
148 if (
sc.isFailure()) {
149 *
m_log << MSG::ERROR <<
"CBNT_clear() failed" <<
endmsg;
153 return StatusCode::SUCCESS ;
167 *
m_log << MSG::ERROR <<
" Standard exception "
169 <<
" caught from sub-algorithm::CBNT_pre_execute (). Disable !" <<
endmsg ;
170 sc = this->setProperty(BooleanProperty(
"Enable",
false ) );
171 return StatusCode::FAILURE;
175 *
m_log << MSG::ERROR <<
" Unknown exception "
176 <<
" caught from sub-algorithm::CBNT_pre_execute (). Disable !" <<
endmsg ;
177 sc = this->setProperty(BooleanProperty(
"Enable",
false ) );
178 return StatusCode::FAILURE;
181 if (
sc.isFailure()) {
182 *
m_log << MSG::ERROR <<
"CBNT_pre_execute() failed. Disable !" <<
endmsg;
183 sc = this->setProperty(BooleanProperty(
"Enable",
false ) );
193 *
m_log << MSG::ERROR <<
" Standard exception "
195 <<
" caught from sub-algorithm::CBNT_execute () :" <<
endmsg ;
196 return StatusCode::FAILURE;
199 *
m_log << MSG::ERROR <<
" Unknown exception "
200 <<
" caught from sub-algorithm::CBNT_execute () :" <<
endmsg ;
201 return StatusCode::FAILURE;
217 *
m_log << MSG::ERROR <<
" Standard exception "
219 <<
" caught from sub-algorithm::CBNT_finalize () :" <<
endmsg ;
222 *
m_log << MSG::ERROR <<
" Unknown exception "
223 <<
" caught from sub-algorithm::CBNT_finalize () :" <<
endmsg ;