1 #ifndef RecoPixelVertexing_PixelTrackFitting_PixelTrackCleanerWrapper_H
2 #define RecoPixelVertexing_PixelTrackFitting_PixelTrackCleanerWrapper_H
19 std::map<const TrackingRecHit *, TransientTrackingRecHit::ConstRecHitPointer> hitMap;
21 for (pixeltrackfitting::TracksWithTTRHs::const_iterator it = initialT_TTRHs.begin(), iend = initialT_TTRHs.end(); it < iend; ++it) {
23 std::vector<const TrackingRecHit *> trhs;
24 for (
unsigned int i=0,
n=ttrhs.
size();
i <
n; ++
i) {
35 for (pixeltrackfitting::TracksWithRecHits::const_iterator it = finalT_TRHs.begin(), iend = finalT_TRHs.end(); it < iend; ++it) {
36 const std::vector<const TrackingRecHit *> & trhs = it->second;
37 assert(!(trhs.size()<2));
38 if (trhs.size()<2)
continue;
std::pair< reco::Track *, SeedingHitSet > TrackWithTTRHs
PixelTrackCleaner * theCleaner
std::vector< TrackWithTTRHs > TracksWithTTRHs
PixelTrackCleanerWrapper(PixelTrackCleaner *tc)
static ConstRecHitPointer nullPtr()
virtual TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits, const TrackerTopology *tTopo)=0
std::pair< reco::Track *, std::vector< const TrackingRecHit * > > TrackWithRecHits
pixeltrackfitting::TracksWithTTRHs clean(const pixeltrackfitting::TracksWithTTRHs &initialT_TTRHs, const TrackerTopology *tTopo)
std::vector< TrackWithRecHits > TracksWithRecHits
unsigned int size() const