/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoTracker/DebugTools/plugins/TSOSFromSimHitFactory.h
27 строк
942 B
Shahzad Malik Muzaffar
[RECONSTRUCTION] Drop Geometry/CommonDetUnit package
28 май 2026, 12:57
28 май 2026, 12:57
685f036
Код
Авторство
О чём код?
#ifndef TSOSFromSimHitFactory_H #define TSOSFromSimHitFactory_H #include "FTSFromSimHitFactory.h" #include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h" #include "SimDataFormats/TrackingHit/interface/PSimHit.h" #include "Geometry/CommonTopologies/interface/GeomDet.h" class SimHit; class MagneticField; /** Produces a TrajectoryStateOnSurface from a SimHit. * the TrajectoryStateOnSurface position coinsides with the SimHit * position, and direction, momenta and charge are deduced * from the SimHit itself, without any access to the SimTrack * that produced the SimHit. The surface of the result is * the surface of the Det of the SimHit. */ class TSOSFromSimHitFactory { public: TrajectoryStateOnSurface operator()(const PSimHit& hit, const GeomDetUnit& det, const MagneticField& field) const { return TrajectoryStateOnSurface(FTSFromSimHitFactory()(hit, det, field), det.surface()); } }; #endif