ATLAS Offline Software
MuonRdoContainerTPCnv.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_MUONRDOCONTAINERTPCNV_H
6 #define MUONEVENTATHENAPOOL_MUONRDOCONTAINERTPCNV_H
7 
8 /*
9  custom POOL TP converter template for Muon RDO
10 
11  @author Marcic Nowak, CERN, Dec 2005
12 
13  T = Transient RDO container class
14  P = Persistent RDO container class (corresponding to T)
15  CONV = TP converter between T and P
16 */
17 
19 
21 
22 template <class T, class P, class CONV>
24  : public T_AthenaPoolCustomCnv<T, P >
25 {
26 friend class CnvFactory<MuonRdoContainerTPCnv<T, P, CONV > >;
27 
28 public:
29  MuonRdoContainerTPCnv(ISvcLocator* svcloc);
30 
31 protected:
33  virtual P* createPersistent(T* rdoC);
34  virtual T* createTransient ();
35  // pass the MuonIdHelperSvc to the CscRawDataCnv
37 
38 protected:
39  typedef typename T::IDENTIFIABLE COLLECTION_t;
41 
42  virtual T* createTransientFrom_p0(COLL_vector* persObj, MsgStream &log);
43 
46 };
47 
49 
50 #endif
51 
52 
MuonRdoContainerTPCnv::createPersistent
virtual P * createPersistent(T *rdoC)
Extend base-class conversion methods.
MuonRdoContainerTPCnv::MuonRdoContainerTPCnv
MuonRdoContainerTPCnv(ISvcLocator *svcloc)
MuonRdoContainerTPCnv::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
MuonRdoContainerTPCnv::COLLECTION_t
T::IDENTIFIABLE COLLECTION_t
Definition: MuonRdoContainerTPCnv.h:39
MuonRdoContainerTPCnv::COLL_vector
DataVector< COLLECTION_t > COLL_vector
Definition: MuonRdoContainerTPCnv.h:40
MuonRdoContainerTPCnv
Definition: MuonRdoContainerTPCnv.h:25
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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
DataVector< COLLECTION_t >
MuonRdoContainerTPCnv.icc
MuonRdoContainerTPCnv::createTransientFrom_p0
virtual T * createTransientFrom_p0(COLL_vector *persObj, MsgStream &log)
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
MuonRdoContainerTPCnv::createTransient
virtual T * createTransient()
Definition: CscRawDataContainerCnv.h:25
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
MuonRdoContainerTPCnv::m_TPconverter
CONV m_TPconverter
convertor
Definition: MuonRdoContainerTPCnv.h:45
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35