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