#include <SCTRIO_OnTrackErrorScaling.h>
|
std::vector< std::vector< double > > | m_params |
|
Definition at line 8 of file SCTRIO_OnTrackErrorScaling.h.
◆ ESCTErrorScalingRegions
◆ Type
◆ checkParameters()
void RIO_OnTrackErrorScaling::checkParameters |
( |
const char * |
label, |
|
|
unsigned int |
n_paramter_sets, |
|
|
const char *const * |
param_names, |
|
|
unsigned int |
n_paramters |
|
) |
| const |
|
protectedinherited |
Convenience function to check whether the number of parameters is correct.
- Parameters
-
label | a label for the error scaling class in case an error is issued. |
n_paramter_sets | the number of parameter sets |
param_names | the names of the parameter sets |
n_paramters | the number of parameters per set. |
Definition at line 14 of file RIO_OnTrackErrorScaling.cxx.
21 message <<
label <<
": Expecting parameters for 2 parameters for";
22 for (
unsigned int idx=0;
idx < n_paramter_sets; ++
idx) {
26 throw std::runtime_error(
message.str() );
29 if (
params()[
idx].size() != n_paramters) {
30 assert(
idx < n_paramter_sets );
34 throw std::runtime_error(
message.str() );
◆ clid()
CLID SCTRIO_OnTrackErrorScaling::clid |
( |
| ) |
const |
|
finaloverridevirtual |
◆ getScaledCovariance()
Amg::MatrixX SCTRIO_OnTrackErrorScaling::getScaledCovariance |
( |
Amg::MatrixX && |
cov_input, |
|
|
bool |
is_endcap, |
|
|
double |
sinLocalAngle |
|
) |
| const |
Definition at line 25 of file SCTRIO_OnTrackErrorScaling.cxx.
30 if (is_endcap && newCov.rows() > 1) {
31 double Sn = sinLocalAngle;
32 double Sn2 = square(Sn);
33 double Cs2 = (1.-Sn)*(1.+Sn);
34 double SC = Sn*sqrt(Cs2);
37 double dV0 = (Cs2*newCov(0,0)+Sn2*newCov(1,1)
38 +2.*
SC*newCov(1,0))*(square(
a)-1.) + square(
b);
39 newCov(0,0)+= (Cs2*dV0);
40 newCov(1,0)+= (
SC *dV0);
41 newCov(0,1) = newCov(1,0);
42 newCov(1,1)+= (Sn2*dV0);
46 newCov(0,0) *= square(
a);
47 newCov(0,0) += square(
b);
◆ paramNames()
static const char* const* SCTRIO_OnTrackErrorScaling::paramNames |
( |
| ) |
|
|
inlinestatic |
◆ params() [1/2]
std::vector<std::vector<double> >& RIO_OnTrackErrorScaling::params |
( |
| ) |
|
|
inlineinherited |
◆ params() [2/2]
const std::vector<std::vector<double> >& RIO_OnTrackErrorScaling::params |
( |
| ) |
const |
|
inlineinherited |
◆ postProcess()
bool SCTRIO_OnTrackErrorScaling::postProcess |
( |
| ) |
|
|
finaloverridevirtual |
◆ type()
virtual Type SCTRIO_OnTrackErrorScaling::type |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ m_params
std::vector<std::vector<double> > RIO_OnTrackErrorScaling::m_params |
|
privateinherited |
◆ s_names
const char *const SCTRIO_OnTrackErrorScaling::s_names |
|
staticprotected |
◆ s_type
The documentation for this class was generated from the following files:
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.