![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
base class for Measurements More...
#include <acts/blob/master/Core/include/Acts/EventData/Measurement.hpp>
Inheritance diagram for Acts::Measurement< source_link_t, params >:
Collaboration diagram for Acts::Measurement< source_link_t, params >:Public Types | |
| using | ParVector_t = typename ParSet_t::ParVector_t |
| type of the vector containing the parameter values | |
| using | CovMatrix_t = typename ParSet_t::CovMatrix_t |
| type of the covariance matrix of the measurement | |
| using | Projection_t = typename ParSet_t::Projection_t |
| matrix type for projecting full parameter vector onto local parameters | |
Public Member Functions | |
| Measurement ()=delete | |
| Delete the default constructor. | |
| template<typename... Tail> | |
| Measurement (std::shared_ptr< const Surface > surface, const source_link_t &source, CovMatrix_t cov, typename std::enable_if< sizeof...(Tail)+1==sizeof...(params), ParValue_t >::type head, Tail...values) | |
| standard constructor | |
| virtual | ~Measurement ()=default |
| virtual destructor | |
| Measurement (const Measurement< source_link_t, params...> ©) | |
| copy constructor | |
| Measurement (Measurement< source_link_t, params...> &&other) | |
| move constructor | |
| Measurement< source_link_t, params...> & | operator= (const Measurement< source_link_t, params...> &rhs) |
| copy assignment operator | |
| Measurement< source_link_t, params...> & | operator= (Measurement< source_link_t, params...> &&rhs) |
| move assignment operator | |
| template<ParID_t parameter> | |
| ParValue_t | get () const |
| retrieve stored value for given parameter | |
| ParVector_t | parameters () const |
| access vector with measured parameter values | |
| CovMatrix_t | covariance () const |
| access covariance matrix of the measured parameter values | |
| template<ParID_t parameter> | |
| ParValue_t | uncertainty () const |
| retrieve stored uncertainty for given parameter | |
| const Acts::Surface & | referenceSurface () const |
| access associated surface | |
| const source_link_t & | sourceLink () const |
| link access to the source of the measurement. | |
| ParVector_t | residual (const TrackParameters &trackPars) const |
| calculate residual with respect to given track parameters | |
| virtual bool | operator== (const Measurement< source_link_t, params...> &rhs) const |
| equality operator | |
| bool | operator!= (const Measurement< source_link_t, params...> &rhs) const |
| inequality operator | |
Static Public Member Functions | |
| static constexpr unsigned int | size () |
| number of measured parameters | |
| static Projection_t | projector () |
| operator | |
Protected Member Functions | |
| virtual std::ostream & | print (std::ostream &out) const |
Private Types | |
| using | ParSet_t = ParameterSet< params...> |
| type of the underlying ParameterSet object | |
Private Attributes | |
| ParSet_t | m_oParameters |
| measured parameter set | |
| std::shared_ptr< const Surface > | m_pSurface |
| surface at which the measurement took place | |
| source_link_t | m_sourceLink |
| link to the source for this measurement | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Measurement< source_link_t, params...> &m) |
base class for Measurements
This class describes the measurement of track parameters at a certain Surface in the TrackingGeometry.
The measurement is in local parameters and will not provide localToGlobal information. It is thus free from any Context.
| source_link_t | the templated class that allows to link back to the source used to create this measurement, this can simply be an identifier or an extended object that allows to navigate back to the original source. The source link is necessary when e.g. calibrating the object or in other circumstances where the pure mathematical view of a measurement is not sufficient. The name link indicates that there is a relationship to a unique source object, i.e. if a measurement appears on several tracks, then there must be a uniquely identifyable common source for those. |
| Identifier | identification object for this measurement |
| params | parameter pack containing the measured parameters |
Definition at line 51 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 51 of file Measurement.hpp
| using Acts::Measurement< source_link_t, params >::CovMatrix_t = typename ParSet_t::CovMatrix_t |
type of the covariance matrix of the measurement
Definition at line 66 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 66 of file Measurement.hpp
|
private |
type of the underlying ParameterSet object
Definition at line 60 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 60 of file Measurement.hpp
| using Acts::Measurement< source_link_t, params >::ParVector_t = typename ParSet_t::ParVector_t |
type of the vector containing the parameter values
Definition at line 64 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 64 of file Measurement.hpp
| using Acts::Measurement< source_link_t, params >::Projection_t = typename ParSet_t::Projection_t |
matrix type for projecting full parameter vector onto local parameters
Definition at line 68 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 68 of file Measurement.hpp
|
delete |
Delete the default constructor.
|
inline |
standard constructor
Concrete class for all possible measurements.
Surface object surpasses the lifetime of this Measurement object. The given parameter values are interpreted as values to the parameters as defined in the class template argument params.Surface object is changed (e.g. if it is stored in a container and this gets relocated).| surface | surface at which the measurement took place |
| source | object for this measurement |
| cov | covariance matrix of the measurement. |
| head,values | consistent number of parameter values of the measurement |
Definition at line 93 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 93 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::m_pSurface.
|
virtualdefault |
virtual destructor
|
inline |
copy constructor
| source_link_t | The identifier type |
| params...The | local parameter pack |
| copy | is the source for the copy |
Definition at line 113 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 113 of file Measurement.hpp
|
inline |
move constructor
| source_link_t | The identifier type |
| params...The | local parameter pack |
| other | is the source for the move |
Definition at line 124 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 124 of file Measurement.hpp
|
inline |
access covariance matrix of the measured parameter values
Definition at line 186 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 186 of file Measurement.hpp
References Acts::ParameterSet< params >::getCovariance(), and Acts::Measurement< source_link_t, params >::m_oParameters.
Referenced by Acts::Measurement< source_link_t, params >::print(), and Acts::detail_lt::TrackStateProxy< source_link_t, N, M, ReadOnly >::setCalibrated().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
retrieve stored value for given parameter
| parameter | identifier for the parameter to be retrieved |
parameter must be part of the template parameter pack params. Otherwise a compile-time error is generated.Definition at line 170 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 170 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::m_oParameters.
|
inline |
inequality operator
true if both objects are not equal, otherwise false Definition at line 259 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 259 of file Measurement.hpp
|
inline |
copy assignment operator
| source_link_t | The identifier type |
| params...The | local parameter pack |
| rhs | is the source for the assignment |
Definition at line 135 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 135 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::m_oParameters, Acts::Measurement< source_link_t, params >::m_pSurface, and Acts::Measurement< source_link_t, params >::m_sourceLink.
|
inline |
move assignment operator
| source_link_t | The identifier type |
| params...The | local parameter pack |
| rhs | is the source for the move assignment |
Definition at line 152 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 152 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::m_oParameters, Acts::Measurement< source_link_t, params >::m_pSurface, and Acts::Measurement< source_link_t, params >::m_sourceLink.
|
inlinevirtual |
equality operator
true if parameter sets and associated surfaces compare equal, otherwise false Definition at line 247 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 247 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::m_oParameters, Acts::Measurement< source_link_t, params >::m_pSurface, and Acts::Measurement< source_link_t, params >::m_sourceLink.
|
inline |
access vector with measured parameter values
params. Definition at line 181 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 181 of file Measurement.hpp
References Acts::ParameterSet< params >::getParameters(), and Acts::Measurement< source_link_t, params >::m_oParameters.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Measurement< source_link_t, params >::print(), Acts::detail_lt::TrackStateProxy< source_link_t, N, M, ReadOnly >::setCalibrated(), FW::CsvPlanarClusterWriter::writeT(), and FW::RootPlanarClusterWriter::writeT().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotectedvirtual |
Definition at line 273 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 273 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::covariance(), and Acts::Measurement< source_link_t, params >::parameters().
Here is the call graph for this function:
|
inlinestatic |
operator
Definition at line 264 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 264 of file Measurement.hpp
References Acts::ParameterSet< params...>::projector().
Referenced by Acts::detail_lt::TrackStateProxy< source_link_t, N, M, ReadOnly >::setCalibrated().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
access associated surface
Surface object used to construct this Measurement object must still be valid at the same memory location.Definition at line 213 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 213 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::m_pSurface.
Referenced by Acts::detail_lt::TrackStateProxy< source_link_t, N, M, ReadOnly >::setCalibrated(), FW::CsvPlanarClusterWriter::writeT(), and FW::RootPlanarClusterWriter::writeT().
Here is the caller graph for this function:
|
inline |
calculate residual with respect to given track parameters
are corrected).| trackPars | reference TrackParameters object |
Definition at line 239 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 239 of file Measurement.hpp
References Acts::SingleTrackParameters< ChargePolicy >::getParameterSet(), Acts::Measurement< source_link_t, params >::m_oParameters, and Acts::ParameterSet< params >::residual().
Here is the call graph for this function:
|
inlinestatic |
number of measured parameters
Definition at line 205 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 205 of file Measurement.hpp
References Acts::ParameterSet< params...>::size().
Referenced by Acts::detail_lt::TrackStateProxy< source_link_t, N, M, ReadOnly >::setCalibrated().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
link access to the source of the measurement.
The source link can be simply an identifier or a more complicated object, see description above.
Definition at line 221 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 221 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::m_sourceLink.
Referenced by Acts::detail_lt::TrackStateProxy< source_link_t, N, M, ReadOnly >::setCalibrated(), FW::CsvPlanarClusterWriter::writeT(), and FW::RootPlanarClusterWriter::writeT().
Here is the caller graph for this function:
|
inline |
retrieve stored uncertainty for given parameter
| parameter | identifier for the parameter to be retrieved |
parameter must be part of the template parameter pack params. Otherwise a compile-time error is generated.
for given parameter Definition at line 198 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 198 of file Measurement.hpp
References Acts::Measurement< source_link_t, params >::m_oParameters.
|
friend |
Definition at line 266 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 266 of file Measurement.hpp
|
private |
measured parameter set
Definition at line 286 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 286 of file Measurement.hpp
Referenced by Acts::Measurement< source_link_t, params >::covariance(), Acts::Measurement< source_link_t, params >::get(), Acts::Measurement< source_link_t, params >::operator=(), Acts::Measurement< source_link_t, params >::operator==(), Acts::Measurement< source_link_t, params >::parameters(), Acts::Measurement< source_link_t, params >::residual(), and Acts::Measurement< source_link_t, params >::uncertainty().
|
private |
surface at which the measurement took place
Definition at line 288 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 288 of file Measurement.hpp
Referenced by Acts::Measurement< source_link_t, params >::Measurement(), Acts::Measurement< source_link_t, params >::operator=(), Acts::Measurement< source_link_t, params >::operator==(), and Acts::Measurement< source_link_t, params >::referenceSurface().
|
private |
link to the source for this measurement
Definition at line 290 of file Measurement.hpp.
View newest version in sPHENIX GitHub at line 290 of file Measurement.hpp
Referenced by Acts::Measurement< source_link_t, params >::operator=(), Acts::Measurement< source_link_t, params >::operator==(), and Acts::Measurement< source_link_t, params >::sourceLink().