CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
virtual ~PixelTrackCleaner()
virtual TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits) const
assert(be >=bs)
std::vector< TrackWithTTRHs > TracksWithTTRHs
PixelTrackCleaner(bool fast=false)
CkfComponentsRecord Record
std::vector< TrackWithRecHits > TracksWithRecHits
virtual void cleanTracks(TracksWithTTRHs &tracksWithRecHits) const
pixeltrackfitting::TracksWithTTRHs TracksWithTTRHs
pixeltrackfitting::TracksWithRecHits TracksWithRecHits
bool fast() const