ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
src
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
18
#include "
AthContainers/DataVector.h
"
19
20
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
21
22
template
<
class
T,
class
P,
class
CONV>
23
class
MuonRdoContainerTPCnv
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
(
const
Token
* token);
35
// pass the MuonIdHelperSvc to the CscRawDataCnv
36
virtual
StatusCode
initialize
();
37
38
protected
:
39
typedef
typename
T::IDENTIFIABLE
COLLECTION_t
;
40
typedef
DataVector<COLLECTION_t>
COLL_vector
;
41
42
virtual
T*
createTransientFrom_p0
(
COLL_vector
* persObj, MsgStream &log);
43
45
CONV
m_TPconverter
;
46
};
47
48
#include "
MuonRdoContainerTPCnv.icc
"
49
50
#endif
51
52
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
P
static Double_t P(Double_t *tt, Double_t *par)
Definition
LArPhysWaveHECTool.cxx:280
MuonRdoContainerTPCnv.icc
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
Derived DataVector<T>.
Definition
DataVector.h:795
MuonRdoContainerTPCnv< CscRawDataContainer, CscRawDataContainer_p4, CscRawDataContainerCnv_p4 >::COLL_vector
DataVector< COLLECTION_t > COLL_vector
Definition
MuonRdoContainerTPCnv.h:40
MuonRdoContainerTPCnv< CscRawDataContainer, CscRawDataContainer_p4, CscRawDataContainerCnv_p4 >::COLLECTION_t
CscRawDataContainer::IDENTIFIABLE COLLECTION_t
Definition
MuonRdoContainerTPCnv.h:39
MuonRdoContainerTPCnv::createTransient
virtual T * createTransient(const Token *token)
MuonRdoContainerTPCnv< CscRawDataContainer, CscRawDataContainer_p4, CscRawDataContainerCnv_p4 >::m_TPconverter
CscRawDataContainerCnv_p4 m_TPconverter
Definition
MuonRdoContainerTPCnv.h:45
MuonRdoContainerTPCnv::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
MuonRdoContainerTPCnv::createTransientFrom_p0
virtual T * createTransientFrom_p0(COLL_vector *persObj, MsgStream &log)
MuonRdoContainerTPCnv::createPersistent
virtual P * createPersistent(T *rdoC)
Extend base-class conversion methods.
MuonRdoContainerTPCnv::MuonRdoContainerTPCnv
MuonRdoContainerTPCnv(ISvcLocator *svcloc)
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:129
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
Generated on
for ATLAS Offline Software by
1.17.0