Template Class TrackState¶
Defined in File TrackState.hpp
Class Documentation¶
-
template<typename
source_link_t
, typenameparameters_t
>
classActs
::
TrackState
¶ Templated class to hold the track information on a surface along the trajectory.
- Note
the Surface is only stored as a pointer, i.e. it is assumed the surface lives longer than the TrackState
- Template Parameters
source_link_t
: Type of the source linkparameters_t
: Type of the parameters on the surface
Public Types
-
using
Jacobian
= typename Parameters::CovMatrix_t¶
-
using
Parameters
= parameters_t¶
-
using
SourceLink
= source_link_t¶
Public Functions
-
TrackState
(SourceLink m)¶ Constructor from (uncalibrated) measurement.
- Parameters
m
: The measurement object
-
TrackState
(parameters_t p)¶ Constructor from parameters.
- Template Parameters
parameters_t
: Type of the predicted parameters
- Parameters
p
: The parameters object
-
TrackState
(const TrackState &rhs)¶ Copy constructor.
- Parameters
rhs
: is the source TrackState
-
TrackState
(TrackState &&rhs)¶ Copy move constructor.
- Parameters
rhs
: is the source TrackState
-
~TrackState
() = default¶ Virtual destructor.
-
bool
isType
(const TrackStateFlag &flag) const¶ test if the tracks state is flagged as a given type
-
TrackState &
operator=
(const TrackState &rhs)¶ Assignment operator.
- Parameters
rhs
: is the source TrackState
-
TrackState &
operator=
(TrackState &&rhs)¶ Assignment move operator.
- Parameters
rhs
: is the source TrackState
-
void
setType
(const TrackStateFlag &flag, bool status = true)¶ set the type flag
-
std::optional<size_t>
size
()¶ number of Measured parameters, forwarded
- Note
This only returns a value if there is a calibrated measurement set. If not, this returns std::nullopt
- Return
number of measured parameters, or std::nullopt
-
TrackStateType
type
() const¶ return method for the type flags
Public Members
-
std::optional<FittableMeasurement<SourceLink>>
calibrated
= {std::nullopt}¶ The optional calibrabed measurement.
-
double
chi2
= 0¶ chisquare
-
std::optional<Parameters>
filtered
= {std::nullopt}¶ The filtered state.
-
struct Acts::TrackState::[anonymous]
measurement
¶ Nested measurement part This is the uncalibrated and calibrated measurement (in case the latter is different)
-
struct Acts::TrackState::[anonymous]
parameter
¶ The parameter part This is all the information that concerns the the track parameterisation and the jacobian It is enough to to run the track smoothing.
-
double
pathLength
= 0.¶ The path length along the track - will help sorting.
-
std::optional<Parameters>
predicted
= {std::nullopt}¶ The predicted state.
-
std::optional<Parameters>
smoothed
= {std::nullopt}¶ The smoothed state.
-
std::optional<SourceLink>
uncalibrated
= {std::nullopt}¶ The optional (uncalibrated) measurement.