ATLAS Offline Software
Loading...
Searching...
No Matches
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
22template <class T, class P, class CONV>
24 : public T_AthenaPoolCustomCnv<T, P >
25{
26friend class CnvFactory<MuonRdoContainerTPCnv<T, P, CONV > >;
27
28public:
29 MuonRdoContainerTPCnv(ISvcLocator* svcloc);
30
31protected:
33 virtual P* createPersistent(T* rdoC);
34 virtual T* createTransient ();
35 // pass the MuonIdHelperSvc to the CscRawDataCnv
36 virtual StatusCode initialize();
37
38protected:
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
An STL vector of pointers that by default owns its pointed-to elements.
static Double_t P(Double_t *tt, Double_t *par)
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Abstract factory to create the converter.
Derived DataVector<T>.
Definition DataVector.h:795
virtual T * createTransient()
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
virtual T * createTransientFrom_p0(COLL_vector *persObj, MsgStream &log)
virtual P * createPersistent(T *rdoC)
Extend base-class conversion methods.
MuonRdoContainerTPCnv(ISvcLocator *svcloc)
Compatibility for old converter classes that don't get passed the key.