#include <PixelRIO_OnTrackErrorScaling.h>
|
| enum | EPixelErrorScalingRegions {
kPixBarrelPhi
, kPixBarrelEta
, kPixEndcapPhi
, kPixEndcapEta
,
kPixIBLPhi
, kPixIBLEta
, kNParamTypes
} |
| enum | Type {
Pixel = 0
, SCT = 1
, TRT = 2
, MuonEtaPhi = 3
,
Unknown = 99
} |
|
| 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 > > | m_params |
◆ EPixelErrorScalingRegions
| Enumerator |
|---|
| kPixBarrelPhi | |
| kPixBarrelEta | |
| kPixEndcapPhi | |
| kPixEndcapEta | |
| kPixIBLPhi | |
| kPixIBLEta | |
| kNParamTypes | |
Definition at line 21 of file PixelRIO_OnTrackErrorScaling.h.
◆ 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.
18{
19 if (
params().size() != n_paramter_sets ) {
21 message <<
label <<
": Expecting parameters for 2 parameters for";
22 for (
unsigned int idx=0;
idx < n_paramter_sets; ++
idx) {
24 }
26 throw std::runtime_error(
message.str() );
27 }
29 if (
params()[idx].size() != n_paramters) {
30 assert( idx < n_paramter_sets );
33 << ".";
34 throw std::runtime_error(
message.str() );
35 }
36 }
37}
std::vector< std::vector< double > > & params()
std::string label(const std::string &format, int i)
◆ clid()
| CLID PixelRIO_OnTrackErrorScaling::clid |
( |
| ) |
const |
|
finaloverridevirtual |
◆ getScaledCovariance()
Definition at line 72 of file PixelRIO_OnTrackErrorScaling.cxx.
75{
76
78
79
82
83 if (is_endcap) {
85 } else {
86
87
90 if (is_ibl) {
92 }
93 else {
95 }
96 }
97
98
99 assert(
params().size() > idx + 1);
100 assert(
params()[idx].size() > 1 &&
params()[idx + 1].size() > 1);
101
103 return newCov;
104}
bool is_dbm(const Identifier &id) const
Test for dbm - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for gene...
int eta_module_max(const Identifier &id) const
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for g...
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
◆ paramNames()
| const char *const * PixelRIO_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 PixelRIO_OnTrackErrorScaling::postProcess |
( |
| ) |
|
|
finaloverridevirtual |
◆ type()
| virtual Type PixelRIO_OnTrackErrorScaling::type |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ m_params
| std::vector<std::vector<double> > RIO_OnTrackErrorScaling::m_params |
|
privateinherited |
◆ s_names
| const char *const PixelRIO_OnTrackErrorScaling::s_names |
|
staticprotected |
Initial value:={
"PixPhi Barrel",
"PixEta Barrel",
"PixPhi Endcap",
"PixEta Endcap",
"PixPhi IBL",
"PixEta IBL"
}
Definition at line 7 of file PixelRIO_OnTrackErrorScaling.h.
12{
13public:
RIO_OnTrackErrorScaling()
◆ s_type
The documentation for this class was generated from the following files: