ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
TrkEventTPCnv
TrkTrack
TrackCnv_p3.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRACK_CNV_P3_H
6
#define TRACK_CNV_P3_H
7
8
//-----------------------------------------------------------------------------
9
//
10
// file: TrakcCnv_p3.cxx
11
//
12
//-----------------------------------------------------------------------------
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
15
16
#include "
TrkTrack/Track.h
"
17
#include "
TrkEventTPCnv/TrkTrack/Track_p2.h
"
18
19
#include "
TrkEventTPCnv/TrkEventPrimitives/FitQualityCnv_p1.h
"
20
#include "
TrkEventTPCnv/TrkTrack/TrackStateOnSurfaceCnv_p2.h
"
21
#include "
TrkEventTPCnv/TrkTrack/TrackInfoCnv_p1.h
"
22
#include "
TrkEventTPCnv/TrkTrackSummary/TrackSummaryCnv_p2.h
"
23
24
class
MsgStream;
25
26
class
TrackCnv_p3
:
public
T_AthenaPoolTPCnvBase
<Trk :: Track,
27
Trk :: Track_p2>
28
{
29
public
:
30
TrackCnv_p3
() :
m_tiCnv
(0),
m_fqCnv
(0),
m_trackSummaryCnv
(0) {}
31
32
virtual
void
persToTrans
(
const
Trk::Track_p2
*,
Trk::Track
*, MsgStream& );
33
virtual
void
transToPers
(
const
Trk::Track
*,
Trk::Track_p2
*, MsgStream& );
34
35
virtual
void
initPrivateConverters
(
AthenaPoolTopLevelTPCnvBase
*topCnv )
36
{
37
// std::cout<<"initPrivateConverters for TrackCnv_p3="<<this<<" with topCnv="<<topCnv<<" and tscnv="<<m_trackSummaryCnv<<std::endl;
38
m_trackStateVectorCnv
.
setTopConverter
( topCnv, 0 );
39
// m_trackSummaryCnv.setTopConverter( topCnv, 0);
40
41
}
42
43
protected
:
44
typedef
T_AthenaPoolTPPtrVectorCnv
<
Trk::TrackStates
,
45
std::vector<TPObjRef>,
46
TrackStateOnSurfaceCnv_p2
>
TrackStateOSVectorCnv_p2
;
47
48
TrackInfoCnv_p1
*
m_tiCnv
;
49
FitQualityCnv_p1
*
m_fqCnv
;
50
TrackStateOSVectorCnv_p2
m_trackStateVectorCnv
;
51
TrackSummaryCnv_p2
*
m_trackSummaryCnv
;
52
};
53
54
#endif // TRACK_CNV_P3_H
Trk::Track_p2
Definition:
Track_p2.h:19
Track_p2.h
Trk::Track
The ATLAS Track class.
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
TrackCnv_p3::persToTrans
virtual void persToTrans(const Trk::Track_p2 *, Trk::Track *, MsgStream &)
Definition:
TrackCnv_p3.cxx:16
TPConverterBase
Definition:
TPConverter.h:738
TrackInfoCnv_p1
Definition:
TrackInfoCnv_p1.h:25
TrackCnv_p3::m_fqCnv
FitQualityCnv_p1 * m_fqCnv
Definition:
TrackCnv_p3.h:49
FitQualityCnv_p1
Definition:
FitQualityCnv_p1.h:22
Track.h
TrackSummaryCnv_p2.h
TrackCnv_p3::m_trackSummaryCnv
TrackSummaryCnv_p2 * m_trackSummaryCnv
Definition:
TrackCnv_p3.h:51
Trk::TrackStates
DataVector< const Trk::TrackStateOnSurface > TrackStates
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:30
T_AthenaPoolTPConverter.h
TrackCnv_p3::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
Definition:
TrackCnv_p3.h:35
TrackCnv_p3::m_trackStateVectorCnv
TrackStateOSVectorCnv_p2 m_trackStateVectorCnv
Definition:
TrackCnv_p3.h:50
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
FitQualityCnv_p1.h
TrackInfoCnv_p1.h
TrackSummaryCnv_p2
Definition:
TrackSummaryCnv_p2.h:15
TrackCnv_p3::m_tiCnv
TrackInfoCnv_p1 * m_tiCnv
Definition:
TrackCnv_p3.h:48
TrackCnv_p3::TrackStateOSVectorCnv_p2
T_AthenaPoolTPPtrVectorCnv< Trk::TrackStates, std::vector< TPObjRef >, TrackStateOnSurfaceCnv_p2 > TrackStateOSVectorCnv_p2
Definition:
TrackCnv_p3.h:46
TPPtrVectorCnv
Definition:
TPConverter.h:919
TrackStateOnSurfaceCnv_p2.h
TrackStateOnSurfaceCnv_p2
Definition:
TrackStateOnSurfaceCnv_p2.h:26
TrackCnv_p3
Definition:
TrackCnv_p3.h:28
TrackCnv_p3::transToPers
virtual void transToPers(const Trk::Track *, Trk::Track_p2 *, MsgStream &)
Definition:
TrackCnv_p3.cxx:34
TrackCnv_p3::TrackCnv_p3
TrackCnv_p3()
Definition:
TrackCnv_p3.h:30
Generated on Sun Dec 22 2024 21:20:16 for ATLAS Offline Software by
1.8.18