ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaAthenaPool
src
CaloRingsContainerCnv.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
// CaloRingsContainerCnv.h
8
// Header file for class CaloRingsContainerCnv
9
// Author: D.E.Ferreira de Lima<dferreir@mail.cern.ch>
11
#ifndef RECATHENAPOOL_CALORINGSCONTAINERCNV_H
12
#define RECATHENAPOOL_CALORINGSCONTAINERCNV_H
13
14
// STL includes
15
16
// AthenaPoolCnvSvc includes
17
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
18
19
// RecTPCnv includes
20
#include "
egammaEventTPCnv/CaloRingsContainer_p1.h
"
21
22
// egammaEvent includes
23
#include "
egammaEvent/CaloRingsContainer.h
"
24
25
26
// Forward declaration
27
28
// the latest persistent representation type of DataCollection:
29
typedef
CaloRingsContainer_p1
CaloRingsContainer_PERS
;
30
31
class
CaloRingsContainerCnv
:
public
T_AthenaPoolCustomCnv
<
32
CaloRingsContainer,
33
CaloRingsContainer_PERS
34
>
35
36
{
37
38
// make the factory for this converter our friend
39
friend
class
CnvFactory
<
CaloRingsContainerCnv
>;
40
42
// Protected methods:
44
protected
:
45
48
public
:
49
CaloRingsContainerCnv
(ISvcLocator* svcloc);
50
protected
:
51
54
virtual
CaloRingsContainer_PERS
*
55
createPersistent
(
CaloRingsContainer
* transCont );
56
59
virtual
CaloRingsContainer
*
createTransient
(
const
Token
* token);
60
61
};
62
66
67
inline
CaloRingsContainerCnv::CaloRingsContainerCnv
( ISvcLocator* svcLocator ) :
68
T_AthenaPoolCustomCnv
<
CaloRingsContainer
,
CaloRingsContainer_PERS
>(svcLocator)
69
{}
70
71
#endif
//> RECATHENAPOOL_CALORINGSCONTAINERCNV_H
CaloRingsContainer_PERS
CaloRingsContainer_p1 CaloRingsContainer_PERS
Definition
CaloRingsContainerCnv.h:29
CaloRingsContainer_p1.h
CaloRingsContainer.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CaloRingsContainerCnv::createPersistent
virtual CaloRingsContainer_PERS * createPersistent(CaloRingsContainer *transCont)
Build the persistent representation from the transient one.
Definition
CaloRingsContainerCnv.cxx:38
CaloRingsContainerCnv::createTransient
virtual CaloRingsContainer * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
CaloRingsContainerCnv.cxx:49
CaloRingsContainerCnv::CaloRingsContainerCnv
CaloRingsContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
CaloRingsContainerCnv.h:67
CaloRingsContainer_p1
Definition
CaloRingsContainer_p1.h:21
CaloRingsContainer
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/CaloRingsContainer.h:15
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
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