20 std::pair< std::unique_ptr<xAOD::FlowElementContainer>,
21 std::unique_ptr<xAOD::ShallowAuxContainer> > shallowCopyPair =
25 ATH_CHECK( neutralFELCContainerWriteHandle.
record(std::move(shallowCopyPair.first),std::move(shallowCopyPair.second)));
27 for(
unsigned int counter = 0; counter < (*neutralFEContainerReadHandle).size(); counter++){
36 theCopiedFE->
setP4((*clusElementLink)->pt(), (*clusElementLink)->rawEta(), (*clusElementLink)->rawPhi(), (*clusElementLink)->m());
40 return StatusCode::SUCCESS;
std::pair< std::unique_ptr< T >, std::unique_ptr< ShallowAuxContainer > > shallowCopyContainer(const T &cont, const EventContext &ctx)
Function making a shallow copy of a constant container.