ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
src
MuonRdoContainerCnv.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
/*
6
custom POOL converter for Muon RDO
7
8
@author Tadashi Maeno
9
based on SCT_RDO_ContainerCnv by RD Schaffer
10
11
* T = RDO container class
12
*/
13
14
#ifndef MUONEVENTATHENAPOOL_MUONRDOCONTAINERCNV_H
15
#define MUONEVENTATHENAPOOL_MUONRDOCONTAINERCNV_H
16
17
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustCnv.h
"
18
#include "
AthContainers/DataVector.h
"
19
20
class
StoreGateSvc
;
21
22
template
<
class
T>
23
class
MuonRdoContainerCnv
24
:
public
T_AthenaPoolCustCnv
<T, DataVector<typename T::IDENTIFIABLE> >
25
{
26
friend
class
CnvFactory
<
MuonRdoContainerCnv
<T> >;
27
28
public
:
29
MuonRdoContainerCnv
(ISvcLocator* svcloc);
30
virtual
~MuonRdoContainerCnv
();
31
32
StatusCode
initialize
();
33
35
StatusCode
transToPers
(T* rdoC,
DataVector<typename T::IDENTIFIABLE>
*& persObj);
36
StatusCode
persToTrans
(T*& rdoC,
DataVector<typename T::IDENTIFIABLE>
* colV);
37
38
private
:
39
typedef
typename
T::IDENTIFIABLE
COLLECTION_t
;
40
typedef
DataVector<COLLECTION_t>
COLL_vector
;
41
COLL_vector
m_colV
;
42
StoreGateSvc
*
m_storeGate
;
43
};
44
45
#include "
MuonRdoContainerCnv.icc
"
46
47
#endif
48
49
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
MuonRdoContainerCnv.icc
T_AthenaPoolCustCnv.h
his file contains the class definition for the templated T_AthenaPoolCustCnv class.
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
MuonRdoContainerCnv::~MuonRdoContainerCnv
virtual ~MuonRdoContainerCnv()
MuonRdoContainerCnv::COLL_vector
DataVector< COLLECTION_t > COLL_vector
Definition
MuonRdoContainerCnv.h:40
MuonRdoContainerCnv::COLLECTION_t
T::IDENTIFIABLE COLLECTION_t
Definition
MuonRdoContainerCnv.h:39
MuonRdoContainerCnv::m_colV
COLL_vector m_colV
Definition
MuonRdoContainerCnv.h:41
MuonRdoContainerCnv::initialize
StatusCode initialize()
Gaudi Service Interface method implementations:
MuonRdoContainerCnv::persToTrans
StatusCode persToTrans(T *&rdoC, DataVector< typename T::IDENTIFIABLE > *colV)
MuonRdoContainerCnv::transToPers
StatusCode transToPers(T *rdoC, DataVector< typename T::IDENTIFIABLE > *&persObj)
Extend base-class conversion methods.
MuonRdoContainerCnv::m_storeGate
StoreGateSvc * m_storeGate
Definition
MuonRdoContainerCnv.h:42
MuonRdoContainerCnv::MuonRdoContainerCnv
MuonRdoContainerCnv(ISvcLocator *svcloc)
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
T_AthenaPoolCustCnv< T, DataVector< T::IDENTIFIABLE > >::T_AthenaPoolCustCnv
T_AthenaPoolCustCnv(ISvcLocator *pSvcLocator, const char *name=nullptr)
Generated on
for ATLAS Offline Software by
1.17.0