ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Charged and Neutrial Curvilinear Track representation This is a single-component representation. More...
#include <acts/blob/master/Core/include/Acts/EventData/SingleCurvilinearTrackParameters.hpp>
Public Types | |
using | CovMatrix_t = typename SingleTrackParameters< ChargePolicy >::CovMatrix_t |
type of covariance matrix | |
Public Types inherited from Acts::SingleTrackParameters< ChargePolicy > | |
using | ParVector_t = BoundVector |
vector type for stored track parameters | |
using | CovMatrix_t = BoundSymMatrix |
type of covariance matrix | |
Public Member Functions | |
template<typename T = ChargePolicy, std::enable_if_t< std::is_same< T, ChargedPolicy >::value, int > = 0> | |
SingleCurvilinearTrackParameters (std::optional< CovMatrix_t > cov, const ActsVectorD< 3 > &position, const ActsVectorD< 3 > &momentum, double dCharge, double dTime) | |
constructor for curvilienear representation This is the constructor from global parameters, enabled only for charged representations. | |
template<typename T = ChargePolicy, std::enable_if_t< std::is_same< T, NeutralPolicy >::value, int > = 0> | |
SingleCurvilinearTrackParameters (std::optional< CovMatrix_t > cov, const ActsVectorD< 3 > &position, const ActsVectorD< 3 > &momentum, double dTime) | |
constructor for curvilienear representation This is the constructor from global parameters, enabled only for charged representations. | |
SingleCurvilinearTrackParameters (const SingleCurvilinearTrackParameters< ChargePolicy > ©) | |
copy constructor - charged/neutral | |
SingleCurvilinearTrackParameters (SingleCurvilinearTrackParameters< ChargePolicy > &&other) | |
move constructor - charged/neutral | |
~SingleCurvilinearTrackParameters () final=default | |
SingleCurvilinearTrackParameters < ChargePolicy > & | operator= (const SingleCurvilinearTrackParameters< ChargePolicy > &rhs) |
copy assignment operator - charged/netural virtual constructor for type creation without casting | |
SingleCurvilinearTrackParameters < ChargePolicy > & | operator= (SingleCurvilinearTrackParameters< ChargePolicy > &&rhs) |
move assignment operator - charged/netural virtual constructor for type creation without casting | |
template<ParID_t par, std::enable_if_t< std::is_same_v< BoundParameterType< par >, local_parameter >, int > = 0> | |
void | set (const GeometryContext &gctx, ParValue_t newValue) |
update of the track parameterisation only possible on non-const objects, enable for local parameters | |
template<ParID_t par, std::enable_if_t< not std::is_same_v< BoundParameterType< par >, local_parameter >, int > = 0> | |
void | set (const GeometryContext &gctx, ParValue_t newValue) |
update of the track parameterisation only possible on non-const objects enable for parameters that are not local parameters | |
const Surface & | referenceSurface () const final |
access to the reference surface | |
RotationMatrix3D | referenceFrame (const GeometryContext &gctx) const |
access to the measurement frame, i.e. the rotation matrix with respect to the global coordinate system, in which the local error is described. | |
Public Member Functions inherited from Acts::SingleTrackParameters< ChargePolicy > | |
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 | |
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 () |
Private Attributes | |
std::shared_ptr< PlaneSurface > | m_upSurface |
Additional Inherited Members | |
Protected Member Functions inherited from Acts::SingleTrackParameters< ChargePolicy > | |
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 inherited from Acts::SingleTrackParameters< ChargePolicy > | |
ChargePolicy | m_oChargePolicy |
FullParameterSet | m_oParameters |
Vector3D | m_vPosition |
3D vector with global position | |
Vector3D | m_vMomentum |
3D vector with global momentum | |
Charged and Neutrial Curvilinear Track representation This is a single-component representation.
Definition at line 26 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 26 of file SingleCurvilinearTrackParameters.hpp
using Acts::SingleCurvilinearTrackParameters< ChargePolicy >::CovMatrix_t = typename SingleTrackParameters<ChargePolicy>::CovMatrix_t |
type of covariance matrix
Definition at line 30 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 30 of file SingleCurvilinearTrackParameters.hpp
|
inline |
constructor for curvilienear representation This is the constructor from global parameters, enabled only for charged representations.
[in] | cov | The covariance matrix w.r.t. curvilinear frame |
[in] | position | The global position of this track parameterisation |
[in] | momentum | The global momentum of this track parameterisation |
[in] | dCharge | The charge of this track parameterisation |
Definition at line 42 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 42 of file SingleCurvilinearTrackParameters.hpp
|
inline |
constructor for curvilienear representation This is the constructor from global parameters, enabled only for charged representations.
[in] | cov | The covariance matrix w.r.t. curvilinear frame |
[in] | position | The global position of this track parameterisation |
[in] | momentum | The global momentum of this track parameterisation |
Definition at line 62 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 62 of file SingleCurvilinearTrackParameters.hpp
|
inline |
copy constructor - charged/neutral
[in] | copy | The source parameters |
Definition at line 74 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 74 of file SingleCurvilinearTrackParameters.hpp
|
inline |
move constructor - charged/neutral
[in] | other | The source parameters |
Definition at line 82 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 82 of file SingleCurvilinearTrackParameters.hpp
|
finaldefault |
|
inline |
copy assignment operator - charged/netural virtual constructor for type creation without casting
Definition at line 91 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 91 of file SingleCurvilinearTrackParameters.hpp
References Acts::SingleCurvilinearTrackParameters< ChargePolicy >::m_upSurface, Acts::SingleTrackParameters< ChargePolicy >::momentum(), Acts::SingleTrackParameters< ChargePolicy >::operator=(), and Acts::SingleTrackParameters< ChargePolicy >::position().
|
inline |
move assignment operator - charged/netural virtual constructor for type creation without casting
Definition at line 104 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 104 of file SingleCurvilinearTrackParameters.hpp
References Acts::SingleCurvilinearTrackParameters< ChargePolicy >::m_upSurface, and Acts::SingleTrackParameters< ChargePolicy >::operator=().
|
inline |
access to the measurement frame, i.e. the rotation matrix with respect to the global coordinate system, in which the local error is described.
gctx | The current geometry context object, e.g. alignment It is ignored for Curvilinear parameters |
Definition at line 173 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 173 of file SingleCurvilinearTrackParameters.hpp
References Acts::SingleCurvilinearTrackParameters< ChargePolicy >::m_upSurface.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inlinefinalvirtual |
access to the reference surface
Implements Acts::SingleTrackParameters< ChargePolicy >.
Definition at line 162 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 162 of file SingleCurvilinearTrackParameters.hpp
References Acts::SingleCurvilinearTrackParameters< ChargePolicy >::m_upSurface.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_DATA_TEST_CASE(), and Acts::Test::runTest().
|
inline |
update of the track parameterisation only possible on non-const objects, enable for local parameters
ParID_t | The parameter type |
gctx | The current geometry context object, e.g. alignment |
newValue | The new updaed value |
For curvilinear parameters the local parameters are forced to be (0,0), hence an update is an effective shift of the reference
Definition at line 128 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 128 of file SingleCurvilinearTrackParameters.hpp
References Acts::Test::gctx, Acts::SingleTrackParameters< ChargePolicy >::getParameterSet(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::m_upSurface, Acts::SingleTrackParameters< ChargePolicy >::momentum(), Acts::SingleTrackParameters< ChargePolicy >::position(), and Acts::SingleTrackParameters< ChargePolicy >::updateGlobalCoordinates().
|
inline |
update of the track parameterisation only possible on non-const objects enable for parameters that are not local parameters
ParID_t | The parameter type |
gctx | The current geometry context object, e.g. alignment |
newValue | The new updaed value |
For curvilinear parameters the directional change of parameters causes a recalculation of the surface
Definition at line 153 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 153 of file SingleCurvilinearTrackParameters.hpp
References Acts::Test::gctx, Acts::SingleTrackParameters< ChargePolicy >::getParameterSet(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::m_upSurface, Acts::SingleTrackParameters< ChargePolicy >::momentum(), Acts::SingleTrackParameters< ChargePolicy >::position(), and Acts::SingleTrackParameters< ChargePolicy >::updateGlobalCoordinates().
|
private |
Definition at line 178 of file SingleCurvilinearTrackParameters.hpp.
View newest version in sPHENIX GitHub at line 178 of file SingleCurvilinearTrackParameters.hpp
Referenced by Acts::SingleCurvilinearTrackParameters< ChargePolicy >::operator=(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::referenceFrame(), Acts::SingleCurvilinearTrackParameters< ChargePolicy >::referenceSurface(), and Acts::SingleCurvilinearTrackParameters< ChargePolicy >::set().