ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEventCnv
TrkEventTPCnv
TrkEventTPCnv
TrkSegment
SegmentCnv_p1.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 SEGMENT_CNV_P1_H
6
#define SEGMENT_CNV_P1_H
7
8
//-----------------------------------------------------------------------------
9
//
10
// file: SegmentCnv_p1.h
11
//
12
//-----------------------------------------------------------------------------
13
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
14
15
#include "
TrkSegment/Segment.h
"
16
#include "
TrkEventTPCnv/TrkSegment/Segment_p1.h
"
17
18
#include "
TrkEventTPCnv/TrkEventPrimitives/LocalParametersCnv_p1.h
"
19
#include "
TrkEventTPCnv/TrkEventPrimitives/ErrorMatrixCnv_p1.h
"
20
// #include "TrkEventTPCnv/TrkEventPrimitives/FitQualityCnv_p1.h"
21
22
#include "
TrkMeasurementBase/MeasurementBase.h
"
23
24
#include "
AthContainers/DataVector.h
"
25
26
class
MsgStream;
27
28
class
SegmentCnv_p1
29
:
public
T_AthenaPoolTPAbstractPolyCnvBase
< Trk::MeasurementBase, Trk::Segment, Trk::Segment_p1 >
30
{
31
public
:
32
SegmentCnv_p1
() :
m_localParCnv
(0),
m_errorMxCnv
(0) {}
33
34
void
persToTrans
(
const
Trk::Segment_p1
*persObj,
Trk::Segment
*transObj, MsgStream &log );
35
void
transToPers
(
const
Trk::Segment
*transObj,
Trk::Segment_p1
*persObj, MsgStream &log );
36
37
virtual
void
initPrivateConverters
(
TopLevelTPCnvBase
*topCnv ) {
38
m_containedMeasBasesCnv
.setTopConverter( topCnv, 0 );
39
}
40
41
private
:
42
typedef
T_AthenaPoolTPPolyVectorCnv< DataVector< const Trk::MeasurementBase >
,
43
std::vector<TPObjRef>,
44
ITPConverterFor<Trk::MeasurementBase>
>
MeasurementBaseCnv_p1
;
45
46
LocalParametersCnv_p1
*
m_localParCnv
;
47
ErrorMatrixCnv_p1
*
m_errorMxCnv
;
48
// FitQualityCnv_p1 *m_fitQualCnv;
49
MeasurementBaseCnv_p1
m_containedMeasBasesCnv
;
50
};
51
52
#endif
// SEGMENT_CNV_P1_H
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
ErrorMatrixCnv_p1.h
LocalParametersCnv_p1.h
MeasurementBase.h
Segment_p1.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPAbstractPolyCnvBase
TPAbstractPolyCnvBase< TRANS_BASE, TRANS, PERS > T_AthenaPoolTPAbstractPolyCnvBase
Definition
T_AthenaPoolTPConverter.h:32
T_AthenaPoolTPPolyVectorCnv
TPPolyVectorCnv< TRANS, PERS, CONV > T_AthenaPoolTPPolyVectorCnv
Definition
T_AthenaPoolTPConverter.h:60
Segment.h
ErrorMatrixCnv_p1
Definition
ErrorMatrixCnv_p1.h:33
ITPConverterFor< TRANS_BASE >::ITPConverterFor
ITPConverterFor()
Definition
TPConverter.h:43
LocalParametersCnv_p1
Definition
LocalParametersCnv_p1.h:24
SegmentCnv_p1::m_errorMxCnv
ErrorMatrixCnv_p1 * m_errorMxCnv
Definition
SegmentCnv_p1.h:47
SegmentCnv_p1::persToTrans
void persToTrans(const Trk::Segment_p1 *persObj, Trk::Segment *transObj, MsgStream &log)
Definition
SegmentCnv_p1.cxx:10
SegmentCnv_p1::MeasurementBaseCnv_p1
T_AthenaPoolTPPolyVectorCnv< DataVector< const Trk::MeasurementBase >, std::vector< TPObjRef >, ITPConverterFor< Trk::MeasurementBase > > MeasurementBaseCnv_p1
Definition
SegmentCnv_p1.h:44
SegmentCnv_p1::transToPers
void transToPers(const Trk::Segment *transObj, Trk::Segment_p1 *persObj, MsgStream &log)
Definition
SegmentCnv_p1.cxx:28
SegmentCnv_p1::m_localParCnv
LocalParametersCnv_p1 * m_localParCnv
Definition
SegmentCnv_p1.h:46
SegmentCnv_p1::initPrivateConverters
virtual void initPrivateConverters(TopLevelTPCnvBase *topCnv)
Definition
SegmentCnv_p1.h:37
SegmentCnv_p1::m_containedMeasBasesCnv
MeasurementBaseCnv_p1 m_containedMeasBasesCnv
Definition
SegmentCnv_p1.h:49
SegmentCnv_p1::SegmentCnv_p1
SegmentCnv_p1()
Definition
SegmentCnv_p1.h:32
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition
TopLevelTPCnvBase.h:32
Trk::Segment_p1
Definition
Segment_p1.h:23
Trk::Segment
Base class for all TrackSegment implementations, extends the common MeasurementBase.
Definition
Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h:56
Generated on
for ATLAS Offline Software by
1.17.0