Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:37

0001 #ifndef RecoTracker_PixelTrackFitting_PixelFitterByHelixProjections_h
0002 #define RecoTracker_PixelTrackFitting_PixelFitterByHelixProjections_h
0003 
0004 #include "RecoTracker/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