ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
src
RpcPrepDataContainerCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONEVENTATHENAPOOL_RPCPREPDATACONTAINERCNV_H
6
#define MUONEVENTATHENAPOOL_RPCPREPDATACONTAINERCNV_H
7
8
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
9
#include "
MuonPrepRawData/RpcPrepDataCollection.h
"
10
#include "
MuonPrepRawData/RpcPrepDataContainer.h
"
11
#include "
MuonEventTPCnv/RpcPrepDataContainerCnv_tlp1.h
"
12
#include "
MuonEventTPCnv/MuonPrepRawData/RpcPrepDataContainerCnv_p3.h
"
13
14
class
StoreGateSvc
;
15
class
RpcIdHelper
;
16
17
// the latest persistent representation type of DataCollection:
18
typedef
Muon::RpcPrepDataContainer_p3
RpcPrepDataContainer_PERS
;
19
typedef
T_AthenaPoolCustomCnv<Muon::RpcPrepDataContainer, RpcPrepDataContainer_PERS >
RpcPrepDataContainerCnvBase
;
20
25
class
RpcPrepDataContainerCnv
:
26
public
RpcPrepDataContainerCnvBase
27
{
28
29
friend
class
CnvFactory
<
RpcPrepDataContainerCnv
>;
30
31
public
:
32
RpcPrepDataContainerCnv
(ISvcLocator* svcloc);
33
virtual
~RpcPrepDataContainerCnv
();
34
35
virtual
RpcPrepDataContainer_PERS
*
createPersistent
(
Muon::RpcPrepDataContainer
* transCont);
36
virtual
Muon::RpcPrepDataContainer
*
createTransient
(
const
Token
* token);
37
38
// Must initialize ID helpers
39
virtual
StatusCode
initialize
();
40
virtual
TopLevelTPCnvBase
*
getTopLevelTPCnv
() {
return
&
m_TPConverter
; }
41
42
private
:
43
// Not bothering with being able to read 'old' PRDs yet. Ed
44
//RpcPrepDataContainerCnv_p1 m_converter_p1;
45
RpcPrepDataContainerCnv_tlp1
m_TPConverter
;
46
Muon::RpcPrepDataContainerCnv_p3
m_converter_p3
;
47
};
48
49
#endif
50
RpcPrepDataCollection.h
RpcPrepDataContainerCnvBase
T_AthenaPoolCustomCnv< Muon::RpcPrepDataContainer, RpcPrepDataContainer_PERS > RpcPrepDataContainerCnvBase
Definition
RpcPrepDataContainerCnv.h:19
RpcPrepDataContainer_PERS
Muon::RpcPrepDataContainer_p3 RpcPrepDataContainer_PERS
Definition
RpcPrepDataContainerCnv.h:18
RpcPrepDataContainerCnv_p3.h
RpcPrepDataContainerCnv_tlp1.h
RpcPrepDataContainer.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
Muon::RpcPrepDataContainerCnv_p3
Class to handle the conversion of the transient RpcPrepDataContainer into its persistent representati...
Definition
RpcPrepDataContainerCnv_p3.h:23
RpcIdHelper
Definition
RpcIdHelper.h:51
RpcPrepDataContainerCnv_tlp1
Definition
RpcPrepDataContainerCnv_tlp1.h:23
RpcPrepDataContainerCnv::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
Definition
RpcPrepDataContainerCnv.cxx:27
RpcPrepDataContainerCnv::m_TPConverter
RpcPrepDataContainerCnv_tlp1 m_TPConverter
Definition
RpcPrepDataContainerCnv.h:45
RpcPrepDataContainerCnv::m_converter_p3
Muon::RpcPrepDataContainerCnv_p3 m_converter_p3
Definition
RpcPrepDataContainerCnv.h:46
RpcPrepDataContainerCnv::~RpcPrepDataContainerCnv
virtual ~RpcPrepDataContainerCnv()
RpcPrepDataContainerCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv()
Definition
RpcPrepDataContainerCnv.h:40
RpcPrepDataContainerCnv::createTransient
virtual Muon::RpcPrepDataContainer * createTransient(const Token *token)
Definition
RpcPrepDataContainerCnv.cxx:48
RpcPrepDataContainerCnv::createPersistent
virtual RpcPrepDataContainer_PERS * createPersistent(Muon::RpcPrepDataContainer *transCont)
Definition
RpcPrepDataContainerCnv.cxx:41
RpcPrepDataContainerCnv::RpcPrepDataContainerCnv
RpcPrepDataContainerCnv(ISvcLocator *svcloc)
Definition
RpcPrepDataContainerCnv.cxx:21
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::RpcPrepDataContainer
MuonPrepDataContainerT< RpcPrepData > RpcPrepDataContainer
Definition
MuonPrepDataContainer.h:95
Muon::RpcPrepDataContainer_p3
MuonPRD_Container_p2< RpcPrepData_p3 > RpcPrepDataContainer_p3
Definition
MuonPRD_Container_p2.h:38
Generated on
for ATLAS Offline Software by
1.17.0