From 9655bda40afb9d95b0b94a4ea3b1038fa08f9a63 Mon Sep 17 00:00:00 2001
From: Scott Snyder <scott.snyder@cern.ch>
Date: Mon, 12 Dec 2016 05:21:31 +0100
Subject: [PATCH] 'endreq -> endmsg.' (InDetTrigTruthAlgs-00-04-20)

	* Tagging InDetTrigTruthAlgs-00-04-20.
	* endreq -> endmsg.


Former-commit-id: dd0d8f4834a7ebf823f27d6044cf619a1a2196a4
---
 .../src/InDetTrigDetailedTrackTruthMaker.cxx  | 42 +++++++--------
 .../src/PRD_TrigMultiTruthMaker.cxx           | 52 +++++++++----------
 .../src/TrigTrackParticleTruthMaker.cxx       | 38 +++++++-------
 3 files changed, 66 insertions(+), 66 deletions(-)

diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/InDetTrigDetailedTrackTruthMaker.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/InDetTrigDetailedTrackTruthMaker.cxx
index 372e6d7dc4e..88341e07cdd 100755
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/InDetTrigDetailedTrackTruthMaker.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/InDetTrigDetailedTrackTruthMaker.cxx
@@ -54,20 +54,20 @@ InDetTrigDetailedTrackTruthMaker::InDetTrigDetailedTrackTruthMaker(const std::st
 HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltInitialize() {
 
   if(!m_doTruth) {
-    msg() << MSG::INFO << "InDetTrigDetailedTrackTruthMaker is skipped: doTruth = False" << endreq;
+    msg() << MSG::INFO << "InDetTrigDetailedTrackTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
 
-  msg() << MSG::INFO << "InDetTrigDetailedTrackTruthMaker::initialize()" << endreq;
+  msg() << MSG::INFO << "InDetTrigDetailedTrackTruthMaker::initialize()" << endmsg;
   
   //----------------
   if (m_truthTool.retrieve().isFailure()) {
-    msg() << MSG::ERROR << "Cannot retrieve tool " << endreq;
+    msg() << MSG::ERROR << "Cannot retrieve tool " << endmsg;
     return HLT::ErrorCode(HLT::Action::ABORT_JOB, HLT::Reason::BAD_JOB_SETUP);
   }
 
   
-  msg() << MSG::INFO << "Initialization successful" << endreq;
+  msg() << MSG::INFO << "Initialization successful" << endmsg;
 
   //----------------
   return HLT::OK;
@@ -77,11 +77,11 @@ HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltInitialize() {
 HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltFinalize() {
 
   if(!m_doTruth) {
-    msg() << MSG::INFO << "InDetTrigDetailedTrackTruthMaker is skipped: doTruth = False" << endreq;
+    msg() << MSG::INFO << "InDetTrigDetailedTrackTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
 
-  msg() << MSG::INFO << "InDetTrigDetailedTrackTruthMaker finalized" << endreq;
+  msg() << MSG::INFO << "InDetTrigDetailedTrackTruthMaker finalized" << endmsg;
   return HLT::OK;
 }
 // -----------------------------------------------------------------------------------------------------
@@ -96,13 +96,13 @@ HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltExecute(const HLT::TriggerEl
   
   if(!m_doTruth) {
     if(outputLevel <= MSG::DEBUG)
-      msg() << MSG::DEBUG << "InDetTrigDetailedTrackTruthMaker is skipped: doTruth = False" << endreq;
+      msg() << MSG::DEBUG << "InDetTrigDetailedTrackTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
   
   
   if(outputLevel <= MSG::DEBUG)
-    msg() << MSG::DEBUG << "InDetTrigDetailedTrackTruthMaker::execHLTAlgorithm()" << endreq;
+    msg() << MSG::DEBUG << "InDetTrigDetailedTrackTruthMaker::execHLTAlgorithm()" << endmsg;
   
   //----------------------------------------------------------------------
   // Trigger specific part: navigate throw the trigger element to get the
@@ -111,21 +111,21 @@ HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltExecute(const HLT::TriggerEl
   const TrackCollection* tracks = 0;
   
   if ( HLT::OK != getFeature(outputTE, tracks) ) {
-    msg() << MSG::ERROR << " Input track collection could not be found " << endreq;
+    msg() << MSG::ERROR << " Input track collection could not be found " << endmsg;
     return HLT::NAV_ERROR;
   }
   
   if(!tracks){
     if(outputLevel <= MSG::DEBUG)
-      msg() << MSG::DEBUG << " Input track collection was not attached. Algorithm not executed!" << endreq;
+      msg() << MSG::DEBUG << " Input track collection was not attached. Algorithm not executed!" << endmsg;
     
     return HLT::OK; 
   } else {
     if(outputLevel <= MSG::VERBOSE)
-      msg() << MSG::VERBOSE << " Input track collection has size " << tracks->size() << endreq;
+      msg() << MSG::VERBOSE << " Input track collection has size " << tracks->size() << endmsg;
     if ( tracks->size() == 0 ) {
       if(outputLevel <= MSG::DEBUG)
-        msg() << MSG::DEBUG << " Input track collection has 0 size. Algorithm not executed!" << endreq;
+        msg() << MSG::DEBUG << " Input track collection has 0 size. Algorithm not executed!" << endmsg;
       return HLT::OK; 
     }
   }
@@ -133,19 +133,19 @@ HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltExecute(const HLT::TriggerEl
   m_numTruthTracks = tracks->size();
   if (outputLevel <= MSG::DEBUG)
     msg() << MSG::DEBUG << "REGTEST: Retrieved input track collection with "
-          << m_numTruthTracks << " tracks. " << endreq;
+          << m_numTruthTracks << " tracks. " << endmsg;
   
   //----------------------------------------------------------------
   // Retrieve prep raw data truth
   std::vector<const PRD_MultiTruthCollection*> vectorPRDCollections;
   std::string key;
   if ( HLT::OK != getFeatures(outputTE, vectorPRDCollections) ) {
-    msg() << MSG::ERROR << " Input PRDT collections could not be found " << endreq;
+    msg() << MSG::ERROR << " Input PRDT collections could not be found " << endmsg;
   }
 
   m_numPRDs = vectorPRDCollections.size();
   if(outputLevel <= MSG::DEBUG)
-    msg() << MSG::DEBUG << " Got " << vectorPRDCollections.size() << " PRD collections." << endreq;
+    msg() << MSG::DEBUG << " Got " << vectorPRDCollections.size() << " PRD collections." << endmsg;
   
   std::vector<const PRD_MultiTruthCollection*> prdCollectionVector(vectorPRDCollections.size());
   
@@ -159,14 +159,14 @@ HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltExecute(const HLT::TriggerEl
     if(!prdCollectionVector[i] || prdCollectionVector[i]->size() <=0){
       if(outputLevel <= MSG::DEBUG)
 	msg() <<  MSG::DEBUG
-	      << "Failed to retrieve input PRD Collection from the TE" << endreq;
+	      << "Failed to retrieve input PRD Collection from the TE" << endmsg;
     }
     else{
       if (outputLevel <= MSG::DEBUG){
 	msg() << MSG::DEBUG << "REGTEST: Retrieved "
 	      << i+1 << " input PRD collection with "
 	      << prdCollectionVector[i]->size() << " clusters." 
-	      << endreq;
+	      << endmsg;
 	m_numPRDClusters.push_back(prdCollectionVector[i]->size());
 
       }
@@ -180,12 +180,12 @@ HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltExecute(const HLT::TriggerEl
   
   //  Attach resolved tracks to the trigger element.
   if ( HLT::OK !=  attachFeature(outputTE, dttc, name() ) ) {
-    msg() << MSG::ERROR << "Could not attache feature to the TE" << endreq;
+    msg() << MSG::ERROR << "Could not attache feature to the TE" << endmsg;
   }
   
   if(outputLevel <= MSG::DEBUG)
     msg() << MSG::DEBUG << "DetailedTrackTruthCollection is registered in StoreGate, size="
-	  << dttc->size() << endreq;
+	  << dttc->size() << endmsg;
   
   // Convert DetailedTruthCollection to TrackTruthCollection
   TrackTruthCollection *out = new TrackTruthCollection(dttc->trackCollectionLink());
@@ -194,12 +194,12 @@ HLT::ErrorCode InDetTrigDetailedTrackTruthMaker::hltExecute(const HLT::TriggerEl
   
   //  Attach resolved tracks to the trigger element.
   if ( HLT::OK !=  attachFeature(outputTE, out, name()) ) {
-    msg() << MSG::ERROR << "Could not attache feature to the TE" << endreq;
+    msg() << MSG::ERROR << "Could not attache feature to the TE" << endmsg;
   }
   
   if(outputLevel <= MSG::DEBUG)
     msg() << MSG::DEBUG << "TrackTruthCollection is registered in StoreGate" 
-	  << " size=" << out->size() << endreq;
+	  << " size=" << out->size() << endmsg;
   
   
   return HLT::OK;
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/PRD_TrigMultiTruthMaker.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/PRD_TrigMultiTruthMaker.cxx
index 0cc0b8f0a78..63bc470ec43 100755
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/PRD_TrigMultiTruthMaker.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/PRD_TrigMultiTruthMaker.cxx
@@ -43,22 +43,22 @@ PRD_TrigMultiTruthMaker::PRD_TrigMultiTruthMaker(const std::string &name, ISvcLo
 HLT::ErrorCode PRD_TrigMultiTruthMaker::hltInitialize() {
 
   if(!m_doTruth) {
-    msg() << MSG::INFO << "PRD_TrigMultiTruthMaker is skipped: doTruth = False" << endreq;
+    msg() << MSG::INFO << "PRD_TrigMultiTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
 
-  msg() << MSG::INFO << "PRD_TrigMultiTruthMaker::initialize()" << endreq;
+  msg() << MSG::INFO << "PRD_TrigMultiTruthMaker::initialize()" << endmsg;
   
   //StatusCode sc;
 
   //----------------
   if (m_PRDTruthTool.retrieve().isFailure()) {
-    msg() << MSG::ERROR << "Cannot retrieve InDet::PRD_MultiTruthBuilder Tool!" << endreq;
+    msg() << MSG::ERROR << "Cannot retrieve InDet::PRD_MultiTruthBuilder Tool!" << endmsg;
     return HLT::ErrorCode(HLT::Action::ABORT_JOB, HLT::Reason::BAD_JOB_SETUP);
   }
 
   
-  msg() << MSG::INFO << "PRD_MultiTurthMaker initialized successfully !" << endreq;
+  msg() << MSG::INFO << "PRD_MultiTurthMaker initialized successfully !" << endmsg;
 
   //----------------
   return HLT::OK;
@@ -68,11 +68,11 @@ HLT::ErrorCode PRD_TrigMultiTruthMaker::hltInitialize() {
 HLT::ErrorCode PRD_TrigMultiTruthMaker::hltFinalize() {
 
   if(!m_doTruth) {
-    msg() << MSG::INFO << "PRD_TrigMultiTruthMaker is skipped: doTruth = False" << endreq;
+    msg() << MSG::INFO << "PRD_TrigMultiTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
 
-  msg() << MSG::INFO << "PRD_TrigMultiTruthMaker finalized" << endreq;
+  msg() << MSG::INFO << "PRD_TrigMultiTruthMaker finalized" << endmsg;
 
   return HLT::OK;
 }
@@ -88,13 +88,13 @@ HLT::ErrorCode PRD_TrigMultiTruthMaker::hltExecute(const HLT::TriggerElement*,
 
   if(!m_doTruth) {
     if(outputLevel <= MSG::DEBUG)
-      msg() << MSG::DEBUG << "PRD_TrigMultiTruthMaker is skipped: doTruth = False" << endreq;
+      msg() << MSG::DEBUG << "PRD_TrigMultiTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
  
 
   if(outputLevel <= MSG::DEBUG)
-    msg() << MSG::DEBUG << "PRD_TrigMultiTruthMaker::execute()" << endreq;
+    msg() << MSG::DEBUG << "PRD_TrigMultiTruthMaker::execute()" << endmsg;
 
   StatusCode sc;
 
@@ -108,11 +108,11 @@ HLT::ErrorCode PRD_TrigMultiTruthMaker::hltExecute(const HLT::TriggerElement*,
     if (sc.isFailure() || !prdContainer){
 
       if(outputLevel <= MSG::DEBUG)
-	msg() << MSG::DEBUG << "Pixel Cluster Container NOT found"<< endreq;
+	msg() << MSG::DEBUG << "Pixel Cluster Container NOT found"<< endmsg;
     } 
     else {
       if(outputLevel <= MSG::DEBUG)
-	msg() << MSG::DEBUG << "Pixel Cluster Container found" <<endreq;
+	msg() << MSG::DEBUG << "Pixel Cluster Container found" <<endmsg;
 
       // Retrieve the Pixel SDO map for this event
       const InDetSimDataCollection*    simDataMap=0;
@@ -120,10 +120,10 @@ HLT::ErrorCode PRD_TrigMultiTruthMaker::hltExecute(const HLT::TriggerElement*,
 
       if (sc.isFailure() || !simDataMap ) {
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "Could NOT find the InDetSimDataPixel map"<< endreq;
+	  msg() << MSG::DEBUG << "Could NOT find the InDetSimDataPixel map"<< endmsg;
       }	else {
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "Found InDetSimDataPixel, do association" << endreq;
+	  msg() << MSG::DEBUG << "Found InDetSimDataPixel, do association" << endmsg;
 
 	// Create and fill the PRD truth structure
 	PRD_MultiTruthCollection *prdt_pixels = new PRD_MultiTruthCollection;
@@ -133,11 +133,11 @@ HLT::ErrorCode PRD_TrigMultiTruthMaker::hltExecute(const HLT::TriggerElement*,
 	//bool allow_modifications;
 
 	if ( HLT::OK !=  attachFeature(outputTE, prdt_pixels, "PRDTPixels") ) {
-	  msg() << MSG::WARNING << "Could not attach feature to the TE" << endreq;
+	  msg() << MSG::WARNING << "Could not attach feature to the TE" << endmsg;
 	}
 	m_prdPIXsize = prdt_pixels->size();
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "PRD Pixel truth structure is registered in StoreGate, size="<< m_prdPIXsize << endreq;
+	  msg() << MSG::DEBUG << "PRD Pixel truth structure is registered in StoreGate, size="<< m_prdPIXsize << endmsg;
 
       }
     }
@@ -150,31 +150,31 @@ HLT::ErrorCode PRD_TrigMultiTruthMaker::hltExecute(const HLT::TriggerElement*,
     sc = store()->retrieve(prdContainer, m_SCTClustersName);
     if (sc.isFailure() || !prdContainer){
       if(outputLevel <= MSG::DEBUG)
-	msg() << MSG::DEBUG << "SCT Cluster Container NOT found"<< endreq;
+	msg() << MSG::DEBUG << "SCT Cluster Container NOT found"<< endmsg;
     } else{
       if(outputLevel <= MSG::DEBUG)
-	msg() << MSG::DEBUG << "SCT Cluster Container found" <<endreq;
+	msg() << MSG::DEBUG << "SCT Cluster Container found" <<endmsg;
     
       // Retrieve the SCT SDO map for this event
       const InDetSimDataCollection*    simDataMap=0;
       sc = store()->retrieve(simDataMap, m_simDataMapNameSCT);
       if (sc.isFailure() || !simDataMap ) {
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "Could NOT find the InDetSimDataSCT map"<< endreq;
+	  msg() << MSG::DEBUG << "Could NOT find the InDetSimDataSCT map"<< endmsg;
       }	else {
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "Found InDetSimDataSCT, do association" << endreq;
+	  msg() << MSG::DEBUG << "Found InDetSimDataSCT, do association" << endmsg;
       
 	// Create and fill the PRD truth structure
 	PRD_MultiTruthCollection *prdt_sct = new PRD_MultiTruthCollection;
 	addPRDCollections(prdt_sct, prdContainer->begin(), prdContainer->end(), simDataMap, false);
 
 	if ( HLT::OK !=  attachFeature(outputTE, prdt_sct, "PRDTSCT") ) {
-	  msg() << MSG::WARNING << "Could not attach feature to the TE" << endreq;
+	  msg() << MSG::WARNING << "Could not attach feature to the TE" << endmsg;
 	}
 	m_prdSCTsize = prdt_sct->size();
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "PRD SCT truth structure is registered in StoreGate, size="<< m_prdSCTsize << endreq;
+	  msg() << MSG::DEBUG << "PRD SCT truth structure is registered in StoreGate, size="<< m_prdSCTsize << endmsg;
 
       }
     } 
@@ -189,31 +189,31 @@ HLT::ErrorCode PRD_TrigMultiTruthMaker::hltExecute(const HLT::TriggerElement*,
     }
     if (sc.isFailure() || !trtContainer){
       if(outputLevel <= MSG::DEBUG)
-	msg() << MSG::DEBUG << "TRT DriftCircle Container NOT found"<< endreq;
+	msg() << MSG::DEBUG << "TRT DriftCircle Container NOT found"<< endmsg;
     } else{
       if(outputLevel <= MSG::DEBUG)
-	msg() << MSG::DEBUG << "TRT DriftCircle Container found" <<endreq;
+	msg() << MSG::DEBUG << "TRT DriftCircle Container found" <<endmsg;
      
       // Retrieve the TRT SDO map for this event
       const InDetSimDataCollection*    simDataMap=0;
       sc = store()->retrieve(simDataMap, m_simDataMapNameTRT);
       if (sc.isFailure() || !simDataMap ) {
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "Could NOT find the InDetSimDataTRT map"<< endreq;
+	  msg() << MSG::DEBUG << "Could NOT find the InDetSimDataTRT map"<< endmsg;
       } else {
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "Found InDetSimDataTRT, do association" << endreq;
+	  msg() << MSG::DEBUG << "Found InDetSimDataTRT, do association" << endmsg;
 
 	// Fill the PRD truth structure
 	PRD_MultiTruthCollection *prdt_trt = new PRD_MultiTruthCollection;
 	addPRDCollections(prdt_trt, trtContainer->begin(), trtContainer->end(), simDataMap, false);
 
 	if ( HLT::OK !=  attachFeature(outputTE, prdt_trt, "PRDTTRT") ) {
-	  msg() << MSG::WARNING << "Could not attach feature to the TE" << endreq;
+	  msg() << MSG::WARNING << "Could not attach feature to the TE" << endmsg;
 	}
 	m_prdTRTsize = prdt_trt->size();
 	if(outputLevel <= MSG::DEBUG)
-	  msg() << MSG::DEBUG << "PRD TRT truth structure is registered in StoreGate, size="<< m_prdTRTsize << endreq;
+	  msg() << MSG::DEBUG << "PRD TRT truth structure is registered in StoreGate, size="<< m_prdTRTsize << endmsg;
 	
       }
     }
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/TrigTrackParticleTruthMaker.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/TrigTrackParticleTruthMaker.cxx
index b514e90318d..c86207521d9 100755
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/TrigTrackParticleTruthMaker.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/TrigTrackParticleTruthMaker.cxx
@@ -44,14 +44,14 @@ TrigTrackParticleTruthMaker::TrigTrackParticleTruthMaker(const std::string
 HLT::ErrorCode TrigTrackParticleTruthMaker::hltInitialize() {
 
   if(!m_doTruth) {
-    msg() << MSG::INFO << "TrigTrackParticleTruthMaker is skipped: doTruth = False" << endreq;
+    msg() << MSG::INFO << "TrigTrackParticleTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
 
-  msg() << MSG::INFO << "TrigTrackParticleTruthMaker::initialize()" << endreq;
+  msg() << MSG::INFO << "TrigTrackParticleTruthMaker::initialize()" << endmsg;
 
 
-  msg() << MSG::INFO << "Initialization successful" << endreq;
+  msg() << MSG::INFO << "Initialization successful" << endmsg;
   
   return HLT::OK;
 }
@@ -68,13 +68,13 @@ HLT::ErrorCode TrigTrackParticleTruthMaker::hltExecute(const HLT::TriggerElement
 
   if(!m_doTruth) {
     if(outputLevel <= MSG::DEBUG)
-      msg() << MSG::DEBUG << "TrigTrackParticleTruthMaker is skipped: doTruth = False" << endreq;
+      msg() << MSG::DEBUG << "TrigTrackParticleTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
 
 
   if(outputLevel <= MSG::DEBUG)
-    msg() << MSG::DEBUG << " In execHLTAlgorithm()" << endreq;
+    msg() << MSG::DEBUG << " In execHLTAlgorithm()" << endmsg;
   
 
   //----------------------------------------------------------------------
@@ -85,19 +85,19 @@ HLT::ErrorCode TrigTrackParticleTruthMaker::hltExecute(const HLT::TriggerElement
   const TrackCollection* myTracks(0);
  
   if ( HLT::OK != getFeature(outputTE, myTracks) ) {
-    msg() << MSG::ERROR << " Input track collection could not be found " << endreq;
+    msg() << MSG::ERROR << " Input track collection could not be found " << endmsg;
     return HLT::NAV_ERROR;
   }
 
   if ( !myTracks ) {
-    msg() << MSG::DEBUG << "No Input track collection present" << endreq; 
+    msg() << MSG::DEBUG << "No Input track collection present" << endmsg; 
     return HLT::OK; 
   }
 
   m_numTracks = myTracks->size();
   if (outputLevel <= MSG::DEBUG)
     msg() << MSG::DEBUG << "REGTEST: Retrieved input track collection with "
-          << m_numTracks << " tracks. " << endreq;
+          << m_numTracks << " tracks. " << endmsg;
 
   //----------------------------------------------------------------------
   // Trigger specific part: navigate throw the trigger element to get the
@@ -107,19 +107,19 @@ HLT::ErrorCode TrigTrackParticleTruthMaker::hltExecute(const HLT::TriggerElement
   const TrackTruthCollection* simTrackMap(0);
 
   if ( HLT::OK != getFeature(outputTE, simTrackMap) && !simTrackMap) {
-    msg() << MSG::ERROR << "Failed to get TrackTruthCollections from the trigger element" << endreq;
+    msg() << MSG::ERROR << "Failed to get TrackTruthCollections from the trigger element" << endmsg;
     return HLT::NAV_ERROR;
   }
 
   if ( !simTrackMap ) {
-    msg() << MSG::DEBUG << "No TrackTruthCollections present" << endreq; 
+    msg() << MSG::DEBUG << "No TrackTruthCollections present" << endmsg; 
     return HLT::OK; 
   }
   
   m_numTracksTruth = simTrackMap->size();
   if (outputLevel <= MSG::DEBUG)
     msg() << MSG::DEBUG << "REGTEST: Retrieved input track truth collection with "
-	  << m_numTracksTruth << " tracks. " << endreq;
+	  << m_numTracksTruth << " tracks. " << endmsg;
   
   //----------------------------------------------------------------------
   // Trigger specific part: navigate throw the trigger element to get the
@@ -128,19 +128,19 @@ HLT::ErrorCode TrigTrackParticleTruthMaker::hltExecute(const HLT::TriggerElement
   const Rec::TrackParticleContainer* origTrackPC(0);
 
   if ( HLT::OK != getFeature(outputTE, origTrackPC)) {
-    msg() << MSG::ERROR << "Failed to get TrackContainer from the trigger element" << endreq; 
+    msg() << MSG::ERROR << "Failed to get TrackContainer from the trigger element" << endmsg; 
     return HLT::NAV_ERROR;
   }
   
   if ( !origTrackPC ) {
-    msg() << MSG::DEBUG << "No TrackContainer present" << endreq; 
+    msg() << MSG::DEBUG << "No TrackContainer present" << endmsg; 
     return HLT::OK; 
   }
 
   m_numParticleTracks =  origTrackPC->size();
   if (outputLevel <= MSG::DEBUG)
     msg() << MSG::DEBUG << "REGTEST: Retrieved input track particle container with "  
-	  << m_numParticleTracks << " tracks. " << endreq;
+	  << m_numParticleTracks << " tracks. " << endmsg;
 
   TrackParticleTruthCollection* tpTruthColl = new TrackParticleTruthCollection;
   
@@ -156,7 +156,7 @@ HLT::ErrorCode TrigTrackParticleTruthMaker::hltExecute(const HLT::TriggerElement
     if (tempTrackTruthItr != simTrackMap->end()) 
       {    
 	msg() << MSG::VERBOSE << "Barcode: " << (*tempTrackTruthItr).second.particleLink().barcode()
-	      << "\t Probability: " << (*tempTrackTruthItr).second.probability() << endreq;
+	      << "\t Probability: " << (*tempTrackTruthItr).second.probability() << endmsg;
 	ElementLink< Rec::TrackParticleContainer > myLink;
 	myLink.setElement(const_cast<Rec::TrackParticle*>(*i));
 	myLink.setStorableObject(*origTrackPC);
@@ -167,12 +167,12 @@ HLT::ErrorCode TrigTrackParticleTruthMaker::hltExecute(const HLT::TriggerElement
   } 
 
   if ( HLT::OK !=  attachFeature(outputTE, tpTruthColl, name() ) ) {
-    msg() << MSG::ERROR << "Could not attache feature to the TE" << endreq;
+    msg() << MSG::ERROR << "Could not attache feature to the TE" << endmsg;
   }
   
   m_numParticleTracksTruth = tpTruthColl->size();
   msg() << MSG::DEBUG << "REGTEST: Container TrackParticleTruth has size :" 
-	<< m_numParticleTracksTruth << endreq;
+	<< m_numParticleTracksTruth << endmsg;
 
   return HLT::OK;
 }
@@ -181,12 +181,12 @@ HLT::ErrorCode TrigTrackParticleTruthMaker::hltExecute(const HLT::TriggerElement
 HLT::ErrorCode TrigTrackParticleTruthMaker::hltFinalize() {
 
   if(!m_doTruth) {
-    msg() << MSG::INFO << "TrigTrackParticleTruthMaker is skipped: doTruth = False" << endreq;
+    msg() << MSG::INFO << "TrigTrackParticleTruthMaker is skipped: doTruth = False" << endmsg;
     return HLT::OK;
   }
 
   // Get the messaging service, print where you are
-  msg() << MSG::INFO << "TrigTrackParticleTruthMaker::finalize()" << endreq;
+  msg() << MSG::INFO << "TrigTrackParticleTruthMaker::finalize()" << endmsg;
   return HLT::OK;
 }
 
-- 
GitLab