ATLAS Offline Software
Loading...
Searching...
No Matches
TrackContainerHandlesHelper.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTRKEVENT_TRACKCONTAINERHANDLESHELPER_H
6#define ACTSTRKEVENT_TRACKCONTAINERHANDLESHELPER_H
7
8#include <memory>
9
10#include "Acts/Geometry/TrackingGeometry.hpp"
15#include "GaudiKernel/StatusCode.h"
24
25namespace ActsTrk {
26
31std::string prefixFromTrackContainerName(const std::string& tracks);
32
84
86 public:
92 StatusCode initialize(const std::string& prefix);
93
99 template <class PropOwner>
101
102 std::unique_ptr<ActsTrk::PersistentTrackContainer> build(
103 const Acts::TrackingGeometry* geo,
104 const Acts::GeometryContext& geoContext,
105 const EventContext& context) const;
106
107 private:
108 // restore the pointer to uncalibrated measurements from element links
110 // MTJ part
116
118 // build for MTJ part
119 std::unique_ptr<ActsTrk::MultiTrajectory> buildMtj(
120 const Acts::TrackingGeometry* geo,
121 const EventContext& context) const;
122 // TrackContainer part
123
124 // track and its backend
128};
129
130} // namespace ActsTrk
132#endif
static Double_t tc
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< xAOD::TrackMeasurementContainer > m_measurementsKey
std::unique_ptr< ActsTrk::PersistentTrackContainer > build(const Acts::TrackingGeometry *geo, const Acts::GeometryContext &geoContext, const EventContext &context) const
SG::ReadHandleKey< xAOD::TrackSurfaceContainer > m_surfacesKey
SG::WriteHandleKey< ActsTrk::MultiTrajectory > m_mtjKey
SG::ReadHandleKey< xAOD::TrackStateContainer > m_statesKey
void restoreUncalibMeasurementPtr(xAOD::TrackStateAuxContainer &statesLink) const
SG::ReadHandleKey< xAOD::TrackJacobianContainer > m_jacobiansKey
SG::WriteHandleKey< ActsTrk::TrackSummaryContainer > m_trackSummaryKey
ConstTrackContainerHandlesHelper(PropOwner *owner)
Constructor taking the pointer to the class holding the object used to declare the data dependency fr...
SG::ReadHandleKey< xAOD::TrackParametersContainer > m_parametersKey
SG::ReadHandleKey< xAOD::TrackSurfaceContainer > m_trackSurfacesKey
SG::ReadHandleKey< xAOD::TrackSummaryContainer > m_xAODTrackSummaryKey
std::unique_ptr< ActsTrk::MultiTrajectory > buildMtj(const Acts::TrackingGeometry *geo, const EventContext &context) const
Athena implementation of ACTS::MultiTrajectory (ReadWrite version) The data is stored in 4 external b...
SG::WriteHandleKey< xAOD::TrackParametersContainer > m_parametersKey
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
SG::WriteHandleKey< xAOD::TrackMeasurementContainer > m_measurementsKey
SG::WriteHandleKey< xAOD::TrackSurfaceContainer > m_trackSurfacesKey
SG::WriteHandleKey< xAOD::TrackJacobianContainer > m_jacobiansKey
SG::WriteHandleKey< ActsTrk::MultiTrajectory > m_mtjKey
SG::WriteHandleKey< xAOD::TrackSummaryContainer > m_xAODTrackSummaryKey
SG::WriteHandleKey< ActsTrk::TrackSummaryContainer > m_trackSummaryKey
SG::WriteHandleKey< xAOD::TrackStateContainer > m_statesKey
MutableTrackContainerHandlesHelper(PropOwner *owner)
Constructor taking the pointer to the class holding the object used to declare the data dependency fr...
SG::WriteHandleKey< xAOD::TrackSurfaceContainer > m_surfacesKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
std::string prefixFromTrackContainerName(const std::string &tracks)
Parse TrackContainer name to get the prefix for backends The name has to contain XYZTracks,...
TrackStateAuxContainer_v1 TrackStateAuxContainer
void initialize()