ATLAS Offline Software
Reconstruction
egamma
egammaAthenaPool
src
egDetailContainerCnv.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
// egDetailContainerCnv.h
8
// Header file for class egDetailContainerCnv
9
// Author: K.Cranmer<cranmer@cern.ch>
10
// Author: S.Binet<binet@cern.ch>
12
#ifndef EGAMMAATHENAPOOL_EGDETAILCONTAINERCNV_H
13
#define EGAMMAATHENAPOOL_EGDETAILCONTAINERCNV_H
14
15
// STL includes
16
17
// AthenaPoolCnvSvc includes
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
19
20
// egammaEventTPCnv includes
21
#include "
egammaEventTPCnv/egDetailContainer_p1.h
"
22
#include "
egammaEventTPCnv/egDetailContainer_p2.h
"
23
24
// egammaEvent includes
25
#include "
egammaEvent/egDetailContainer.h
"
26
27
28
// Forward declaration
29
30
// the latest persistent representation type of DataCollection:
31
typedef
egDetailContainer_p2
egDetailContainer_PERS
;
32
33
class
egDetailContainerCnv
:
public
T_AthenaPoolCustomCnv
<
34
egDetailContainer,
35
egDetailContainer_PERS
36
>
37
38
{
39
40
// make the factory for this converter our friend
41
friend
class
CnvFactory
<
egDetailContainerCnv
>;
42
44
// Protected methods:
46
protected
:
47
50
public
:
51
egDetailContainerCnv
(ISvcLocator* svcloc);
52
protected
:
53
56
virtual
egDetailContainer_PERS
*
57
createPersistent
(
egDetailContainer
* transCont );
58
61
virtual
egDetailContainer
*
createTransient
();
62
63
};
64
68
69
inline
egDetailContainerCnv::egDetailContainerCnv
( ISvcLocator* svcLocator ) :
70
T_AthenaPoolCustomCnv
<
egDetailContainer
,
egDetailContainer_PERS
>(svcLocator)
71
{}
72
73
#endif //> EGAMMAATHENAPOOL_EGDETAILCONTAINERCNV_H
egDetailContainer_PERS
egDetailContainer_p2 egDetailContainer_PERS
Definition:
egDetailContainerCnv.h:31
egDetailContainer_p2.h
egDetailContainer.h
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
egDetailContainer_p2
Definition:
egDetailContainer_p2.h:21
egDetailContainerCnv::egDetailContainerCnv
egDetailContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition:
egDetailContainerCnv.h:69
egDetailContainer_p1.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
egDetailContainerCnv
Definition:
egDetailContainerCnv.h:38
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
egDetailContainerCnv::createPersistent
virtual egDetailContainer_PERS * createPersistent(egDetailContainer *transCont)
Build the persistent representation from the transient one.
Definition:
egDetailContainerCnv.cxx:40
egDetailContainer
Definition:
egDetailContainer.h:18
egDetailContainerCnv::createTransient
virtual egDetailContainer * createTransient()
Build the transient representation from a persistent one.
Definition:
egDetailContainerCnv.cxx:51
Generated on Sun Dec 22 2024 21:09:51 for ATLAS Offline Software by
1.8.18