Skip to content
Snippets Groups Projects
Commit 6a3e2886 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

xAODHIEventAthenaPool: Update clear to work on AuxVectorData.

Update the clear method of IAuxTypeVectorFactory / AuxTypeRegistry to take
AuxVectorData instances rather than bare pointers.  Remove the clear static
method from AuxTypeVector.
Also alter clear to operate on a range, rather than a single element.

Refactoring to make possible dependencies between auxiliary variables,
as would be used to support packed links / jagged vectors.
parent 2532951e
No related branches found
No related tags found
1 merge request!68432AthContainers, etc: Update clear to work on AuxVectorData.
/*
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
// $Id: xAODHIEventShapeAuxContainerCnv_v1.cxx 694377 2015-09-11 13:50:57Z krasznaa $
// System include(s):
#include <stdexcept>
......@@ -119,7 +117,7 @@ persToTrans( const xAOD::HIEventShapeAuxContainer_v1* oldObj,
if (!src) {
// This can happen with corrupt input files. In this case just
// fill dummy values into the new object:
r.clear( auxid, dst, nindex );
r.clear( auxid, newInt, nindex, 1 );
continue;
}
r.copy( auxid, dst, nindex, src, oindex );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment