ATLAS Offline Software
Reconstruction
egamma
egammaAthenaPool
src
egammaContainerCnv.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// egammaContainerCnv.h
8
// Header file for class egammaContainerCnv
9
// Author: K.Cranmer<cranmer@cern.ch>
10
// Author: S.Binet<binet@cern.ch>
12
#ifndef EGAMMAATHENAPOOL_EGAMMACONTAINERCNV_H
13
#define EGAMMAATHENAPOOL_EGAMMACONTAINERCNV_H
14
15
// STL includes
16
17
// AthenaPoolCnvSvc includes
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
19
20
// egammaEventTPCnv includes
21
#include "
egammaEventTPCnv/egammaContainer_p1.h
"
22
#include "
egammaEventTPCnv/egammaContainer_p2.h
"
23
#include "
egammaEventTPCnv/egammaContainer_p3.h
"
24
#include "
egammaEventTPCnv/egammaContainer_p4.h
"
25
#include "
egammaEventTPCnv/egammaContainer_p5.h
"
26
27
// egammaEvent includes
28
#include "
egammaEvent/egammaContainer.h
"
29
30
31
// Forward declaration
32
33
// the latest persistent representation type of DataCollection:
34
typedef
egammaContainer_p5
egammaContainer_PERS
;
35
36
class
egammaContainerCnv
:
public
T_AthenaPoolCustomCnv
<
37
egammaContainer,
38
egammaContainer_PERS
39
>
40
41
{
42
43
// make the factory for this converter our friend
44
friend
class
CnvFactory
<
egammaContainerCnv
>;
45
47
// Protected methods:
49
protected
:
50
53
public
:
54
egammaContainerCnv
(ISvcLocator* svcloc);
55
protected
:
56
59
virtual
egammaContainer_PERS
*
60
createPersistent
(
egammaContainer
* transCont );
61
64
virtual
egammaContainer
*
createTransient
();
65
66
};
67
71
72
inline
egammaContainerCnv::egammaContainerCnv
( ISvcLocator* svcLocator ) :
73
T_AthenaPoolCustomCnv
<
egammaContainer
,
egammaContainer_PERS
>(svcLocator)
74
{}
75
76
#endif //> EGAMMAATHENAPOOL_EGAMMACONTAINERCNV_H
egammaContainerCnv
Definition:
egammaContainerCnv.h:41
egammaContainer_PERS
egammaContainer_p5 egammaContainer_PERS
Definition:
egammaContainerCnv.h:34
egammaContainerCnv::egammaContainerCnv
egammaContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition:
egammaContainerCnv.h:72
egammaContainerCnv::createTransient
virtual egammaContainer * createTransient()
Build the transient representation from a persistent one.
Definition:
egammaContainerCnv.cxx:55
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
egammaContainer_p3.h
egammaContainerCnv::createPersistent
virtual egammaContainer_PERS * createPersistent(egammaContainer *transCont)
Build the persistent representation from the transient one.
Definition:
egammaContainerCnv.cxx:44
egammaContainer
Definition:
egammaContainer.h:41
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
egammaContainer_p5
Definition:
egammaContainer_p5.h:21
egammaContainer_p5.h
egammaContainer_p4.h
egammaContainer_p1.h
egammaContainer_p2.h
egammaContainer.h
Generated on Sun Dec 22 2024 21:09:47 for ATLAS Offline Software by
1.8.18