ATLAS Offline Software
Loading...
Searching...
No Matches
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
20class StoreGateSvc;
21
22template <class T>
24: public T_AthenaPoolCustCnv<T, DataVector<typename T::IDENTIFIABLE> >
25{
26 friend class CnvFactory<MuonRdoContainerCnv<T> >;
27
28public:
29 MuonRdoContainerCnv(ISvcLocator* svcloc);
31
32 StatusCode initialize();
33
35 StatusCode transToPers(T* rdoC, DataVector<typename T::IDENTIFIABLE>*& persObj);
37
38private:
39 typedef typename T::IDENTIFIABLE COLLECTION_t;
43};
44
46
47#endif
48
49
An STL vector of pointers that by default owns its pointed-to elements.
his file contains the class definition for the templated T_AthenaPoolCustCnv class.
Abstract factory to create the converter.
Derived DataVector<T>.
Definition DataVector.h:795
virtual ~MuonRdoContainerCnv()
DataVector< COLLECTION_t > COLL_vector
T::IDENTIFIABLE COLLECTION_t
StatusCode initialize()
Gaudi Service Interface method implementations:
StatusCode persToTrans(T *&rdoC, DataVector< typename T::IDENTIFIABLE > *colV)
StatusCode transToPers(T *rdoC, DataVector< typename T::IDENTIFIABLE > *&persObj)
Extend base-class conversion methods.
MuonRdoContainerCnv(ISvcLocator *svcloc)
The Athena Transient Store API.
T_AthenaPoolCustCnv(ISvcLocator *pSvcLocator, const char *name=nullptr)