ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsToolInterfaces
ActsToolInterfaces
ITrackParamsEstimationTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 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/SeedContainer.h
"
13
#include "Acts/Geometry/GeometryContext.hpp"
14
#include "Acts/Utilities/CalibrationContext.hpp"
15
#include "Acts/Definitions/TrackParametrization.hpp"
16
#include "Acts/EventData/BoundTrackParameters.hpp"
17
18
// Others
19
#include <array>
20
#include <functional>
21
22
namespace
ActsTrk
{
23
class
ITrackParamsEstimationTool
24
:
virtual
public
IAlgTool {
25
public
:
26
DeclareInterfaceID
(
ITrackParamsEstimationTool
, 1, 0);
27
28
enum
EstimationStatus
29
{
30
kNoSeedRefit
,
31
kSeedRefitFailed
,
32
kSeedRefitSuccess
33
};
34
35
virtual
36
std::pair<std::optional<Acts::BoundTrackParameters>,
EstimationStatus
>
37
estimateTrackParameters
(
38
const
ActsTrk::Seed
& seed,
39
bool
reverseSearch,
40
const
Acts::GeometryContext& geoContext,
41
const
Acts::MagneticFieldContext& magFieldContext,
42
const
Acts::CalibrationContext& calContext,
43
std::function<
const
Acts::Surface&(
const
ActsTrk::Seed
& seed,
bool
useTopSp)> retrieveSurface)
const
= 0;
44
45
virtual
46
std::pair<std::optional<Acts::BoundTrackParameters>,
EstimationStatus
>
47
estimateTrackParameters
(
48
const
ActsTrk::Seed
& seed,
49
bool
reverseSearch,
50
const
Acts::GeometryContext& geoContext,
51
const
Acts::MagneticFieldContext& magFieldContext,
52
const
Acts::CalibrationContext& calContext,
53
const
Acts::Surface& surface,
54
const
Acts::Vector3& bField)
const
= 0;
55
56
using
SpacePointIndicesFun_t
= std::function<std::array<std::size_t, 3>(std::size_t)>;
57
virtual
SpacePointIndicesFun_t
spacePointIndicesFun
()
const
= 0;
58
virtual
bool
estimateFromTopSp
(
bool
reverseSearch)
const
= 0;
59
60
};
61
62
}
// namespace
63
64
#endif
65
SeedContainer.h
ActsTrk::ITrackParamsEstimationTool
Definition
ITrackParamsEstimationTool.h:24
ActsTrk::ITrackParamsEstimationTool::EstimationStatus
EstimationStatus
Definition
ITrackParamsEstimationTool.h:29
ActsTrk::ITrackParamsEstimationTool::kNoSeedRefit
@ kNoSeedRefit
Definition
ITrackParamsEstimationTool.h:30
ActsTrk::ITrackParamsEstimationTool::kSeedRefitFailed
@ kSeedRefitFailed
Definition
ITrackParamsEstimationTool.h:31
ActsTrk::ITrackParamsEstimationTool::kSeedRefitSuccess
@ kSeedRefitSuccess
Definition
ITrackParamsEstimationTool.h:32
ActsTrk::ITrackParamsEstimationTool::estimateTrackParameters
virtual std::pair< std::optional< Acts::BoundTrackParameters >, EstimationStatus > estimateTrackParameters(const ActsTrk::Seed &seed, bool reverseSearch, const Acts::GeometryContext &geoContext, const Acts::MagneticFieldContext &magFieldContext, const Acts::CalibrationContext &calContext, std::function< const Acts::Surface &(const ActsTrk::Seed &seed, bool useTopSp)> retrieveSurface) const =0
ActsTrk::ITrackParamsEstimationTool::spacePointIndicesFun
virtual SpacePointIndicesFun_t spacePointIndicesFun() const =0
ActsTrk::ITrackParamsEstimationTool::SpacePointIndicesFun_t
std::function< std::array< std::size_t, 3 >(std::size_t)> SpacePointIndicesFun_t
Definition
ITrackParamsEstimationTool.h:56
ActsTrk::ITrackParamsEstimationTool::DeclareInterfaceID
DeclareInterfaceID(ITrackParamsEstimationTool, 1, 0)
ActsTrk::ITrackParamsEstimationTool::estimateFromTopSp
virtual bool estimateFromTopSp(bool reverseSearch) const =0
ActsTrk::ITrackParamsEstimationTool::estimateTrackParameters
virtual std::pair< std::optional< Acts::BoundTrackParameters >, EstimationStatus > estimateTrackParameters(const ActsTrk::Seed &seed, bool reverseSearch, const Acts::GeometryContext &geoContext, const Acts::MagneticFieldContext &magFieldContext, const Acts::CalibrationContext &calContext, const Acts::Surface &surface, const Acts::Vector3 &bField) const =0
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
ActsTrk::Seed
Definition
SeedContainer.h:44
Generated on
for ATLAS Offline Software by
1.17.0