Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-20 02:47:05

0001 #ifndef PixelFitterByHelixProjections_H
0002 #define PixelFitterByHelixProjections_H
0003 
0004 #include "RecoPixelVertexing/PixelTrackFitting/interface/PixelFitterBase.h"
0005 #include "DataFormats/TrackingRecHit/interface/TrackingRecHit.h"
0006 #include "RecoTracker/TkTrackingRegions/interface/TrackingRegion.h"
0007 #include "DataFormats/TrackReco/interface/Track.h"
0008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0009 
0010 #include <vector>
0011 
0012 class TrackerTopology;
0013 
0014 class PixelFitterByHelixProjections final : public PixelFitterBase {
0015 public:
0016   explicit PixelFitterByHelixProjections(const TrackerTopology *ttopo,
0017                                          const MagneticField *field,
0018                                          bool scaleErrorsForBPix1,
0019                                          float scaleFactor);
0020   ~PixelFitterByHelixProjections() override {}
0021   std::unique_ptr<reco::Track> run(const std::vector<const TrackingRecHit *> &hits,
0022                                    const TrackingRegion &region) const override;
0023 
0024 private:
0025   const TrackerTopology *theTopo;
0026   const MagneticField *theField;
0027   const bool thescaleErrorsForBPix1;
0028   const float thescaleFactor;
0029 };
0030 #endif