10 bool inside(
const T&
value, std::pair<T, T>
const&
range) {
24 switch (thePars.dzOption) {
32 tZ = it->dz(thePars.beamPoint);
41 float tD0Cor = fabs(it->dxy(thePars.beamPoint));
42 float tEta = it->eta();
43 float tPhi = it->phi();
44 float tChi2Ndof = it->normalizedChi2();
48 if (!inside(tZ, thePars.zRange))
50 if (tPt < thePars.ptMin)
52 if (!inside(tD0Cor, thePars.rRange))
56 if (tChi2Ndof > thePars.chi2NdofMax)
60 if (thePars.nHitsMin > 0) {
61 unsigned int tHits = it->numberOfValidHits();
62 if (tHits < thePars.nHitsMin)
67 if (thePars.chi2ProbMin > 0) {
69 if (tChi2Prob < thePars.chi2ProbMin)
const std::string metname
result_type operator()(const input_type &tracks) const
float ChiSquaredProbability(double chiSquared, double nrDOF)
std::list< const reco::Track * > result_type
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator