From 6753043a63a8689665dd89c25c7143856aff494d Mon Sep 17 00:00:00 2001
From: Scott Snyder <scott.snyder@cern.ch>
Date: Wed, 17 Aug 2016 18:31:40 +0200
Subject: [PATCH] 'endreq -> endmsg.  Use ATH_ macros.' (LArL1Sim-00-10-49)

	* Tagging LArL1Sim-00-10-49.
	* endreq -> endmsg.  Use ATH_ macros.
---
 LArCalorimeter/LArL1Sim/src/LArSCSimpleMaker.cxx | 9 +++------
 LArCalorimeter/LArL1Sim/src/LArTTL1Maker.cxx     | 2 +-
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/LArCalorimeter/LArL1Sim/src/LArSCSimpleMaker.cxx b/LArCalorimeter/LArL1Sim/src/LArSCSimpleMaker.cxx
index 4dc390cbb53..9980c28261d 100755
--- a/LArCalorimeter/LArL1Sim/src/LArSCSimpleMaker.cxx
+++ b/LArCalorimeter/LArL1Sim/src/LArSCSimpleMaker.cxx
@@ -71,16 +71,13 @@ StatusCode LArSCSimpleMaker::execute()
   const Tile_SuperCell_ID * tile_sc_id  =  m_calo_id_manager->getTile_SuperCell_ID(); 
   const TileID * tile_cell_id           =  m_calo_id_manager->getTileID(); 
 
-  MsgStream  msglog(messageService(),name());
-
   DataPool<CaloCell> dataPool;
   if (dataPool.allocated()==0)
     dataPool.reserve (calo_sc_id->calo_cell_hash_max());
 
   const DataHandle<CaloCellContainer> cells;
   CHECK( evtStore()->retrieve(cells, m_cellContainer) );
-  if ( msgLvl (MSG::DEBUG) )
-    msg(MSG::DEBUG) << "Got container Size : " << cells->size() << endreq;
+  ATH_MSG_DEBUG( "Got container Size : " << cells->size()  );
   
   int hash_max = calo_sc_id->calo_cell_hash_max(); 
   std::vector<float> energies (hash_max,0);
@@ -94,7 +91,7 @@ StatusCode LArSCSimpleMaker::execute()
     Identifier sCellID  = m_scidtool->offlineToSuperCellID (cell_id);
 
     if (!sCellID.is_valid()) {
-      // msg(MSG::WARNING) << " SC ID not valid  " << sCellID.get_identifier32().get_compact() << " offline id = " << cell->ID().get_identifier32().get_compact()<< endreq;
+      // ATH_MSG_WARNING( " SC ID not valid  " << sCellID.get_identifier32().get_compact() << " offline id = " << cell->ID().get_identifier32().get_compact() );
       // calo_sc_id->print(cell->ID()); 
       continue;
     }
@@ -182,7 +179,7 @@ StatusCode LArSCSimpleMaker::execute()
 
     const CaloDetDescrElement* dde = m_sem_mgr->get_element (i);
     if (!dde) {
-      // msg(MSG::WARNING) << " Not valid DDE, hash index =  "<< i << endreq;
+      // ATH_MSG_WARNING( " Not valid DDE, hash index =  "<< i  );
       continue;
     }
 
diff --git a/LArCalorimeter/LArL1Sim/src/LArTTL1Maker.cxx b/LArCalorimeter/LArL1Sim/src/LArTTL1Maker.cxx
index f83fa8040ee..c279f7c7f7e 100755
--- a/LArCalorimeter/LArL1Sim/src/LArTTL1Maker.cxx
+++ b/LArCalorimeter/LArL1Sim/src/LArTTL1Maker.cxx
@@ -654,7 +654,7 @@ StatusCode LArTTL1Maker::execute()
 		sumEnergy2[ttHash] = ttSumE;
 	      }
 	      //	      msglog << MSG::VERBOSE << "applied relative layer gain " << relGain 
-	      //		     << " to a hit of cell " << m_emHelper->show_to_string(cellId) << endreq; 
+	      //		     << " to a hit of cell " << m_emHelper->show_to_string(cellId) << endmsg; 
 	      inTimeE+=hitEnergy;
 	      nInTime++;
 	    } // only hits in timing window
-- 
GitLab