Definition at line 83 of file TrackCandidateProducer.cc.
116 for (
unsigned seedIndex = 0; seedIndex <
seeds->size(); ++seedIndex) {
118 std::vector<int32_t> recHitCombinationIndices;
121 if (
seed.nHits() == 0) {
128 recHitCombinationIndices.push_back(icomb);
132 for (
auto icomb : recHitCombinationIndices) {
135 <<
" found seed with recHitCombination out or range: " << icomb << std::endl;
140 std::vector<const FastTrackerRecHit*> selectedRecHits;
145 selectedRecHits.push_back(static_cast<const FastTrackerRecHit*>(&*ihit));
150 if (!selectedRecHits.empty()) {
151 lastHitToSkip = selectedRecHits.back();
158 for (
unsigned hitIndex = hitsAlongMomentum ? 0 : recHitCombination.size() - 1;
159 hitIndex < recHitCombination.size();
160 hitsAlongMomentum ? ++hitIndex : --hitIndex) {
165 if (lastHitToSkip->
sameId(selectedRecHit)) {
166 lastHitToSkip =
nullptr;
182 selectedRecHits.push_back(selectedRecHit);
190 selectedRecHits.back() = selectedRecHit;
210 DetId seedDetId(
seed.startingState().detId());
References alongMomentum, clone(), TrackingLayer::createFromDetId(), MillePedeFileConverter_cfg::e, Exception, edm::OwnVector< T, P >::front(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), get, fastTrackingUtilities::getRecHitCombinationIndex(), fastTrackingUtilities::hitIsMasked(), fastTrackingUtilities::hitLocalError(), DetachedQuadStep_cff::hitMasks, hitMasksToken, hitSplitter, TrackerGeometry::idToDet(), edm::EDGetTokenT< T >::isUninitialized(), TrajectoryStateOnSurface::isValid(), HLT_2018_cff::magneticField, SeedMatcher::matchRecHitCombinations(), maxSeedMatchEstimator, eostools::move(), convertSQLitetoXML_cfg::output, trajectoryStateTransform::persistentState(), edm::ESHandle< T >::product(), TrackCandidateProducer_cfi::propagator, propagatorLabel, edm::OwnVector< T, P >::push_back(), DetId::rawId(), TrackCandidateProducer_cfi::recHitCombinations, recHitCombinationsToken, rejectOverlaps, FastTrackerRecHit::sameId(), SurveyInfoScenario_cff::seed, InitialStep_cff::seeds, seedToken, fastTrackingUtilities::setRecHitCombinationIndex(), TrackCandidateProducer_cfi::simTracks, simTrackToken, FastTrackerRecHitSplitter::split(), splitHits, TrajectoryStateOnSurface::surface(), and trajectoryStateTransform::transientState().