ATLAS Offline Software
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 
19 
20 class StoreGateSvc;
21 
22 template <class T>
24 : public T_AthenaPoolCustCnv<T, DataVector<typename T::IDENTIFIABLE> >
25 {
26  friend class CnvFactory<MuonRdoContainerCnv<T> >;
27 
28 public:
29  MuonRdoContainerCnv(ISvcLocator* svcloc);
31 
33 
37 
38 private:
39  typedef typename T::IDENTIFIABLE COLLECTION_t;
43 };
44 
45 #include "MuonRdoContainerCnv.icc"
46 
47 #endif
48 
49 
MuonRdoContainerCnv::COLL_vector
DataVector< COLLECTION_t > COLL_vector
Definition: MuonRdoContainerCnv.h:40
MuonRdoContainerCnv::~MuonRdoContainerCnv
virtual ~MuonRdoContainerCnv()
T_AthenaPoolCustCnv
This templated class provides the converter to translate an object to/from its persistent POOL repres...
Definition: T_AthenaPoolCustCnv.h:35
MuonRdoContainerCnv::transToPers
StatusCode transToPers(T *rdoC, DataVector< typename T::IDENTIFIABLE > *&persObj)
Extend base-class conversion methods.
T_AthenaPoolCustCnv.h
his file contains the class definition for the templated T_AthenaPoolCustCnv class.
MuonRdoContainerCnv::MuonRdoContainerCnv
MuonRdoContainerCnv(ISvcLocator *svcloc)
MuonRdoContainerCnv::initialize
StatusCode initialize()
Gaudi Service Interface method implementations:
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
MuonRdoContainerCnv
Definition: MuonRdoContainerCnv.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
MuonRdoContainerCnv::persToTrans
StatusCode persToTrans(T *&rdoC, DataVector< typename T::IDENTIFIABLE > *colV)
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
MuonRdoContainerCnv::m_storeGate
StoreGateSvc * m_storeGate
Definition: MuonRdoContainerCnv.h:42
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
MuonRdoContainerCnv::COLLECTION_t
T::IDENTIFIABLE COLLECTION_t
Definition: MuonRdoContainerCnv.h:39
MuonRdoContainerCnv.icc
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
MuonRdoContainerCnv::m_colV
COLL_vector m_colV
Definition: MuonRdoContainerCnv.h:41