ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaAthenaPool
src
PhotonContainerCnv.h
Go to the documentation of this file.
1
2
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
(
const
Token
* token);
65
66
};
67
71
72
inline
PhotonContainerCnv::PhotonContainerCnv
( ISvcLocator* svcLocator ) :
73
T_AthenaPoolCustomCnv
<
PhotonContainer
,
PhotonContainer_PERS
>(svcLocator)
74
{}
75
76
#endif
//> EGAMMAATHENAPOOL_PHOTONCONTAINERCNV_H
PhotonContainer_PERS
PhotonContainer_p5 PhotonContainer_PERS
Definition
PhotonContainerCnv.h:34
PhotonContainer_p1.h
PhotonContainer_p2.h
PhotonContainer_p3.h
PhotonContainer_p4.h
PhotonContainer_p5.h
PhotonContainer.h
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
PhotonContainerCnv::createTransient
virtual PhotonContainer * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
PhotonContainerCnv.cxx:54
PhotonContainerCnv::PhotonContainerCnv
PhotonContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
PhotonContainerCnv.h:72
PhotonContainerCnv::createPersistent
virtual PhotonContainer_PERS * createPersistent(PhotonContainer *transCont)
Build the persistent representation from the transient one.
Definition
PhotonContainerCnv.cxx:43
PhotonContainer_p5
Definition
PhotonContainer_p5.h:19
PhotonContainer
Class to define the PhotonContainer.
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/PhotonContainer.h:30
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:129
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
Generated on
for ATLAS Offline Software by
1.17.0