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-2019 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
38template <class XAOD, class ... TPCNVS>
40 : public T_AthenaPoolCustomCnvWithKey<XAOD, XAOD>
41{
42 friend class CnvFactory< T_AthenaPoolxAODCnv >;
43
44 template <class CNV, class TPCNV>
46
47public:
49
50
55 T_AthenaPoolxAODCnv ( ISvcLocator* svcLoc );
56
57
65 virtual XAOD* createPersistentWithKey( XAOD* trans,
66 const std::string& key) override;
67
68
76 virtual XAOD* createTransientWithKey (const std::string& key) override;
77
78
79private:
81 const Guid m_guid;
82
85};
86
87
89
90
91#endif // not ATHENAPOOLCNVSVC_T_ATHENAPOOLXAODCNV_H
92
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:61
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 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