ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleContainerCnv_tlp2.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
7
9{
10 // Add all converters defined in this top level converter.
11 // HEY YOU --- YES YOU --- READ THIS!!!!!!!
12 // NEVER change the order of the addTPConverter calls!
13 // NEVER delete an addTPConverter call!
14 // NEVER add an addTPConverter call in the middle --- only at the end!
15
17
29
41
47
54
58
61
63
65
66 // HEY YOU --- YES YOU --- READ THE COMMENT AT THE START OF THIS FUNCTION!!!
67}
68
70{
73
74 m_trackParametersCnv.setPStorage(&storage->m_trackParameters);
75 m_perigeeCnv.setPStorage(&storage->m_perigees);
76 m_measuredPerigeeCnv.setPStorage(&storage->m_measPerigees);
77
82
87
91
96
101
102 m_perigeeSurfacesCnv.setPStorage(&storage->m_surfaces);
108
109
110 m_surfacesCnv. setPStorage( &storage->m_surfaces );
118
122
123}
124
125
128 // FIXME: TPConverter uses the same non-const member m_pStorage
129 // for both reading and writing, but we want it to be const
130 // in the former case.
132 const_cast<Rec::TrackParticleContainer_tlp2*> (pers);
133 setPStorage (pers_nc);
134 m_mainConverter.pstoreToTrans (0, trans, msg);
135}
136
143
144
150
Define macros for attributes used to control the static checker.
#define ATLAS_THREAD_SAFE
std::vector< Trk::TrackParameters_p1 > m_trackParameters
std::vector< Trk::MeasuredPerigee_p1 > m_measPerigees
std::vector< Trk::HepSymMatrix_p1 > m_hepSymMatrices
std::vector< Trk::TrackSummary_p2 > m_trackSummaries
std::vector< Trk::Surface_p1 > m_surfaces
std::vector< Trk::TrapezoidBounds_p1 > m_trapesoidBounds
std::vector< Rec::TrackParticleContainer_p2 > m_trackParticleContainer_p2
std::vector< Trk::BoundSurface_p1 > m_boundSurfaces
std::vector< Trk::Perigee_p1 > m_perigees
std::vector< Trk::RectangleBounds_p1 > m_rectangleBounds
std::vector< Trk::RotatedTrapezoidBounds_p1 > m_rotatedTrapesoidBounds
std::vector< Trk::MeasuredAtaSurface_p1 > m_measuredAtaSurfaces
std::vector< Trk::AtaSurface_p1 > m_ataSurfaces
std::vector< Trk::DiamondBounds_p1 > m_diamondBounds
std::vector< Trk::RotatedDiamondBounds_p1 > m_rotatedDiamondBounds
std::vector< Trk::DiscBounds_p1 > m_discBounds
std::vector< Trk::CylinderBounds_p1 > m_cylinderBounds
std::vector< Rec::TrackParticle_p2 > m_trackParticle_p2
std::vector< Trk::DetElementSurface_p1 > m_detElementSurfaces
virtual void clearTLPersObject() override
Discard the persistent object.
virtual void setTLPersObject(void *persObj) override
Take ownership of the persistent object.
virtual void addTPConverterForReading(ITPConverter *cnv)
Add a TP converter to this top level converter but only for reading.
virtual void addExtTPConverterForReading(ITPConverter *cnv)
add extending TP converter to this top level converter - to the list consulted when reading only.
virtual void addTPConverter(ITPConverter *cnv)
Add a TP converter to this top level converter.
void setMainCnvPStorage(STORAGE *storage)
Set the persistent storage space for the main TP converter.
void addMainTPConverter()
Add the main TP converter to the internal list - should be called from user-defined constructor.
MeasuredNeutralAtaCylinderCnv_p1 m_measuredNeutralAtaCylindersCnv
MeasuredAtaStraightLineCnv_p1 m_measuredAtaStraightLinesCnv
MeasuredNeutralAtaDiscCnv_p1 m_measuredNeutralAtaDiscsCnv
MeasuredAtaCylinderCnv_p1 m_measuredAtaCylindersCnv
MeasuredNeutralAtaStraightLineCnv_p1 m_measuredNeutralAtaStraightLinesCnv
MeasuredNeutralPerigeeCnv_p1 m_measuredNeutralPerigeeCnv
MeasuredNeutralAtaPlaneCnv_p1 m_measuredNeutralAtaPlanesCnv
RotatedDiamondBoundsCnv_p1 m_rotatedDiamondBoundsCnv
virtual void setPStorage(Rec::TrackParticleContainer_tlp2 *storage)
RotatedTrapezoidBoundsCnv_p1 m_rotatedTrapesoidBoundsCnv
NeutralAtaStraightLineCnv_p1 m_neutralAtaStraightLinesCnv
StraightLineSurfaceCnv_p1 m_straightLineSurfacesCnv
MsgStream & msg
Definition testRead.cxx:32