/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
TrackingTools/MaterialEffects/interface/MultipleScatteringUpdator.h
34 строки
1 KB
Cms Build
Clang-Format
31 май 2019, 13:16
31 май 2019, 13:16
14da925
Код
Авторство
О чём код?
#ifndef _CR_MULTIPLESCATTERINGUPDATOR_H_ #define _CR_MULTIPLESCATTERINGUPDATOR_H_ /** \class MultipleScatteringUpdator * Adds effects from multiple scattering (standard Highland formula) * to a trajectory state. Uses radiation length from medium properties. * Ported from ORCA. * * \author todorov, cerati */ #include "TrackingTools/MaterialEffects/interface/MaterialEffectsUpdator.h" #include "FWCore/Utilities/interface/Visibility.h" class MultipleScatteringUpdator final : public MaterialEffectsUpdator { dso_export MultipleScatteringUpdator* clone() const override { return new MultipleScatteringUpdator(*this); } public: /// Specify assumed mass of particle for material effects. /// If ptMin > 0, then the rms muliple scattering angle will be calculated taking into account the uncertainty /// in the reconstructed track momentum. (By default, it is neglected). However, a lower limit on the possible /// value of the track Pt will be applied at ptMin, to avoid the rms multiple scattering becoming too big. MultipleScatteringUpdator(float mass, float ptMin = -1.) : MaterialEffectsUpdator(mass), thePtMin(ptMin) {} /// destructor ~MultipleScatteringUpdator() override {} // here comes the actual computation of the values void compute(const TrajectoryStateOnSurface&, const PropagationDirection, Effect& effect) const override; private: float thePtMin; }; #endif