/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CalibPPS/AlignmentRelative/interface/LocalTrackFitter.h
54 строки
2 KB
jan-kaspar
PPS: relative alignment (#31629)
06 ноя 2020, 22:59
Не верифицирован
06 ноя 2020, 22:59
5a81488
Код
Авторство
О чём код?
/**************************************************************************** * Authors: * Jan Kašpar (jan.kaspar@gmail.com) ****************************************************************************/ #ifndef CalibPPS_AlignmentRelative_LocalTrackFitter_h #define CalibPPS_AlignmentRelative_LocalTrackFitter_h #include "CalibPPS/AlignmentRelative/interface/LocalTrackFit.h" #include "CalibPPS/AlignmentRelative/interface/AlignmentGeometry.h" #include "CalibPPS/AlignmentRelative/interface/HitCollection.h" namespace edm { class ParameterSet; } /** *\brief Performs straight-line fit and outlier rejection. **/ class LocalTrackFitter { public: /// dummy constructor (not to be used) LocalTrackFitter() {} /// normal constructor LocalTrackFitter(const edm::ParameterSet &); virtual ~LocalTrackFitter() {} /// runs the fit and outlier-removal loop /// returns true in case of success bool fit(HitCollection &, const AlignmentGeometry &, LocalTrackFit &) const; protected: /// verbosity level unsigned int verbosity; /// minimum of hits to accept data from a RP unsigned int minimumHitsPerProjectionPerRP; /// hits with higher ratio residual/sigma will be dropped double maxResidualToSigma; /// fits the collection of hits and removes hits with too high residual/sigma ratio /// \param failed whether the fit has failed /// \param selectionChanged whether some hits have been removed void fitAndRemoveOutliers( HitCollection &, const AlignmentGeometry &, LocalTrackFit &, bool &failed, bool &selectionChanged) const; /// removes the hits of pots with too few planes active void removeInsufficientPots(HitCollection &, bool &selectionChanged) const; }; #endif