Definition at line 56 of file PixelTracksProducer.cc.
60 typedef std::vector<const TrackingRecHit*> RecHits;
81 if (theSeeds->empty()) {
91 typedef std::vector<std::unique_ptr<TrackingRegion> >
Regions;
92 typedef Regions::const_iterator IR;
94 for (IR ir =
regions.begin(), irEnd =
regions.end(); ir < irEnd; ++ir) {
98 TrajectorySeedCollection::const_iterator aSeed = theSeeds->begin();
99 TrajectorySeedCollection::const_iterator lastSeed = theSeeds->end();
100 for (; aSeed != lastSeed; ++aSeed) {
102 std::vector<const TrackingRecHit*> TripletHits(3, static_cast<const TrackingRecHit*>(
nullptr));
103 unsigned int iRecHit = 0;
104 for (
auto const&
recHit : aSeed->recHits()) {
105 TripletHits[iRecHit] = &
recHit;
110 std::unique_ptr<reco::Track>
track = fitter.
run(TripletHits,
region, es);
113 if (!theFilter(
track.get(), TripletHits)) {
123 int nTracks = pixeltracks.size();
126 const RecHits&
hits = pixeltracks.at(
i).second;
128 for (
unsigned int k = 0;
k <
hits.size();
k++) {
130 track->appendHitPattern(*
hit, ttopo);
147 const unsigned nHits = 3;
151 trackExtras->push_back(theTrackExtra);
160 (
tracks->at(
k)).setExtra(theTrackExtraRef);
References clone(), MillePedeFileConverter_cfg::e, filterToken, fitterToken, edm::EventSetup::get(), get, hfClusterShapes_cfi::hits, mps_fire::i, dqmdumpme::k, eostools::move(), nHits, BeamSpotPI::nTracks, rpcPointValidation_cfi::recHit, FastTrackerRecHitMaskProducer_cfi::recHits, HLT_FULL_cff::region, SiPixelRawToDigiRegional_cfi::Regions, PixelFitter::run(), seedProducerToken, reco::TrackExtraBase::setHits(), theRegionProducer, HLT_FULL_cff::track, and tracks.