![]() |
ATLAS Offline Software
|
#include <InDetTrackCnv_tlp2.h>
Public Member Functions | |
| InDetTrackCnv_tlp2 () | |
| virtual | ~InDetTrackCnv_tlp2 () |
| virtual unsigned short | getConverterID () |
| virtual void | setPStorage (InDet::Track_tlp2 *storage) |
| virtual void | setPStorage (TL_PERS *persObj)=0 |
| A stub for a method that should be provided by the converter creator. | |
| virtual bool | hasTLPersObject () const override |
Returns true if the converter has a persistent object. | |
| virtual void | createTLPersObject () override |
| Create persistent object - the converter keeps it. | |
| virtual void | deleteTLPersObject () override |
| Delete the persistent object owned by the converter. | |
| TL_PERS * | getTLPersObject () |
| const TL_PERS * | getTLPersObject () const |
| TL_PERS * | releaseTLPersObject () |
| @release the persistent object from this converter | |
| virtual void * | getTLPersObjectAsVoid () override |
| virtual const void * | getTLPersObjectAsVoid () const override |
| virtual void | clearTLPersObject () override |
| Discard the persistent object. | |
| virtual void | setTLPersObject (void *persObj) override |
| Take ownership of the persistent object. | |
| virtual TPCnvTokenList_p1 * | getTokenListVar () override |
| Return the list of tokens to the objects extending the object owned by this converter. | |
| virtual TPCnvTokenList_p1 * | getTokenListVarFrom (void *persObj) override |
| Return the list of tokens to the objects extending the object NOT owned by this converter. | |
| virtual void | addTPConverter (ITPConverter *cnv) |
| Add a TP converter to this top level converter. | |
| 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 | addTPConvertersTo (TopLevelTPCnvBase *dest) |
| copy all extending converters from this top level converter to "dest" top level converter | |
| virtual void | addTPConvertersForReadingTo (TopLevelTPCnvBase *dest) |
| copy all extending converters from this top level converter to "dest" top level converter - for reading | |
| ITPConverter * | converterForType (const std::type_info &info) const |
| Find and return a TP converter for a given C++ type info. | |
| ITPConverter * | converterForRef (const TPObjRef &ref) const |
| Find and return a TP converter for persistent type referenced by ref. | |
Protected Types | |
| typedef std::map< unsigned, ITPConverter * > | convIdMap_t |
Protected Member Functions | |
| void | rememberConverter (TopLevelTPCnvBase *cnv) |
| Remember that elemental TP converters from the given top-level converter are already registered. | |
| bool | hasConvertersFrom (TopLevelTPCnvBase *cnv) |
| Check if TP converters from a given top-level converter were already registered in this converter. | |
Protected Attributes | |
| PixelClusterOnTrackCnv_p2 | m_pixelClustersOTCnv |
| SCT_ClusterOnTrackCnv_p2 | m_sctClustersOTCnv |
| TRT_DriftCircleOnTrackCnv_p2 | m_trtDriftCirclesOTCnv |
| CompetingPixelClustersOnTrackCnv_p1 | m_pixelCrotCnv |
| CompetingSCT_ClustersOnTrackCnv_p1 | m_sctCrotCnv |
| CompetingTRT_DriftCirclesOnTrackCnv_p1 | m_trtCrotCnv |
| TL_PERS * | m_tlPersObject |
| The persistent object this conveter is working on. | |
| convIdMap_t | m_convIdMap |
| Map of elemental TP converters indexed by their ID - used for reading. | |
| TPConverterTypeMap< ITPConverter > | m_converters |
| Map of elemental TP converters indexed by transient typeid - used for writing. | |
| std::set< TopLevelTPCnvBase * > | m_registeredTLConverters |
| Set top-level converters from which elemental TP converters were registered. | |
| unsigned | m_typeIDCount |
| Counter used to create typed IDs used in the transient Ref. | |
Private Member Functions | |
| virtual void | addTPConverterForWriting (ITPConverter *cnv) |
| add TP converter to the list of converters consulted when writing - internal method. | |
Definition at line 24 of file InDetTrackCnv_tlp2.h.
|
protectedinherited |
Definition at line 174 of file TopLevelTPCnvBase.h.
| InDetTrackCnv_tlp2::InDetTrackCnv_tlp2 | ( | ) |
Definition at line 8 of file InDetTrackCnv_tlp2.cxx.
|
inlinevirtual |
Definition at line 30 of file InDetTrackCnv_tlp2.h.
|
virtualinherited |
add extending TP converter to this top level converter - to the list consulted when reading only.
| cnv | [IN] the TP converter to be added |
Definition at line 47 of file TopLevelTPCnvBase.cxx.
|
virtualinherited |
Add a TP converter to this top level converter.
| cnv | [IN] the TP converter to be added |
Definition at line 11 of file TopLevelTPCnvBase.cxx.
|
virtualinherited |
Add a TP converter to this top level converter but only for reading.
Old converters that read schema evolved objects should be added only for reading.
| cnv | [IN] the TP converter to be added |
Definition at line 19 of file TopLevelTPCnvBase.cxx.
|
privatevirtualinherited |
add TP converter to the list of converters consulted when writing - internal method.
| cnv | [IN] the TP converter to be added |
Definition at line 33 of file TopLevelTPCnvBase.cxx.
|
virtualinherited |
copy all extending converters from this top level converter to "dest" top level converter - for reading
| dest | [IN] destination converter which will receive all elemental TP converters that this one has |
Definition at line 78 of file TopLevelTPCnvBase.cxx.
|
virtualinherited |
copy all extending converters from this top level converter to "dest" top level converter
copy all TP converters to another topLevel conveter
| dest | [IN] destination converter which will receive all elemental TP converters that this one has |
Definition at line 60 of file TopLevelTPCnvBase.cxx.
|
inlineoverridevirtualinherited |
Discard the persistent object.
Implements TopLevelTPCnvBase.
Definition at line 99 of file TopLevelTPCnvBaseP.h.
|
inlineinherited |
Find and return a TP converter for persistent type referenced by ref.
| ref | [IN] TP reference of a persistent object |
Definition at line 89 of file TopLevelTPCnvBase.h.
|
inlineinherited |
Find and return a TP converter for a given C++ type info.
| info | [IN] C++ type info reference to the transient type |
Definition at line 80 of file TopLevelTPCnvBase.h.
|
inlineoverridevirtualinherited |
Create persistent object - the converter keeps it.
Implements TopLevelTPCnvBase.
Definition at line 57 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
Delete the persistent object owned by the converter.
Implements TopLevelTPCnvBase.
Definition at line 64 of file TopLevelTPCnvBaseP.h.
|
inlinevirtual |
Implements TopLevelTPCnvBase.
Definition at line 32 of file InDetTrackCnv_tlp2.h.
|
inlineinherited |
Definition at line 72 of file TopLevelTPCnvBaseP.h.
|
inlineinherited |
Definition at line 77 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
void* Implements TopLevelTPCnvBase.
Definition at line 94 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
void* Implements TopLevelTPCnvBase.
Definition at line 89 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
Return the list of tokens to the objects extending the object owned by this converter.
This method is needed only in a conveter which has extensions. It needs to be implemented in the top-level converter by the user
Implements TopLevelTPCnvBase.
Reimplemented in CscPrepDataContainerCnv_tlp1, CscStripPrepDataContainerCnv_tlp1, JetCollectionCnv_tlp2, JetCollectionCnv_tlp5, JetCollectionCnv_tlp6, JetKeyDescriptorCollectionCnv_tlp1, LayerMaterialMapCnv_tlp1, MdtPrepDataContainerCnv_tlp1, PixelClusterContainerCnv_tlp1, RpcPrepDataContainerCnv_tlp1, SCT_ClusterContainerCnv_tlp1, SegmentCollectionCnv_tlp1, SegmentCollectionCnv_tlp2, SegmentCollectionCnv_tlp3, TgcCoinDataContainerCnv_tlp1, TgcCoinDataContainerCnv_tlp2, TgcCoinDataContainerCnv_tlp3, TgcPrepDataContainerCnv_tlp1, TrackCollectionCnv_tlp1, TrackCollectionCnv_tlp2, TrackCollectionCnv_tlp3, TrackCollectionCnv_tlp4, TrackCollectionCnv_tlp5, TrackParticleContainerCnv_tlp1, TrackParticleContainerCnv_tlp2, TrackParticleContainerCnv_tlp3, TRT_DriftCircleContainerCnv_tlp1, VxContainerCnv_tlp1, and VxContainerCnv_tlp2.
Definition at line 112 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
Return the list of tokens to the objects extending the object NOT owned by this converter.
| persObj | [IN] persistent object from which contains list of tokens. Passes as void* - if the type is wrong, it may crash |
Implements TopLevelTPCnvBase.
Definition at line 115 of file TopLevelTPCnvBaseP.h.
|
inlineprotectedinherited |
Check if TP converters from a given top-level converter were already registered in this converter.
| cnv | [IN] top-level converter to check |
Definition at line 166 of file TopLevelTPCnvBase.h.
|
inlineoverridevirtualinherited |
Returns true if the converter has a persistent object.
Implements TopLevelTPCnvBase.
Definition at line 52 of file TopLevelTPCnvBaseP.h.
|
inlineinherited |
@release the persistent object from this converter
Definition at line 82 of file TopLevelTPCnvBaseP.h.
|
inlineprotectedinherited |
Remember that elemental TP converters from the given top-level converter are already registered.
| cnv | [IN] top-level TP converter - source of the elemental TP converters |
Definition at line 156 of file TopLevelTPCnvBase.h.
|
virtual |
Definition at line 24 of file InDetTrackCnv_tlp2.cxx.
|
pure virtualinherited |
A stub for a method that should be provided by the converter creator.
In that methods all elemental TP converters that belong to this top-level converter need to be assigned to storage vectors in the persistent object.
| persObj | [IN] persistent object |
Implemented in TopLevelTPConverter< MAIN_CNV, TL_PERS >.
|
inlineoverridevirtualinherited |
Take ownership of the persistent object.
Also initialize all elemental TP converters to use that object.
| persObj | [IN] the persistent object passed as void* |
Implements TopLevelTPCnvBase.
Definition at line 104 of file TopLevelTPCnvBaseP.h.
|
protectedinherited |
Map of elemental TP converters indexed by transient typeid - used for writing.
Definition at line 180 of file TopLevelTPCnvBase.h.
|
protectedinherited |
Map of elemental TP converters indexed by their ID - used for reading.
Definition at line 177 of file TopLevelTPCnvBase.h.
|
protected |
Definition at line 37 of file InDetTrackCnv_tlp2.h.
|
protected |
Definition at line 42 of file InDetTrackCnv_tlp2.h.
|
protectedinherited |
Set top-level converters from which elemental TP converters were registered.
Definition at line 184 of file TopLevelTPCnvBase.h.
|
protected |
Definition at line 38 of file InDetTrackCnv_tlp2.h.
|
protected |
Definition at line 43 of file InDetTrackCnv_tlp2.h.
|
protectedinherited |
The persistent object this conveter is working on.
Definition at line 128 of file TopLevelTPCnvBaseP.h.
|
protected |
Definition at line 44 of file InDetTrackCnv_tlp2.h.
|
protected |
Definition at line 39 of file InDetTrackCnv_tlp2.h.
|
protectedinherited |
Counter used to create typed IDs used in the transient Ref.
Definition at line 187 of file TopLevelTPCnvBase.h.