![]() |
ATLAS Offline Software
|
Utility class to handle the creation of the Auxiliary measurement used in an Acts track fit This class declares the additionally written xAOD::AuxiliaryMeasurementContainers to the AvalancheScheduler. More...
#include <AuxiliaryMeasurementHandler.h>
Classes | |
class | MeasurementProvider |
Helper struct to create a new pseudo measurement. More... | |
Public Types | |
using | SurfacePtr_t = xAOD::AuxiliaryMeasurement::SurfacePtr_t |
Public Member Functions | |
template<class PropOwner > | |
AuxiliaryMeasurementHandler (PropOwner *owner) | |
Constructor taking the pointer to the class holding the object used to declare the data dependency from the WriteHandleKeys to the AvalancheScheduler. More... | |
StatusCode | initialize (const std::string &preFix) |
Initialize the write handle keys. More... | |
MeasurementProvider | makeHandle (const EventContext &ctx, xAOD::TrackSurfaceContainer &surfaceBackend) const |
Creates a new MeasurementProvider and triggers the write of the container backend to StoreGate. More... | |
Private Types | |
using | Key_t = SG::WriteHandleKey< xAOD::AuxiliaryMeasurementContainer > |
Private Attributes | |
MsgStream & | m_msg |
Key_t | m_writeKey1D |
Key_t | m_writeKey2D |
Key_t | m_writeKey3D |
ActsGeometryContext | m_gctx {} |
Utility class to handle the creation of the Auxiliary measurement used in an Acts track fit This class declares the additionally written xAOD::AuxiliaryMeasurementContainers to the AvalancheScheduler.
Per event, the user creates an instance of the MeasurementProvider which setups the storage backend for the measurements and writes the containers to StoreGate. Auxiliary measurements are created by calling the newMeasurement method.
Definition at line 21 of file AuxiliaryMeasurementHandler.h.
|
private |
Definition at line 95 of file AuxiliaryMeasurementHandler.h.
Definition at line 23 of file AuxiliaryMeasurementHandler.h.
ActsTrk::AuxiliaryMeasurementHandler::AuxiliaryMeasurementHandler | ( | PropOwner * | owner | ) |
Constructor taking the pointer to the class holding the object used to declare the data dependency from the WriteHandleKeys to the AvalancheScheduler.
The object should be defined in the header like ActsTrk::AuxiliaryMeasurementHandler m_pseudoHandle{this};
StatusCode ActsTrk::AuxiliaryMeasurementHandler::initialize | ( | const std::string & | preFix | ) |
Initialize the write handle keys.
preFix | Common prefix to be put in front of all keys |
Definition at line 26 of file AuxiliaryMeasurementHandler.cxx.
AuxiliaryMeasurementHandler::MeasurementProvider ActsTrk::AuxiliaryMeasurementHandler::makeHandle | ( | const EventContext & | ctx, |
xAOD::TrackSurfaceContainer & | surfaceBackend | ||
) | const |
Creates a new MeasurementProvider and triggers the write of the container backend to StoreGate.
The user needs to provide a reference to a mutable xAOD::TrackSurfaceContainer where the persistified surfaces are appended to. The client needs to ensure that the lifetime of the surface container prevails the provider's lifetime.
ctx | EventContext to write the containers to store gate |
surfaceBackend | Reference to a mutable track surface container. |
Definition at line 51 of file AuxiliaryMeasurementHandler.cxx.
|
private |
Definition at line 100 of file AuxiliaryMeasurementHandler.h.
|
private |
Definition at line 96 of file AuxiliaryMeasurementHandler.h.
|
private |
Definition at line 97 of file AuxiliaryMeasurementHandler.h.
|
private |
Definition at line 98 of file AuxiliaryMeasurementHandler.h.
|
private |
Definition at line 99 of file AuxiliaryMeasurementHandler.h.