/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoTracker/DebugTools/plugins/FTSFromSimHitFactory.h
25 строк
713 B
Christopher Jones
Replace forward references with includes of Fwd.h files
18 фев 2026, 17:29
18 фев 2026, 17:29
bb39da7
Код
Авторство
О чём код?
#ifndef FTSFromSimHitFactory_H #define FTSFromSimHitFactory_H #include "TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h" #include "SimDataFormats/TrackingHit/interface/PSimHitFwd.h" class GeomDet; class MagneticField; /** Produces a FreeTrajectoryState from a SimHit. * the FreeTrajectoryState 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. */ class FTSFromSimHitFactory { public: FreeTrajectoryState operator()(const PSimHit& hit, const GeomDet& det, const MagneticField& field) const; private: TrackCharge charge(int particleId) const; }; #endif