ATLAS Offline Software
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 
14 xAODTrigPassBitsContainerCnv( ISvcLocator* svcLoc )
16 
17 }
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 }
get_generator_info.result
result
Definition: get_generator_info.py:21
xAODTrigPassBitsContainerCnv::xAODTrigPassBitsContainerCnv
xAODTrigPassBitsContainerCnv(ISvcLocator *svcLoc)
Converter constructor.
Definition: xAODTrigPassBitsContainerCnv.cxx:14
xAODTrigPassBitsContainerCnv::createTransientWithKey
virtual xAOD::TrigPassBitsContainer * createTransientWithKey(const std::string &key) override final
Function reading in the persistent object from disk.
Definition: xAODTrigPassBitsContainerCnv.cxx:20
xAOD::TrigPassBitsContainer
TrigPassBitsContainer_v1 TrigPassBitsContainer
Define the latest version of the trig pass bits container class.
Definition: TrigPassBitsContainer.h:17
lumiFormat.i
int i
Definition: lumiFormat.py:85
xAOD::TrigPassBits_v1
Type describing which elements in a container passed a trigger chain.
Definition: TrigPassBits_v1.h:38
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAODTrigPassBitsContainerCnv.h
T_AthenaPoolxAODCnv
Athena pool converter for xAOD classes.
Definition: T_AthenaPoolxAODCnv.h:41
T_AthenaPoolxAODCnv::createTransientWithKey
virtual XAOD * createTransientWithKey(const std::string &key) override
Read the persistent object and convert it to transient.
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37