/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
TrackingTools/GsfTools/src/MultiStatePropagation.h
41 строка
1 KB
Shahzad Malik Muzaffar
[RECONSTRUCTION] Changes suggested by new llvm18 clang-format
05 сен 2024, 17:05
05 сен 2024, 17:05
a09aaae
Код
Авторство
О чём код?
#ifndef MultiStatePropagation_h_ #define MultiStatePropagation_h_ #include "TrackingTools/GeomPropagators/interface/Propagator.h" #include "TrackingTools/GsfTools/interface/MultiTrajectoryStateAssembler.h" #include "TrackingTools/GeomPropagators/interface/PropagationDirectionFromPath.h" /** \class MultiStatePropagation * Helper class to propagate all components of a state, * using a single state propagator and keeping the specialisation * into planes / cylinders. Designed for short lifetime: will * directly use the propagator passed by invoking object. */ template <class T> class MultiStatePropagation { public: /** Constructor with explicit propagator */ MultiStatePropagation(const Propagator& aPropagator) : thePropagator(aPropagator) {} ~MultiStatePropagation() {} /** Propagation to surface with path length calculation: */ std::pair<TrajectoryStateOnSurface, double> propagateWithPath(const TrajectoryStateOnSurface& tsos, const T& surface) const; private: /// creation of new state with different weight TrajectoryStateOnSurface setWeight(const TrajectoryStateOnSurface, const double) const; private: // Single state propagator const Propagator& thePropagator; typedef std::pair<TrajectoryStateOnSurface, double> TsosWP; typedef std::vector<TrajectoryStateOnSurface> MultiTSOS; }; #include "TrackingTools/GsfTools/src/MultiStatePropagation.icc" #endif