CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
33  // fast
35  virtual void cleanTracks(TracksWithTTRHs & tracksWithRecHits) const {assert(false);}
36 
37 private:
38  const bool fast_;
39 };
40 
41 #endif
virtual ~PixelTrackCleaner()
virtual TracksWithRecHits cleanTracks(const TracksWithRecHits &tracksWithRecHits) const
assert(m_qm.get())
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