ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
TopLevelTPCnvBase
*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
RecVertexCnv_p2.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPPolyVectorCnv
TPPolyVectorCnv< TRANS, PERS, CONV > T_AthenaPoolTPPolyVectorCnv
Definition
T_AthenaPoolTPConverter.h:60
T_AthenaPoolTPCnvBase
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
Definition
T_AthenaPoolTPConverter.h:41
VxCandidate.h
VxCandidate_p1.h
VxTrackAtVertexCnv_p1.h
ITPConverterFor
Common base class for all TP converters, specialized for a given transient type.
Definition
TPConverter.h:37
RecVertexCnv_p2
Definition
RecVertexCnv_p2.h:18
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition
TopLevelTPCnvBase.h:32
Trk::VxCandidate_p1
Definition
VxCandidate_p1.h:23
Trk::VxCandidate
Definition
VxCandidate.h:27
VxCandidateCnv_p2::initPrivateConverters
virtual void initPrivateConverters(TopLevelTPCnvBase *topCnv)
Definition
VxCandidateCnv_p2.h:24
VxCandidateCnv_p2::persToTrans
void persToTrans(const Trk::VxCandidate_p1 *persObj, Trk::VxCandidate *transObj, MsgStream &log)
Definition
VxCandidateCnv_p2.cxx:10
VxCandidateCnv_p2::m_vxTrkAtVrtCnv
VxTrkAtVrtVectorCnv_p1 m_vxTrkAtVrtCnv
Definition
VxCandidateCnv_p2.h:34
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
VxCandidateCnv_p2::m_recVertexConverter
RecVertexCnv_p2 * m_recVertexConverter
Definition
VxCandidateCnv_p2.h:30
VxCandidateCnv_p2::VxTrkAtVrtVectorCnv_p1
T_AthenaPoolTPPolyVectorCnv< std::vector< Trk::VxTrackAtVertex * >, std::vector< TPObjRef >, ITPConverterFor< Trk::VxTrackAtVertex > > VxTrkAtVrtVectorCnv_p1
Definition
VxCandidateCnv_p2.h:33
VxCandidateCnv_p2::m_vxTrackAtVertexConverter
ITPConverterFor< Trk::VxTrackAtVertex > * m_vxTrackAtVertexConverter
Definition
VxCandidateCnv_p2.h:32
Generated on
for ATLAS Offline Software by
1.17.0