ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonSimEventAthenaPool
src
MMSimHitCollectionCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONSIMEVENTATHENAPOOL_MMSIMHITCOLLECTIONCNV_H
6
#define MUONSIMEVENTATHENAPOOL_MMSIMHITCOLLECTIONCNV_H
7
8
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
9
#include "
MuonSimEvent/MMSimHitCollection.h
"
10
11
#include "
MuonSimEventTPCnv/MMSimHitCollectionCnv_p1.h
"
12
#include "
MuonSimEventTPCnv/MMSimHitCollectionCnv_p2.h
"
13
#include "
MuonSimEventTPCnv/MMSimHitCollectionCnv_p3.h
"
14
15
// the latest persistent representation type of DataCollection:
16
typedef
Muon::MMSimHitCollection_p2
MMSimHitCollection_PERS
;
17
typedef
T_AthenaPoolCustomCnv<MMSimHitCollection, MMSimHitCollection_PERS >
MMSimHitCollectionCnvBase
;
18
23
class
MMSimHitCollectionCnv
:
24
public
MMSimHitCollectionCnvBase
25
{
26
27
friend
class
CnvFactory
<
MMSimHitCollectionCnv
>;
28
29
public
:
30
MMSimHitCollectionCnv
(ISvcLocator* svcloc);
31
virtual
~MMSimHitCollectionCnv
();
32
33
virtual
MMSimHitCollection_PERS
*
createPersistent
(
MMSimHitCollection
* transCont);
34
virtual
MMSimHitCollection
*
createTransient
(
const
Token
* token);
35
36
private
:
37
MMSimHitCollectionCnv_p1
m_TPConverter_p1
;
38
MMSimHitCollectionCnv_p2
m_TPConverter_p2
;
39
MMSimHitCollectionCnv_p3
m_TPConverter_p3
;
40
};
41
42
#endif
MMSimHitCollectionCnvBase
T_AthenaPoolCustomCnv< MMSimHitCollection, MMSimHitCollection_PERS > MMSimHitCollectionCnvBase
Definition
MMSimHitCollectionCnv.h:17
MMSimHitCollection_PERS
Muon::MMSimHitCollection_p2 MMSimHitCollection_PERS
Definition
MMSimHitCollectionCnv.h:16
MMSimHitCollectionCnv_p1.h
MMSimHitCollectionCnv_p2.h
MMSimHitCollectionCnv_p3.h
MMSimHitCollection.h
MMSimHitCollection
AtlasHitsVector< MMSimHit > MMSimHitCollection
Definition
MMSimHitCollection.h:15
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
MMSimHitCollectionCnv_p1
Definition
MMSimHitCollectionCnv_p1.h:13
MMSimHitCollectionCnv_p2
Definition
MMSimHitCollectionCnv_p2.h:13
MMSimHitCollectionCnv_p3
Definition
MMSimHitCollectionCnv_p3.h:13
MMSimHitCollectionCnv::m_TPConverter_p2
MMSimHitCollectionCnv_p2 m_TPConverter_p2
Definition
MMSimHitCollectionCnv.h:38
MMSimHitCollectionCnv::~MMSimHitCollectionCnv
virtual ~MMSimHitCollectionCnv()
MMSimHitCollectionCnv::m_TPConverter_p3
MMSimHitCollectionCnv_p3 m_TPConverter_p3
Definition
MMSimHitCollectionCnv.h:39
MMSimHitCollectionCnv::m_TPConverter_p1
MMSimHitCollectionCnv_p1 m_TPConverter_p1
Definition
MMSimHitCollectionCnv.h:37
MMSimHitCollectionCnv::createPersistent
virtual MMSimHitCollection_PERS * createPersistent(MMSimHitCollection *transCont)
Definition
MMSimHitCollectionCnv.cxx:28
MMSimHitCollectionCnv::createTransient
virtual MMSimHitCollection * createTransient(const Token *token)
Definition
MMSimHitCollectionCnv.cxx:35
MMSimHitCollectionCnv::MMSimHitCollectionCnv
MMSimHitCollectionCnv(ISvcLocator *svcloc)
Definition
MMSimHitCollectionCnv.cxx:21
Muon::MMSimHitCollection_p2
Definition
MMSimHitCollection_p2.h:13
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