|
ATLAS Offline Software
|
Go to the documentation of this file.
17 inline double square(
double a) {
return a*
a; }
20 const std::vector<double>& phiTrafo,
21 const std::vector<double>& etaTrafo)
24 double corr = (std::abs(
cov(0,1)) > 1.0e-20)
27 cov(0,0) *= square(phiTrafo[0]);
28 cov(0,0) += square(phiTrafo[1]);
29 cov(1,1) *= square(etaTrafo[0]);
30 cov(1,1) += square(etaTrafo[1]);
45 message <<
" PixelRIO_OnTrackErrorScaling: Expecting parameters for";
58 throw std::runtime_error(
message.str() );
66 throw std::runtime_error(
message.str() );
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
std::vector< Identifier > ID
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
virtual CLID clid() const override final
virtual bool postProcess() override final
int eta_module_max(const Identifier &id) const
static const char *const s_names[kNParamTypes]
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...
Default, invalid implementation of ClassID_traits.
uint32_t CLID
The Class ID type.
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...
std::vector< std::vector< double > > & params()
Amg::MatrixX getScaledCovariance(Amg::MatrixX &&cov_input, const PixelID &pixel_id, const Identifier &id) const