ATLAS Offline Software
TileCalorimeter
TileSvc
TileEventAthenaPool
src
TileCosmicMuonContainerCnv.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
// TileCosmicMuonContainerCnv.h
8
// Header file for class TileCosmicMuonContainerCnv
9
// Author: Aranzazu Ruiz <aranzazu.ruiz.martinez@cern.ch>
10
// Date: July 2008
11
// Revised: July 2009 maneira@lip.pt
13
#ifndef TILEEVENTATHENAPOOL_TILECOSMICMUONCONTAINERCNV_H
14
#define TILEEVENTATHENAPOOL_TILECOSMICMUONCONTAINERCNV_H
15
16
// AthenaPoolCnvSvc includes
17
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
18
19
// TileTPCnv includes
20
#include "
TileTPCnv/TileCosmicMuonContainer_p1.h
"
21
#include "
TileTPCnv/TileCosmicMuonContainer_p2.h
"
22
23
// TileEvent includes
24
#include "
TileEvent/TileCosmicMuonContainer.h
"
25
26
typedef
TileCosmicMuonContainer_p2
TileCosmicMuonContainer_PERS
;
27
28
class
TileCosmicMuonContainerCnv
:
public
T_AthenaPoolCustomCnv
<
29
TileCosmicMuonContainer,
30
TileCosmicMuonContainer_PERS
31
>
32
33
{
34
35
// make the factory for this converter our friend
36
friend
class
CnvFactory
<
TileCosmicMuonContainerCnv
>;
37
38
protected
:
39
42
public
:
43
TileCosmicMuonContainerCnv
(ISvcLocator* svcloc);
44
protected
:
45
48
virtual
TileCosmicMuonContainer_PERS
*
49
createPersistent
(
TileCosmicMuonContainer
* transCont );
50
53
virtual
TileCosmicMuonContainer
*
createTransient
();
54
55
};
56
57
inline
TileCosmicMuonContainerCnv::TileCosmicMuonContainerCnv
( ISvcLocator* svcLocator ) :
58
T_AthenaPoolCustomCnv
<
TileCosmicMuonContainer
,
TileCosmicMuonContainer_PERS
>(svcLocator)
59
{}
60
61
#endif //> TILEEVENTATHENAPOOL_TILECOSMICMUONCONTAINERCNV_H
TileCosmicMuonContainerCnv::createPersistent
virtual TileCosmicMuonContainer_PERS * createPersistent(TileCosmicMuonContainer *transCont)
Build the persistent representation from the transient one.
Definition:
TileCosmicMuonContainerCnv.cxx:25
TileCosmicMuonContainer_PERS
TileCosmicMuonContainer_p2 TileCosmicMuonContainer_PERS
Definition:
TileCosmicMuonContainerCnv.h:26
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
TileCosmicMuonContainerCnv::TileCosmicMuonContainerCnv
TileCosmicMuonContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition:
TileCosmicMuonContainerCnv.h:57
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
TileCosmicMuonContainerCnv
Definition:
TileCosmicMuonContainerCnv.h:33
TileCosmicMuonContainerCnv::createTransient
virtual TileCosmicMuonContainer * createTransient()
Build the transient representation from a persistent one.
Definition:
TileCosmicMuonContainerCnv.cxx:37
TileCosmicMuonContainer_p1.h
TileCosmicMuonContainer.h
TileCosmicMuonContainer_p2
Definition:
TileCosmicMuonContainer_p2.h:19
TileContainer
Definition:
TileContainer.h:38
TileCosmicMuonContainer_p2.h
Generated on Sun Dec 22 2024 21:19:42 for ATLAS Offline Software by
1.8.18