CMS 3D CMS Logo

TrackCleaner.h
Go to the documentation of this file.
1 #ifndef _TrackCleaner_h_
2 #define _TrackCleaner_h_
3 
5 
8 
9 #include <utility>
10 #include <vector>
11 
12 class TrackerGeometry;
13 class TrackerTopology;
14 
16 {
17  public:
18  explicit TrackCleaner(const TrackerTopology *tTopo);
19  virtual ~TrackCleaner();
20 
22  (const TracksWithRecHits & tracksWithRecHits) const;
23 
24  private:
25  bool areSame(const TrackingRecHit * a,
26  const TrackingRecHit * b) const;
27  bool isCompatible(const DetId & i1,
28  const DetId & i2) const;
29  bool canBeMerged(const std::vector<const TrackingRecHit *>& recHitsA,
30  const std::vector<const TrackingRecHit *>& recHitsB) const;
31 
32  std::vector<const TrackingRecHit*> ttrhs(const SeedingHitSet & h) const;
33 
35 };
36 
37 #endif
38 
bool canBeMerged(const std::vector< const TrackingRecHit * > &recHitsA, const std::vector< const TrackingRecHit * > &recHitsB) const
virtual TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits) const
virtual ~TrackCleaner()
Definition: TrackCleaner.cc:80
Definition: DetId.h:18
const TrackerTopology * tTopo_
Definition: TrackCleaner.h:34
TrackCleaner(const TrackerTopology *tTopo)
Definition: TrackCleaner.cc:75
std::vector< const TrackingRecHit * > ttrhs(const SeedingHitSet &h) const
double b
Definition: hdecay.h:120
bool isCompatible(const DetId &i1, const DetId &i2) const
Definition: TrackCleaner.cc:99
double a
Definition: hdecay.h:121
bool areSame(const TrackingRecHit *a, const TrackingRecHit *b) const
Definition: TrackCleaner.cc:85
pixeltrackfitting::TracksWithRecHits TracksWithRecHits