ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
AthenaPoolCnvSvc
AthenaPoolCnvSvc
T_AthenaPoolxAODCnv.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
12
13
14
#ifndef ATHENAPOOLCNVSVC_T_ATHENAPOOLXAODCNV_H
15
#define ATHENAPOOLCNVSVC_T_ATHENAPOOLXAODCNV_H
16
17
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
19
#include "
AthenaPoolCnvSvc/TPCnvList.h
"
20
#include "
AthenaPoolCnvSvc/exceptions.h
"
21
#include "
AthenaPoolCnvSvc/debug.h
"
22
#include "
AthContainers/AuxVectorBase.h
"
23
#include "
AthenaKernel/ClassName.h
"
24
#include "
AthenaKernel/ClassID_traits.h
"
25
26
40
template
<
class
XAOD,
class
... TPCNVS>
41
class
T_AthenaPoolxAODCnv
42
:
public
T_AthenaPoolCustomCnvWithKey
<XAOD, XAOD>
43
{
44
friend
class
CnvFactory
<
T_AthenaPoolxAODCnv
>;
45
46
template
<
class
CNV,
class
TPCNV>
47
friend
class
AthenaPoolCnvSvc::TPCnvElt
;
48
49
public
:
50
typedef
T_AthenaPoolCustomCnvWithKey<XAOD, XAOD>
Base
;
51
52
57
T_AthenaPoolxAODCnv
( ISvcLocator* svcLoc );
58
59
67
virtual
XAOD*
createPersistentWithKey
( XAOD* trans,
68
const
std::string& key)
override
;
69
70
78
virtual
XAOD*
createTransientWithKey
(
const
Token
* token,
const
std::string& key)
override
;
79
80
81
private
:
83
const
Guid
m_guid
;
84
86
AthenaPoolCnvSvc::TPCnvList
<
T_AthenaPoolxAODCnv
, XAOD, TPCNVS...>
m_tpcnvs
;
87
};
88
89
90
#include "
AthenaPoolCnvSvc/T_AthenaPoolxAODCnv.icc
"
91
92
93
#endif
// not ATHENAPOOLCNVSVC_T_ATHENAPOOLXAODCNV_H
94
ClassName.h
An interface for getting the name of a class as a string.
AuxVectorBase.h
Manage index tracking and synchronization of auxiliary data.
ClassID_traits.h
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
debug.h
A couple hooks for debugging.
exceptions.h
Exceptions that can be thrown from AthenaPoolCnvSvc.
TPCnvList.h
Helper for calling TP converters from an Athena converter.
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
T_AthenaPoolxAODCnv.icc
AthenaPoolCnvSvc::TPCnvElt
Helper for calling a TP converter from an Athena converter.
Definition
TPCnvElt.h:62
AthenaPoolCnvSvc::TPCnvList
Helper for calling TP converters from an Athena converter.
Definition
TPCnvList.h:31
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
Guid
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition
Guid.h:25
T_AthenaPoolCustomCnvWithKey< XAOD, XAOD >::T_AthenaPoolCustomCnvWithKey
T_AthenaPoolCustomCnvWithKey(ISvcLocator *pSvcLocator, const char *name=nullptr)
T_AthenaPoolxAODCnv::createPersistentWithKey
virtual XAOD * createPersistentWithKey(XAOD *trans, const std::string &key) override
Convert a transient object to persistent form.
T_AthenaPoolxAODCnv::T_AthenaPoolxAODCnv
T_AthenaPoolxAODCnv(ISvcLocator *svcLoc)
Constructor.
T_AthenaPoolxAODCnv< DMTest::HVec, DMTest::HVecCnv_v1 >::m_guid
const Guid m_guid
Definition
T_AthenaPoolxAODCnv.h:83
T_AthenaPoolxAODCnv::createTransientWithKey
virtual XAOD * createTransientWithKey(const Token *token, const std::string &key) override
Read the persistent object and convert it to transient.
T_AthenaPoolxAODCnv< DMTest::HVec, DMTest::HVecCnv_v1 >::Base
T_AthenaPoolCustomCnvWithKey< DMTest::HVec, DMTest::HVec > Base
Definition
T_AthenaPoolxAODCnv.h:50
T_AthenaPoolxAODCnv< DMTest::HVec, DMTest::HVecCnv_v1 >::m_tpcnvs
AthenaPoolCnvSvc::TPCnvList< T_AthenaPoolxAODCnv, DMTest::HVec, TPCNVS... > m_tpcnvs
Definition
T_AthenaPoolxAODCnv.h:86
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
Generated on
for ATLAS Offline Software by
1.17.0