From c1e204692dbb013378561d70b023ebeb81322b3b Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Thu, 23 Jul 2020 21:57:34 +0200
Subject: [PATCH] Fix a few more leak checks to work with DataVector changes.

---
 .../test/INav4MomToTrackParticleAssocsCnv_p1_test.cxx      | 7 ++++---
 .../test/ParticleShallowCloneCnv_p1_test.cxx               | 6 +++---
 .../test/ParticleShallowCloneContainerCnv_p1_test.cxx      | 6 +++---
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/INav4MomToTrackParticleAssocsCnv_p1_test.cxx b/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/INav4MomToTrackParticleAssocsCnv_p1_test.cxx
index 6084f944a81..9d6ad68396c 100644
--- a/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/INav4MomToTrackParticleAssocsCnv_p1_test.cxx
+++ b/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/INav4MomToTrackParticleAssocsCnv_p1_test.cxx
@@ -1,8 +1,6 @@
 /*
-  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
-
-// $Id$
 /**
  * @file ParticleEventTPCnv/test/INav4MomToTrackParticleAssocsCnv_p1_test.cxx
  * @author scott snyder <snyder@bnl.gov>
@@ -63,6 +61,9 @@ void test1()
   ElementLink<INavigable4MomentumCollection> dum1 ("in", 3);
   ElementLink<Rec::TrackParticleContainer> dum2   ("tp", 2);
   DataLink<INav4MomToTrackParticleAssocs> storelink ("xstore");
+
+  INavigable4MomentumCollection::dvlinfo();
+
   Athena_test::Leakcheck check;
 
   INav4MomToTrackParticleAssocs trans1;
diff --git a/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/ParticleShallowCloneCnv_p1_test.cxx b/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/ParticleShallowCloneCnv_p1_test.cxx
index d00a880584e..b1a526937f9 100644
--- a/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/ParticleShallowCloneCnv_p1_test.cxx
+++ b/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/ParticleShallowCloneCnv_p1_test.cxx
@@ -1,8 +1,6 @@
 /*
-  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
-
-// $Id$
 /**
  * @file ParticleEventTPCnv/test/ParticleShallowCloneCnv_p1_test.cxx
  * @author scott snyder <snyder@bnl.gov>
@@ -62,6 +60,8 @@ void test1()
   SGTest::store.record (c, "cont");
   ElementLink<VxContainer> origin ("vx", 0);
 
+  IParticleContainer::dvlinfo();
+
   Athena_test::Leakcheck check;
   P4Momentum_t mom (100, 200, 300, 400);
   Analysis::ParticleShallowClone trans1 (MasterLink_t ("cont", 0),
diff --git a/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/ParticleShallowCloneContainerCnv_p1_test.cxx b/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/ParticleShallowCloneContainerCnv_p1_test.cxx
index fd7f3a427e7..4669f4d3a7b 100644
--- a/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/ParticleShallowCloneContainerCnv_p1_test.cxx
+++ b/PhysicsAnalysis/AnalysisCommon/ParticleEventTPCnv/test/ParticleShallowCloneContainerCnv_p1_test.cxx
@@ -1,8 +1,6 @@
 /*
-  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
-
-// $Id$
 /**
  * @file ParticleEventTPCnv/test/ParticleShallowCloneContainerCnv_p1_test.cxx
  * @author scott snyder <snyder@bnl.gov>
@@ -66,6 +64,8 @@ void test1()
     DataPool<Analysis::ParticleShallowClone> pooldum;
   }
 
+  IParticleContainer::dvlinfo();
+
   Athena_test::Leakcheck check;
 
   P4Momentum_t mom (100, 200, 300, 400);
-- 
GitLab