ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
base class for a single set of track parameters More...
#include <acts/blob/master/Core/include/Acts/EventData/SingleTrackParameters.hpp>
Public Types | |
using | ParVector_t = BoundVector |
vector type for stored track parameters | |
using | CovMatrix_t = BoundSymMatrix |
type of covariance matrix | |
Public Member Functions | |
virtual | ~SingleTrackParameters ()=default |
default destructor | |
Vector3D | position () const |
access position in global coordinate system | |
Vector3D | momentum () const |
access momentum in global coordinate system | |
bool | operator== (const SingleTrackParameters &rhs) const |
equality operator | |
double | charge () const |
retrieve electric charge | |
double | time () const |
retrieve time | |
const FullParameterSet & | getParameterSet () const |
access to the internally stored ParameterSet | |
virtual const Surface & | referenceSurface () const =0 |
access associated surface defining the coordinate system for track parameters and their covariance | |
const std::optional < CovMatrix_t > & | covariance () const |
access covariance matrix of track parameters | |
ParVector_t | parameters () const |
access track parameters | |
template<ParID_t par> | |
ParValue_t | get () const |
access track parameter | |
template<ParID_t par> | |
ParValue_t | uncertainty () const |
access track parameter uncertainty | |
double | pT () const |
convenience method to retrieve transverse momentum | |
double | eta () const |
convenience method to retrieve pseudorapidity | |
FullParameterSet & | getParameterSet () |
Protected Member Functions | |
template<typename T = ChargePolicy, std::enable_if_t< std::is_same< T, ChargedPolicy >::value, int > = 0> | |
SingleTrackParameters (std::optional< CovMatrix_t > cov, const ParVector_t &parValues, const Vector3D &position, const Vector3D &momentum) | |
standard constructor for track parameters of charged particles | |
template<typename T = ChargePolicy, std::enable_if_t< std::is_same< T, NeutralPolicy >::value, int > = 0> | |
SingleTrackParameters (std::optional< CovMatrix_t > cov, const ParVector_t &parValues, const Vector3D &position, const Vector3D &momentum) | |
standard constructor for track parameters of neutral particles | |
SingleTrackParameters (const SingleTrackParameters< ChargePolicy > ©)=default | |
default copy constructor | |
SingleTrackParameters (SingleTrackParameters< ChargePolicy > &©)=default | |
default move constructor | |
SingleTrackParameters < ChargePolicy > & | operator= (const SingleTrackParameters< ChargePolicy > &rhs) |
copy assignment operator | |
SingleTrackParameters < ChargePolicy > & | operator= (SingleTrackParameters< ChargePolicy > &&rhs) |
move assignment operator | |
template<typename T > | |
void | updateGlobalCoordinates (const GeometryContext &, const T &) |
update global momentum from current parameter values | |
void | updateGlobalCoordinates (const GeometryContext &gctx, const local_parameter &) |
update global position from current parameter values | |
std::ostream & | print (std::ostream &sl) const |
print information to output stream | |
Protected Attributes | |
ChargePolicy | m_oChargePolicy |
FullParameterSet | m_oParameters |
Vector3D | m_vPosition |
3D vector with global position | |
Vector3D | m_vMomentum |
3D vector with global momentum | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const SingleTrackParameters &stp) |
output stream operator | |
base class for a single set of track parameters
This class implements the interface for charged/neutral track parameters for the case that it represents a single set of track parameters (opposed to a list of different sets of track parameters as used by e.g. GSF or multi-track fitters).
The track parameters and their uncertainty are defined in local reference frame which depends on the associated surface of the track parameters.
ChargePolicy | type for distinguishing charged and neutral tracks/particles (must be either ChargedPolicy or NeutralPolicy) |
Definition at line 35 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 35 of file SingleTrackParameters.hpp
using Acts::SingleTrackParameters< ChargePolicy >::CovMatrix_t = BoundSymMatrix |
type of covariance matrix
Definition at line 48 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 48 of file SingleTrackParameters.hpp
using Acts::SingleTrackParameters< ChargePolicy >::ParVector_t = BoundVector |
vector type for stored track parameters
Definition at line 45 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 45 of file SingleTrackParameters.hpp
|
virtualdefault |
default destructor
|
inlineprotected |
standard constructor for track parameters of charged particles
cov | unique pointer to covariance matrix (nullptr is accepted) |
parValues | vector with parameter values |
position | 3D vector with global position |
momentum | 3D vector with global momentum |
Definition at line 172 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 172 of file SingleTrackParameters.hpp
|
inlineprotected |
standard constructor for track parameters of neutral particles
cov | unique pointer to covariance matrix (nullptr is accepted) |
parValues | vector with parameter values |
position | 3D vector with global position |
momentum | 3D vector with global momentum |
Definition at line 189 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 189 of file SingleTrackParameters.hpp
|
protecteddefault |
default copy constructor
|
protecteddefault |
default move constructor
|
inline |
retrieve electric charge
Definition at line 82 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 82 of file SingleTrackParameters.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::SingleTrackParameters< ChargedPolicy >::print().
|
inline |
access covariance matrix of track parameters
Definition at line 109 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 109 of file SingleTrackParameters.hpp
Referenced by Acts::TrackDensity::addTrack(), FW::ResPlotTool::fill(), Acts::IterativeVertexFinder< vfitter_t, sfinder_t >::fillPerigeesToFit(), Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::get3dVertexCompatibility(), Acts::HelicalTrackLinearizer< propagator_t, propagator_options_t >::linearizeTrack(), Acts::CKFSourceLinkSelector::operator()(), Acts::SingleTrackParameters< ChargedPolicy >::print(), Acts::StraightLineStepper::update(), Acts::EigenStepper< bfield_t, extensionlist_t, auctioneer_t >::update(), and Acts::AtlasStepper< ConstantBField >::update().
|
inline |
convenience method to retrieve pseudorapidity
Definition at line 146 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 146 of file SingleTrackParameters.hpp
|
inline |
access track parameter
par | identifier of track parameter which is to be retrieved |
Definition at line 128 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 128 of file SingleTrackParameters.hpp
Referenced by Acts::HelicalTrackLinearizer< propagator_t, propagator_options_t >::linearizeTrack(), and Acts::Test::runTest().
|
inline |
access to the internally stored ParameterSet
Definition at line 93 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 93 of file SingleTrackParameters.hpp
Referenced by Acts::SingleTrackParameters< ChargedPolicy >::covariance(), Acts::SingleTrackParameters< ChargedPolicy >::get(), Acts::SingleTrackParameters< ChargedPolicy >::parameters(), Acts::Measurement< source_link_t, params >::residual(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::set(), Acts::SingleBoundTrackParameters< ChargedPolicy >::set(), Acts::SingleTrackParameters< ChargedPolicy >::uncertainty(), and Acts::SingleTrackParameters< ChargedPolicy >::updateGlobalCoordinates().
|
inline |
Definition at line 148 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 148 of file SingleTrackParameters.hpp
|
inline |
access momentum in global coordinate system
Definition at line 61 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 61 of file SingleTrackParameters.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_DATA_TEST_CASE(), Acts::SingleTrackParameters< ChargedPolicy >::eta(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::operator=(), Acts::SingleTrackParameters< ChargedPolicy >::print(), Acts::SingleTrackParameters< ChargedPolicy >::pT(), Acts::SingleBoundTrackParameters< ChargedPolicy >::referenceFrame(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::set(), Acts::StraightLineStepper::update(), and Acts::EigenStepper< bfield_t, extensionlist_t, auctioneer_t >::update().
|
inlineprotected |
copy assignment operator
rhs | object to be copied |
Definition at line 207 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 207 of file SingleTrackParameters.hpp
Referenced by Acts::SingleCurvilinearTrackParameters< ChargePolicy >::operator=(), and Acts::SingleBoundTrackParameters< ChargedPolicy >::operator=().
|
inlineprotected |
move assignment operator
rhs | object to be movied into *this |
Definition at line 223 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 223 of file SingleTrackParameters.hpp
|
inline |
equality operator
true
of both objects have the same charge policy, parameter values, position and momentum, otherwise false
Definition at line 67 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 67 of file SingleTrackParameters.hpp
|
inline |
access track parameters
Definition at line 118 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 118 of file SingleTrackParameters.hpp
Referenced by Acts::TrackDensity::addTrack(), FW::ResPlotTool::fill(), Acts::ZScanVertexFinder< vfitter_t >::find(), Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::get3dVertexCompatibility(), Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::getDistanceAndMomentum(), Acts::HelicalTrackLinearizer< propagator_t, propagator_options_t >::linearizeTrack(), Acts::SingleTrackParameters< ChargedPolicy >::print(), Acts::RiddersPropagator< propagator_t >::propagate(), and Acts::AtlasStepper< ConstantBField >::update().
|
inline |
access position in global coordinate system
Definition at line 56 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 56 of file SingleTrackParameters.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_DATA_TEST_CASE(), ActsTransformations::fillSvtxTrackStates(), Acts::ZScanVertexFinder< vfitter_t >::find(), Acts::HelicalTrackLinearizer< propagator_t, propagator_options_t >::linearizeTrack(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::operator=(), Acts::SingleTrackParameters< ChargedPolicy >::print(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::set(), Acts::StraightLineStepper::update(), Acts::EigenStepper< bfield_t, extensionlist_t, auctioneer_t >::update(), and Acts::AtlasStepper< ConstantBField >::update().
|
inlineprotected |
print information to output stream
Definition at line 264 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 264 of file SingleTrackParameters.hpp
|
inline |
convenience method to retrieve transverse momentum
Definition at line 143 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 143 of file SingleTrackParameters.hpp
|
pure virtual |
access associated surface defining the coordinate system for track parameters and their covariance
Implemented in Acts::SingleBoundTrackParameters< ChargePolicy >, Acts::SingleBoundTrackParameters< ChargedPolicy >, and Acts::SingleCurvilinearTrackParameters< ChargePolicy >.
Referenced by Acts::Test::runTest(), and Acts::SingleTrackParameters< ChargedPolicy >::updateGlobalCoordinates().
|
inline |
retrieve time
Definition at line 87 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 87 of file SingleTrackParameters.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::StraightLineStepper::update(), Acts::EigenStepper< bfield_t, extensionlist_t, auctioneer_t >::update(), and Acts::AtlasStepper< ConstantBField >::update().
|
inline |
access track parameter uncertainty
par | identifier of track parameter which is to be retrieved |
Definition at line 138 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 138 of file SingleTrackParameters.hpp
|
inlineprotected |
update global momentum from current parameter values
[in] | gctx | is the Context object that is forwarded to the surface for local to global coordinate transformation |
Definition at line 245 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 245 of file SingleTrackParameters.hpp
Referenced by Acts::SingleCurvilinearTrackParameters< ChargePolicy >::set(), and Acts::SingleBoundTrackParameters< ChargedPolicy >::set().
|
inlineprotected |
update global position from current parameter values
Definition at line 255 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 255 of file SingleTrackParameters.hpp
|
friend |
output stream operator
Prints information about this object to the output stream using the virtual TrackParameters::print or SingleFreeParameters::print method.
Definition at line 157 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 157 of file SingleTrackParameters.hpp
|
protected |
charge policy object distinguishing between charged and neutral tracks
Definition at line 290 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 290 of file SingleTrackParameters.hpp
Referenced by Acts::SingleTrackParameters< ChargedPolicy >::charge(), Acts::SingleTrackParameters< ChargedPolicy >::operator=(), and Acts::SingleTrackParameters< ChargedPolicy >::operator==().
|
protected |
ParameterSet object holding the parameter values and covariance matrix
Definition at line 292 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 292 of file SingleTrackParameters.hpp
Referenced by Acts::SingleTrackParameters< ChargedPolicy >::getParameterSet(), Acts::SingleTrackParameters< ChargedPolicy >::operator=(), and Acts::SingleTrackParameters< ChargedPolicy >::operator==().
|
protected |
3D vector with global momentum
Definition at line 295 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 295 of file SingleTrackParameters.hpp
Referenced by Acts::SingleTrackParameters< ChargedPolicy >::momentum(), Acts::SingleTrackParameters< ChargedPolicy >::operator=(), Acts::SingleTrackParameters< ChargedPolicy >::operator==(), and Acts::SingleTrackParameters< ChargedPolicy >::updateGlobalCoordinates().
|
protected |
3D vector with global position
Definition at line 294 of file SingleTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 294 of file SingleTrackParameters.hpp
Referenced by Acts::SingleTrackParameters< ChargedPolicy >::operator=(), Acts::SingleTrackParameters< ChargedPolicy >::operator==(), Acts::SingleTrackParameters< ChargedPolicy >::position(), and Acts::SingleTrackParameters< ChargedPolicy >::updateGlobalCoordinates().