/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoTracker/CkfPattern/interface/TransientInitialStateEstimator.h
42 строки
2 KB
Christopher Jones
Replace forward references with includes of Fwd.h files
18 фев 2026, 17:29
18 фев 2026, 17:29
bb39da7
Код
Авторство
О чём код?
#ifndef TransientInitialStateEstimator_H #define TransientInitialStateEstimator_H #include "FWCore/Framework/interface/ConsumesCollector.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h" #include "TrackingTools/PatternTools/interface/TrajectoryFwd.h" #include "RecoTracker/TransientTrackingRecHit/interface/TkClonerImpl.h" #include <utility> class Propagator; class GeomDet; class TrackingComponentsRecord; namespace edm { class EventSetup; } /// Computes the trajectory state to be used as a starting state for the track fit /// from the vector of hits. The parameters of this state are close to the final fit parameters. /// The error matrix is enlarged in order not to bias the track fit. class TransientInitialStateEstimator { public: typedef TrajectoryStateOnSurface TSOS; TransientInitialStateEstimator(const edm::ParameterSet& conf, edm::ConsumesCollector iC); void setEventSetup(const edm::EventSetup& es, const TkClonerImpl& hc); std::pair<TrajectoryStateOnSurface, const GeomDet*> innerState(const Trajectory& traj, bool doBackFit = true) const; private: const edm::ESGetToken<Propagator, TrackingComponentsRecord> thePropagatorAlongToken; const edm::ESGetToken<Propagator, TrackingComponentsRecord> thePropagatorOppositeToken; const Propagator* thePropagatorAlong; const Propagator* thePropagatorOpposite; // not used? can we remove it? TkClonerImpl theHitCloner; const int theNumberMeasurementsForFit; }; #endif