![]() |
ATLAS Offline Software
|
#include <ITrkEventCnvTool.h>
Public Types | |
| typedef std::string | ELKey_t |
| Key and index types used for an EL to IdentifiableContainer. | |
| typedef unsigned int | ELIndex_t |
Public Member Functions | |
| DeclareInterfaceID (ITrkEventCnvTool, 1, 0) | |
| ITrkEventCnvTool () | |
| virtual void | checkRoT (const Trk::RIO_OnTrack &rioOnTrack) const =0 |
| check the passed RIO_OnTrack to make sure it is correctly filled | |
| virtual std::pair< const Trk::TrkDetElementBase *, const Trk::PrepRawData * > | getLinks (Trk::RIO_OnTrack &rioOnTrack) const =0 |
| This method must use the passed RIO_OnTrack to recover pointers The PrepRawData pointer will only be filled if the concrete tools are so set. | |
| template<class CONT, class ROT> | |
| void | prepareRIO_OnTrackElementLink (ROT *rot) const |
| This templated method will set the EL for the passed RIO_OnTrack. | |
| template<class CONT, class ROT> | |
| void | prepareRIO_OnTrackElementLink (const ROT *rot, ELKey_t &key, ELIndex_t &index) const |
| This templated method will find EL components for the passed RIO_OnTrack. | |
| template<class CONT, class ROT> | |
| bool | getHashAndIndex (const ROT *rot, const SG::ReadHandleKey< CONT > &contName, typename ElementLink< CONT >::index_type &hashAndIndex) const |
| This templated method will return the hashAndIndex of the passed RIO_OnTrack. | |
| virtual void | prepareRIO_OnTrack (Trk::RIO_OnTrack *rot) const =0 |
| Take the passed RoT and prepare the PRD ElementLink for writing to disk. | |
| virtual void | prepareRIO_OnTrackLink (const Trk::RIO_OnTrack *rot, ELKey_t &key, ELIndex_t &index) const =0 |
| Similar, but just return the EL components rather then changing ROT. | |
| virtual void | recreateRIO_OnTrack (Trk::RIO_OnTrack *RoT) const =0 |
| Take the passed RoT and recreate it (i.e. | |
| virtual const Trk::TrkDetElementBase * | getDetectorElement (const Identifier &id, const IdentifierHash &idHash) const =0 |
| Returns the detectorElement associated with this Identifier & Hash. | |
| virtual const Trk::TrkDetElementBase * | getDetectorElement (const Identifier &id) const =0 |
| Returns the detectorElement associated with this Identifier. | |
| virtual void | setRoT_Values (std::pair< const Trk::TrkDetElementBase *, const Trk::PrepRawData * > &pair, Trk::RIO_OnTrack *RoT) const |
Private Attributes | |
| ServiceHandle< StoreGateSvc > | m_storeGate |
| ServiceHandle< IMessageSvc > | m_msgSvc |
Definition at line 30 of file ITrkEventCnvTool.h.
| typedef unsigned int Trk::ITrkEventCnvTool::ELIndex_t |
Definition at line 35 of file ITrkEventCnvTool.h.
| typedef std::string Trk::ITrkEventCnvTool::ELKey_t |
Key and index types used for an EL to IdentifiableContainer.
Definition at line 34 of file ITrkEventCnvTool.h.
|
inline |
Definition at line 40 of file ITrkEventCnvTool.h.
|
pure virtual |
check the passed RIO_OnTrack to make sure it is correctly filled
| Trk::ITrkEventCnvTool::DeclareInterfaceID | ( | ITrkEventCnvTool | , |
| 1 | , | ||
| 0 | ) |
|
pure virtual |
Returns the detectorElement associated with this Identifier.
|
pure virtual |
Returns the detectorElement associated with this Identifier & Hash.
| bool Trk::ITrkEventCnvTool::getHashAndIndex | ( | const ROT * | rot, |
| const SG::ReadHandleKey< CONT > & | contName, | ||
| typename ElementLink< CONT >::index_type & | hashAndIndex ) const |
This templated method will return the hashAndIndex of the passed RIO_OnTrack.
|
pure virtual |
This method must use the passed RIO_OnTrack to recover pointers The PrepRawData pointer will only be filled if the concrete tools are so set.
| [in] | rioOnTrack | the RIO_OnTrack which needs recreating. MUST point to a valid object. |
|
pure virtual |
Take the passed RoT and prepare the PRD ElementLink for writing to disk.
The procedure should be:
| void Trk::ITrkEventCnvTool::prepareRIO_OnTrackElementLink | ( | const ROT * | rot, |
| ELKey_t & | key, | ||
| ELIndex_t & | index ) const |
This templated method will find EL components for the passed RIO_OnTrack.
| void Trk::ITrkEventCnvTool::prepareRIO_OnTrackElementLink | ( | ROT * | rot | ) | const |
This templated method will set the EL for the passed RIO_OnTrack.
|
pure virtual |
Similar, but just return the EL components rather then changing ROT.
|
pure virtual |
Take the passed RoT and recreate it (i.e.
fill missing pointers etc)
|
virtual |
|
private |
Definition at line 99 of file ITrkEventCnvTool.h.
|
private |
Definition at line 98 of file ITrkEventCnvTool.h.