ATLAS Offline Software
ITrackParamsEstimationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSTOOLINTERFACES_ITRACKPARAMESTIMATIONTOOL_H
6 #define ACTSTOOLINTERFACES_ITRACKPARAMESTIMATIONTOOL_H
7 
8 // Athena
9 #include "GaudiKernel/IAlgTool.h"
10 #include "GaudiKernel/EventContext.h"
11 #include "Acts/MagneticField/MagneticFieldContext.hpp"
12 #include "ActsEvent/Seed.h"
13 #include "Acts/Geometry/GeometryContext.hpp"
14 #include "Acts/Definitions/TrackParametrization.hpp"
15 #include "Acts/EventData/TrackParameters.hpp"
16 
17 // Others
18 #include <functional>
19 
20 namespace ActsTrk {
22  : virtual public IAlgTool {
23  public:
25 
26  virtual
27  std::optional<Acts::BoundTrackParameters>
28  estimateTrackParameters(const EventContext& ctx,
29  const ActsTrk::Seed& seed,
30  const Acts::GeometryContext& geoContext,
31  const Acts::MagneticFieldContext& magFieldContext,
32  std::function<const Acts::Surface&(const ActsTrk::Seed&)> retrieveSurface) const = 0;
33 
34  virtual
35  std::optional<Acts::BoundTrackParameters>
36  estimateTrackParameters(const EventContext& ctx,
37  const ActsTrk::Seed& seed,
38  const Acts::GeometryContext& geoContext,
39  const Acts::Surface& surface,
40  const Acts::Vector3& bField) const = 0;
41  };
42 
43 } // namespace
44 
45 #endif
46 
ActsTrk::ITrackParamsEstimationTool::estimateTrackParameters
virtual std::optional< Acts::BoundTrackParameters > estimateTrackParameters(const EventContext &ctx, const ActsTrk::Seed &seed, const Acts::GeometryContext &geoContext, const Acts::MagneticFieldContext &magFieldContext, std::function< const Acts::Surface &(const ActsTrk::Seed &)> retrieveSurface) const =0
ActsTrk::ITrackParamsEstimationTool::DeclareInterfaceID
DeclareInterfaceID(ITrackParamsEstimationTool, 1, 0)
ActsTrk::Seed
Acts::Seed< xAOD::SpacePoint, 3ul > Seed
Definition: Seed.h:12
Seed.h
ActsTrk::ITrackParamsEstimationTool::estimateTrackParameters
virtual std::optional< Acts::BoundTrackParameters > estimateTrackParameters(const EventContext &ctx, const ActsTrk::Seed &seed, const Acts::GeometryContext &geoContext, const Acts::Surface &surface, const Acts::Vector3 &bField) const =0
ActsTrk::ITrackParamsEstimationTool
Definition: ITrackParamsEstimationTool.h:22
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:54