CMS 3D CMS Logo

PixelTrackCleaner.h
Go to the documentation of this file.
1 #ifndef PixelTrackFitting_PixelTrackCleaner_H
2 #define PixelTrackFitting_PixelTrackCleaner_H
3 
10 
12 #include <cassert>
13 
15 protected:
16  explicit PixelTrackCleaner(bool fast = false) : fast_(fast) {}
17 
18 public:
20 
21  virtual ~PixelTrackCleaner() {}
22 
23  bool fast() const { return fast_; }
24 
25  // used by HI?
27  virtual TracksWithRecHits cleanTracks(const TracksWithRecHits& tracksWithRecHits) const {
28  assert(false);
29  return TracksWithRecHits();
30  }
31 
32  // fast
34  virtual void cleanTracks(TracksWithTTRHs& tracksWithRecHits) const { assert(false); }
35 
36 private:
37  const bool fast_;
38 };
39 
40 #endif
PixelTrackCleaner::TracksWithRecHits
pixeltrackfitting::TracksWithRecHits TracksWithRecHits
Definition: PixelTrackCleaner.h:26
PixelTrackCleaner::TracksWithTTRHs
pixeltrackfitting::TracksWithTTRHs TracksWithTTRHs
Definition: PixelTrackCleaner.h:33
TrajectoryFilter.h
TrajectoryFilter::Record
CkfComponentsRecord Record
Definition: TrajectoryFilter.h:31
cms::cuda::assert
assert(be >=bs)
PixelTrackCleaner::cleanTracks
virtual void cleanTracks(TracksWithTTRHs &tracksWithRecHits) const
Definition: PixelTrackCleaner.h:34
PixelTrackCleaner::cleanTracks
virtual TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits) const
Definition: PixelTrackCleaner.h:27
PixelTrackCleaner::fast
bool fast() const
Definition: PixelTrackCleaner.h:23
CkfComponentsRecord
Definition: CkfComponentsRecord.h:22
TracksWithHits.h
pixeltrackfitting::TracksWithRecHits
std::vector< TrackWithRecHits > TracksWithRecHits
Definition: TracksWithHits.h:13
PixelTrackCleaner::PixelTrackCleaner
PixelTrackCleaner(bool fast=false)
Definition: PixelTrackCleaner.h:16
PixelTrackCleaner
Definition: PixelTrackCleaner.h:14
pixeltrackfitting::TracksWithTTRHs
std::vector< TrackWithTTRHs > TracksWithTTRHs
Definition: TracksWithHits.h:14
PixelTrackCleaner::fast_
const bool fast_
Definition: PixelTrackCleaner.h:37
PixelTrackCleaner::~PixelTrackCleaner
virtual ~PixelTrackCleaner()
Definition: PixelTrackCleaner.h:21