ATLAS Offline Software
Event
EventBookkeeperAthenaPool
src
EventBookkeeperCollectionCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// Header file for EventBookkeeperCollectionCnv
7
// Author: David Cote, September 2008. <david.cote@cern.ch>
8
// This class defines which persitent version is used for writing, and how to handle various pN versions when reading.
10
11
#ifndef EVENTBOOKKEEPERCOLLECTIONCNV__H
12
#define EVENTBOOKKEEPERCOLLECTIONCNV__H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
EventBookkeeperMetaData/EventBookkeeperCollection.h
"
16
#include "
EventBookkeeperTPCnv/EventBookkeeperCollection_p2.h
"
17
#include "
EventBookkeeperTPCnv/EventBookkeeperCollectionCnv_p1.h
"
18
#include "
EventBookkeeperTPCnv/EventBookkeeperCollectionCnv_p2.h
"
19
20
// the latest persistent representation type of EventBookkeeperCollection
21
typedef
EventBookkeeperCollection_p2
EventBookkeeperCollection_PERS
;
22
typedef
T_AthenaPoolCustomCnv<EventBookkeeperCollection, EventBookkeeperCollection_PERS >
EventBookkeeperCollectionCnvBase
;
23
24
class
EventBookkeeperCollectionCnv
:
public
EventBookkeeperCollectionCnvBase
25
{
26
friend
class
CnvFactory
<
EventBookkeeperCollectionCnv
>;
27
protected
:
28
public
:
29
EventBookkeeperCollectionCnv
(ISvcLocator* svcloc) :
EventBookkeeperCollectionCnvBase
(svcloc) {}
30
protected
:
31
virtual
EventBookkeeperCollection_PERS
*
createPersistent
(
EventBookkeeperCollection
* transCont);
32
virtual
EventBookkeeperCollection
*
createTransient
();
33
34
// virtual AthenaPoolTopLevelTPCnvBase* getTopLevelTPCnv() { return &m_TPConverter; }
35
36
private
:
37
EventBookkeeperCollectionCnv_p1
m_TPConverterP1
;
38
EventBookkeeperCollectionCnv_p2
m_TPConverter
;
39
};
40
41
#endif // EVENTBOOKKEEPERCOLLECTIONCNV__H
42
EventBookkeeperCollectionCnv::createPersistent
virtual EventBookkeeperCollection_PERS * createPersistent(EventBookkeeperCollection *transCont)
Definition:
EventBookkeeperCollectionCnv.cxx:14
EventBookkeeperCollection_PERS
EventBookkeeperCollection_p2 EventBookkeeperCollection_PERS
Definition:
EventBookkeeperCollectionCnv.h:21
EventBookkeeperCollectionCnv::createTransient
virtual EventBookkeeperCollection * createTransient()
Definition:
EventBookkeeperCollectionCnv.cxx:20
EventBookkeeperCollection.h
EventBookkeeperCollectionCnv
Definition:
EventBookkeeperCollectionCnv.h:25
EventBookkeeperCollectionCnvBase
T_AthenaPoolCustomCnv< EventBookkeeperCollection, EventBookkeeperCollection_PERS > EventBookkeeperCollectionCnvBase
Definition:
EventBookkeeperCollectionCnv.h:22
EventBookkeeperCollection_p2.h
EventBookkeeperCollection
Definition:
EventBookkeeperCollection.h:21
EventBookkeeperCollectionCnv::EventBookkeeperCollectionCnv
EventBookkeeperCollectionCnv(ISvcLocator *svcloc)
Definition:
EventBookkeeperCollectionCnv.h:29
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
EventBookkeeperCollectionCnv::m_TPConverter
EventBookkeeperCollectionCnv_p2 m_TPConverter
Definition:
EventBookkeeperCollectionCnv.h:38
EventBookkeeperCollectionCnv_p2.h
TPCnvVector
Definition:
TPConverter.h:1256
EventBookkeeperCollection_p2
Definition:
EventBookkeeperCollection_p2.h:12
EventBookkeeperCollectionCnv_p1.h
EventBookkeeperCollectionCnv::m_TPConverterP1
EventBookkeeperCollectionCnv_p1 m_TPConverterP1
Definition:
EventBookkeeperCollectionCnv.h:37
Generated on Wed Jan 22 2025 21:10:11 for ATLAS Offline Software by
1.8.18