ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
TrkEventTPCnv
VxVertex
VxCandidateCnv_p2.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_P2_H
6
#define VXCANDIDATE_CNV_P2_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_p2.h
"
13
#include "
TrkEventTPCnv/VxVertex/VxTrackAtVertexCnv_p1.h
"
14
15
class
MsgStream;
16
17
class
VxCandidateCnv_p2
:
public
T_AthenaPoolTPCnvBase
< Trk::VxCandidate, Trk::VxCandidate_p1> {
18
public
:
19
VxCandidateCnv_p2
():
m_recVertexConverter
(0),
m_vxTrackAtVertexConverter
(0){}
20
21
void
persToTrans
(
const
Trk::VxCandidate_p1
* persObj,
Trk::VxCandidate
* transObj, MsgStream &
log
);
22
void
transToPers
(
const
Trk::VxCandidate
* transObj,
Trk::VxCandidate_p1
* persObj, MsgStream &
log
);
23
24
virtual
void
initPrivateConverters
(
AthenaPoolTopLevelTPCnvBase
*topCnv ) {
25
m_vxTrkAtVrtCnv
.
setTopConverter
( topCnv, 0 );
26
}
27
28
private
:
29
30
RecVertexCnv_p2
*
m_recVertexConverter
;
31
// VxTrackAtVertexCnv_p1 * m_vxTrackAtVertexConverter; // don't see it used anywhere ?!
32
ITPConverterFor<Trk::VxTrackAtVertex>
*
m_vxTrackAtVertexConverter
;
// used now for looping by ourselves
33
typedef
T_AthenaPoolTPPolyVectorCnv< std::vector<Trk::VxTrackAtVertex*>
, std::vector<TPObjRef>,
ITPConverterFor<Trk::VxTrackAtVertex>
>
VxTrkAtVrtVectorCnv_p1
;
34
VxTrkAtVrtVectorCnv_p1
m_vxTrkAtVrtCnv
;
35
36
};
37
#endif
VxCandidateCnv_p2::m_recVertexConverter
RecVertexCnv_p2 * m_recVertexConverter
Definition:
VxCandidateCnv_p2.h:30
ITPConverterFor< Trk::VxTrackAtVertex >
TPConverterBase
Definition:
TPConverter.h:738
VxTrackAtVertexCnv_p1.h
VxCandidateCnv_p2::m_vxTrackAtVertexConverter
ITPConverterFor< Trk::VxTrackAtVertex > * m_vxTrackAtVertexConverter
Definition:
VxCandidateCnv_p2.h:32
VxCandidateCnv_p2::persToTrans
void persToTrans(const Trk::VxCandidate_p1 *persObj, Trk::VxCandidate *transObj, MsgStream &log)
Definition:
VxCandidateCnv_p2.cxx:10
RecVertexCnv_p2.h
VxCandidate_p1.h
T_AthenaPoolTPConverter.h
VxCandidateCnv_p2::transToPers
void transToPers(const Trk::VxCandidate *transObj, Trk::VxCandidate_p1 *persObj, MsgStream &log)
Definition:
VxCandidateCnv_p2.cxx:34
VxCandidateCnv_p2::VxCandidateCnv_p2
VxCandidateCnv_p2()
Definition:
VxCandidateCnv_p2.h:19
VxCandidate.h
VxCandidateCnv_p2::m_vxTrkAtVrtCnv
VxTrkAtVrtVectorCnv_p1 m_vxTrkAtVrtCnv
Definition:
VxCandidateCnv_p2.h:34
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
VxCandidateCnv_p2::VxTrkAtVrtVectorCnv_p1
T_AthenaPoolTPPolyVectorCnv< std::vector< Trk::VxTrackAtVertex * >, std::vector< TPObjRef >, ITPConverterFor< Trk::VxTrackAtVertex > > VxTrkAtVrtVectorCnv_p1
Definition:
VxCandidateCnv_p2.h:33
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
RecVertexCnv_p2
Definition:
RecVertexCnv_p2.h:18
VxCandidateCnv_p2
Definition:
VxCandidateCnv_p2.h:17
VxCandidateCnv_p2::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
Definition:
VxCandidateCnv_p2.h:24
Generated on Thu Nov 7 2024 21:31:50 for ATLAS Offline Software by
1.8.18