![]() |
ATLAS Offline Software
|
#include <ExtrapolationTool.h>
Public Member Functions | |
| virtual StatusCode | initialize () override |
| ExtrapolationTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| Explicitly define the constrcutor due to the variant forward declaration. | |
| ~ExtrapolationTool () | |
| Destructor needs to implemented due to the variant. | |
| virtual Acts::Result< PropagationOutput > | propagationSteps (const EventContext &ctx, const Acts::BoundTrackParameters &startParameters, const Acts::Direction navDir, const double pathLimit) const override final |
| Extrapolate the track parameters until the end of the world and record the performed steps & the allocated material. | |
| virtual Acts::Result< Acts::BoundTrackParameters > | propagate (const EventContext &ctx, const Acts::BoundTrackParameters &startParameters, const Acts::Direction navDir, const double pathLimit) const override final |
| Extrapolates the track parameters from a start to a target surface and returns the extrapolated track parameters on that surface. | |
| virtual Acts::Result< PropagationOutput > | propagationSteps (const EventContext &ctx, const Acts::BoundTrackParameters &startParameters, const Acts::Surface &target, const Acts::Direction navDir, const double pathLimit) const override |
| Extrapolate the track parameters until the end of the world and record the performed steps & the allocated material. | |
| virtual Acts::Result< Acts::BoundTrackParameters > | propagate (const EventContext &ctx, const Acts::BoundTrackParameters &startParameters, const Acts::Surface &target, const Acts::Direction navDir, const double pathLimit) const override |
| Extrapolates the track parameters from a start to a target surface and returns the extrapolated track parameters on that surface. | |
| virtual Acts::Result< Acts::BoundTrackParameters > | propagate (const EventContext &ctx, const Acts::BoundTrackParameters &startParameters, const Acts::TrackingVolume &target, const VolumeAbort stopVolumeFlag, const Acts::Direction navDir, const double pathLimit) const override |
| Extrapolates the track parameters from a start to a target surface and returns the extrapolated track parameters on that surface. | |
| virtual Acts::Result< BoundParamVec_t > | propagateAndRecord (const EventContext &ctx, const Acts::BoundTrackParameters &startParameters, const SurfaceRecordOptions &recordOpts) const override |
| Propagate the track parameters forward throuht the detector and record the surface crossings along the trajectory. | |
Private Member Functions | |
| const Acts::Logger & | logger () const |
| template<typename OptionsType> | |
| OptionsType | prepareOptions (const Acts::GeometryContext &gctx, const Acts::MagneticFieldContext &mctx, const Acts::BoundTrackParameters &startParameters, Acts::Direction navDir, double pathLimit) const |
Private Attributes | |
| std::unique_ptr< const ActsExtrapolationDetail::VariantPropagator > | m_varProp |
| std::unique_ptr< const Acts::Logger > | m_logger {nullptr} |
| ContextUtility | m_ctxProvider {this} |
| Utility to fetch the geometry, magnetic field and calibration context in the event. | |
| ServiceHandle< ActsTrk::ITrackingGeometrySvc > | m_trackingGeometrySvc {this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"} |
| Gaudi::Property< std::string > | m_fieldMode {this, "FieldMode", "ATLAS", "Either ATLAS or Constant or StraightLine"} |
| Gaudi::Property< std::vector< double > > | m_constantFieldVector {this, "ConstantFieldVector", {0, 0, 0}, "Constant field value to use if FieldMode == Constant"} |
| Gaudi::Property< double > | m_ptLoopers {this, "PtLoopers", 300, "PT loop protection threshold. Will be converted to Acts MeV unit"} |
| Gaudi::Property< double > | m_maxStepSize {this, "MaxStepSize", 10, "Max step size in Acts m unit"} |
| Gaudi::Property< unsigned > | m_maxStep {this, "MaxSteps", 100000, "Max number of steps"} |
| Gaudi::Property< unsigned > | m_maxSurfSkip {this, "MaxSurfaceSkip" ,100, "Maximum number of surfaces to be tried by the navigator"} |
| Gaudi::Property< double > | m_surfTolerance |
| Gaudi::Property< bool > | m_interactionMultiScatering {this, "InteractionMultiScatering", false, "Whether to consider multiple scattering in the interactor"} |
| Gaudi::Property< bool > | m_interactionEloss {this, "InteractionEloss", false, "Whether to consider energy loss in the interactor"} |
| Gaudi::Property< bool > | m_interactionRecord {this, "InteractionRecord", false, "Whether to record all material interactions"} |
Definition at line 53 of file ExtrapolationTool.h.
| ActsTrk::ExtrapolationTool::ExtrapolationTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Explicitly define the constrcutor due to the variant forward declaration.
Definition at line 155 of file ExtrapolationTool.cxx.
|
default |
Destructor needs to implemented due to the variant.
|
overridevirtual |
Definition at line 163 of file ExtrapolationTool.cxx.
|
inlineprivate |
Definition at line 106 of file ExtrapolationTool.h.
|
private |
Definition at line 405 of file ExtrapolationTool.cxx.
|
finaloverridevirtual |
Extrapolates the track parameters from a start to a target surface and returns the extrapolated track parameters on that surface.
If the extrapolation fails, a nullopt is returned
| ctx | EventContext to fetch the alignment & magnetic field from the conditions store |
| startParameters | Reference to the bound track parameters encoding the start surface & the associated track parameters on the surface |
| target | Reference to the surface onto which the track shall be extrapolated |
| navDir | Run the propagation along (Foward) or opposite (Backward) to the track parameter's direction |
| pathLimit | Maximum length of the propagated trajectory. The extrapolation is aborted if the limit is exceeded and the surface not yet reached. |
Definition at line 277 of file ExtrapolationTool.cxx.
|
overridevirtual |
Extrapolates the track parameters from a start to a target surface and returns the extrapolated track parameters on that surface.
If the extrapolation fails, a nullopt is returned
| ctx | EventContext to fetch the alignment & magnetic field from the conditions store |
| startParameters | Reference to the bound track parameters encoding the start surface & the associated track parameters on the surface |
| target | Reference to the surface onto which the track shall be extrapolated |
| navDir | Run the propagation along (Foward) or opposite (Backward) to the track parameter's direction |
| pathLimit | Maximum length of the propagated trajectory. The extrapolation is aborted if the limit is exceeded and the surface not yet reached. |
Definition at line 366 of file ExtrapolationTool.cxx.
|
overridevirtual |
Extrapolates the track parameters from a start to a target surface and returns the extrapolated track parameters on that surface.
If the extrapolation fails, a nullopt is returned
| ctx | EventContext to fetch the alignment & magnetic field from the conditions store |
| startParameters | Reference to the bound track parameters encoding the start surface & the associated track parameters on the surface |
| target | Reference to the surface onto which the track shall be extrapolated |
| navDir | Run the propagation along (Foward) or opposite (Backward) to the track parameter's direction |
| pathLimit | Maximum length of the propagated trajectory. The extrapolation is aborted if the limit is exceeded and the surface not yet reached. |
Execute the propagation
Definition at line 482 of file ExtrapolationTool.cxx.
|
overridevirtual |
Propagate the track parameters forward throuht the detector and record the surface crossings along the trajectory.
| ctx | EventContext to access the alignment and the magnetic field |
| startParameters | The track parameters from which the propagation shall start |
| recordOpts | Record options specifying the target and also the flags at which surface types the track parameters shall be recorded |
Define the volume abort condition. If the propagation leaves the volume or enters the volume
Execute the propagation
Definition at line 429 of file ExtrapolationTool.cxx.
|
finaloverridevirtual |
Extrapolate the track parameters until the end of the world and record the performed steps & the allocated material.
| ctx | EventContext to fetch the alignment & magnetic field from the conditions store |
| startParameters | Reference to the bound track parameters encoding the start surface & the associated track parameters on the surface |
| navDir | Run the propagation along (Foward) or opposite (Backward) to the track parameter's direction |
| pathLimit | Maximum length of the propagated trajectory, if not aborted by the end of the world condition otherwise. |
Definition at line 220 of file ExtrapolationTool.cxx.
|
overridevirtual |
Extrapolate the track parameters until the end of the world and record the performed steps & the allocated material.
| ctx | EventContext to fetch the alignment & magnetic field from the conditions store |
| startParameters | Reference to the bound track parameters encoding the start surface & the associated track parameters on the surface |
| navDir | Run the propagation along (Foward) or opposite (Backward) to the track parameter's direction |
| pathLimit | Maximum length of the propagated trajectory, if not aborted by the end of the world condition otherwise. |
Definition at line 314 of file ExtrapolationTool.cxx.
|
private |
Definition at line 116 of file ExtrapolationTool.h.
|
private |
Utility to fetch the geometry, magnetic field and calibration context in the event.
Definition at line 111 of file ExtrapolationTool.h.
|
private |
Definition at line 115 of file ExtrapolationTool.h.
|
private |
Definition at line 126 of file ExtrapolationTool.h.
|
private |
Definition at line 125 of file ExtrapolationTool.h.
|
private |
Definition at line 127 of file ExtrapolationTool.h.
|
private |
Definition at line 109 of file ExtrapolationTool.h.
|
private |
Definition at line 120 of file ExtrapolationTool.h.
|
private |
Definition at line 119 of file ExtrapolationTool.h.
|
private |
Definition at line 121 of file ExtrapolationTool.h.
|
private |
Definition at line 118 of file ExtrapolationTool.h.
|
private |
Definition at line 122 of file ExtrapolationTool.h.
|
private |
Definition at line 113 of file ExtrapolationTool.h.
|
private |
Definition at line 108 of file ExtrapolationTool.h.