11 double dxy = pTrack->
dxy(leadPV);
12 double dz = pTrack->
dz(leadPV);
17 if (debug)
std::cout <<
"Track:: Pt " << pTrack->
pt() <<
" dxy " << dxy <<
" dz " << dz <<
" Chi2 " << pTrack->
normalizedChi2() <<
" dpbyp " << dpbyp <<
" Quality " << select << std::endl;
19 if (pTrack->
pt() < parameters.
minPt) select =
false;
20 if (dxy > parameters.
maxDxyPV || dz > parameters.
maxDzPV) select =
false;
22 if (dpbyp > parameters.
maxDpOverP) select =
false;
52 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 trackerLayersWithoutMeasurement() const
const HitPattern & trackerExpectedHitsOuter() const
Access the hit pattern counting (in the Tracker) the number of expected crossed layers after the last...
bool goodTrack(const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false)
int trackerLayersWithMeasurement() const
double pt() const
track transverse momentum
const HitPattern & trackerExpectedHitsInner() const
Access the hit pattern counting (in the Tracker) the number of expected crossed layers before the fir...
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
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...
XYZPointD XYZPoint
point in space with cartesian internal representation
bool quality(const TrackQuality) const
Track quality.
reco::TrackBase::TrackQuality minQuality
int stripTECLayersWithMeasurement() const
void printHitPattern(int position, std::ostream &stream) 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...