13 inline double square(
double a) {
return a*
a; }
37 throw std::runtime_error(
"Invalid measured coordinate. Only Trk::distPhi and Trk::distEta are supported.");
39 newCov(0,0) *= square(
a);
40 newCov(0,0) += square(b);
std::vector< Identifier > ID
uint32_t CLID
The Class ID type.
virtual bool postProcess() override final
virtual CLID clid() const override final
Amg::MatrixX getScaledCovariance(Amg::MatrixX &&cov_input, const Trk::ParamDefs measuredCoord) const
static const char *const s_names[kNParamTypes]
void checkParameters(const char *label, unsigned int n_paramter_sets, const char *const *param_names, unsigned int n_paramters) const
Convenience function to check whether the number of parameters is correct.
std::vector< std::vector< double > > & params()
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
ParamDefs
This file defines the parameter enums in the Trk namespace.
@ distEta
readout for silicon
Default, invalid implementation of ClassID_traits.