From 0010355b5bd4a43f0309241b295504a974cc1e10 Mon Sep 17 00:00:00 2001 From: Scott Snyder <scott.snyder@cern.ch> Date: Sat, 6 Aug 2016 00:33:32 +0200 Subject: [PATCH] 'endreq -> endmsg.' (LArCabling-00-00-04) * Tagging LArCabling-00-00-04. * endreq -> endmsg. --- .../LArCabling/src/LArCablingBase.cxx | 10 +-- .../LArCabling/src/LArCablingService.cxx | 36 +++++------ .../LArCabling/src/LArHVCablingTool.cxx | 62 +++++++++---------- .../src/LArSuperCellCablingTool.cxx | 14 ++--- 4 files changed, 61 insertions(+), 61 deletions(-) diff --git a/LArCalorimeter/LArCabling/src/LArCablingBase.cxx b/LArCalorimeter/LArCabling/src/LArCablingBase.cxx index 3793fbc86ae..6f1e858e0ea 100644 --- a/LArCalorimeter/LArCabling/src/LArCablingBase.cxx +++ b/LArCalorimeter/LArCabling/src/LArCablingBase.cxx @@ -33,14 +33,14 @@ StatusCode LArCablingBase::finalize () bool LArCablingBase::readOnlOffMap() { - msg(MSG::DEBUG) << "Start reading Online/Offline mapping" << endreq; + msg(MSG::DEBUG) << "Start reading Online/Offline mapping" << endmsg; m_onOffValid=false; m_onlHashToOffline.clear(); m_oflHashToOnline.clear(); StatusCode sc=detStore()->retrieve(m_attrOnOff,m_onOffIdKey); if (sc.isFailure()) { - msg() << MSG::ERROR << "Failed to read AthenaAttributeList with key " << m_onOffIdKey << endreq; + msg() << MSG::ERROR << "Failed to read AthenaAttributeList with key " << m_onOffIdKey << endmsg; return false; } const coral::Blob& blobOnOff=(*m_attrOnOff)["OnlineHashToOfflineId"].data<coral::Blob>(); @@ -50,7 +50,7 @@ bool LArCablingBase::readOnlOffMap() { if (nChan!=m_onlineId->channelHashMax()) { msg() << MSG::WARNING << "Number of channels read from DB (" << nChan << ") does not match online hash max (" - <<m_onlineId->channelHashMax() << ")" << endreq; + <<m_onlineId->channelHashMax() << ")" << endmsg; nChan=std::min(nChan,(unsigned)m_onlineId->channelHashMax()); } @@ -71,9 +71,9 @@ bool LArCablingBase::readOnlOffMap() { } }//end loop over channels - msg() << MSG::INFO << "Done reading online/offline identifier mapping" << endreq; + msg() << MSG::INFO << "Done reading online/offline identifier mapping" << endmsg; msg() << MSG::INFO << "Found " << nChan << " online identifier and " << nConnected << " offline identifier. " - << nChan-nConnected << " disconnected channels." << endreq; + << nChan-nConnected << " disconnected channels." << endmsg; m_onOffValid=true; return true; diff --git a/LArCalorimeter/LArCabling/src/LArCablingService.cxx b/LArCalorimeter/LArCabling/src/LArCablingService.cxx index 40a37a1e959..d5b7cdd203d 100755 --- a/LArCalorimeter/LArCabling/src/LArCablingService.cxx +++ b/LArCalorimeter/LArCabling/src/LArCablingService.cxx @@ -33,7 +33,7 @@ StatusCode LArCablingService::initialize () const LArOnlineID* onlineId; StatusCode sc=detStore()->retrieve(onlineId, "LArOnlineID"); if (sc.isFailure()) { - msg() << MSG::FATAL << "Could not get LArOnlineID helper !" << endreq; + msg() << MSG::FATAL << "Could not get LArOnlineID helper !" << endmsg; return StatusCode::FAILURE; } @@ -42,7 +42,7 @@ StatusCode LArCablingService::initialize () const CaloCell_ID* caloCell_ID; sc=detStore()->retrieve(caloCell_ID,"CaloCell_ID"); if (sc.isFailure()) { - msg() << MSG::FATAL << "Could not get CaloCell_ID helper !" << endreq; + msg() << MSG::FATAL << "Could not get CaloCell_ID helper !" << endmsg; return StatusCode::FAILURE; } m_caloId=caloCell_ID; //Cast to base-class @@ -52,10 +52,10 @@ StatusCode LArCablingService::initialize () if (m_onOffIdKey.size()) { sc=detStore()->regFcn(&LArCablingService::iovCallBack,this,m_attrOnOff,m_onOffIdKey); if (sc.isFailure()) { - msg(MSG::ERROR) << "Failed to register callback on SG key" << m_onOffIdKey << endreq; + msg(MSG::ERROR) << "Failed to register callback on SG key" << m_onOffIdKey << endmsg; } else { - msg(MSG::INFO) << "Successfully installed callback on folder" << m_onOffIdKey << endreq; + msg(MSG::INFO) << "Successfully installed callback on folder" << m_onOffIdKey << endmsg; nCallbacks++; } } @@ -63,36 +63,36 @@ StatusCode LArCablingService::initialize () if (m_calibIdKey.size()) { sc=detStore()->regFcn(&LArCablingService::iovCallBack,this,m_attrCalib,m_calibIdKey); if (sc.isFailure()) { - msg(MSG::ERROR) << "Failed to register callback on SG key" << m_calibIdKey << endreq; + msg(MSG::ERROR) << "Failed to register callback on SG key" << m_calibIdKey << endmsg; } else { - msg(MSG::INFO) << "Successfully installed callback on folder" << m_calibIdKey << endreq; + msg(MSG::INFO) << "Successfully installed callback on folder" << m_calibIdKey << endmsg; nCallbacks++; } } if (m_febRodMapKey.size()) { sc=detStore()->regFcn(&LArCablingService::iovCallBack,this, m_attrFebRod,m_febRodMapKey); if (sc.isFailure()) { - msg() <<MSG::ERROR<<"Failed to register callback on SG key" << m_febRodMapKey << endreq; + msg() <<MSG::ERROR<<"Failed to register callback on SG key" << m_febRodMapKey << endmsg; } else { - msg(MSG::INFO) << "Successfully installed callback on folder" << m_febRodMapKey << endreq; + msg(MSG::INFO) << "Successfully installed callback on folder" << m_febRodMapKey << endmsg; nCallbacks++; } } if (nCallbacks==0) { - msg(MSG::ERROR) << "No callback was sucessfully installed! Configuration problem?" << endreq; + msg(MSG::ERROR) << "No callback was sucessfully installed! Configuration problem?" << endmsg; return StatusCode::FAILURE; } - msg(MSG::INFO)<< "Sucessfully initialized LArCablingService with " << nCallbacks << " callbacks." << endreq; + msg(MSG::INFO)<< "Sucessfully initialized LArCablingService with " << nCallbacks << " callbacks." << endmsg; return StatusCode::SUCCESS; } StatusCode LArCablingService::iovCallBack(IOVSVC_CALLBACK_ARGS_K(keys)) { - msg() << MSG::INFO<<" ====> iovCallBack " << endreq; + msg() << MSG::INFO<<" ====> iovCallBack " << endmsg; for (std::list<std::string>::const_iterator itr=keys.begin(); itr!=keys.end(); ++itr) { ATH_MSG_DEBUG("IOV callback for key " << *itr); @@ -109,7 +109,7 @@ StatusCode LArCablingService::iovCallBack(IOVSVC_CALLBACK_ARGS_K(keys)) { continue; } - msg(MSG::WARNING) << "Callback fired for unknown key " << *itr << endreq; + msg(MSG::WARNING) << "Callback fired for unknown key " << *itr << endmsg; } //end loop over keys return StatusCode::SUCCESS; } @@ -117,12 +117,12 @@ StatusCode LArCablingService::iovCallBack(IOVSVC_CALLBACK_ARGS_K(keys)) { bool LArCablingService::readCalibMap() { - msg(MSG::DEBUG) << "Start reading calibration line mapping" << endreq; + msg(MSG::DEBUG) << "Start reading calibration line mapping" << endmsg; m_calibValid=false; m_onlHashToCalibLines.clear(); StatusCode sc=detStore()->retrieve(m_attrCalib,m_calibIdKey); if (sc.isFailure()) { - msg(MSG::ERROR) << "Failed to read AthenaAttributeList with key " << m_calibIdKey << endreq; + msg(MSG::ERROR) << "Failed to read AthenaAttributeList with key " << m_calibIdKey << endmsg; return false; } const coral::Blob& blobCalib=(*m_attrCalib)["OnlineHashToCalibIds"].data<coral::Blob>(); @@ -141,7 +141,7 @@ bool LArCablingService::readCalibMap() { const unsigned nCalibLines=pBlobCalib[blobIdx++]; totCalibLines+=nCalibLines; if (nCalibLines>4) { - msg(MSG::ERROR) << "Found unresonable large number of calib lines (" << nCalibLines << ") for channel hash " << chanIdx << endreq; + msg(MSG::ERROR) << "Found unresonable large number of calib lines (" << nCalibLines << ") for channel hash " << chanIdx << endmsg; return false; } m_onlHashToCalibLines[chanIdx].clear(); @@ -149,7 +149,7 @@ bool LArCablingService::readCalibMap() { m_onlHashToCalibLines[chanIdx].push_back(HWIdentifier(pBlobCalib[blobIdx++])); //FIXME C++11 emplace_back }//End loop over calib-lines }//end loop over channels - msg() << MSG::INFO << "Done reading readout/calibration line mapping." << endreq; + msg() << MSG::INFO << "Done reading readout/calibration line mapping." << endmsg; ATH_MSG_DEBUG("BlobIdx=" << blobIdx<<", chanIdx=" << chanIdx << ", totCalibLines=" << totCalibLines); m_calibValid=true; return m_calibValid; @@ -163,7 +163,7 @@ bool LArCablingService::readFebRodMap() { m_readoutModuleIDVec.clear(); StatusCode sc=detStore()->retrieve(m_attrFebRod,m_febRodMapKey); if (sc.isFailure()) { - msg() << MSG::ERROR << "Failed to read AthenaAttributeList with key " << m_febRodMapKey << endreq; + msg() << MSG::ERROR << "Failed to read AthenaAttributeList with key " << m_febRodMapKey << endmsg; return false; } const coral::Blob& blobFebRod=(*m_attrFebRod)["FebHashToRODs"].data<coral::Blob>(); @@ -182,7 +182,7 @@ bool LArCablingService::readFebRodMap() { } m_febRodValid=true; - msg(MSG::INFO) << "Done reading Feb/Rod mapping. Found " << nFebRod << " Febs and " << m_readoutModuleIDVec.size() << " Rods" << endreq; + msg(MSG::INFO) << "Done reading Feb/Rod mapping. Found " << nFebRod << " Febs and " << m_readoutModuleIDVec.size() << " Rods" << endmsg; return m_febRodValid; } diff --git a/LArCalorimeter/LArCabling/src/LArHVCablingTool.cxx b/LArCalorimeter/LArCabling/src/LArHVCablingTool.cxx index 3569bbb8e60..7b2a2950f39 100755 --- a/LArCalorimeter/LArCabling/src/LArHVCablingTool.cxx +++ b/LArCalorimeter/LArCabling/src/LArHVCablingTool.cxx @@ -102,7 +102,7 @@ StatusCode LArHVCablingTool::initialize () // ========== StatusCode status = detStore()->retrieve(m_caloHelper, "CaloCell_ID"); if (status.isFailure()) { - msg(MSG::FATAL) << "Could not get Calo_ID helper !" << endreq; + msg(MSG::FATAL) << "Could not get Calo_ID helper !" << endmsg; return StatusCode::FAILURE; } else { @@ -114,7 +114,7 @@ StatusCode LArHVCablingTool::initialize () // ========== status = detStore()->retrieve(m_emHelper, "LArEM_ID"); if (status.isFailure()) { - msg(MSG::FATAL) << "Could not get LArEM_ID helper !" << endreq; + msg(MSG::FATAL) << "Could not get LArEM_ID helper !" << endmsg; return StatusCode::FAILURE; } else { @@ -125,7 +125,7 @@ StatusCode LArHVCablingTool::initialize () // ========= status = detStore()->retrieve(m_hecHelper, "LArHEC_ID"); if (status.isFailure()) { - msg(MSG::FATAL) << "Could not get LArHEC_ID helper !" << endreq; + msg(MSG::FATAL) << "Could not get LArHEC_ID helper !" << endmsg; return StatusCode::FAILURE; } else { @@ -136,7 +136,7 @@ StatusCode LArHVCablingTool::initialize () // ========= status = detStore()->retrieve(m_fcalHelper, "LArFCAL_ID"); if (status.isFailure()) { - msg(MSG::FATAL) << "Could not get LArFCAL_ID helper !" << endreq; + msg(MSG::FATAL) << "Could not get LArFCAL_ID helper !" << endmsg; return StatusCode::FAILURE; } else { @@ -148,7 +148,7 @@ StatusCode LArHVCablingTool::initialize () // =========== status = detStore()->retrieve(m_hvlineHelper, "LArHVLineID"); if (status.isFailure()) { - msg(MSG::FATAL) << "Could not get LArHVLineID helper !" << endreq; + msg(MSG::FATAL) << "Could not get LArHVLineID helper !" << endmsg; return StatusCode::FAILURE; } else { @@ -160,7 +160,7 @@ StatusCode LArHVCablingTool::initialize () // ============== status = detStore()->retrieve(m_electrodeHelper, "LArElectrodeID"); if (status.isFailure()) { - msg(MSG::FATAL) << "Could not get LArElectrodeID helper !" << endreq; + msg(MSG::FATAL) << "Could not get LArElectrodeID helper !" << endmsg; return StatusCode::FAILURE; } else { @@ -170,7 +170,7 @@ StatusCode LArHVCablingTool::initialize () status = detStore()->regFcn(&LArHVCablingTool::iovCallback,this,m_attrList,m_mappingFolder,true); if (status.isFailure()) { - msg(MSG::ERROR) << "Failed to register callback on folder " << m_mappingFolder << endreq; + msg(MSG::ERROR) << "Failed to register callback on folder " << m_mappingFolder << endmsg; } else ATH_MSG_DEBUG("Successfully registered callback on folder " << m_mappingFolder); @@ -201,7 +201,7 @@ const HWIdentifier LArHVCablingTool::getLArHVLineID(HWIdentifier& electrodeId) //----------------------------- if(!m_initHVMap) {// if no map then fill it first - msg(MSG::INFO) << "[getLArHVLineID] no mapping defined..--> fillHVMap().." << endreq; + msg(MSG::INFO) << "[getLArHVLineID] no mapping defined..--> fillHVMap().." << endmsg; fillHVMap(); m_initHVMap = true; } @@ -226,7 +226,7 @@ const HWIdentifier LArHVCablingTool::getLArHVLineID(HWIdentifier& electrodeId) << "." << hvet << "." << hvga << "." << elec << "]" << " corresponding hvlineID=[" << part << "." << canl << "." << cann << "." << hvli << "]... OK " - << endreq; + << endmsg; }//end if debug return hvlineId; } @@ -247,7 +247,7 @@ const HWIdentifier LArHVCablingTool::getLArHVLineID(HWIdentifier& electrodeId) msg(MSG::WARNING) << "[getLArHVLineID] NO MAP for ElectrodeId=[" << dete << "." << side << "." << modu << "." << hvph << "." << hvet << "." << hvga << "." << elec << "] returning [" - << part << "." << canl << "." << cann << "." << hvli << "]... OK " << endreq; + << part << "." << canl << "." << cann << "." << hvli << "]... OK " << endmsg; return (invalidId); //return m_hvmapHelper->getLArHVLineID( electrodeId ) ; @@ -273,10 +273,10 @@ int LArHVCablingTool::fillHVMap() std::istringstream infile; if (!detStore()->contains<AthenaAttributeList>(m_mappingFolder)) { - msg(MSG::ERROR) << " Cannot find /LAR/IdentifierOfl/HVLineToElectrodeMap from database, Use ASCII file indeed !!!" << endreq; + msg(MSG::ERROR) << " Cannot find /LAR/IdentifierOfl/HVLineToElectrodeMap from database, Use ASCII file indeed !!!" << endmsg; std::string tablename=PathResolver::find_file ("HVLineToElectrode.data", "DATAPATH"); if (tablename == "") { - msg(MSG::WARNING) << "[fillHVMap] Could not locate HVLineToElectrode.data file" << endreq; + msg(MSG::WARNING) << "[fillHVMap] Could not locate HVLineToElectrode.data file" << endmsg; return(-1) ; } else{ @@ -303,11 +303,11 @@ int LArHVCablingTool::fillHVMap() //StatusCode sc=detStore()->retrieve(attrList,m_mappingFolder); //if (sc.isFailure()) { if (!m_attrList.isValid()) { - msg(MSG::ERROR) << "Failed to retrieve AttributeList with key " << m_mappingFolder << " from DetectorStore" << endreq; + msg(MSG::ERROR) << "Failed to retrieve AttributeList with key " << m_mappingFolder << " from DetectorStore" << endmsg; return -1; } - msg(MSG::INFO) << " Found AttrList from " << m_mappingFolder << endreq; + msg(MSG::INFO) << " Found AttrList from " << m_mappingFolder << endmsg; std::ostringstream attrStr1; coral::AttributeList::const_iterator itr=m_attrList->begin(); itr->toOutputStream(attrStr1); @@ -322,7 +322,7 @@ int LArHVCablingTool::fillHVMap() } if(!infile) { - msg(MSG::WARNING) << "[fillHVMap] Could not load HVLineToElectrode.data file" << endreq; + msg(MSG::WARNING) << "[fillHVMap] Could not load HVLineToElectrode.data file" << endmsg; return(-1) ; } else{ @@ -411,7 +411,7 @@ int LArHVCablingTool::fillHVMap() } } else{ - //msg(MSG::INFO) << "[fillHVMap] max < min STOP !!!" << endreq; + //msg(MSG::INFO) << "[fillHVMap] max < min STOP !!!" << endmsg; HWIdentifier electrodeId = m_electrodeHelper->ElectrodeId(detect,side,mod,hvphi,hveta,hvgap,min); electrodeIdvec.push_back(electrodeId); @@ -454,7 +454,7 @@ const std::vector<HWIdentifier>& LArHVCablingTool::getLArElectrodeIDvec(HWIdenti //----------------------------- if(!m_initHVMap) {// if no map then fill it first - msg(MSG::INFO) << "[getLArHVLineID] no mapping defined..--> fillHVMap().." << endreq; + msg(MSG::INFO) << "[getLArHVLineID] no mapping defined..--> fillHVMap().." << endmsg; fillHVMap(); m_initHVMap = true; } @@ -472,7 +472,7 @@ const std::vector<HWIdentifier>& LArHVCablingTool::getLArElectrodeIDvec(HWIdenti int cann = m_hvlineHelper->can_node(hvlineId); int hvli = m_hvlineHelper->hv_line(hvlineId); msg(MSG::WARNING) << "LArHVCablingSvc: getLArElectrodeIDvec didnot find electrode to hvline [" - << part << "." << canl << "." << cann << "." << hvli << "]" << endreq; + << part << "." << canl << "." << cann << "." << hvli << "]" << endmsg; static std::vector<HWIdentifier> invalid; return(invalid); } @@ -588,7 +588,7 @@ void LArHVCablingTool::getHVLineInCell( const Identifier& offId, std::vector<HWI //----------------------------- if(!m_initHVMap) {// if no map then fill it first - msg(MSG::INFO) << "[getHVLineInCell] no mapping defined..--> fillHVMap().." << endreq; + msg(MSG::INFO) << "[getHVLineInCell] no mapping defined..--> fillHVMap().." << endmsg; fillHVMap(); m_initHVMap = true; } @@ -695,7 +695,7 @@ void LArHVCablingTool::getHVLineInCell( const Identifier& offId, std::vector<HWI << " corresponding hvlineID=[" << part1 << "." << canl1 << "." << cann1 << "." << hvli1 << "] " - << endreq; + << endmsg; } if( hvlineIdVec.size() == 0 ){ ATH_MSG_DEBUG("[getHVLineInCell] -> first fill of vector..." ); @@ -750,7 +750,7 @@ void LArHVCablingTool::getHVLineInCell( const Identifier& offId, std::vector<HWI << iGap << " elec_min=" << elecmin <<" elec_max=" << elecmax << "]" - << endreq; + << endmsg; } } // Loop over gaps }// Loop over electrodes in cell @@ -1075,7 +1075,7 @@ int LArHVCablingTool::getCellModule( const Identifier &offId ) } } else{ - msg(MSG::WARNING) << " -->> Invalid MODULE returned " << endreq; + msg(MSG::WARNING) << " -->> Invalid MODULE returned " << endmsg; } ATH_MSG_DEBUG("Closing getCellModule " ); return ModuleID; @@ -1162,7 +1162,7 @@ int LArHVCablingTool::getCellEtaSector( const Identifier &offId ) hvEta=7; } else { - msg(MSG::WARNING) << "==> Invalid HV Eta-Sector for sampling=" << sampling << " Region=" << region << " I(eta)="<< ieta << endreq; + msg(MSG::WARNING) << "==> Invalid HV Eta-Sector for sampling=" << sampling << " Region=" << region << " I(eta)="<< ieta << endmsg; } } else if( sampling == 2 ){ @@ -1198,7 +1198,7 @@ int LArHVCablingTool::getCellEtaSector( const Identifier &offId ) } else{ - msg(MSG::WARNING) << "==> Invalid HV Eta-Sector for sampling=" << sampling << " Region=" << region << " I(eta)="<< ieta << endreq; + msg(MSG::WARNING) << "==> Invalid HV Eta-Sector for sampling=" << sampling << " Region=" << region << " I(eta)="<< ieta << endmsg; } } else if( sampling == 3 ){ @@ -1229,10 +1229,10 @@ int LArHVCablingTool::getCellEtaSector( const Identifier &offId ) } } else if( region == 1){ - msg(MSG::WARNING) << "==> Invalid HV Eta-Sector for sampling=" << sampling << " Region=" << region << " I(eta)="<< ieta << endreq; + msg(MSG::WARNING) << "==> Invalid HV Eta-Sector for sampling=" << sampling << " Region=" << region << " I(eta)="<< ieta << endmsg; } else{ - msg(MSG::WARNING) << "==> Invalid HV Eta-Sector for sampling=" << sampling << " Region=" << region << " I(eta)="<< ieta << endreq; + msg(MSG::WARNING) << "==> Invalid HV Eta-Sector for sampling=" << sampling << " Region=" << region << " I(eta)="<< ieta << endmsg; } } @@ -1256,12 +1256,12 @@ int LArHVCablingTool::getCellEtaSector( const Identifier &offId ) } } else{ - msg(MSG::WARNING) << "Not in EMBPS..i(eta)=" << ieta << endreq; + msg(MSG::WARNING) << "Not in EMBPS..i(eta)=" << ieta << endmsg; } } } else { - msg(MSG::WARNING) << "Not in Barrel ..." << endreq; + msg(MSG::WARNING) << "Not in Barrel ..." << endmsg; } } else if( abs(l_bec) == 2 || abs(l_bec) == 3){ @@ -1437,11 +1437,11 @@ int LArHVCablingTool::getCellEtaSector( const Identifier &offId ) } else{ msg(MSG::WARNING) - << "[getCellEtaSector] invalid FCAL input cell.." << endreq; + << "[getCellEtaSector] invalid FCAL input cell.." << endmsg; } } else{ - msg(MSG::WARNING) << "[getCellModule] Detector unknown ! " << endreq; + msg(MSG::WARNING) << "[getCellModule] Detector unknown ! " << endmsg; } // Output ATH_MSG_DEBUG("Closing getCellEtaSector ...." ); @@ -2249,7 +2249,7 @@ std::pair<int,int> LArHVCablingTool::getCellElectrodeMinMax( const Identifier &o else{ msg(MSG::WARNING) << "[getCellElectrodeMinMax] Detector unknown .." - << endreq; + << endmsg; } ATH_MSG_DEBUG("[getCellElectrodeMinMax] Exiting..." ); std::pair<int, int> electrodeMinMax( ElecMin, ElecMax); diff --git a/LArCalorimeter/LArCabling/src/LArSuperCellCablingTool.cxx b/LArCalorimeter/LArCabling/src/LArSuperCellCablingTool.cxx index 558cf8e6b0f..7f515bce279 100644 --- a/LArCalorimeter/LArCabling/src/LArSuperCellCablingTool.cxx +++ b/LArCalorimeter/LArCabling/src/LArSuperCellCablingTool.cxx @@ -27,7 +27,7 @@ StatusCode LArSuperCellCablingTool::initialize () { const LArOnline_SuperCellID* onlineId; StatusCode sc=detStore()->retrieve(onlineId, "LArOnline_SuperCellID"); if (sc.isFailure()) { - msg() << MSG::FATAL << "Could not get LArSuperCellOnlineID helper !" << endreq; + msg() << MSG::FATAL << "Could not get LArSuperCellOnlineID helper !" << endmsg; return StatusCode::FAILURE; } m_onlineId=onlineId; //Cast to base-class @@ -35,27 +35,27 @@ StatusCode LArSuperCellCablingTool::initialize () { const CaloCell_SuperCell_ID* caloCell_ID; sc=detStore()->retrieve(caloCell_ID,"CaloCell_SuperCell_ID"); if (sc.isFailure()) { - msg() << MSG::FATAL << "Could not get CaloSuperCell_ID helper !" << endreq; + msg() << MSG::FATAL << "Could not get CaloSuperCell_ID helper !" << endmsg; return StatusCode::FAILURE; } m_caloId=caloCell_ID; //Cast to base-class sc=detStore()->regFcn(&LArSuperCellCablingTool::iovCallBack,this,m_attrOnOff,m_onOffIdKey); if (sc.isFailure()) { - msg(MSG::ERROR) << "Failed to register callback on SG key" << m_onOffIdKey << endreq; + msg(MSG::ERROR) << "Failed to register callback on SG key" << m_onOffIdKey << endmsg; return sc; } else { - msg(MSG::INFO) << "Successfully installed callback on folder" << m_onOffIdKey << endreq; + msg(MSG::INFO) << "Successfully installed callback on folder" << m_onOffIdKey << endmsg; } // Global INFO on initialize() - msg() <<MSG::INFO<< "Sucessfully initialized LArCablingService "<< endreq; //Add more info about regular or SC, with or wo calib-lines, etc. + msg() <<MSG::INFO<< "Sucessfully initialized LArCablingService "<< endmsg; //Add more info about regular or SC, with or wo calib-lines, etc. return StatusCode::SUCCESS; } StatusCode LArSuperCellCablingTool::iovCallBack(IOVSVC_CALLBACK_ARGS_K(keys)) { - msg() << MSG::INFO<<" ====> iovCallBack " << endreq; + msg() << MSG::INFO<<" ====> iovCallBack " << endmsg; for (std::list<std::string>::const_iterator itr=keys.begin(); itr!=keys.end(); ++itr) { ATH_MSG_DEBUG("IOV callback for key " << *itr); @@ -63,7 +63,7 @@ StatusCode LArSuperCellCablingTool::iovCallBack(IOVSVC_CALLBACK_ARGS_K(keys)) { m_onOffValid=false; } else - msg(MSG::WARNING) << "Callback fired for unknown key " << *itr << endreq; + msg(MSG::WARNING) << "Callback fired for unknown key " << *itr << endmsg; } //end loop over keys return StatusCode::SUCCESS; } -- GitLab