Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef RecoTracker_PixelTrackFitting_PixelTrackFilterByKinematics_h
0002 #define RecoTracker_PixelTrackFitting_PixelTrackFilterByKinematics_h
0003 
0004 #include "RecoTracker/PixelTrackFitting/interface/PixelTrackFilterBase.h"
0005 
0006 namespace edm {
0007   class ParameterSet;
0008   class EventSetup;
0009 }  // namespace edm
0010 
0011 class PixelTrackFilterByKinematics : public PixelTrackFilterBase {
0012 public:
0013   PixelTrackFilterByKinematics(double ptmin = 0.9, double tipmax = 0.1, double chi2max = 100.);
0014   PixelTrackFilterByKinematics(float optmin, float invPtTolerance, float tipmax, float tipmaxTolerance, float chi2max);
0015   ~PixelTrackFilterByKinematics() override;
0016   bool operator()(const reco::Track*, const PixelTrackFilterBase::Hits& hits) const override;
0017 
0018 private:
0019   float theoPtMin, theNSigmaInvPtTolerance;
0020   float theTIPMax, theNSigmaTipMaxTolerance;
0021   float theChi2Max;
0022 };
0023 #endif