ATLAS Offline Software
Loading...
Searching...
No Matches
VxContainerCnv_tlp2.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
8{
9
10// Add all converters defined in this top level converter:
11// never change the order of adding converters!
13
16 // addTPConverterForReading( &m_vxTrackAtVertexCnv);
19 // addTPConverter( &m_VertexCnv);
20
22
26
28 // addTPConverter( &m_fitQualityCnv);
30 // addTPConverter( &m_localPositionCnv);
31
32 // addTPConverter( &m_vxTrackAtVertexCnv_p2);
33}
34
36{
37// for implicit TrackCollection_p1 from the base class:
39
40// for all converters defined in this top level converter
45 // m_VertexCnv. setPStorage(&storage->m_vertices);
47
52 // m_fitQualityCnv. setPStorage(&storage->m_fitQualities);
54 // m_localPositionCnv. setPStorage(&storage->m_localPositions);
55
56 // m_vxTrackAtVertexCnv_p2. setPStorage(&storage->m_vxTrackAtVertices_p2);
57}
58
60 TPObjRef::typeID_t tid (m_MVFVxContainerCnv_tlp1.getConverterID(), 0);
61 // Attention Scott:
62 // m_MVFVxContainerCnv_tlp1.setTopConverter (this, tid);
63 // addExtTPConverterForReading (&m_MVFVxContainerCnv_tlp1);
64 m_MVFVxContainerCnv_tlp1.addTPConvertersTo (this);
65}
virtual void addTPConverterForReading(ITPConverter *cnv)
Add a TP converter to this top level converter but only for reading.
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.
std::vector< VxContainer_p1 > m_vxContainers
std::vector< Trk::RecVertex_p2 > m_recVertices
std::vector< Trk::VxCandidate_p1 > m_vxCandidates
std::vector< Trk::ExtendedVxCandidate_p1 > m_extendedVxCandidates
std::vector< Trk::MeasuredPerigee_p1 > m_measPerigees
std::vector< Trk::Perigee_p2 > m_perigees
std::vector< Trk::Track_p12 > m_tracks
std::vector< Trk::VxTrackAtVertex_p2 > m_vxTrackAtVertices
std::vector< Trk::Surface_p1 > m_surfaces
std::vector< Trk::HepSymMatrix_p1 > m_hepSymMatrices
std::vector< Trk::TrackParameters_p1 > m_trackParameters
RecVertexCnv_p2 m_recVertexCnv
ExtendedVxCandidateCnv_p1 m_extendedVxCandidateCnv
virtual void setPStorage(Trk::VxContainer_tlp2 *storage)
MeasuredPerigeeCnv_p2 m_measuredPerigeeCnv
VxTrackAtVertexCnv_p2 m_vxTrackAtVertexCnv
PerigeeSurfaceCnv_p1 m_perigeeSurfacesCnv
ErrorMatrixCnv_p1 m_errorMatrixCnv
VxCandidateCnv_p2 m_vxCandidateCnv
TrackParametersCnv_p1 m_trackParametersCnv
This structure holds an ID of a persistent type.
Definition TPObjRef.h:31