ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
TrkEventTPCnv
TrkTrack
TrackCnv_p1.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_P1_H
6
#define TRACK_CNV_P1_H
7
8
//-----------------------------------------------------------------------------
9
//
10
// file: TrakcCnv_p1.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_p1.h
"
21
22
class
MsgStream;
23
24
class
TrackCnv_p1
:
public
T_AthenaPoolTPCnvBase
<Trk :: Track,
25
Trk :: Track_p1>
26
{
27
public
:
28
TrackCnv_p1
() :
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
m_trackStateVectorCnv
.
setTopConverter
( topCnv, 0 );
35
}
36
37
protected
:
38
typedef
T_AthenaPoolTPPtrVectorCnv
<
Trk::TrackStates
,
39
std::vector<TPObjRef>,
40
TrackStateOnSurfaceCnv_p1
>
TrackStateOSVectorCnv_p1
;
41
42
FitQualityCnv_p1
*
m_fqCnv
;
43
TrackStateOSVectorCnv_p1
m_trackStateVectorCnv
;
44
};
45
46
#endif // TRACK_CNV_P1_H
TrackCnv_p1::transToPers
virtual void transToPers(const Trk::Track *, Trk::Track_p1 *, MsgStream &)
Definition:
TrackCnv_p1.cxx:164
Trk::Track
The ATLAS Track class.
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
TrackStateOnSurfaceCnv_p1
Definition:
TrackStateOnSurfaceCnv_p1.h:30
TPConverterBase
Definition:
TPConverter.h:738
FitQualityCnv_p1
Definition:
FitQualityCnv_p1.h:22
Track.h
Trk::TrackStates
DataVector< const Trk::TrackStateOnSurface > TrackStates
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:30
T_AthenaPoolTPConverter.h
TrackCnv_p1::m_trackStateVectorCnv
TrackStateOSVectorCnv_p1 m_trackStateVectorCnv
Definition:
TrackCnv_p1.h:43
TrackCnv_p1::persToTrans
virtual void persToTrans(const Trk::Track_p1 *, Trk::Track *, MsgStream &)
Definition:
TrackCnv_p1.cxx:19
TrackCnv_p1::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
Definition:
TrackCnv_p1.h:33
TrackCnv_p1::TrackCnv_p1
TrackCnv_p1()
Definition:
TrackCnv_p1.h:28
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
Trk::Track_p1
Definition:
Track_p1.h:19
TrackCnv_p1::m_fqCnv
FitQualityCnv_p1 * m_fqCnv
Definition:
TrackCnv_p1.h:42
TPPtrVectorCnv
Definition:
TPConverter.h:919
TrackCnv_p1::TrackStateOSVectorCnv_p1
T_AthenaPoolTPPtrVectorCnv< Trk::TrackStates, std::vector< TPObjRef >, TrackStateOnSurfaceCnv_p1 > TrackStateOSVectorCnv_p1
Definition:
TrackCnv_p1.h:40
TrackCnv_p1
Definition:
TrackCnv_p1.h:26
TrackStateOnSurfaceCnv_p1.h
Track_p1.h
Generated on Thu Nov 7 2024 21:28:49 for ATLAS Offline Software by
1.8.18