4#ifndef ActsEvent_AuxiliaryMeasurementHandler_H
5#define ActsEvent_AuxiliaryMeasurementHandler_H
13#include <unordered_map>
28 template <
class PropOwner>
32 StatusCode
initialize(
const std::string& preFix);
80 std::unordered_map<SurfacePtr_t, const xAOD::TrackSurface*>
m_cachedSurfs{};
91 MeasurementProvider
makeHandle(
const EventContext& ctx,
#define AmgSymMatrix(dim)
Property holding a SG store/key/clid from which a WriteHandle is made.
Handle class for recording to StoreGate.
MeasurementProvider & operator=(const MeasurementProvider &other)=delete
Delete the copy assignment.
const AuxiliaryMeasurementHandler * m_parent
MeasurementProvider & operator=(MeasurementProvider &&other)=delete
Default move assignment operator.
xAOD::TrackSurfaceContainer & m_surfaceContainer
SG::WriteHandle< xAOD::AuxiliaryMeasurementContainer > WriteHandle_t
Abrivation of the WriteHandle.
~MeasurementProvider()=default
Default destructor.
StatusCode setupContainers()
Setup method to record the Auxiliary measurement containers into StoreGate.
friend class AuxiliaryMeasurementHandler
MeasurementProvider(const MeasurementProvider &other)=delete
Delete the copy constructor.
MeasurementProvider(MeasurementProvider &&other)=default
Default move constructor.
xAOD::AuxiliaryMeasurement::ProjectorType ProjectorType
const EventContext & m_ctx
xAOD::AuxiliaryMeasurement * newMeasurement(const SurfacePtr_t &surface, const ProjectorType projector, const AmgSymMatrix(N)&locCov, const AmgVector(N) locPos=AmgVector(N)::Zero())
std::unordered_map< SurfacePtr_t, const xAOD::TrackSurface * > m_cachedSurfs
List of precached surfaces.
SG::WriteHandleKey< xAOD::AuxiliaryMeasurementContainer > Key_t
xAOD::AuxiliaryMeasurement::SurfacePtr_t SurfacePtr_t
MeasurementProvider makeHandle(const EventContext &ctx, xAOD::TrackSurfaceContainer &surfaceBackend) const
Creates a new MeasurementProvider and triggers the write of the container backend to StoreGate.
AuxiliaryMeasurementHandler(PropOwner *owner)
Constructor taking the pointer to the class holding the object used to declare the data dependency fr...
Property holding a SG store/key/clid from which a WriteHandle is made.
ActsTrk::detail::MeasurementCalibratorBase::ProjectorType ProjectorType
Use the calibration projector.
std::shared_ptr< const Acts::Surface > SurfacePtr_t
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
AuxiliaryMeasurement_v1 AuxiliaryMeasurement
TrackSurfaceContainer_v1 TrackSurfaceContainer