Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:26:43

0001 #ifndef _TripletFilter_h_
0002 #define _TripletFilter_h_
0003 
0004 #include "DataFormats/GeometryVector/interface/LocalVector.h"
0005 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
0006 
0007 #include <vector>
0008 
0009 namespace edm {
0010   class EventSetup;
0011 }
0012 class TrackingRecHit;
0013 class ClusterShapeHitFilter;
0014 class TrackerTopology;
0015 class SiPixelClusterShapeCache;
0016 
0017 class TripletFilter {
0018 public:
0019   TripletFilter(const edm::EventSetup& es);
0020   ~TripletFilter();
0021   bool checkTrack(const std::vector<const TrackingRecHit*>& recHits,
0022                   const std::vector<LocalVector>& localDirs,
0023                   const TrackerTopology* tTopo,
0024                   const SiPixelClusterShapeCache& clusterShapeCache);
0025   bool checkTrack(const std::vector<const TrackingRecHit*>& recHits,
0026                   const std::vector<GlobalVector>& globalDirs,
0027                   const TrackerTopology* tTopo,
0028                   const SiPixelClusterShapeCache& clusterShapeCache);
0029 
0030 private:
0031   const ClusterShapeHitFilter* theFilter;
0032 };
0033 
0034 #endif