CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
17  explicit TrackCleaner(const TrackerTopology *tTopo);
18  ~TrackCleaner() override;
19 
20  TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits) const override;
21 
22 private:
23  bool areSame(const TrackingRecHit *a, const TrackingRecHit *b) const;
24  bool isCompatible(const DetId &i1, const DetId &i2) const;
25  bool canBeMerged(const std::vector<const TrackingRecHit *> &recHitsA,
26  const std::vector<const TrackingRecHit *> &recHitsB) const;
27 
28  std::vector<const TrackingRecHit *> ttrhs(const SeedingHitSet &h) const;
29 
31 };
32 
33 #endif
bool canBeMerged(const std::vector< const TrackingRecHit * > &recHitsA, const std::vector< const TrackingRecHit * > &recHitsB) const
TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits) const override
std::vector< const TrackingRecHit * > ttrhs(const SeedingHitSet &h) const
Definition: DetId.h:17
~TrackCleaner() override
Definition: TrackCleaner.cc:76
const TrackerTopology * tTopo_
Definition: TrackCleaner.h:30
TrackCleaner(const TrackerTopology *tTopo)
Definition: TrackCleaner.cc:73
double b
Definition: hdecay.h:118
bool isCompatible(const DetId &i1, const DetId &i2) const
Definition: TrackCleaner.cc:91
double a
Definition: hdecay.h:119
bool areSame(const TrackingRecHit *a, const TrackingRecHit *b) const
Definition: TrackCleaner.cc:79
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
pixeltrackfitting::TracksWithRecHits TracksWithRecHits