ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::TrackState< source_link_t, parameters_t > Class Template Reference

Templated class to hold the track information on a surface along the trajectory. More...

#include <acts/blob/master/Core/include/Acts/EventData/TrackState.hpp>

+ Collaboration diagram for Acts::TrackState< source_link_t, parameters_t >:

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)
 
TrackStateoperator= (const TrackState &rhs)
 
TrackStateoperator= (TrackState &&rhs)
 
const SurfacereferenceSurface () 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 Surfacem_surface = nullptr
 The surface of this TrackState.
 
TrackStateType m_typeFlags
 The type flag of this TrackState.
 

Detailed Description

template<typename source_link_t, typename parameters_t>
class Acts::TrackState< source_link_t, parameters_t >

Templated class to hold the track information on a surface along the trajectory.

Template Parameters
source_link_tType of the source link
parameters_tType of the parameters on the surface
Note
the Surface is only stored as a pointer, i.e. it is assumed the surface lives longer than the TrackState

Definition at line 47 of file TrackState.hpp.

View newest version in sPHENIX GitHub at line 47 of file TrackState.hpp

Member Typedef Documentation

template<typename source_link_t, typename parameters_t>
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

template<typename source_link_t, typename parameters_t>
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

template<typename source_link_t, typename parameters_t>
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

Constructor & Destructor Documentation

template<typename source_link_t, typename parameters_t>
Acts::TrackState< source_link_t, parameters_t >::TrackState ( SourceLink  m)
inline

Constructor from (uncalibrated) measurement

Parameters
mThe 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.

template<typename source_link_t, typename parameters_t>
Acts::TrackState< source_link_t, parameters_t >::TrackState ( parameters_t  p)
inline

Constructor from parameters

Template Parameters
parameters_tType of the predicted parameters
Parameters
pThe 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.

template<typename source_link_t, typename parameters_t>
virtual Acts::TrackState< source_link_t, parameters_t >::~TrackState ( )
virtualdefault

Virtual destructor.

template<typename source_link_t, typename parameters_t>
Acts::TrackState< source_link_t, parameters_t >::TrackState ( const TrackState< source_link_t, parameters_t > &  rhs)
inline

Copy constructor

Parameters
rhsis the source TrackState

Definition at line 80 of file TrackState.hpp.

View newest version in sPHENIX GitHub at line 80 of file TrackState.hpp

template<typename source_link_t, typename parameters_t>
Acts::TrackState< source_link_t, parameters_t >::TrackState ( TrackState< source_link_t, parameters_t > &&  rhs)
inline

Copy move constructor

Parameters
rhsis the source TrackState

Definition at line 89 of file TrackState.hpp.

View newest version in sPHENIX GitHub at line 89 of file TrackState.hpp

Member Function Documentation

template<typename source_link_t, typename parameters_t>
bool Acts::TrackState< source_link_t, parameters_t >::isType ( const TrackStateFlag flag) const
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.

template<typename source_link_t, typename parameters_t>
TrackState& Acts::TrackState< source_link_t, parameters_t >::operator= ( const TrackState< source_link_t, parameters_t > &  rhs)
inline
template<typename source_link_t, typename parameters_t>
TrackState& Acts::TrackState< source_link_t, parameters_t >::operator= ( TrackState< source_link_t, parameters_t > &&  rhs)
inline
template<typename source_link_t, typename parameters_t>
const Surface& Acts::TrackState< source_link_t, parameters_t >::referenceSurface ( ) const
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().

+ Here is the caller graph for this function:

template<typename source_link_t, typename parameters_t>
void Acts::TrackState< source_link_t, parameters_t >::setType ( const TrackStateFlag flag,
bool  status = true 
)
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.

template<typename source_link_t, typename parameters_t>
std::optional<size_t> Acts::TrackState< source_link_t, parameters_t >::size ( )
inline

number of Measured parameters, forwarded

Note
This only returns a value if there is a calibrated measurement set. If not, this returns std::nullopt
Returns
number of measured parameters, or std::nullopt

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.

+ Here is the call graph for this function:

template<typename source_link_t, typename parameters_t>
TrackStateType Acts::TrackState< source_link_t, parameters_t >::type ( ) const
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().

+ Here is the caller graph for this function:

Member Data Documentation

template<typename source_link_t, typename parameters_t>
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().

template<typename source_link_t, typename parameters_t>
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().

template<typename source_link_t, typename parameters_t>
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().

template<typename source_link_t, typename parameters_t>
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().

template<typename source_link_t, typename parameters_t>
const Surface* Acts::TrackState< source_link_t, parameters_t >::m_surface = nullptr
private
template<typename source_link_t, typename parameters_t>
TrackStateType Acts::TrackState< source_link_t, parameters_t >::m_typeFlags
private
template<typename source_link_t, typename parameters_t>
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()().

template<typename source_link_t, typename parameters_t>
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().

template<typename source_link_t, typename parameters_t>
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().

template<typename source_link_t, typename parameters_t>
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().


The documentation for this class was generated from the following file: