ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Templated class to hold the track information on a surface along the trajectory. More...
#include <acts/blob/master/Core/include/Acts/EventData/TrackState.hpp>
Public Types | |
using | SourceLink = source_link_t |
using | Parameters = parameters_t |
using | Jacobian = typename Parameters::CovMatrix_t |
Public Member Functions | |
TrackState (SourceLink m) | |
TrackState (parameters_t p) | |
virtual | ~TrackState ()=default |
Virtual destructor. | |
TrackState (const TrackState &rhs) | |
TrackState (TrackState &&rhs) | |
TrackState & | operator= (const TrackState &rhs) |
TrackState & | operator= (TrackState &&rhs) |
const Surface & | referenceSurface () const |
return method for the surface | |
void | setType (const TrackStateFlag &flag, bool status=true) |
set the type flag | |
bool | isType (const TrackStateFlag &flag) const |
test if the tracks state is flagged as a given type | |
TrackStateType | type () const |
return method for the type flags | |
std::optional< size_t > | size () |
number of Measured parameters, forwarded | |
Public Attributes | |
struct { | |
std::optional< Parameters > predicted {std::nullopt} | |
The predicted state. | |
std::optional< Parameters > filtered {std::nullopt} | |
The filtered state. | |
std::optional< Parameters > smoothed {std::nullopt} | |
The smoothed state. | |
std::optional< Jacobian > jacobian {std::nullopt} | |
The transport jacobian matrix. | |
double pathLength = 0. | |
The path length along the track - will help sorting. | |
double chi2 = 0 | |
chisquare | |
} | parameter |
struct { | |
std::optional< SourceLink > uncalibrated {std::nullopt} | |
The optional (uncalibrated) measurement. | |
std::optional < FittableMeasurement < SourceLink > > calibrated {std::nullopt} | |
The optional calibrabed measurement. | |
} | measurement |
Private Attributes | |
const Surface * | m_surface = nullptr |
The surface of this TrackState. | |
TrackStateType | m_typeFlags |
The type flag of this TrackState. | |
Templated class to hold the track information on a surface along the trajectory.
source_link_t | Type of the source link |
parameters_t | Type of the parameters on the surface |
Definition at line 47 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 47 of file TrackState.hpp
using Acts::TrackState< source_link_t, parameters_t >::Jacobian = typename Parameters::CovMatrix_t |
Definition at line 54 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 54 of file TrackState.hpp
using Acts::TrackState< source_link_t, parameters_t >::Parameters = parameters_t |
Definition at line 53 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 53 of file TrackState.hpp
using Acts::TrackState< source_link_t, parameters_t >::SourceLink = source_link_t |
Definition at line 52 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 52 of file TrackState.hpp
|
inline |
Constructor from (uncalibrated) measurement
m | The measurement object |
Definition at line 59 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 59 of file TrackState.hpp
References Acts::TrackState< source_link_t, parameters_t >::m_typeFlags, Acts::TrackState< source_link_t, parameters_t >::measurement, and Acts::MeasurementFlag.
|
inline |
Constructor from parameters
parameters_t | Type of the predicted parameters |
p | The parameters object |
Definition at line 68 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 68 of file TrackState.hpp
References Acts::TrackState< source_link_t, parameters_t >::m_surface, Acts::TrackState< source_link_t, parameters_t >::m_typeFlags, Acts::TrackState< source_link_t, parameters_t >::parameter, and Acts::ParameterFlag.
|
virtualdefault |
Virtual destructor.
|
inline |
Copy constructor
rhs | is the source TrackState |
Definition at line 80 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 80 of file TrackState.hpp
|
inline |
Copy move constructor
rhs | is the source TrackState |
Definition at line 89 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 89 of file TrackState.hpp
|
inline |
test if the tracks state is flagged as a given type
Definition at line 126 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 126 of file TrackState.hpp
References Acts::TrackState< source_link_t, parameters_t >::m_typeFlags, and Acts::NumTrackStateFlags.
|
inline |
Assignment operator
rhs | is the source TrackState |
Definition at line 98 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 98 of file TrackState.hpp
References Acts::TrackState< source_link_t, parameters_t >::m_surface, Acts::TrackState< source_link_t, parameters_t >::m_typeFlags, Acts::TrackState< source_link_t, parameters_t >::measurement, and Acts::TrackState< source_link_t, parameters_t >::parameter.
|
inline |
Assignment move operator
rhs | is the source TrackState |
Definition at line 109 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 109 of file TrackState.hpp
References Acts::TrackState< source_link_t, parameters_t >::m_surface, Acts::TrackState< source_link_t, parameters_t >::m_typeFlags, Acts::TrackState< source_link_t, parameters_t >::measurement, and Acts::TrackState< source_link_t, parameters_t >::parameter.
|
inline |
return method for the surface
Definition at line 118 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 118 of file TrackState.hpp
References Acts::TrackState< source_link_t, parameters_t >::m_surface.
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState().
|
inline |
set the type flag
Definition at line 121 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 121 of file TrackState.hpp
References Acts::TrackState< source_link_t, parameters_t >::m_typeFlags.
|
inline |
number of Measured parameters, forwarded
Definition at line 139 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 139 of file TrackState.hpp
References Acts::MeasurementHelpers::getSize(), and Acts::TrackState< source_link_t, parameters_t >::measurement.
|
inline |
return method for the type flags
Definition at line 132 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 132 of file TrackState.hpp
References Acts::TrackState< source_link_t, parameters_t >::m_typeFlags.
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState(), generatez(), getmass(), getproba(), and getscatterer().
std::optional<FittableMeasurement<SourceLink> > Acts::TrackState< source_link_t, parameters_t >::calibrated {std::nullopt} |
The optional calibrabed measurement.
Definition at line 172 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 172 of file TrackState.hpp
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState().
double Acts::TrackState< source_link_t, parameters_t >::chi2 = 0 |
chisquare
Definition at line 162 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 162 of file TrackState.hpp
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState().
std::optional<Parameters> Acts::TrackState< source_link_t, parameters_t >::filtered {std::nullopt} |
The filtered state.
Definition at line 154 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 154 of file TrackState.hpp
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState().
std::optional<Jacobian> Acts::TrackState< source_link_t, parameters_t >::jacobian {std::nullopt} |
The transport jacobian matrix.
Definition at line 158 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 158 of file TrackState.hpp
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState().
|
private |
The surface of this TrackState.
Definition at line 177 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 177 of file TrackState.hpp
Referenced by Acts::TrackState< source_link_t, parameters_t >::operator=(), Acts::TrackState< source_link_t, parameters_t >::referenceSurface(), and Acts::TrackState< source_link_t, parameters_t >::TrackState().
|
private |
The type flag of this TrackState.
Definition at line 179 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 179 of file TrackState.hpp
Referenced by Acts::TrackState< source_link_t, parameters_t >::isType(), Acts::TrackState< source_link_t, parameters_t >::operator=(), Acts::TrackState< source_link_t, parameters_t >::setType(), Acts::TrackState< source_link_t, parameters_t >::TrackState(), and Acts::TrackState< source_link_t, parameters_t >::type().
struct { ... } Acts::TrackState< source_link_t, parameters_t >::measurement |
struct { ... } Acts::TrackState< source_link_t, parameters_t >::parameter |
double Acts::TrackState< source_link_t, parameters_t >::pathLength = 0. |
The path length along the track - will help sorting.
Definition at line 160 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 160 of file TrackState.hpp
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState(), and Acts::TrackStatePathLengthSorter::operator()().
std::optional<Parameters> Acts::TrackState< source_link_t, parameters_t >::predicted {std::nullopt} |
The predicted state.
Definition at line 152 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 152 of file TrackState.hpp
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState().
std::optional<Parameters> Acts::TrackState< source_link_t, parameters_t >::smoothed {std::nullopt} |
The smoothed state.
Definition at line 156 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 156 of file TrackState.hpp
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState().
std::optional<SourceLink> Acts::TrackState< source_link_t, parameters_t >::uncalibrated {std::nullopt} |
The optional (uncalibrated) measurement.
Definition at line 170 of file TrackState.hpp.
View newest version in sPHENIX GitHub at line 170 of file TrackState.hpp
Referenced by Acts::MultiTrajectory< source_link_t >::addTrackState().