ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecAthenaPool
src
MuonSpShowerContainerCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef RECATHENAPOOL_MUONSPSHOWERCONTAINERCNV_H
6
#define RECATHENAPOOL_MUONSPSHOWERCONTAINERCNV_H
7
8
// AthenaPoolCnvSvc includes
9
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
10
11
// RecTPCnv includes
12
#include "
RecTPCnv/MuonSpShowerContainer_p1.h
"
13
14
// muonEvent includes
15
#include "
muonEvent/MuonSpShowerContainer.h
"
16
17
18
// Forward declaration
19
20
// the latest persistent representation type of DataCollection:
21
typedef
MuonSpShowerContainer_p1
MuonSpShowerContainer_PERS
;
22
23
class
MuonSpShowerContainerCnv
:
24
public
T_AthenaPoolCustomCnv
<
25
Rec::MuonSpShowerContainer,
26
MuonSpShowerContainer_PERS >
27
{
28
29
// make the factory for this converter our friend
30
friend
class
CnvFactory
<
MuonSpShowerContainerCnv
>;
31
32
protected
:
33
35
public
:
36
MuonSpShowerContainerCnv
(ISvcLocator* svcloc);
37
protected
:
38
40
virtual
MuonSpShowerContainer_PERS
*
41
createPersistent
(
Rec::MuonSpShowerContainer
* transCont );
42
44
virtual
Rec::MuonSpShowerContainer
*
createTransient
(
const
Token
* token);
45
46
};
47
51
52
inline
MuonSpShowerContainerCnv::MuonSpShowerContainerCnv
( ISvcLocator* svcLocator ) :
53
T_AthenaPoolCustomCnv
<
Rec
::MuonSpShowerContainer,
MuonSpShowerContainer_PERS
>(svcLocator)
54
{
55
}
56
57
#endif
//> RECATHENAPOOL_MUONCONTAINERCNV_H
MuonSpShowerContainer_PERS
MuonSpShowerContainer_p1 MuonSpShowerContainer_PERS
Definition
MuonSpShowerContainerCnv.h:21
MuonSpShowerContainer.h
MuonSpShowerContainer_p1.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
MuonSpShowerContainerCnv::MuonSpShowerContainerCnv
MuonSpShowerContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
MuonSpShowerContainerCnv.h:52
MuonSpShowerContainerCnv::createTransient
virtual Rec::MuonSpShowerContainer * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
MuonSpShowerContainerCnv.cxx:28
MuonSpShowerContainerCnv::createPersistent
virtual MuonSpShowerContainer_PERS * createPersistent(Rec::MuonSpShowerContainer *transCont)
Build the persistent representation from the transient one.
Definition
MuonSpShowerContainerCnv.cxx:15
MuonSpShowerContainer_p1
Persisent representation of the transient Rec::MuonSpShowerContainer class.
Definition
MuonSpShowerContainer_p1.h:14
Rec::MuonSpShowerContainer
Definition
MuonSpShowerContainer.h:23
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
Rec
namespace for combined reconstruction tools and interfaces
Definition
FakeTrackBuilder.h:10
Generated on
for ATLAS Offline Software by
1.17.0