Skip to content
Snippets Groups Projects
Commit 84cc7fed authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'gaudidepr.MuonCondTest-20170620' into 'master'

MuonCondTest: Remove reference to deprecated Gaudi header.

See merge request !2820
Former-commit-id: 543fcbf4
parents 1a13e663 3b8deeb8
No related merge requests found
...@@ -3,14 +3,6 @@ ...@@ -3,14 +3,6 @@
*/ */
/////////////////////////////////////////////////////////
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/PropertyMgr.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "GaudiKernel/IDataProviderSvc.h"
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////
#include "MuonCondTest/AlignCondAthTest.h" #include "MuonCondTest/AlignCondAthTest.h"
#include "MuonCondSvc/MuonAlignmentDbSvc.h" #include "MuonCondSvc/MuonAlignmentDbSvc.h"
...@@ -25,20 +17,8 @@ AlignCondAthTest::AlignCondAthTest(const std::string& name, ISvcLocator* pSvcLoc ...@@ -25,20 +17,8 @@ AlignCondAthTest::AlignCondAthTest(const std::string& name, ISvcLocator* pSvcLoc
StatusCode AlignCondAthTest::initialize(){ StatusCode AlignCondAthTest::initialize(){
// //
MsgStream log(msgSvc(), name()); ATH_MSG_INFO( "in initialize()" );
log << MSG::INFO << "in initialize()" << endmsg; ATH_CHECK( service("MuonCalib::MuonAlignmentDbSvc",p_MuonAlignmentDbSvc ) );
StatusCode sc ;
//
sc = service("MuonCalib::MuonAlignmentDbSvc",p_MuonAlignmentDbSvc );
if (!sc.isSuccess() || 0 == p_MuonAlignmentDbSvc) {
log << MSG::ERROR
<< "::initialize "
<< "Could not find MuonAlignmentDbSvc" << endmsg;
return( StatusCode::FAILURE );
}
//
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
// //
} }
...@@ -46,8 +26,7 @@ StatusCode AlignCondAthTest::initialize(){ ...@@ -46,8 +26,7 @@ StatusCode AlignCondAthTest::initialize(){
StatusCode AlignCondAthTest::execute() { StatusCode AlignCondAthTest::execute() {
// //
MsgStream log(msgSvc(), name()); ATH_MSG_INFO( " AlignCondAthTest in execute()" );
log << MSG::INFO << " AlignCondAthTest in execute()" << endmsg;
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
// //
...@@ -56,8 +35,7 @@ StatusCode AlignCondAthTest::execute() { ...@@ -56,8 +35,7 @@ StatusCode AlignCondAthTest::execute() {
StatusCode AlignCondAthTest::finalize() { StatusCode AlignCondAthTest::finalize() {
// //
MsgStream log(msgSvc(), name()); ATH_MSG_INFO( "in finalize()" );
log << MSG::INFO << "in finalize()" << endmsg;
// //
return StatusCode::SUCCESS; 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