57 typedef std::vector<const TrackingRecHit*> RecHits;
76 if (theSeeds->empty()) {
86 typedef std::vector<std::unique_ptr<TrackingRegion> >
Regions;
87 typedef Regions::const_iterator IR;
89 for (IR ir =
regions.begin(), irEnd =
regions.end(); ir < irEnd; ++ir) {
93 TrajectorySeedCollection::const_iterator aSeed = theSeeds->begin();
94 TrajectorySeedCollection::const_iterator lastSeed = theSeeds->end();
95 for (; aSeed != lastSeed; ++aSeed) {
97 std::vector<const TrackingRecHit*> TripletHits(3, static_cast<const TrackingRecHit*>(
nullptr));
98 unsigned int iRecHit = 0;
99 for (
auto const&
recHit : aSeed->recHits()) {
100 TripletHits[iRecHit] = &
recHit;
105 std::unique_ptr<reco::Track>
track = fitter.
run(TripletHits,
region);
108 if (!theFilter(
track.get(), TripletHits)) {
118 int nTracks = pixeltracks.size();
121 const RecHits&
hits = pixeltracks.at(
i).second;
123 for (
unsigned int k = 0;
k <
hits.size();
k++) {
125 track->appendHitPattern(*
hit, ttopo);
142 const unsigned nHits = 3;
146 trackExtras->push_back(theTrackExtra);
155 (
tracks->at(
k)).setExtra(theTrackExtraRef);
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > ttopoToken
uint32_t cc[maxCellsPerHit]
std::pair< reco::Track *, std::vector< const TrackingRecHit * > > TrackWithRecHits
std::vector< Track > TrackCollection
collection of Tracks
std::unique_ptr< reco::Track > run(const std::vector< const TrackingRecHit *> &hits, const TrackingRegion ®ion) const
edm::EDGetTokenT< TrajectorySeedCollection > seedProducerToken
edm::EDGetTokenT< PixelTrackFilter > filterToken
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
std::unique_ptr< TrackingRegionProducer > theRegionProducer
std::vector< TrackWithRecHits > TracksWithRecHits
TupleMultiplicity< TrackerTraits > const *__restrict__ uint32_t nHits
edm::EDGetTokenT< PixelFitter > fitterToken