1 // Dear emacs, this is -*- c++ -*-
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
8 // TrigMuonEFInfoToMuonCnvAlg.icc
10 // Created by Mark Owen on 13/03/2014.
14 /// Utility function to record xAOD containers to the event store
15 template<class CONT, class AUXCONT>
17 StatusCode TrigMuonEFInfoToMuonCnvAlg::recordxAODContainers(const std::string& containerName, const std::string& auxContainerName, CONT& xaod, AUXCONT& aux) {
19 CHECK( evtStore()->record( &xaod, containerName ) );
20 CHECK( evtStore()->record( &aux, auxContainerName ) );
21 xaod.setStore( &aux );
22 ATH_MSG_DEBUG( "Recorded xAOD container with key: " << containerName );
23 return StatusCode::SUCCESS;
25 }//namespace xAODMaker