36 produces<reco::TrackCollection>();
37 produces<TrackingRecHitCollection>();
38 produces<reco::TrackExtraCollection>();
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) {
107 std::vector<const TrackingRecHit*> TripletHits(3, static_cast<const TrackingRecHit*>(
nullptr));
108 for (
unsigned i = 0; aSeedingRecHit != theLastSeedingRecHit; ++
i, ++aSeedingRecHit)
109 TripletHits[
i] = &(*aSeedingRecHit);
112 std::unique_ptr<reco::Track>
track = fitter.
run(TripletHits,
region, es);
115 if (!theFilter(
track.get(), TripletHits)) {
125 int nTracks = pixeltracks.size();
128 const RecHits&
hits = pixeltracks.at(
i).second;
130 for (
unsigned int k = 0;
k <
hits.size();
k++) {
132 track->appendHitPattern(*
hit, ttopo);
149 const unsigned nHits = 3;
150 theTrackExtra.
setHits(ohRHProd,
cc, nHits);
153 trackExtras->push_back(theTrackExtra);
162 (
tracks->at(
k)).setExtra(theTrackExtraRef);