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