Skip to content
Snippets Groups Projects
Commit 1e9cb74b authored by Rafal Bielski's avatar Rafal Bielski :wave:
Browse files

RegSelTool: Don't initialise handle when not used

parent f33276c9
No related branches found
No related tags found
No related merge requests found
......@@ -43,11 +43,11 @@ const IRegSelLUT* RegSelTool::lookup() const {
StatusCode RegSelTool::initialize() {
ATH_CHECK( m_tableKey.initialize() );
ATH_MSG_DEBUG( "Initialising RegSelTool " << name() << "\ttable: " << m_tableKey );
if ( !m_initialised ) {
ATH_MSG_WARNING( "Lookup table will not be initialised " << name() << "\tkey " << m_tableKey );
}
ATH_CHECK( m_tableKey.initialize(m_initialised) );
if ( name().find( "RPC") != std::string::npos ) m_rpcflag = true;
return StatusCode::SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment