1 #ifndef RecoPixelVertexing_PixelTrackFitting_PixelTrackCleanerWrapper_H
2 #define RecoPixelVertexing_PixelTrackFitting_PixelTrackCleanerWrapper_H
15 std::map<const TrackingRecHit *, TransientTrackingRecHit::ConstRecHitPointer> hitMap;
17 for (pixeltrackfitting::TracksWithTTRHs::const_iterator it = initialT_TTRHs.begin(), iend = initialT_TTRHs.end(); it < iend; ++it) {
19 std::vector<const TrackingRecHit *> trhs;
20 for (
unsigned int i=0,
n=ttrhs.
size();
i <
n; ++
i) {
31 for (pixeltrackfitting::TracksWithRecHits::const_iterator it = finalT_TRHs.begin(), iend = finalT_TRHs.end(); it < iend; ++it) {
32 const std::vector<const TrackingRecHit *> & trhs = it->second;
34 for (
unsigned int i=0,
n=trhs.size();
i <
n; ++
i) {
36 ttrhs.
add( hitMap[trh]);
std::pair< reco::Track *, SeedingHitSet > TrackWithTTRHs
PixelTrackCleaner * theCleaner
pixeltrackfitting::TracksWithTTRHs clean(const pixeltrackfitting::TracksWithTTRHs &initialT_TTRHs)
std::vector< TrackWithTTRHs > TracksWithTTRHs
PixelTrackCleanerWrapper(PixelTrackCleaner *tc)
std::pair< reco::Track *, std::vector< const TrackingRecHit * > > TrackWithRecHits
std::vector< TrackWithRecHits > TracksWithRecHits
unsigned int size() const
void add(TransientTrackingRecHit::ConstRecHitPointer pHit)
virtual TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits)=0