CMS 3D CMS Logo

PixelFitter.h
Go to the documentation of this file.
1 #ifndef RecoPixelVertexing_PixelTrackFitting_PixelFitter_H
2 #define RecoPixelVertexing_PixelTrackFitting_PixelFitter_H
3 
5 
6 #include <memory>
7 
8 class PixelFitter {
9 public:
11  explicit PixelFitter(std::unique_ptr<PixelFitterBase> fitter): fitter_(std::move(fitter)) {}
12 
14 
15  std::unique_ptr<reco::Track> run(const std::vector<const TrackingRecHit *>& hits, const TrackingRegion& region, const edm::EventSetup& setup) const {
16  return fitter_->run(hits, region, setup);
17  }
18 
19 private:
20  std::unique_ptr<PixelFitterBase> fitter_;
21 };
22 
23 #endif
std::unique_ptr< PixelFitterBase > fitter_
Definition: PixelFitter.h:20
PixelFitter(std::unique_ptr< PixelFitterBase > fitter)
Definition: PixelFitter.h:11
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
std::unique_ptr< reco::Track > run(const std::vector< const TrackingRecHit * > &hits, const TrackingRegion &region, const edm::EventSetup &setup) const
Definition: PixelFitter.h:15
void swap(PixelFitter &o)
Definition: PixelFitter.h:13
def move(src, dest)
Definition: eostools.py:511