From ec116503c4345c9ab3f76ded4fb2fb9c8fba5f4a Mon Sep 17 00:00:00 2001 From: Scott Snyder <scott.snyder@cern.ch> Date: Tue, 13 Dec 2016 17:04:46 +0100 Subject: [PATCH] endreq -> endmsg. (ALFA_EventTPCnv-00-00-26) * Tagging ALFA_EventTPCnv-00-00-26. * endreq -> endmsg. * Tagging ALFA_EventTPCnv-00-00-25. * Add leak checking to unit tests. --- .../share/ALFA_HitCollectionCnv_p1_test.ref | 1 + .../share/ALFA_ODHitCollectionCnv_p1_test.ref | 1 + .../ALFA_EventTPCnv/src/ALFA_CLinkEventCnv_p1.cxx | 8 ++++---- .../ALFA_EventTPCnv/src/ALFA_DigitCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_GloRecEventCnv_p1.cxx | 4 ++-- .../ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_HitCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_LocRecCorrEventCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_LocRecCorrODEventCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_LocRecEventCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_LocRecODEventCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_ODDigitCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_ODHitCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_RawDataCnv_charge_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_RawDataCnv_p1.cxx | 4 ++-- .../src/ALFA_RawDataCollectionCnv_charge_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_p1.cxx | 4 ++-- .../src/ALFA_RawDataContainerCnv_charge_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_p1.cxx | 4 ++-- .../ALFA_EventTPCnv/test/ALFA_CLinkEventCnv_p1_test.cxx | 2 ++ .../ALFA_EventTPCnv/test/ALFA_DigitCnv_p1_test.cxx | 2 ++ .../test/ALFA_DigitCollectionCnv_p1_test.cxx | 2 ++ .../test/ALFA_GloRecEvCollectionCnv_p1_test.cxx | 2 ++ .../ALFA_EventTPCnv/test/ALFA_GloRecEventCnv_p1_test.cxx | 2 ++ .../ALFA_EventTPCnv/test/ALFA_HitCnv_p1_test.cxx | 2 ++ .../test/ALFA_HitCollectionCnv_p1_test.cxx | 4 ++++ .../test/ALFA_LocRecCorrEvCollectionCnv_p1_test.cxx | 2 ++ .../test/ALFA_LocRecCorrEventCnv_p1_test.cxx | 2 ++ .../test/ALFA_LocRecCorrODEvCollectionCnv_p1_test.cxx | 2 ++ .../test/ALFA_LocRecCorrODEventCnv_p1_test.cxx | 2 ++ .../test/ALFA_LocRecEvCollectionCnv_p1_test.cxx | 2 ++ .../ALFA_EventTPCnv/test/ALFA_LocRecEventCnv_p1_test.cxx | 2 ++ .../test/ALFA_LocRecODEvCollectionCnv_p1_test.cxx | 2 ++ .../test/ALFA_LocRecODEventCnv_p1_test.cxx | 2 ++ .../ALFA_EventTPCnv/test/ALFA_ODDigitCnv_p1_test.cxx | 2 ++ .../test/ALFA_ODDigitCollectionCnv_p1_test.cxx | 2 ++ .../ALFA_EventTPCnv/test/ALFA_ODHitCnv_p1_test.cxx | 2 ++ .../test/ALFA_ODHitCollectionCnv_p1_test.cxx | 4 ++++ .../test/ALFA_RawDataCnv_charge_p1_test.cxx | 2 ++ .../ALFA_EventTPCnv/test/ALFA_RawDataCnv_p1_test.cxx | 2 ++ .../test/ALFA_RawDataCollectionCnv_charge_p1_test.cxx | 2 ++ .../test/ALFA_RawDataCollectionCnv_p1_test.cxx | 2 ++ .../test/ALFA_RawDataContainerCnv_charge_p1_test.cxx | 2 ++ .../test/ALFA_RawDataContainerCnv_p1_test.cxx | 2 ++ 43 files changed, 90 insertions(+), 34 deletions(-) diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/share/ALFA_HitCollectionCnv_p1_test.ref b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/share/ALFA_HitCollectionCnv_p1_test.ref index da4d965bcfd..627cb39ff9f 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/share/ALFA_HitCollectionCnv_p1_test.ref +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/share/ALFA_HitCollectionCnv_p1_test.ref @@ -1,3 +1,4 @@ test1 Athena::getMessageSvc: WARNING MessageSvc not found, will use std::cout Athena::getMessageSvc: WARNING MessageSvc not found, will use std::cout +Athena::getMessageSvc: WARNING MessageSvc not found, will use std::cout diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/share/ALFA_ODHitCollectionCnv_p1_test.ref b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/share/ALFA_ODHitCollectionCnv_p1_test.ref index da4d965bcfd..627cb39ff9f 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/share/ALFA_ODHitCollectionCnv_p1_test.ref +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/share/ALFA_ODHitCollectionCnv_p1_test.ref @@ -1,3 +1,4 @@ test1 Athena::getMessageSvc: WARNING MessageSvc not found, will use std::cout Athena::getMessageSvc: WARNING MessageSvc not found, will use std::cout +Athena::getMessageSvc: WARNING MessageSvc not found, will use std::cout diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_CLinkEventCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_CLinkEventCnv_p1.cxx index 180cbbfc229..6da37c49ff6 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_CLinkEventCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_CLinkEventCnv_p1.cxx @@ -9,7 +9,7 @@ void ALFA_CLinkEventCnv_p1::persToTrans(const ALFA_CLinkEvent_p1* persObj, ALFA_CLinkEvent* transObj, MsgStream &log) { //MsgStream LogStream(Athena::getMessageSvc(), "ALFA_CLinkEventCnv_p1"); - //LogStream<<MSG::INFO<<"MARK01-ALFA_CLinkEventCnv_p1::persToTrans"<<endreq; + //LogStream<<MSG::INFO<<"MARK01-ALFA_CLinkEventCnv_p1::persToTrans"<<endmsg; transObj->SetDCSFolderIDs (&persObj->m_DCSId); @@ -44,13 +44,13 @@ void ALFA_CLinkEventCnv_p1::persToTrans(const ALFA_CLinkEvent_p1* persObj, ALFA_ // m_DLGloRecEvCollCnv.persToTrans(&persObj->m_GloRecEvColl,&transObj->m_GloRecEvColl,log); - //LogStream<<MSG::INFO<<"MARK02-ALFA_CLinkEventCnv_p1::persToTrans"<<endreq; + //LogStream<<MSG::INFO<<"MARK02-ALFA_CLinkEventCnv_p1::persToTrans"<<endmsg; } void ALFA_CLinkEventCnv_p1::transToPers(const ALFA_CLinkEvent* transObj, ALFA_CLinkEvent_p1* persObj,MsgStream &log) { //MsgStream LogStream(Athena::getMessageSvc(), "ALFA_CLinkEventCnv_p1"); - //LogStream<<MSG::INFO<<"MARK01-ALFA_CLinkEventCnv_p1::transToPers"<<endreq; + //LogStream<<MSG::INFO<<"MARK01-ALFA_CLinkEventCnv_p1::transToPers"<<endmsg; persObj->m_DCSId=transObj->DCSId(); @@ -63,5 +63,5 @@ void ALFA_CLinkEventCnv_p1::transToPers(const ALFA_CLinkEvent* transObj, ALFA_CL m_DLLocRecCorrODEvCollCnv.transToPers(&transObj->locRecCorrODEvCollLink(),&persObj->m_LocRecCorrODEvColl,log); // m_DLGloRecEvCollCnv.transToPers(&transObj->m_GloRecEvColl,&persObj->m_GloRecEvColl,log); - //LogStream<<MSG::INFO<<"MARK02-ALFA_CLinkEventCnv_p1::transToPers"<<endreq; + //LogStream<<MSG::INFO<<"MARK02-ALFA_CLinkEventCnv_p1::transToPers"<<endmsg; } diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_DigitCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_DigitCnv_p1.cxx index 6fdc46b4d32..1593c3da9c9 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_DigitCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_DigitCnv_p1.cxx @@ -8,7 +8,7 @@ void ALFA_DigitCnv_p1::persToTrans(const ALFA_Digit_p1* persObj, ALFA_Digit* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_DigitCnv_p1::persToTrans called " << endreq; + log << MSG::DEBUG << "ALFA_DigitCnv_p1::persToTrans called " << endmsg; *transObj = ALFA_Digit (persObj->m_station, persObj->m_plate, @@ -20,7 +20,7 @@ void ALFA_DigitCnv_p1::transToPers(const ALFA_Digit* transObj, ALFA_Digit_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_DigitCnv_p1::transToPers called " << endreq; + log << MSG::DEBUG << "ALFA_DigitCnv_p1::transToPers called " << endmsg; persObj->m_plate = transObj->getPlate(); persObj->m_fiber = transObj->getFiber(); persObj->m_station = transObj->getStation(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_GloRecEventCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_GloRecEventCnv_p1.cxx index 6575a891498..f73c2b44abe 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_GloRecEventCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_GloRecEventCnv_p1.cxx @@ -10,7 +10,7 @@ void ALFA_GloRecEventCnv_p1::persToTrans(const ALFA_GloRecEvent_p1* persObj, ALFA_GloRecEvent* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_GloRecEventCnv_p1::persToTrans called - version with pointers to LocRecCorr " << endreq; + log << MSG::DEBUG << "ALFA_GloRecEventCnv_p1::persToTrans called - version with pointers to LocRecCorr " << endmsg; *transObj = ALFA_GloRecEvent (persObj->m_arm, persObj->m_x, persObj->m_y, @@ -28,7 +28,7 @@ void ALFA_GloRecEventCnv_p1::transToPers(const ALFA_GloRecEvent* transObj, ALFA_GloRecEvent_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_GloRecEventCnv_p1::transToPers called - version with pointers to LocRecCorr " << endreq; + log << MSG::DEBUG << "ALFA_GloRecEventCnv_p1::transToPers called - version with pointers to LocRecCorr " << endmsg; persObj->m_arm = transObj->getArmNum(); persObj->m_x = transObj->getXposition(); persObj->m_y = transObj->getYposition(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_HitCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_HitCnv_p1.cxx index 1a8293935b2..d1b30deef3b 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_HitCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_HitCnv_p1.cxx @@ -9,7 +9,7 @@ void ALFA_HitCnv_p1::persToTrans(const ALFA_Hit_p1* persObj, ALFA_Hit* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_HitCnv_p1::persToTrans called " << endreq; + log << MSG::DEBUG << "ALFA_HitCnv_p1::persToTrans called " << endmsg; // HepMcParticleLinkCnv_p1 HepMcPLCnv; // HepMcPLCnv.persToTrans(&(persObj->m_partLink),&(transObj->m_partLink), log); @@ -36,7 +36,7 @@ void ALFA_HitCnv_p1::transToPers(const ALFA_Hit* transObj, ALFA_Hit_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_HitCnv_p1::transToPers called " << endreq; + log << MSG::DEBUG << "ALFA_HitCnv_p1::transToPers called " << endmsg; // HepMcParticleLinkCnv_p1 HepMcPLCnv; // HepMcPLCnv.transToPers(&(transObj->m_partLink),&(persObj->m_partLink), log); persObj->hitID = transObj->GetHitID(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecCorrEventCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecCorrEventCnv_p1.cxx index 1297d4c8015..c500cdc4009 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecCorrEventCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecCorrEventCnv_p1.cxx @@ -8,7 +8,7 @@ void ALFA_LocRecCorrEventCnv_p1::persToTrans(const ALFA_LocRecCorrEvent_p1* persObj, ALFA_LocRecCorrEvent* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_LocRecCorrEventCnv_p1::persToTrans called " << endreq; + log << MSG::DEBUG << "ALFA_LocRecCorrEventCnv_p1::persToTrans called " << endmsg; *transObj = ALFA_LocRecCorrEvent (persObj->m_iAlgoNum, persObj->m_pot_num, @@ -28,7 +28,7 @@ void ALFA_LocRecCorrEventCnv_p1::transToPers(const ALFA_LocRecCorrEvent* transOb ALFA_LocRecCorrEvent_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_LocRecCorrEventCnv_p1::transToPers called " << endreq; + log << MSG::DEBUG << "ALFA_LocRecCorrEventCnv_p1::transToPers called " << endmsg; persObj->m_iAlgoNum = transObj->getAlgoNum(); persObj->m_pot_num = transObj->getPotNum(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecCorrODEventCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecCorrODEventCnv_p1.cxx index 691fe3f09b1..0c80a9baaad 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecCorrODEventCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecCorrODEventCnv_p1.cxx @@ -8,7 +8,7 @@ void ALFA_LocRecCorrODEventCnv_p1::persToTrans(const ALFA_LocRecCorrODEvent_p1* persObj, ALFA_LocRecCorrODEvent* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_LocRecCorrODEventCnv_p1::persToTrans called " << endreq; + log << MSG::DEBUG << "ALFA_LocRecCorrODEventCnv_p1::persToTrans called " << endmsg; *transObj = ALFA_LocRecCorrODEvent(persObj->m_iAlgoNum, persObj->m_pot_num, @@ -23,7 +23,7 @@ void ALFA_LocRecCorrODEventCnv_p1::persToTrans(const ALFA_LocRecCorrODEvent_p1* void ALFA_LocRecCorrODEventCnv_p1::transToPers(const ALFA_LocRecCorrODEvent* transObj, ALFA_LocRecCorrODEvent_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_LocRecCorrODEventCnv_p1::transToPers called " << endreq; + log << MSG::DEBUG << "ALFA_LocRecCorrODEventCnv_p1::transToPers called " << endmsg; persObj->m_iAlgoNum = transObj->getAlgoNum(); persObj->m_pot_num = transObj->getPotNum(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecEventCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecEventCnv_p1.cxx index 95ad06e824c..97be16e477e 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecEventCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecEventCnv_p1.cxx @@ -8,7 +8,7 @@ void ALFA_LocRecEventCnv_p1::persToTrans(const ALFA_LocRecEvent_p1* persObj, ALFA_LocRecEvent* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_LocRecEventCnv_p1::persToTrans called " << endreq; + log << MSG::DEBUG << "ALFA_LocRecEventCnv_p1::persToTrans called " << endmsg; *transObj = ALFA_LocRecEvent (persObj->m_iAlgoNum, persObj->m_pot_num, @@ -26,7 +26,7 @@ void ALFA_LocRecEventCnv_p1::transToPers(const ALFA_LocRecEvent* transObj, ALFA_LocRecEvent_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_LocRecEventCnv_p1::transToPers called " << endreq; + log << MSG::DEBUG << "ALFA_LocRecEventCnv_p1::transToPers called " << endmsg; persObj->m_iAlgoNum = transObj->getAlgoNum(); persObj->m_pot_num = transObj->getPotNum(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecODEventCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecODEventCnv_p1.cxx index 6fad02ba3eb..5523096c253 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecODEventCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_LocRecODEventCnv_p1.cxx @@ -8,7 +8,7 @@ void ALFA_LocRecODEventCnv_p1::persToTrans(const ALFA_LocRecODEvent_p1* persObj, ALFA_LocRecODEvent* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_LocRecODEventCnv_p1::persToTrans called " << endreq; + log << MSG::DEBUG << "ALFA_LocRecODEventCnv_p1::persToTrans called " << endmsg; *transObj = ALFA_LocRecODEvent (persObj->m_iAlgoNum, persObj->m_pot_num, @@ -22,7 +22,7 @@ void ALFA_LocRecODEventCnv_p1::persToTrans(const ALFA_LocRecODEvent_p1* persObj, void ALFA_LocRecODEventCnv_p1::transToPers(const ALFA_LocRecODEvent* transObj, ALFA_LocRecODEvent_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_LocRecODEventCnv_p1::transToPers called " << endreq; + log << MSG::DEBUG << "ALFA_LocRecODEventCnv_p1::transToPers called " << endmsg; persObj->m_iAlgoNum = transObj->getAlgoNum(); persObj->m_pot_num = transObj->getPotNum(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_ODDigitCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_ODDigitCnv_p1.cxx index 9fef119b1b6..9d0f040b54a 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_ODDigitCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_ODDigitCnv_p1.cxx @@ -8,7 +8,7 @@ void ALFA_ODDigitCnv_p1::persToTrans(const ALFA_ODDigit_p1* persObj, ALFA_ODDigit* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_ODDigitCnv_p1::persToTrans called " << endreq; + log << MSG::DEBUG << "ALFA_ODDigitCnv_p1::persToTrans called " << endmsg; *transObj = ALFA_ODDigit (persObj->m_station, persObj->m_side, @@ -21,7 +21,7 @@ void ALFA_ODDigitCnv_p1::transToPers(const ALFA_ODDigit* transObj, ALFA_ODDigit_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_ODDigitCnv_p1::transToPers called " << endreq; + log << MSG::DEBUG << "ALFA_ODDigitCnv_p1::transToPers called " << endmsg; persObj->m_plate = transObj->getPlate(); persObj->m_side = transObj->getSide(); persObj->m_fiber = transObj->getFiber(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_ODHitCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_ODHitCnv_p1.cxx index 0b0e53828f0..d25f7e88b8c 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_ODHitCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_ODHitCnv_p1.cxx @@ -9,7 +9,7 @@ void ALFA_ODHitCnv_p1::persToTrans(const ALFA_ODHit_p1* persObj, ALFA_ODHit* transObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_ODHitCnv_p1::persToTrans called " << endreq; + log << MSG::DEBUG << "ALFA_ODHitCnv_p1::persToTrans called " << endmsg; // HepMcParticleLinkCnv_p1 HepMcPLCnv; // HepMcPLCnv.persToTrans(&(persObj->m_partLink),&(transObj->m_partLink), log); @@ -37,7 +37,7 @@ void ALFA_ODHitCnv_p1::transToPers(const ALFA_ODHit* transObj, ALFA_ODHit_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "ALFA_ODHitCnv_p1::transToPers called " << endreq; + log << MSG::DEBUG << "ALFA_ODHitCnv_p1::transToPers called " << endmsg; // HepMcParticleLinkCnv_p1 HepMcPLCnv; // HepMcPLCnv.transToPers(&(transObj->m_partLink),&(persObj->m_partLink), log); persObj->hitID = transObj->GetHitID(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCnv_charge_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCnv_charge_p1.cxx index 4d11e991313..656e34245fc 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCnv_charge_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCnv_charge_p1.cxx @@ -10,7 +10,7 @@ void ALFA_RawDataCnv_charge_p1::persToTrans(const ALFA_RawData_charge_p1* persOb ALFA_RawData_charge* transObj, MsgStream &log) { - log << MSG::DEBUG << "In ALFA_RawDataCnv_charge_p1:persToTrans called" << endreq; + log << MSG::DEBUG << "In ALFA_RawDataCnv_charge_p1:persToTrans called" << endmsg; transObj->SetZero_PMF(); transObj->SetChannelNum_PMF (persObj->ChannelNumId); @@ -25,7 +25,7 @@ ALFA_RawData_charge* transObj, MsgStream &log) { void ALFA_RawDataCnv_charge_p1::transToPers(const ALFA_RawData_charge* transObj, ALFA_RawData_charge_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "In ALFA_RawDataCnv_p1:transToPers called" << endreq; + log << MSG::DEBUG << "In ALFA_RawDataCnv_p1:transToPers called" << endmsg; persObj->ChannelNumId = transObj->GetChannelNum_PMF(); persObj->PMFId = transObj->GetPMFId_PMF(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCnv_p1.cxx index 2b84b8ced0a..72608678605 100755 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCnv_p1.cxx @@ -10,7 +10,7 @@ void ALFA_RawDataCnv_p1::persToTrans(const ALFA_RawData_p1* persObj, ALFA_RawData* transObj, MsgStream &log) { - log << MSG::DEBUG << "In ALFA_RawDataCnv_p1:persToTrans called" << endreq; + log << MSG::DEBUG << "In ALFA_RawDataCnv_p1:persToTrans called" << endmsg; transObj->SetZero_PMF(); transObj->SetWordId_PMF (persObj->WordId); @@ -28,7 +28,7 @@ ALFA_RawData* transObj, MsgStream &log) { void ALFA_RawDataCnv_p1::transToPers(const ALFA_RawData* transObj, ALFA_RawData_p1* persObj, MsgStream &log) { - log << MSG::DEBUG << "In ALFA_RawDataCnv_p1:transToPers called" << endreq; + log << MSG::DEBUG << "In ALFA_RawDataCnv_p1:transToPers called" << endmsg; persObj->WordId = transObj->GetWordId_PMF(); persObj->PMFId = transObj->GetPMFId_PMF(); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_charge_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_charge_p1.cxx index 0a618b89ac2..9019830853e 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_charge_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_charge_p1.cxx @@ -11,7 +11,7 @@ void ALFA_RawDataCollectionCnv_charge_p1::transToPers(const ALFA_RawDataCollection_charge* transColl, ALFA_RawDataCollection_charge_p1* persColl, MsgStream& log) { - if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataCollectionCnv_charge_p1::transToPers" << endreq; + if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataCollectionCnv_charge_p1::transToPers" << endmsg; // Invoke vector converter from the base template ALFA_RawDataCollection_charge_Cnvp1_base_t::transToPers( transColl, persColl, log ); @@ -26,7 +26,7 @@ void ALFA_RawDataCollectionCnv_charge_p1::transToPers(const ALFA_RawDataCollecti void ALFA_RawDataCollectionCnv_charge_p1::persToTrans(const ALFA_RawDataCollection_charge_p1* persColl, ALFA_RawDataCollection_charge* transColl, MsgStream& log) { -if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataCollectionCnv_charge_p1::persToTrans" << endreq; +if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataCollectionCnv_charge_p1::persToTrans" << endmsg; // Invoke vector converter from the base template diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_p1.cxx index e598e0862d0..05761428ce6 100755 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataCollectionCnv_p1.cxx @@ -11,7 +11,7 @@ void ALFA_RawDataCollectionCnv_p1::transToPers(const ALFA_RawDataCollection* transColl, ALFA_RawDataCollection_p1* persColl, MsgStream& log) { - if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataCollectionCnv_p1::transToPers" << endreq; + if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataCollectionCnv_p1::transToPers" << endmsg; // Invoke vector converter from the base template ALFA_RawDataCollection_Cnvp1_base_t::transToPers( transColl, persColl, log ); @@ -29,7 +29,7 @@ void ALFA_RawDataCollectionCnv_p1::transToPers(const ALFA_RawDataCollection* tra void ALFA_RawDataCollectionCnv_p1::persToTrans(const ALFA_RawDataCollection_p1* persColl, ALFA_RawDataCollection* transColl, MsgStream& log) { - if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataCollectionCnv_p1::persToTrans" << endreq; + if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataCollectionCnv_p1::persToTrans" << endmsg; // Invoke vector converter from the base template diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_charge_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_charge_p1.cxx index c417abfda6f..d440dde1a72 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_charge_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_charge_p1.cxx @@ -8,7 +8,7 @@ void ALFA_RawDataContainerCnv_charge_p1::transToPers(const ALFA_RawDataContainer_charge* transCont, ALFA_RawDataContainer_charge_p1* persCont, MsgStream& log) { - if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_charge_p1::transToPers" << endreq; + if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_charge_p1::transToPers" << endmsg; // Invoke vector converter from the base template ALFA_RawDataContainer_charge_Cnvp1_base_t::transToPers( transCont, persCont, log ); @@ -18,7 +18,7 @@ void ALFA_RawDataContainerCnv_charge_p1::transToPers(const ALFA_RawDataContainer void ALFA_RawDataContainerCnv_charge_p1::persToTrans(const ALFA_RawDataContainer_charge_p1* persCont, ALFA_RawDataContainer_charge* transCont, MsgStream& log) { -if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_charge_p1::persToTrans" << endreq; +if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_charge_p1::persToTrans" << endmsg; // Invoke vector converter from the base template diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_p1.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_p1.cxx index 41bea85ae15..db2e97d463c 100755 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_p1.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/src/ALFA_RawDataContainerCnv_p1.cxx @@ -9,7 +9,7 @@ void ALFA_RawDataContainerCnv_p1::transToPers(const ALFA_RawDataContainer* transCont, ALFA_RawDataContainer_p1* persCont, MsgStream& log) { - if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_p1::transToPers" << endreq; + if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_p1::transToPers" << endmsg; // Invoke vector converter from the base template ALFA_RawDataContainer_Cnvp1_base_t::transToPers( transCont, persCont, log ); @@ -27,7 +27,7 @@ void ALFA_RawDataContainerCnv_p1::transToPers(const ALFA_RawDataContainer* trans void ALFA_RawDataContainerCnv_p1::persToTrans(const ALFA_RawDataContainer_p1* persCont, ALFA_RawDataContainer* transCont, MsgStream& log) { -if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_p1::persToTrans" << endreq; +if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In ALFA_RawDataContainerCnv_p1::persToTrans" << endmsg; // Invoke vector converter from the base template diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_CLinkEventCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_CLinkEventCnv_p1_test.cxx index 7b8d172b090..65c86bdd376 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_CLinkEventCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_CLinkEventCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_CLinkEventCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -61,6 +62,7 @@ void testit (const ALFA_CLinkEvent& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_CLinkEvent trans1; diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_DigitCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_DigitCnv_p1_test.cxx index 8f181a218a2..9c89b3e599d 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_DigitCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_DigitCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_DigitCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -42,6 +43,7 @@ void testit (const ALFA_Digit& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_Digit trans1 (123, 234, 345); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_DigitCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_DigitCollectionCnv_p1_test.cxx index 09262955b90..2080d1a3cdd 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_DigitCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_DigitCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_DigitCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -51,6 +52,7 @@ void testit (const ALFA_DigitCollection& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_DigitCollection trans1; for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_GloRecEvCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_GloRecEvCollectionCnv_p1_test.cxx index a36f8255a03..54915469202 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_GloRecEvCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_GloRecEvCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_GloRecEvCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -53,6 +54,7 @@ void testit (const ALFA_GloRecEvCollection& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_GloRecEvCollection trans1; for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_GloRecEventCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_GloRecEventCnv_p1_test.cxx index 1f1bfe15b6f..02ec8bfefbb 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_GloRecEventCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_GloRecEventCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_GloRecEventCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -44,6 +45,7 @@ void testit (const ALFA_GloRecEvent& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_GloRecEvent trans1 (123, 10.5, 11.5, 12.5, 13.5, nullptr, nullptr); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_HitCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_HitCnv_p1_test.cxx index dff180cef1d..7fea37ee125 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_HitCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_HitCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_HitCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -54,6 +55,7 @@ void testit (const ALFA_Hit& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_Hit trans1 (123, 234, 345, 10.5, 11.5, diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_HitCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_HitCollectionCnv_p1_test.cxx index d6ec8c418cc..2ae7da97f9d 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_HitCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_HitCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_HitCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -64,6 +65,9 @@ void testit (const ALFA_HitCollection& trans1) void test1() { std::cout << "test1\n"; + // Get dvl info created outside of leak checking. + ALFA_HitCollection dum1 ("coll"); + Athena_test::Leakcheck check; ALFA_HitCollection trans1 ("coll"); for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrEvCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrEvCollectionCnv_p1_test.cxx index 3ebac6f9550..6f3f3f8ce23 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrEvCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrEvCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_LocRecCorrEvCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -59,6 +60,7 @@ void testit (const ALFA_LocRecCorrEvCollection& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_LocRecCorrEvCollection trans1; for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrEventCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrEventCnv_p1_test.cxx index 73e159adf41..8f3204c062a 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrEventCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrEventCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_LocRecCorrEventCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -50,6 +51,7 @@ void testit (const ALFA_LocRecCorrEvent& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_LocRecCorrEvent trans1 (123, 234, 10.5, 11.5, 12.5, diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrODEvCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrODEvCollectionCnv_p1_test.cxx index ce348571e0c..d464dfa5230 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrODEvCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrODEvCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_LocRecCorrODEvCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -56,6 +57,7 @@ void testit (const ALFA_LocRecCorrODEvCollection& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_LocRecCorrODEvCollection trans1; for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrODEventCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrODEventCnv_p1_test.cxx index 72f739dd16b..c5d706f2ed6 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrODEventCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecCorrODEventCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_LocRecCorrODEventCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -47,6 +48,7 @@ void testit (const ALFA_LocRecCorrODEvent& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_LocRecCorrODEvent trans1 (123, 234, 345, 10.5, 11.5, diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecEvCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecEvCollectionCnv_p1_test.cxx index a8e1df4bfe4..18357b034e7 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecEvCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecEvCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_LocRecEvCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -57,6 +58,7 @@ void testit (const ALFA_LocRecEvCollection& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_LocRecEvCollection trans1; for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecEventCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecEventCnv_p1_test.cxx index 16a65b40137..5476f4d4375 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecEventCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecEventCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_LocRecEventCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -48,6 +49,7 @@ void testit (const ALFA_LocRecEvent& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_LocRecEvent trans1 (123, 234, 10.5, 11.5, diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecODEvCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecODEvCollectionCnv_p1_test.cxx index 19152bc3adb..76a6c1dc14b 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecODEvCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecODEvCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_LocRecODEvCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -55,6 +56,7 @@ void testit (const ALFA_LocRecODEvCollection& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_LocRecODEvCollection trans1; for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecODEventCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecODEventCnv_p1_test.cxx index 781bf9d77cd..df2a2faf5fa 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecODEventCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_LocRecODEventCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_LocRecODEventCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -46,6 +47,7 @@ void testit (const ALFA_LocRecODEvent& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_LocRecODEvent trans1 (123, 234, 345, 10.5, 11.5, diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODDigitCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODDigitCnv_p1_test.cxx index dcdea80cd73..750f4ae6c7a 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODDigitCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODDigitCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_ODDigitCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -43,6 +44,7 @@ void testit (const ALFA_ODDigit& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_ODDigit trans1 (123, 234, 345, 456); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODDigitCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODDigitCollectionCnv_p1_test.cxx index cd9012adc26..5ddb2d37af9 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODDigitCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODDigitCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_ODDigitCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -52,6 +53,7 @@ void testit (const ALFA_ODDigitCollection& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_ODDigitCollection trans1; for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODHitCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODHitCnv_p1_test.cxx index 15a59645c88..be0feb1e252 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODHitCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODHitCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_ODHitCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -55,6 +56,7 @@ void testit (const ALFA_ODHit& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_ODHit trans1 (123, 234, 345, 10.5, 11.5, diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODHitCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODHitCollectionCnv_p1_test.cxx index 7f6513220ec..41523eec0f3 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODHitCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_ODHitCollectionCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_ODHitCollectionCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -65,6 +66,9 @@ void testit (const ALFA_ODHitCollection& trans1) void test1() { std::cout << "test1\n"; + // Get dvl info created outside of leak checking. + ALFA_ODHitCollection dum1 ("coll"); + Athena_test::Leakcheck check; ALFA_ODHitCollection trans1 ("coll"); for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCnv_charge_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCnv_charge_p1_test.cxx index a278a44fa4b..08d905b63a7 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCnv_charge_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCnv_charge_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_RawDataCnv_charge_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -48,6 +49,7 @@ void testit (const ALFA_RawData_charge& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_RawData_charge trans1 (123); trans1.SetChannelNum_PMF (234); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCnv_p1_test.cxx index 1f6d3a56ae0..149b2fb4fad 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCnv_p1_test.cxx @@ -13,6 +13,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_RawDataCnv_p1.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -50,6 +51,7 @@ void testit (const ALFA_RawData& trans1) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_RawData trans1 (123); trans1.SetWordId_PMF (234); diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCollectionCnv_charge_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCollectionCnv_charge_p1_test.cxx index 9afaa587fa8..eb4e235968d 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCollectionCnv_charge_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCollectionCnv_charge_p1_test.cxx @@ -14,6 +14,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_RawDataCollectionCnv_charge_p1.h" #include "CxxUtils/make_unique.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -88,6 +89,7 @@ void init_RawData (ALFA_RawData_charge& r, int o) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_RawDataCollection_charge trans1 (1124, 1123); for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCollectionCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCollectionCnv_p1_test.cxx index f30985c2bea..0b54202bc32 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCollectionCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataCollectionCnv_p1_test.cxx @@ -14,6 +14,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_RawDataCollectionCnv_p1.h" #include "CxxUtils/make_unique.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -92,6 +93,7 @@ void init_RawData (ALFA_RawData& r, int o) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_RawDataCollection trans1 (1123); for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataContainerCnv_charge_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataContainerCnv_charge_p1_test.cxx index 88a5ac0b3de..49e2b975a5d 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataContainerCnv_charge_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataContainerCnv_charge_p1_test.cxx @@ -14,6 +14,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_RawDataContainerCnv_charge_p1.h" #include "CxxUtils/make_unique.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -130,6 +131,7 @@ void init_RawDataCollection (ALFA_RawDataCollection_charge& c, int o) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_RawDataContainer_charge trans1; for (int i=0; i < 10; i++) { diff --git a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataContainerCnv_p1_test.cxx b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataContainerCnv_p1_test.cxx index 78c42a31bb2..d8f97579dbf 100644 --- a/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataContainerCnv_p1_test.cxx +++ b/ForwardDetectors/ALFA/ALFA_EventCnv/ALFA_EventTPCnv/test/ALFA_RawDataContainerCnv_p1_test.cxx @@ -14,6 +14,7 @@ #undef NDEBUG #include "ALFA_EventTPCnv/ALFA_RawDataContainerCnv_p1.h" #include "CxxUtils/make_unique.h" +#include "TestTools/leakcheck.h" #include <cassert> #include <iostream> @@ -145,6 +146,7 @@ void init_RawDataCollection (ALFA_RawDataCollection& c, int o) void test1() { std::cout << "test1\n"; + Athena_test::Leakcheck check; ALFA_RawDataContainer trans1; for (int i=0; i < 10; i++) { -- GitLab