/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoTracker/PixelTrackFitting/interface/PixelTrackErrorParam.h
33 строки
1 KB
mmusich
fix RecoTracker/Pixel* subsystems inclusions guards to comply withc cmssw rule 4.1
11 апр 2023, 10:15
11 апр 2023, 10:15
e88c626
Код
Авторство
О чём код?
#ifndef RecoTracker_PixelTrackFitting_PixelTrackErrorParam_h #define RecoTracker_PixelTrackFitting_PixelTrackErrorParam_h #include <cmath> class PixelTrackErrorParam { public: PixelTrackErrorParam(double eta, double pt); double errPt() const; // { return ptPar0_[theIEta]*thePt + ptPar1_[theIEta]*thePt2; } inline double errCot() const { return cotPar0_[theIEta] + cotPar1_[theIEta] / thePt + cotPar2_[theIEta] / thePt2; } inline double errTip() const { return sqrt(tipPar0_[theIEta] + tipPar1_[theIEta] / thePt2); } inline double errZip() const { return sqrt(zipPar0_[theIEta] + zipPar1_[theIEta] / thePt2); } inline double errPhi() const { return sqrt(phiPar0_[theIEta] + phiPar1_[theIEta] / thePt2); } private: unsigned int theIEta; double thePt, thePt2; static const unsigned int nEta = 25; static double const ptPar0_[nEta]; static double const ptPar1_[nEta]; static double const cotPar0_[nEta]; static double const cotPar1_[nEta]; static double const cotPar2_[nEta]; static double const tipPar0_[nEta]; static double const tipPar1_[nEta]; static double const zipPar0_[nEta]; static double const zipPar1_[nEta]; static double const phiPar0_[nEta]; static double const phiPar1_[nEta]; }; #endif