File indexing completed on 2024-04-06 12:25:20
0001 #ifndef _HIPixelTrackFilter_h_
0002 #define _HIPixelTrackFilter_h_
0003
0004 #include "RecoTracker/PixelLowPtUtilities/interface/ClusterShapeTrackFilter.h"
0005 #include "DataFormats/VertexReco/interface/Vertex.h"
0006 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0007
0008 class HIPixelTrackFilter : public ClusterShapeTrackFilter {
0009 public:
0010 HIPixelTrackFilter(const SiPixelClusterShapeCache *cache,
0011 double ptMin,
0012 double ptMax,
0013 const TrackerGeometry *tracker,
0014 const ClusterShapeHitFilter *shape,
0015 const TrackerTopology *ttopo,
0016 const reco::VertexCollection *vertices,
0017 double tipMax,
0018 double tipMaxTolerance,
0019 double lipMax,
0020 double lipMaxTolerance,
0021 double chi2max,
0022 bool useClusterShape);
0023 ~HIPixelTrackFilter() override;
0024 bool operator()(const reco::Track *, const PixelTrackFilterBase::Hits &hits) const override;
0025
0026 private:
0027 const reco::VertexCollection *theVertices;
0028 double theTIPMax, theNSigmaTipMaxTolerance;
0029 double theLIPMax, theNSigmaLipMaxTolerance;
0030 double theChi2Max, thePtMin;
0031 bool useClusterShape;
0032 };
0033
0034 #endif