1 #ifndef TrackCandidateMakerAlgorithm_h
2 #define TrackCandidateMakerAlgorithm_h
67 const std::set<const GeomDet*>& theDets,
72 const std::set<const GeomDet*>& theDets,
77 const std::set<const GeomDet*>& theDets,
82 bool chooseStartingLayers( std::vector<std::pair<const DetLayer*, RoadSearchCloud::RecHitVector > >& RecHitsByLayer,
83 std::vector<std::pair<const DetLayer*, RoadSearchCloud::RecHitVector > >::iterator ilyr0,
84 const std::multimap<int, const DetLayer*>& layer_map,
85 std::set<const DetLayer*>& good_layers,
86 std::vector<const DetLayer*>& middle_layers ,
MeasurementEstimator * theEstimator
const MeasurementTracker * theMeasurementTracker
~RoadSearchTrackCandidateMakerAlgorithm()
std::vector< TrajectoryMeasurement > FindBestHit(const TrajectoryStateOnSurface &tsosBefore, const std::set< const GeomDet * > &theDets, edm::OwnVector< TrackingRecHit > &theHits)
const TrackerGeometry * trackerGeom
FreeTrajectoryState initialTrajectory(const edm::EventSetup &es, const TrackingRecHit *InnerHit, const TrackingRecHit *OuterHit)
SiStripRecHitMatcher * theHitMatcher
FreeTrajectoryState initialTrajectoryFromTriplet(const edm::EventSetup &es, const TrackingRecHit *InnerHit, const TrackingRecHit *MiddleHit, const TrackingRecHit *OuterHit)
void run(const RoadSearchCloudCollection *input, const edm::Event &e, const edm::EventSetup &es, TrackCandidateCollection &output)
Runs the algorithm.
std::vector< Trajectory > extrapolateTrajectory(const Trajectory &inputTrajectory, RoadSearchCloud::RecHitVector &theLayerHits, const DetLayer *innerHitLayer, const TrackingRecHit *outerHit, const DetLayer *outerHitLayer)
std::vector< TrackCandidate > TrackCandidateCollection
std::vector< TrajectoryMeasurement > FindBestHitsByDet(const TrajectoryStateOnSurface &tsosBefore, const std::set< const GeomDet * > &theDets, edm::OwnVector< TrackingRecHit > &theHits)
AnalyticalPropagator * theAnalyticalPropagator
double initialVertexErrorXY_
PropagatorWithMaterial * thePropagator
TrajectoryCleanerBySharedHits * theTrajectoryCleaner
RoadSearchTrackCandidateMakerAlgorithm(const edm::ParameterSet &conf)
Trajectory createSeedTrajectory(FreeTrajectoryState &fts, const TrackingRecHit *InnerHit, const DetLayer *innerHitLayer)
PropagatorWithMaterial * theRevPropagator
const MagneticField * magField
PropagatorWithMaterial * theAloPropagator
double maxPropagationDistance
unsigned int theNumHitCut
std::string measurementTrackerName_
const TransientTrackingRecHitBuilder * ttrhBuilder
KFTrajectorySmoother * theSmoother
std::vector< TrajectoryMeasurement > FindBestHits(const TrajectoryStateOnSurface &tsosBefore, const std::set< const GeomDet * > &theDets, const SiStripRecHitMatcher *theHitMatcher, edm::OwnVector< TrackingRecHit > &theHits)
std::vector< const TrackingRecHit * > RecHitVector
bool chooseStartingLayers(std::vector< std::pair< const DetLayer *, RoadSearchCloud::RecHitVector > > &RecHitsByLayer, std::vector< std::pair< const DetLayer *, RoadSearchCloud::RecHitVector > >::iterator ilyr0, const std::multimap< int, const DetLayer * > &layer_map, std::set< const DetLayer * > &good_layers, std::vector< const DetLayer * > &middle_layers, RoadSearchCloud::RecHitVector &recHits_middle)
TrajectoryStateUpdator * theUpdator
TrackCandidateCollection PrepareTrackCandidates(std::vector< Trajectory > &theTrajectories)
std::vector< RoadSearchCloud > RoadSearchCloudCollection