ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
TrkEventTPCnv
TrkTrack
TrackCnv_p2.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_P2_H
6
#define TRACK_CNV_P2_H
7
8
//-----------------------------------------------------------------------------
9
//
10
// file: TrakcCnv_p2.cxx
11
//
12
//-----------------------------------------------------------------------------
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
15
16
#include "
TrkTrack/Track.h
"
17
#include "
TrkEventTPCnv/TrkTrack/Track_p1.h
"
18
19
#include "
TrkEventTPCnv/TrkEventPrimitives/FitQualityCnv_p1.h
"
20
#include "
TrkEventTPCnv/TrkTrack/TrackStateOnSurfaceCnv_p2.h
"
21
22
class
MsgStream;
23
24
class
TrackCnv_p2
:
public
T_AthenaPoolTPCnvBase
<Trk :: Track,
25
Trk :: Track_p1>
26
{
27
public
:
28
TrackCnv_p2
() :
m_fqCnv
(0) {}
29
30
virtual
void
persToTrans
(
const
Trk::Track_p1
*,
Trk::Track
*, MsgStream& );
31
virtual
void
transToPers
(
const
Trk::Track
*,
Trk::Track_p1
*, MsgStream& );
32
33
virtual
void
initPrivateConverters
(
AthenaPoolTopLevelTPCnvBase
*topCnv )
34
{
35
m_trackStateVectorCnv
.
setTopConverter
( topCnv, 0 );
36
}
37
38
protected
:
39
typedef
T_AthenaPoolTPPtrVectorCnv
<
Trk::TrackStates
,
40
std::vector<TPObjRef>,
41
TrackStateOnSurfaceCnv_p2
>
TrackStateOSVectorCnv_p2
;
42
43
FitQualityCnv_p1
*
m_fqCnv
;
44
TrackStateOSVectorCnv_p2
m_trackStateVectorCnv
;
45
};
46
47
#endif // TRACK_CNV_P2_H
Trk::Track
The ATLAS Track class.
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
TPConverterBase
Definition:
TPConverter.h:738
TrackCnv_p2::persToTrans
virtual void persToTrans(const Trk::Track_p1 *, Trk::Track *, MsgStream &)
Definition:
TrackCnv_p2.cxx:18
TrackCnv_p2::m_fqCnv
FitQualityCnv_p1 * m_fqCnv
Definition:
TrackCnv_p2.h:43
FitQualityCnv_p1
Definition:
FitQualityCnv_p1.h:22
TrackCnv_p2::m_trackStateVectorCnv
TrackStateOSVectorCnv_p2 m_trackStateVectorCnv
Definition:
TrackCnv_p2.h:44
Track.h
Trk::TrackStates
DataVector< const Trk::TrackStateOnSurface > TrackStates
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:30
T_AthenaPoolTPConverter.h
TrackCnv_p2::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
Definition:
TrackCnv_p2.h:33
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
TrackCnv_p2
Definition:
TrackCnv_p2.h:26
TrackCnv_p2::transToPers
virtual void transToPers(const Trk::Track *, Trk::Track_p1 *, MsgStream &)
Definition:
TrackCnv_p2.cxx:160
FitQualityCnv_p1.h
TrackCnv_p2::TrackCnv_p2
TrackCnv_p2()
Definition:
TrackCnv_p2.h:28
Trk::Track_p1
Definition:
Track_p1.h:19
TPPtrVectorCnv
Definition:
TPConverter.h:919
TrackStateOnSurfaceCnv_p2.h
TrackStateOnSurfaceCnv_p2
Definition:
TrackStateOnSurfaceCnv_p2.h:26
TrackCnv_p2::TrackStateOSVectorCnv_p2
T_AthenaPoolTPPtrVectorCnv< Trk::TrackStates, std::vector< TPObjRef >, TrackStateOnSurfaceCnv_p2 > TrackStateOSVectorCnv_p2
Definition:
TrackCnv_p2.h:41
Track_p1.h
Generated on Thu Nov 7 2024 21:28:49 for ATLAS Offline Software by
1.8.18