ATLAS Offline Software
Loading...
Searching...
No Matches
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
25
26
40template <class XAOD, class ... TPCNVS>
42 : public T_AthenaPoolCustomCnvWithKey<XAOD, XAOD>
43{
44 friend class CnvFactory< T_AthenaPoolxAODCnv >;
45
46 template <class CNV, class TPCNV>
48
49public:
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
81private:
83 const Guid m_guid;
84
87};
88
89
91
92
93#endif // not ATHENAPOOLCNVSVC_T_ATHENAPOOLXAODCNV_H
94
An interface for getting the name of a class as a string.
Manage index tracking and synchronization of auxiliary data.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
A couple hooks for debugging.
Exceptions that can be thrown from AthenaPoolCnvSvc.
Helper for calling TP converters from an Athena converter.
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Helper for calling a TP converter from an Athena converter.
Definition TPCnvElt.h:62
Helper for calling TP converters from an Athena converter.
Definition TPCnvList.h:37
Abstract factory to create the converter.
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition Guid.h:25
T_AthenaPoolCustomCnvWithKey(ISvcLocator *pSvcLocator, const char *name=nullptr)
virtual XAOD * createPersistentWithKey(XAOD *trans, const std::string &key) override
Convert a transient object to persistent form.
T_AthenaPoolxAODCnv(ISvcLocator *svcLoc)
Constructor.
virtual XAOD * createTransientWithKey(const Token *token, const std::string &key) override
Read the persistent object and convert it to transient.
T_AthenaPoolCustomCnvWithKey< DMTest::HVec, DMTest::HVec > Base
AthenaPoolCnvSvc::TPCnvList< T_AthenaPoolxAODCnv, DMTest::HVec, TPCNVS... > m_tpcnvs
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition Token.h:21