 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef XAODTRACKING_VERSIONS_TRACKSUMMARY_V1_H
5 #define XAODTRACKING_VERSIONS_TRACKSUMMARY_V1_H
8 #include "AthLinks/ElementLink.h"
30 template <std::
size_t measdim = 6>
31 Eigen::Map<const Eigen::Matrix<double, measdim, 1>>
paramsEigen()
const
33 return Eigen::Map<const Eigen::Matrix<double, measdim, 1>>{
s_paramsAcc(*this).data()};
38 template <std::
size_t measdim = 6>
41 return Eigen::Map<Eigen::Matrix<double, measdim, 1>>{
s_paramsAcc(*this).data()};
47 const std::vector<double> &
params()
const;
56 template <std::
size_t measdim = 6>
57 Eigen::Map<const Eigen::Matrix<double, measdim, measdim>>
covParamsEigen()
const
59 return Eigen::Map<const Eigen::Matrix<double, measdim, measdim>>{
s_covParamsAcc(*this).data()};
65 template <std::
size_t measdim = 6>
68 return Eigen::Map<Eigen::Matrix<double, measdim, measdim>>{
s_covParamsAcc(*this).data()};
const unsigned int * nHolesPtr() const
pointers API needed by MTJ
const unsigned int * nSharedHitsPtr() const
pointers API needed by MTJ
static const SG::AuxElement::Accessor< std::vector< double > > s_paramsAcc
unsigned int * tipIndexPtr()
const std::vector< double > & params() const
access track parameters as plain vector
unsigned int * nMeasurementsPtr()
Track Summary for Acts MultiTrajectory.
static const SG::AuxElement::Accessor< std::vector< double > > s_covParamsAcc
Helper class to provide type-safe access to aux data.
Eigen::Map< Eigen::Matrix< double, measdim, 1 > > paramsEigen()
access parameters of non const element
unsigned int * nHolesPtr()
Base class for elements of a container that can have aux data.
size_t size() const
retrieve the size of the internal vectors for the data summary
void setTipIndex(unsigned int)
Set the tip index.
const unsigned int * nOutliersPtr() const
pointers API needed by MTJ
const unsigned int * stemIndexPtr() const
pointers API needed by MTJ
void setCovParams(const std::vector< double > &m)
access set covariance from plain vector
unsigned int nMeasurements() const
access nMeasurements
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Eigen::Map< const Eigen::Matrix< double, measdim, measdim > > covParamsEigen() const
access track covariance matrix (flattened, rows layout) of const element
unsigned int surfaceIndex() const
index of the surfaces in the surfaces collection
void setnSharedHits(unsigned int m)
access set nSharedHits
void setStemIndex(unsigned int)
Set the stem index.
unsigned int * nOutliersPtr()
unsigned int nHoles() const
access nHoles
unsigned int nOutliers() const
access nOutliers
unsigned int * nSharedHitsPtr()
unsigned int * stemIndexPtr()
const unsigned int * tipIndexPtr() const
pointers API needed by MTJ
void setParticleHypothesis(const uint8_t &)
void setChi2f(float m)
access set chi2
TrackSummary_v1()=default
void setNdf(unsigned int m)
access set ndf
const unsigned int * nMeasurementsPtr() const
pointers API needed by MTJ
const float * chi2fPtr() const
pointers API needed by MTJ
void resize(size_t sz=6)
resize internal arrays to store params (to capacity sz) & convariances (to capacity sz x sz)
unsigned int stemIndex() const
index of the stem of the TrackStates linked list in MultiTrajectory steemIndex is needed reverse look...
const unsigned int * ndfPtr() const
pointers API needed by MTJ
void setParams(const std::vector< double > &m)
access set parameters from plain vector
const uint8_t & particleHypothesis() const
particle hypothesis access
unsigned int ndf() const
access ndf
float chi2f() const
access chi2
unsigned int tipIndex() const
index of the tip of the TrackStates linked list in MultiTrajectory
void setnMeasurements(unsigned int m)
access set nMeasurements
void setnHoles(unsigned int m)
access set nHoles
void setSurfaceIndex(unsigned int)
Set the index in surface container.
const std::vector< double > & covParams() const
access track covariance as plain vector
Eigen::Map< const Eigen::Matrix< double, measdim, 1 > > paramsEigen() const
access track backend vector of const element
unsigned int nSharedHits() const
access nSharedHits
void setnOutliers(unsigned int m)
access set nOutliers
Eigen::Map< Eigen::Matrix< double, measdim, measdim > > covParamsEigen()
access track covariance matrix (flattened, rows layout)
Base class for elements of a container that can have aux data.