ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTrigPassBitsContainerCnv.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id: xAODTrigPassBitsContainerCnv.cxx 755768 2016-06-17 13:43:10Z krasznaa $
6
7// System include(s):
8#include <memory>
9
10// Local include(s):
12
18
21
22 // Get the object using the base class:
23 std::unique_ptr< xAOD::TrigPassBitsContainer >
25
26 // Create a copy of it:
28 for( size_t i = 0; i < ondisk->size(); ++i ) {
29 result->push_back( new xAOD::TrigPassBits() );
30 }
31 result->setStore( ondisk->getConstStoreLink() );
32
33 // Now return it:
34 return result;
35}
virtual xAOD::TrigPassBitsContainer * createTransientWithKey(const std::string &key) override
xAODTrigPassBitsContainerCnv(ISvcLocator *svcLoc)
Converter constructor.
virtual xAOD::TrigPassBitsContainer * createTransientWithKey(const std::string &key) override final
Function reading in the persistent object from disk.
TrigPassBitsContainer_v1 TrigPassBitsContainer
Define the latest version of the trig pass bits container class.
TrigPassBits_v1 TrigPassBits
Define the latest version of the trigger pass bits class.
T_AthenaPoolxAODCnv< xAOD::TrigPassBitsContainer > xAODTrigPassBitsContainerCnvBase