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