ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
TrkEventTPCnv
VxVertex
VxCandidateCnv_p1.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
#ifndef VXCANDIDATE_CNV_P1_H
6
#define VXCANDIDATE_CNV_P1_H
7
8
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
9
10
#include "
VxVertex/VxCandidate.h
"
11
#include "
TrkEventTPCnv/VxVertex/VxCandidate_p1.h
"
12
#include "
TrkEventTPCnv/VxVertex/RecVertexCnv_p1.h
"
13
#include "
TrkEventTPCnv/VxVertex/VxTrackAtVertexCnv_p1.h
"
14
22
class
MsgStream;
23
24
class
VxCandidateCnv_p1
:
public
T_AthenaPoolTPCnvBase
< Trk::VxCandidate, Trk::VxCandidate_p1>
25
{
26
public
:
27
VxCandidateCnv_p1
():
m_recVertexConverter
(0) {}
28
32
void
persToTrans
(
const
Trk::VxCandidate_p1
* persObj,
Trk::VxCandidate
* transObj, MsgStream &
log
);
33
34
void
transToPers
(
const
Trk::VxCandidate
* transObj,
Trk::VxCandidate_p1
* persObj, MsgStream &
log
);
35
36
virtual
void
initPrivateConverters
(
AthenaPoolTopLevelTPCnvBase
*topCnv )
37
{
38
m_vxTrkAtVrtCnv
.
setTopConverter
( topCnv, 0 );
39
}
40
41
private
:
42
43
RecVertexCnv_p1
*
m_recVertexConverter
;
44
//VxTrackAtVertexCnv_p1 * m_vxTrackAtVertexConverter;
45
typedef
T_AthenaPoolTPPolyVectorCnv< std::vector<Trk::VxTrackAtVertex*>
,
46
std::vector<TPObjRef>,
47
ITPConverterFor<Trk::VxTrackAtVertex>
>
VxTrkAtVrtVectorCnv_p1
;
48
49
50
VxTrkAtVrtVectorCnv_p1
m_vxTrkAtVrtCnv
;
51
52
};
//end of class definitions
53
#endif //VXCANDIDATE_CNV_P1_H
VxCandidateCnv_p1::persToTrans
void persToTrans(const Trk::VxCandidate_p1 *persObj, Trk::VxCandidate *transObj, MsgStream &log)
Conversion methods.
Definition:
VxCandidateCnv_p1.cxx:15
ITPConverterFor< Trk::VxTrackAtVertex >
RecVertexCnv_p1
Definition:
RecVertexCnv_p1.h:27
VxCandidateCnv_p1
Definition:
VxCandidateCnv_p1.h:25
TPConverterBase
Definition:
TPConverter.h:738
VxTrackAtVertexCnv_p1.h
VxCandidateCnv_p1::m_recVertexConverter
RecVertexCnv_p1 * m_recVertexConverter
Definition:
VxCandidateCnv_p1.h:43
RecVertexCnv_p1.h
VxCandidate_p1.h
T_AthenaPoolTPConverter.h
VxCandidateCnv_p1::VxTrkAtVrtVectorCnv_p1
T_AthenaPoolTPPolyVectorCnv< std::vector< Trk::VxTrackAtVertex * >, std::vector< TPObjRef >, ITPConverterFor< Trk::VxTrackAtVertex > > VxTrkAtVrtVectorCnv_p1
Definition:
VxCandidateCnv_p1.h:47
VxCandidate.h
VxCandidateCnv_p1::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
Definition:
VxCandidateCnv_p1.h:36
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition:
TopLevelTPCnvBase.h:32
ITPConverterFor::setTopConverter
virtual void setTopConverter(TopLevelTPCnvBase *topConverter, const TPObjRef::typeID_t &TPtypeID)
Set which top-level converter owns this elemental converter, and what TPtypeID was assigned to the pe...
Definition:
TPConverter.h:221
Trk::VxCandidate_p1
Definition:
VxCandidate_p1.h:23
Trk::VxCandidate
Definition:
VxCandidate.h:27
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TPPolyVectorCnv
Definition:
TPConverter.h:1118
VxCandidateCnv_p1::VxCandidateCnv_p1
VxCandidateCnv_p1()
Definition:
VxCandidateCnv_p1.h:27
VxCandidateCnv_p1::m_vxTrkAtVrtCnv
VxTrkAtVrtVectorCnv_p1 m_vxTrkAtVrtCnv
Definition:
VxCandidateCnv_p1.h:50
VxCandidateCnv_p1::transToPers
void transToPers(const Trk::VxCandidate *transObj, Trk::VxCandidate_p1 *persObj, MsgStream &log)
Definition:
VxCandidateCnv_p1.cxx:27
Generated on Thu Nov 7 2024 21:31:50 for ATLAS Offline Software by
1.8.18