18 double dxy = pTrack->
dxy(leadPV);
19 double dz = pTrack->
dz(leadPV);
25 if (
debug)
std::cout <<
"Track:: Pt " << pTrack->
pt() <<
" dxy " << dxy <<
" dz " << dz <<
" Chi2 " << pTrack->
normalizedChi2() <<
" dpbyp " << dpbyp <<
" Quality " << select << std::endl;
27 if (pTrack->
pt() < parameters.
minPt) select =
false;
28 if (dxy > parameters.
maxDxyPV || dz > parameters.
maxDzPV) select =
false;
30 if (dpbyp > parameters.
maxDpOverP) select =
false;
67 if (
debug)
std::cout <<
"Final Selection Result " << select << std::endl;
double qoverp() const
q / p
int stripTOBLayersWithMeasurement() const
double normalizedChi2() const
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero)
int trackerLayersWithMeasurement() const
void printHitPattern(HitCategory category, int position, std::ostream &stream) const
bool goodTrack(const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false)
double pt() const
track transverse momentum
int numberOfAllHits(HitCategory category) const
Abs< T >::type abs(const T &t)
double qoverpError() const
error on signed transverse curvature
double dz() const
dz parameter (= dsz/cos(lambda)). This is the track z0 w.r.t (0,0,0) only if the refPoint is close to...
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
XYZPointD XYZPoint
point in space with cartesian internal representation
bool quality(const TrackQuality) const
Track quality.
int trackerLayersWithoutMeasurement(HitCategory category) const
reco::TrackBase::TrackQuality minQuality
int stripTECLayersWithMeasurement() const
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...