ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
src
MdtPrepDataContainerCnv.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 MUONEVENTATHENAPOOL_MDTPREPDATACONTAINERCNV_H
6
#define MUONEVENTATHENAPOOL_MDTPREPDATACONTAINERCNV_H
7
8
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
9
#include "
MuonPrepRawData/MdtPrepDataCollection.h
"
10
#include "
MuonPrepRawData/MdtPrepDataContainer.h
"
11
#include "
MuonEventTPCnv/MdtPrepDataContainerCnv_tlp1.h
"
12
#include "
MuonEventTPCnv/MuonPrepRawData/MdtPrepDataContainerCnv_p2.h
"
13
14
class
StoreGateSvc
;
15
class
MdtIdHelper
;
16
17
// the latest persistent representation type of DataCollection:
18
typedef
Muon::MdtPrepDataContainer_p2
MdtPrepDataContainer_PERS
;
19
typedef
T_AthenaPoolCustomCnv<Muon::MdtPrepDataContainer, MdtPrepDataContainer_PERS >
MdtPrepDataContainerCnvBase
;
20
25
class
MdtPrepDataContainerCnv
:
26
public
MdtPrepDataContainerCnvBase
27
{
28
29
friend
class
CnvFactory
<
MdtPrepDataContainerCnv
>;
30
31
public
:
32
MdtPrepDataContainerCnv
(ISvcLocator* svcloc);
33
virtual
~MdtPrepDataContainerCnv
();
34
35
virtual
MdtPrepDataContainer_PERS
*
createPersistent
(
Muon::MdtPrepDataContainer
* transCont);
36
virtual
Muon::MdtPrepDataContainer
*
createTransient
(
const
Token
* token);
37
38
// Must initialize ID helpers
39
virtual
StatusCode
initialize
();
40
virtual
TopLevelTPCnvBase
*
getTopLevelTPCnv
() {
return
&
m_converter_tlp1
; }
41
42
private
:
43
MdtPrepDataContainerCnv_tlp1
m_converter_tlp1
;
44
Muon::MdtPrepDataContainerCnv_p2
m_converter_p2
;
45
};
46
47
#endif
MdtPrepDataCollection.h
MdtPrepDataContainer_PERS
Muon::MdtPrepDataContainer_p2 MdtPrepDataContainer_PERS
Definition
MdtPrepDataContainerCnv.h:18
MdtPrepDataContainerCnvBase
T_AthenaPoolCustomCnv< Muon::MdtPrepDataContainer, MdtPrepDataContainer_PERS > MdtPrepDataContainerCnvBase
Definition
MdtPrepDataContainerCnv.h:19
MdtPrepDataContainerCnv_p2.h
MdtPrepDataContainerCnv_tlp1.h
MdtPrepDataContainer.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
MdtIdHelper
Definition
MdtIdHelper.h:61
MdtPrepDataContainerCnv_tlp1
Definition
MdtPrepDataContainerCnv_tlp1.h:23
MdtPrepDataContainerCnv::createPersistent
virtual MdtPrepDataContainer_PERS * createPersistent(Muon::MdtPrepDataContainer *transCont)
Definition
MdtPrepDataContainerCnv.cxx:41
MdtPrepDataContainerCnv::createTransient
virtual Muon::MdtPrepDataContainer * createTransient(const Token *token)
Definition
MdtPrepDataContainerCnv.cxx:48
MdtPrepDataContainerCnv::m_converter_tlp1
MdtPrepDataContainerCnv_tlp1 m_converter_tlp1
'Old style' top level convertor
Definition
MdtPrepDataContainerCnv.h:43
MdtPrepDataContainerCnv::MdtPrepDataContainerCnv
MdtPrepDataContainerCnv(ISvcLocator *svcloc)
Definition
MdtPrepDataContainerCnv.cxx:21
MdtPrepDataContainerCnv::~MdtPrepDataContainerCnv
virtual ~MdtPrepDataContainerCnv()
MdtPrepDataContainerCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv()
Definition
MdtPrepDataContainerCnv.h:40
MdtPrepDataContainerCnv::m_converter_p2
Muon::MdtPrepDataContainerCnv_p2 m_converter_p2
New, flattened convertor.
Definition
MdtPrepDataContainerCnv.h:44
MdtPrepDataContainerCnv::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
Definition
MdtPrepDataContainerCnv.cxx:28
Muon::MdtPrepDataContainerCnv_p2
Class to handle the conversion of the transient MdtPrepDataContainer into its persistent representati...
Definition
MdtPrepDataContainerCnv_p2.h:23
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
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
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition
TopLevelTPCnvBase.h:32
Muon::MdtPrepDataContainer_p2
MuonPRD_Container_p2< MdtPrepData_p2 > MdtPrepDataContainer_p2
Definition
MuonPRD_Container_p2.h:36
Muon::MdtPrepDataContainer
MuonPrepDataContainerT< MdtPrepData > MdtPrepDataContainer
Definition
MuonPrepDataContainer.h:94
Generated on
for ATLAS Offline Software by
1.17.0