#include <InDetTrackCnv.h>
Definition at line 25 of file InDetTrackCnv.h.
◆ BaseType
◆ InDetTrackCnv()
InDetTrackCnv::InDetTrackCnv |
( |
ISvcLocator * |
svcloc | ) |
|
◆ baseAthenaPoolCnv()
virtual BaseType* T_AthenaPoolExtendingCnv::baseAthenaPoolCnv |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
return the original AthenaPool converter this one was cloned from if not cloned this returns self if not registered this returns NULL
Definition at line 58 of file T_AthenaPoolExtendingCnv.h.
◆ clone()
◆ createPersistent()
virtual PERS* T_AthenaPoolExtendingCnv::createPersistent |
( |
TRANS * |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ createTransient()
virtual TRANS* T_AthenaPoolExtendingCnv::createTransient |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ getTopLevelTPCnv()
◆ initialize()
StatusCode InDetTrackCnv::initialize |
( |
| ) |
|
|
protectedvirtual |
Definition at line 19 of file InDetTrackCnv.cxx.
22 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
◆ name()
virtual const std::string T_AthenaPoolExtendingCnv::name |
( |
| ) |
const |
|
protectedvirtualinherited |
Get the name of this converter (anything that identifies it).
Used for logging
- Returns
- Name of this converter
◆ needsCloning()
virtual bool T_AthenaPoolExtendingCnv::needsCloning |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
tells if this converter needs to be cloned (true after the converter has been registered once already)
Definition at line 65 of file T_AthenaPoolExtendingCnv.h.
◆ poolReadObject() [1/2]
template<class P >
P* T_AthenaPoolExtendingCnv::poolReadObject |
( |
| ) |
|
|
protectedinherited |
Read object of type P.
This is an exception-throwing version of poolToObject() plus reading of all extending objects. Version 1 - (see createTransient() above)
- Returns
- object read from POOL (by pointer) deprecated - use poolReadObject(TLPCnv)
◆ poolReadObject() [2/2]
Read object of type P (plus all extending objects) using the indicated top-level TP converter.
Version 2 - (see createTransient() above) NOTE: the TLP converter will delete the persistent object after createTransient()
- Parameters
-
tlp_converter | [IN] top-level TP converter to be used when reading |
◆ readObject()
virtual void T_AthenaPoolExtendingCnv::readObject |
( |
const std::string & |
token | ) |
|
|
inlineprotectedvirtualinherited |
◆ readObjectFromPool()
void InDetTrackCnv::readObjectFromPool |
( |
const std::string & |
token | ) |
|
|
protectedvirtual |
Read the persistent object from POOL.
- Parameters
-
token | [IN] token of the object to read |
Implements T_AthenaPoolExtendingCnv.
Definition at line 33 of file InDetTrackCnv.cxx.
35 static const pool::Guid p2_guid(
"4E3778E2-1497-4F10-8746-AA02319FAC83" );
36 static const pool::Guid p1_guid(
"8380F7AC-4A8F-4382-95A5-1234E43D3B08" );
42 if( compareClassGuid( p2_guid ) ) {
45 }
else if( compareClassGuid( p1_guid ) ) {
49 throw std::runtime_error(
"Unsupported version of InDetTrack_PERS (unknown GUID)" );
◆ setToken()
virtual void T_AthenaPoolExtendingCnv::setToken |
( |
const std::string & |
token | ) |
|
|
protectedvirtualinherited |
Set the token (in std::string representation) and classID for the object that will be read next.
Required by compareClassGuid() and poolReadObject(). Only extending converter needs to call this method explicitely
- Parameters
-
token | [IN] token for the object to be read |
◆ wasClonedFrom()
|
protectedvirtualinherited |
remember the original converter this one was cloned from
◆ writeObject()
virtual const Token* T_AthenaPoolExtendingCnv::writeObject |
( |
const std::string & |
key, |
|
|
const std::string & |
output |
|
) |
| |
|
protectedvirtualinherited |
Write the persistent object to POOL.
- Parameters
-
key | [IN] StoreGate key (string) - placement hint to generate POOL container name |
◆ CnvFactory< InDetTrackCnv >
◆ m_originalExtendingCnv
BaseType* T_AthenaPoolExtendingCnv::m_originalExtendingCnv |
|
protectedinherited |
pointer to the original Gaudi converter - only this one is registered in the framework and has to be used for all I/O operations
Definition at line 95 of file T_AthenaPoolExtendingCnv.h.
◆ m_TPConverter1
◆ m_TPConverter2
The documentation for this class was generated from the following files: