00001 #ifndef _LowPtClusterShapeSeedComparitor_h_ 00002 #define _LowPtClusterShapeSeedComparitor_h_ 00003 00004 00005 #include "RecoTracker/TkSeedingLayers/interface/SeedComparitor.h" 00006 #include "FWCore/Framework/interface/ESHandle.h" 00007 #include "RecoPixelVertexing/PixelLowPtUtilities/interface/ClusterShapeHitFilter.h" 00008 00009 namespace edm { class ParameterSet; class EventSetup; } 00010 00011 class LowPtClusterShapeSeedComparitor : public SeedComparitor 00012 { 00013 public: 00014 LowPtClusterShapeSeedComparitor(const edm::ParameterSet& ps){} 00015 virtual ~LowPtClusterShapeSeedComparitor(){} 00016 virtual void init(const edm::EventSetup& es) ; 00017 virtual bool compatible(const SeedingHitSet &hits, const TrackingRegion & region) const ; 00018 virtual bool compatible(const TrajectorySeed &seed) const { return true; } 00019 virtual bool compatible(const TrajectoryStateOnSurface &, 00020 const TransientTrackingRecHit::ConstRecHitPointer &hit) const { return true; } 00021 virtual bool compatible(const SeedingHitSet &hits, 00022 const GlobalTrajectoryParameters &helixStateAtVertex, 00023 const FastHelix &helix, 00024 const TrackingRegion & region) const { return true; } 00025 virtual bool compatible(const SeedingHitSet &hits, 00026 const GlobalTrajectoryParameters &straightLineStateAtVertex, 00027 const TrackingRegion & region) const { return true; } 00028 00029 private: 00031 edm::ESHandle<ClusterShapeHitFilter> theShapeFilter; 00032 }; 00033 00034 #endif 00035