File indexing completed on 2023-04-15 01:47:33
0001 #ifndef RecoTracker_PixelLowPtUtilities_TripletFilter_h
0002 #define RecoTracker_PixelLowPtUtilities_TripletFilter_h
0003
0004 #include "DataFormats/GeometryVector/interface/LocalVector.h"
0005 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
0006
0007 #include <vector>
0008
0009 class TrackingRecHit;
0010 class ClusterShapeHitFilter;
0011 class TrackerTopology;
0012 class SiPixelClusterShapeCache;
0013
0014 class TripletFilter {
0015 public:
0016 explicit TripletFilter(const ClusterShapeHitFilter* iFilter) : theFilter(iFilter) {}
0017 ~TripletFilter() = default;
0018 bool checkTrack(const std::vector<const TrackingRecHit*>& recHits,
0019 const std::vector<LocalVector>& localDirs,
0020 const TrackerTopology* tTopo,
0021 const SiPixelClusterShapeCache& clusterShapeCache) const;
0022 bool checkTrack(const std::vector<const TrackingRecHit*>& recHits,
0023 const std::vector<GlobalVector>& globalDirs,
0024 const TrackerTopology* tTopo,
0025 const SiPixelClusterShapeCache& clusterShapeCache) const;
0026
0027 private:
0028 const ClusterShapeHitFilter* theFilter;
0029 };
0030
0031 #endif