EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TrkrClusterFittingAlgorithm.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrkrClusterFittingAlgorithm.hpp
1
#pragma once
2
3
#include <iostream>
4
#include <map>
5
#include <random>
6
#include <stdexcept>
7
#include <boost/program_options.hpp>
8
9
#include "
Acts/TrackFitting/GainMatrixSmoother.hpp
"
10
#include "
Acts/TrackFitting/GainMatrixUpdater.hpp
"
11
#include "
Acts/Geometry/GeometryIdentifier.hpp
"
12
#include "
Acts/MagneticField/ConstantBField.hpp
"
13
#include "
Acts/MagneticField/InterpolatedBFieldMap.hpp
"
14
#include "
Acts/MagneticField/SharedBField.hpp
"
15
#include "
Acts/Propagator/EigenStepper.hpp
"
16
#include "
Acts/Propagator/Navigator.hpp
"
17
#include "
Acts/Propagator/Propagator.hpp
"
18
#include "
Acts/Surfaces/Surface.hpp
"
19
#include "
Acts/Utilities/Helpers.hpp
"
20
#include "
Acts/Utilities/ParameterDefinitions.hpp
"
21
#include "
Acts/TrackFitting/KalmanFitter.hpp
"
22
#include "
Acts/Geometry/TrackingGeometry.hpp
"
23
24
#include "
ActsExamples/Plugins/BField/ScalableBField.hpp
"
25
#include "
ActsExamples/EventData/Track.hpp
"
26
#include "
ActsExamples/Framework/BareAlgorithm.hpp
"
27
#include "
ActsExamples/Plugins/BField/BFieldOptions.hpp
"
28
#include "
ActsExamples/EventData/TrkrClusterSourceLink.hpp
"
29
30
namespace
ActsExamples {
31
36
class
TrkrClusterFittingAlgorithm
:
public
BareAlgorithm
37
{
38
public
:
40
using
FitterResult
41
=
Acts::Result<Acts::KalmanFitterResult<ActsExamples::TrkrClusterSourceLink>
>;
42
using
FitterFunction
43
= std::function<
FitterResult
(
44
const
std::vector<ActsExamples::TrkrClusterSourceLink>&,
45
const
TrackParameters
&,
46
const
Acts::KalmanFitterOptions<Acts::VoidOutlierFinder>
&)>;
47
48
using
DirectedFitterFunction
49
= std::function<
FitterResult
(
50
const
std::vector<ActsExamples::TrkrClusterSourceLink>&,
51
const
TrackParameters
&,
52
const
Acts::KalmanFitterOptions<Acts::VoidOutlierFinder>
&,
53
const
std::vector<const Acts::Surface*>&)>;
54
55
57
static
FitterFunction
makeFitterFunction
(
58
std::shared_ptr<const Acts::TrackingGeometry>
trackingGeometry
,
59
Options::BFieldVariant
magneticField
);
60
61
static
DirectedFitterFunction
makeFitterFunction
(
62
Options::BFieldVariant
magneticField
);
63
64
struct
Config
65
{
66
FitterFunction
fit
;
67
DirectedFitterFunction
dFit
;
68
};
69
71
TrkrClusterFittingAlgorithm
(
Config
cfg,
Acts::Logging::Level
lvl);
72
73
74
private
:
75
Config
m_cfg
;
76
};
77
78
}
acts
blob
sPHENIX
Examples
Algorithms
Fitting
include
ActsExamples
Fitting
TrkrClusterFittingAlgorithm.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:24
using
1.8.2 with
EIC GitHub integration