1 #ifndef MTFTrackProducerAlgorithm_h
2 #define MTFTrackProducerAlgorithm_h
28 typedef std::pair<Trajectory*, std::pair<reco::Track*,PropagationDirection> >
AlgoProduct;
45 const std::vector<Trajectory>&,
55 bool buildTrack(
const std::vector<Trajectory>&,
61 bool fit(
const std::pair<TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface>& hits,
63 std::vector<Trajectory>& vtraj)
const;
66 float calculateNdof(
const std::vector<Trajectory>& vtraj)
const;
69 std::pair<TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface>
75 std::pair<TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface>
85 std::vector<Trajectory>&
input,
86 int minhits, std::vector<Trajectory>&
output)
const;
float calculateNdof(const std::vector< Trajectory > &vtraj) const
std::pair< Trajectory *, std::pair< reco::Track *, PropagationDirection > > AlgoProduct
void runWithCandidate(const TrackingGeometry *, const MagneticField *, const std::vector< Trajectory > &, const TrajectoryFitter *, const TransientTrackingRecHitBuilder *, const MultiTrackFilterHitCollector *measurementTracker, const SiTrackerMultiRecHitUpdatorMTF *, const reco::BeamSpot &, AlgoProductCollection &) const
Run the Final Fit taking TrackCandidates as input.
MultiTrajectoryMeasurement MTM
std::vector< AlgoProduct > AlgoProductCollection
std::pair< TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface > updateHits(const std::map< int, std::vector< TrajectoryMeasurement > > &mapvtm, const MultiTrackFilterHitCollector *measurementCollector, const SiTrackerMultiRecHitUpdatorMTF *updator, double annealing, const TransientTrackingRecHitBuilder *builder, int i) const
std::pair< TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface > collectHits(const std::map< int, std::vector< TrajectoryMeasurement > > &mapvtm, const MultiTrackFilterHitCollector *measurementCollector, int i) const
~MTFTrackProducerAlgorithm()
Destructor.
bool buildTrack(const std::vector< Trajectory > &, AlgoProductCollection &algoResults, float, const reco::BeamSpot &) const
Construct Tracks to be put in the event.
bool fit(const std::pair< TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface > &hits, const TrajectoryFitter *theFitter, std::vector< Trajectory > &vtraj) const
accomplishes the fitting-smoothing step for each annealing value
TrajectoryStateOnSurface TSOS
MTFTrackProducerAlgorithm(const edm::ParameterSet &pset)
Constructor.
void filter(const TrajectoryFitter *fitter, std::vector< Trajectory > &input, int minhits, std::vector< Trajectory > &output) const