65 produces<TrackCandidateCollection>();
68 if (conf.
exists(
"hitMasks")) {
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());