25 theTIPMax( ps.getParameter<double>(
"tipMax") ),
26 theChi2Max( ps.getParameter<double>(
"chi2") ),
27 thePtMin( ps.getParameter<double>(
"ptMin") ),
28 doVariablePtMin( ps.getParameter<bool>(
"doVariablePtMin") ),
29 theBeamSpotTag( ps.getParameter<
InputTag>(
"beamSpot")),
30 theBeamSpotToken( iC.consumes<
reco::
BeamSpot>(theBeamSpotTag)),
45 if (!track)
return false;
58 d0 = -1.*track->
dxy(vtxPoint);
76 <<
"[HIProtoTrackFilter] Proto track selection based on beamspot"
90 vector<const TrackingRecHit*> theChosenHits;
92 float estMult = theChosenHits.size();
97 float varPtCutoff = 1500;
98 if(estMult < varPtCutoff) {
double z0() const
z coordinate
void copyDetSetRange(DSTV const &dstv, std::vector< T const * > &v, std::pair< A, B > const &sel)
std::vector< const TrackingRecHit * > Hits
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag theBeamSpotTag
edm::EDGetTokenT< SiPixelRecHitCollection > theSiPixelRecHitsToken
double chi2() const
chi-squared of the fit
double pt() const
track transverse momentum
virtual void update(const edm::Event &ev, const edm::EventSetup &es) override
virtual bool operator()(const reco::Track *, const PixelTrackFilter::Hits &hits) const
T const * product() const
const reco::BeamSpot * theBeamSpot
XYZPointD XYZPoint
point in space with cartesian internal representation
virtual ~HIProtoTrackFilter()
HIProtoTrackFilter(const edm::ParameterSet &ps, edm::ConsumesCollector &iC)
double y0() const
y coordinate
const Point & position() const
position
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
double x0() const
x coordinate