ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
src
TgcPrepDataContainerCnv.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_TGCPREPDATACONTAINERCNV_H
6
#define MUONEVENTATHENAPOOL_TGCPREPDATACONTAINERCNV_H
7
8
//#include "AthenaPoolCnvSvc/T_AthenaPoolCustCnv.h"
9
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
10
#include "
MuonPrepRawData/TgcPrepDataCollection.h
"
11
#include "
MuonPrepRawData/TgcPrepDataContainer.h
"
12
#include "
MuonEventTPCnv/TgcPrepDataContainerCnv_tlp1.h
"
13
#include "
MuonEventTPCnv/MuonPrepRawData/TgcPrepDataContainerCnv_p2.h
"
14
#include "
MuonEventTPCnv/MuonPrepRawData/TgcPrepDataContainerCnv_p3.h
"
15
16
class
StoreGateSvc
;
17
class
TgcIdHelper
;
18
19
// the latest persistent representation type of DataCollection:
20
typedef
Muon::TgcPrepDataContainer_p3
TgcPrepDataContainer_PERS
;
21
typedef
T_AthenaPoolCustomCnv<Muon::TgcPrepDataContainer, TgcPrepDataContainer_PERS >
TgcPrepDataContainerCnvBase
;
22
27
class
TgcPrepDataContainerCnv
:
28
public
TgcPrepDataContainerCnvBase
29
{
30
31
friend
class
CnvFactory
<
TgcPrepDataContainerCnv
>;
32
33
public
:
34
TgcPrepDataContainerCnv
(ISvcLocator* svcloc);
35
virtual
~TgcPrepDataContainerCnv
();
36
37
virtual
TgcPrepDataContainer_PERS
*
createPersistent
(
Muon::TgcPrepDataContainer
* transCont);
38
virtual
Muon::TgcPrepDataContainer
*
createTransient
(
const
Token
* token);
39
40
// Must initialize ID helpers
41
virtual
StatusCode
initialize
();
42
virtual
TopLevelTPCnvBase
*
getTopLevelTPCnv
() {
return
&
m_TPConverter
; }
43
44
private
:
45
// Not bothering with being able to read 'old' PRDs yet. Ed
46
Muon::TgcPrepDataContainerCnv_p3
m_converter_p3
;
47
Muon::TgcPrepDataContainerCnv_p2
m_converter_p2
;
48
TgcPrepDataContainerCnv_tlp1
m_TPConverter
;
49
};
50
51
#endif
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
TgcPrepDataCollection.h
TgcPrepDataContainer_PERS
Muon::TgcPrepDataContainer_p3 TgcPrepDataContainer_PERS
Definition
TgcPrepDataContainerCnv.h:20
TgcPrepDataContainerCnvBase
T_AthenaPoolCustomCnv< Muon::TgcPrepDataContainer, TgcPrepDataContainer_PERS > TgcPrepDataContainerCnvBase
Definition
TgcPrepDataContainerCnv.h:21
TgcPrepDataContainerCnv_p2.h
TgcPrepDataContainerCnv_p3.h
TgcPrepDataContainerCnv_tlp1.h
TgcPrepDataContainer.h
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
Muon::TgcPrepDataContainerCnv_p2
Class to handle the conversion of the transient TgcPrepDataContainer into its persistent representati...
Definition
TgcPrepDataContainerCnv_p2.h:23
Muon::TgcPrepDataContainerCnv_p3
Class to handle the conversion of the transient TgcPrepDataContainer into its persistent representati...
Definition
TgcPrepDataContainerCnv_p3.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
TgcIdHelper
Definition
TgcIdHelper.h:50
TgcPrepDataContainerCnv_tlp1
Definition
TgcPrepDataContainerCnv_tlp1.h:23
TgcPrepDataContainerCnv::m_TPConverter
TgcPrepDataContainerCnv_tlp1 m_TPConverter
Definition
TgcPrepDataContainerCnv.h:48
TgcPrepDataContainerCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv()
Definition
TgcPrepDataContainerCnv.h:42
TgcPrepDataContainerCnv::TgcPrepDataContainerCnv
TgcPrepDataContainerCnv(ISvcLocator *svcloc)
Definition
TgcPrepDataContainerCnv.cxx:19
TgcPrepDataContainerCnv::createPersistent
virtual TgcPrepDataContainer_PERS * createPersistent(Muon::TgcPrepDataContainer *transCont)
Definition
TgcPrepDataContainerCnv.cxx:40
TgcPrepDataContainerCnv::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
Definition
TgcPrepDataContainerCnv.cxx:26
TgcPrepDataContainerCnv::m_converter_p2
Muon::TgcPrepDataContainerCnv_p2 m_converter_p2
Definition
TgcPrepDataContainerCnv.h:47
TgcPrepDataContainerCnv::createTransient
virtual Muon::TgcPrepDataContainer * createTransient(const Token *token)
Definition
TgcPrepDataContainerCnv.cxx:47
TgcPrepDataContainerCnv::m_converter_p3
Muon::TgcPrepDataContainerCnv_p3 m_converter_p3
Definition
TgcPrepDataContainerCnv.h:46
TgcPrepDataContainerCnv::~TgcPrepDataContainerCnv
virtual ~TgcPrepDataContainerCnv()
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::TgcPrepDataContainer_p3
MuonPRD_Container_p2< TgcPrepData_p3 > TgcPrepDataContainer_p3
Definition
MuonPRD_Container_p2.h:40
Muon::TgcPrepDataContainer
MuonPrepDataContainerT< TgcPrepData > TgcPrepDataContainer
Definition
MuonPrepDataContainer.h:96
Generated on
for ATLAS Offline Software by
1.17.0