/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
TrackingTools/DetLayers/interface/GeomDetCompatibilityChecker.h
28 строк
1 KB
Shahzad Malik Muzaffar
[RECONSTRUCTION] Drop Geometry/CommonDetUnit package
28 май 2026, 12:57
28 май 2026, 12:57
685f036
Код
Авторство
О чём код?
#ifndef DetLayers_GeomDetCompatibilityChecker_h #define DetLayers_GeomDetCompatibilityChecker_h #include "Geometry/CommonTopologies/interface/GeomDet.h" #include "TrackingTools/GeomPropagators/interface/Propagator.h" #include "TrackingTools/DetLayers/interface/MeasurementEstimator.h" /** helper class which checks if a GeomDet is geometrically * compatible with a TrajectoryState */ class GeomDetCompatibilityChecker { public: /** tests the geometrical compatibility of the GeomDet with the predicted state. * The TrajectoryState argument is propagated to the GeomDet surface using * the Propagator argument. The resulting TrajectoryStateOnSurface is * tested for compatibility with the surface bounds. * If compatible, a std::pair< true, propagatedState> is returned. * If the propagation fails, or if the state is not compatible, * a std::pair< false, propagatedState> is returned. */ static std::pair<bool, TrajectoryStateOnSurface> isCompatible(const GeomDet* theDet, const TrajectoryStateOnSurface& ts, const Propagator& prop, const MeasurementEstimator& est); }; #endif