CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelFitterBase.h
Go to the documentation of this file.
1 #ifndef RecoPixelVertexing_PixelTrackFitting_PixelFitterBase_H
2 #define RecoPixelVertexing_PixelTrackFitting_PixelFitterBase_H
3 
5 
6 #include <vector>
7 #include <memory>
8 
9 namespace edm {class ParameterSet; class Event; class EventSetup;}
10 class TrackingRegion;
11 class TrackingRecHit;
12 
13 
15 public:
16  virtual ~PixelFitterBase(){}
17 
18  virtual std::unique_ptr<reco::Track> run(const std::vector<const TrackingRecHit *>& hits,
19  const TrackingRegion& region) const { return std::unique_ptr<reco::Track>(); }
20 
21  virtual reco::Track* run(
22  const edm::EventSetup& es,
23  const std::vector<const TrackingRecHit *>& hits,
24  const TrackingRegion& region) const { return 0;}
25 
26  virtual reco::Track* run(
27  const edm::Event& ev,
28  const edm::EventSetup& es,
29  const std::vector<const TrackingRecHit *>& hits,
30  const TrackingRegion& region) const { return run(es,hits,region); }
31 };
32 #endif
bool ev
virtual std::unique_ptr< reco::Track > run(const std::vector< const TrackingRecHit * > &hits, const TrackingRegion &region) const
Definition: Event.h:16
virtual reco::Track * run(const edm::Event &ev, const edm::EventSetup &es, const std::vector< const TrackingRecHit * > &hits, const TrackingRegion &region) const
virtual ~PixelFitterBase()
virtual reco::Track * run(const edm::EventSetup &es, const std::vector< const TrackingRecHit * > &hits, const TrackingRegion &region) const