ATLAS Offline Software
Event
EventBookkeeperAthenaPool
src
EventBookkeeperCnv.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 EventBookkeeperCnv
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 EVENTBOOKKEEPERCNV__H
12
#define EVENTBOOKKEEPERCNV__H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
EventBookkeeperMetaData/EventBookkeeper.h
"
16
#include "
EventBookkeeperTPCnv/EventBookkeeper_p2.h
"
17
#include "
EventBookkeeperTPCnv/EventBookkeeperCnv_p1.h
"
18
#include "
EventBookkeeperTPCnv/EventBookkeeperCnv_p2.h
"
19
20
// the latest persistent representation type of EventBookkeeper
21
typedef
EventBookkeeper_p2
EventBookkeeper_PERS
;
22
typedef
T_AthenaPoolCustomCnv<EventBookkeeper, EventBookkeeper_PERS >
EventBookkeeperCnvBase
;
23
24
class
EventBookkeeperCnv
:
public
EventBookkeeperCnvBase
25
{
26
friend
class
CnvFactory
<
EventBookkeeperCnv
>;
27
protected
:
28
public
:
29
EventBookkeeperCnv
(ISvcLocator* svcloc) :
EventBookkeeperCnvBase
(svcloc) {}
30
protected
:
31
virtual
EventBookkeeper_PERS
*
createPersistent
(
EventBookkeeper
* transCont);
32
virtual
EventBookkeeper
*
createTransient
();
33
34
private
:
35
EventBookkeeperCnv_p1
m_TPConverterP1
;
36
EventBookkeeperCnv_p2
m_TPConverter
;
37
};
38
39
#endif // EVENTBOOKKEEPERCNV__H
40
EventBookkeeperCnv_p2
Definition:
EventBookkeeperCnv_p2.h:14
EventBookkeeperCnv::EventBookkeeperCnv
EventBookkeeperCnv(ISvcLocator *svcloc)
Definition:
EventBookkeeperCnv.h:29
EventBookkeeperCnv
Definition:
EventBookkeeperCnv.h:25
EventBookkeeperCnv::createTransient
virtual EventBookkeeper * createTransient()
Definition:
EventBookkeeperCnv.cxx:19
EventBookkeeperCnv_p1
Definition:
EventBookkeeperCnv_p1.h:14
EventBookkeeper.h
EventBookkeeperCnv::m_TPConverter
EventBookkeeperCnv_p2 m_TPConverter
Definition:
EventBookkeeperCnv.h:36
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
EventBookkeeperCnv::m_TPConverterP1
EventBookkeeperCnv_p1 m_TPConverterP1
Definition:
EventBookkeeperCnv.h:35
EventBookkeeperCnv_p2.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
EventBookkeeper
Definition:
EventBookkeeper.h:24
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
EventBookkeeperCnv_p1.h
EventBookkeeper_p2.h
EventBookkeeperCnv::createPersistent
virtual EventBookkeeper_PERS * createPersistent(EventBookkeeper *transCont)
Definition:
EventBookkeeperCnv.cxx:13
EventBookkeeperCnvBase
T_AthenaPoolCustomCnv< EventBookkeeper, EventBookkeeper_PERS > EventBookkeeperCnvBase
Definition:
EventBookkeeperCnv.h:22
EventBookkeeper_PERS
EventBookkeeper_p2 EventBookkeeper_PERS
Definition:
EventBookkeeperCnv.h:21
EventBookkeeper_p2
Definition:
EventBookkeeper_p2.h:16
Generated on Thu Nov 7 2024 21:14:53 for ATLAS Offline Software by
1.8.18