Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:50

0001 #ifndef RegionalTrajectoryFilter_h
0002 #define RegionalTrajectoryFilter_h
0003 
0004 #include "TrackingTools/TrajectoryFiltering/interface/TrajectoryFilter.h"
0005 
0006 #include "RecoTracker/TkTrackingRegions/interface/TrackingRegion.h"
0007 #include "TrackingTools/TrajectoryFiltering/interface/MinPtTrajectoryFilter.h"
0008 
0009 /** TrajectoryFilter checking compatibility with (the
0010  *  pt cut of) a tracking region. 
0011  */
0012 
0013 class RegionalTrajectoryFilter : public TrajectoryFilter {
0014 public:
0015   /// constructor from TrackingRegion
0016   explicit RegionalTrajectoryFilter(const edm::ParameterSet& pset, edm::ConsumesCollector& iC);
0017   explicit RegionalTrajectoryFilter(const TrackingRegion& region);
0018 
0019   bool qualityFilter(const TempTrajectory& traj) const override;
0020   bool qualityFilter(const Trajectory& traj) const override;
0021 
0022   bool toBeContinued(TempTrajectory& traj) const override;
0023   bool toBeContinued(Trajectory& traj) const override;
0024 
0025   /// name method imposed by TrajectoryFilter
0026   std::string name() const override;
0027 
0028 protected:
0029   const MinPtTrajectoryFilter thePtFilter;
0030 };
0031 #endif