 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 ISvcLocator *pSvcLocator)
24 return StatusCode::SUCCESS;
38 for (
auto track : *actsTracks ) {
39 auto destProxy = tracksContainer.makeTrack();
40 destProxy.copyFrom(
track);
42 ATH_MSG_DEBUG(
" \\__ Converted " << tracksContainer.size() <<
" tracks");
51 ATH_CHECK( trackContainerHandle.
record(std::move(constTracksContainer)) );
52 return StatusCode::SUCCESS;
const_pointer_type cptr()
Dereference the pointer.
std::string prefixFromTrackContainerName(const std::string &tracks)
Parse TrackContainer name to get the prefix for backends The name has to contain XYZTracks,...
const std::string & key() const
Return the StoreGate ID for the referenced object.
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
StatusCode initialize(const std::string &prefix)
Sets up the handles.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
ActsTrk::MutableTrackContainerHandlesHelper m_tracksBackendHandlesHelper
SG::ReadHandleKey< ActsTrk::TrackContainer > m_inputTrackContainerKey
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
std::unique_ptr< ActsTrk::PersistentTrackContainer > moveToConst(ActsTrk::MutablePersistentTrackContainer &&tc, const Acts::GeometryContext &geoContext, const EventContext &evtContext) const
produces ActsTrk::ConstTrackContainer with all backends stored in SG
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
SG::WriteHandleKey< ActsTrk::PersistentTrackContainer > m_outputTrackContainerKey
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
virtual StatusCode execute(const EventContext &ctx) const override
ActsToXAODTrackConverterAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override