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 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
PixelTrackCleaner::TracksWithRecHits
pixeltrackfitting::TracksWithRecHits TracksWithRecHits
Definition: PixelTrackCleaner.h:26
testProducerWithPsetDescEmpty_cfi.i2
i2
Definition: testProducerWithPsetDescEmpty_cfi.py:46
PixelTrackCleaner.h
SeedingHitSet
Definition: SeedingHitSet.h:6
TrackerTopology
Definition: TrackerTopology.h:16
testProducerWithPsetDescEmpty_cfi.i1
i1
Definition: testProducerWithPsetDescEmpty_cfi.py:45
TrackCleaner::cleanTracks
TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits) const override
Definition: TrackCleaner.cc:150
TrackCleaner
Definition: TrackCleaner.h:15
DetId
Definition: DetId.h:17
TrackCleaner::isCompatible
bool isCompatible(const DetId &i1, const DetId &i2) const
Definition: TrackCleaner.cc:91
h
TrackCleaner::ttrhs
std::vector< const TrackingRecHit * > ttrhs(const SeedingHitSet &h) const
TracksWithHits.h
b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119
TrackCleaner::~TrackCleaner
~TrackCleaner() override
Definition: TrackCleaner.cc:76
PixelTrackCleaner
Definition: PixelTrackCleaner.h:14
TrackingRecHit
Definition: TrackingRecHit.h:21
TrackCleaner::tTopo_
const TrackerTopology * tTopo_
Definition: TrackCleaner.h:30
TrackCleaner::canBeMerged
bool canBeMerged(const std::vector< const TrackingRecHit * > &recHitsA, const std::vector< const TrackingRecHit * > &recHitsB) const
Definition: TrackCleaner.cc:135
TrackCleaner::areSame
bool areSame(const TrackingRecHit *a, const TrackingRecHit *b) const
Definition: TrackCleaner.cc:79
ParameterSet.h
TrackerGeometry
Definition: TrackerGeometry.h:14
TrackCleaner::TrackCleaner
TrackCleaner(const TrackerTopology *tTopo)
Definition: TrackCleaner.cc:73