ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODCoreAthenaPool
src
xAODShallowAuxContainerCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef XAODCOREATHENAPOOL_XAODSHALLOWAUXCONTAINERCNV_H
6
#define XAODCOREATHENAPOOL_XAODSHALLOWAUXCONTAINERCNV_H
7
8
// Gaudi/Athena include(s):
9
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
10
11
// EDM include(s):
12
#include "
xAODCore/ShallowAuxContainer.h
"
13
15
typedef
T_AthenaPoolCustomCnvWithKey
<
xAOD::ShallowAuxContainer
,
16
xAOD::ShallowAuxContainer
>
17
xAODShallowAuxContainerCnvBase
;
18
28
class
xAODShallowAuxContainerCnv
:
29
public
xAODShallowAuxContainerCnvBase
{
30
31
public
:
33
xAODShallowAuxContainerCnv
( ISvcLocator* svcLoc );
34
35
protected
:
37
virtual
38
xAOD::ShallowAuxContainer
*
createPersistentWithKey
(
xAOD::ShallowAuxContainer
* trans,
39
const
std::string& key)
override
;
41
virtual
42
xAOD::ShallowAuxContainer
*
createTransientWithKey
(
const
Token
* token,
43
const
std::string& key)
override
;
44
45
46
};
// class xAODShallowAuxContainerCnv
47
48
#endif
// XAODCOREATHENAPOOL_XAODSHALLOWAUXCONTAINERCNV_H
49
ShallowAuxContainer.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
T_AthenaPoolCustomCnvWithKey
This templated class extends T_AthenaPoolCustCnv to provide management of the persistent objects crea...
Definition
T_AthenaPoolCustomCnv.h:36
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
xAODShallowAuxContainerCnv::createTransientWithKey
virtual xAOD::ShallowAuxContainer * createTransientWithKey(const Token *token, const std::string &key) override
Function reading in the object from the input file.
Definition
xAODShallowAuxContainerCnv.cxx:117
xAODShallowAuxContainerCnv::createPersistentWithKey
virtual xAOD::ShallowAuxContainer * createPersistentWithKey(xAOD::ShallowAuxContainer *trans, const std::string &key) override
Function preparing the container to be written out.
Definition
xAODShallowAuxContainerCnv.cxx:19
xAODShallowAuxContainerCnv::xAODShallowAuxContainerCnv
xAODShallowAuxContainerCnv(ISvcLocator *svcLoc)
Converter constructor.
Definition
xAODShallowAuxContainerCnv.cxx:13
xAOD::ShallowAuxContainer
Class creating a shallow copy of an existing auxiliary container.
Definition
ShallowAuxContainer.h:50
xAODShallowAuxContainerCnvBase
T_AthenaPoolCustomCnvWithKey< xAOD::ShallowAuxContainer, xAOD::ShallowAuxContainer > xAODShallowAuxContainerCnvBase
Base class for the converter.
Definition
xAODShallowAuxContainerCnv.h:17
Generated on
for ATLAS Offline Software by
1.17.0