5 using namespace egammaisolation;
19 switch(thePars.dzOption) {
20 case dz : tZ = it->dz();
break;
21 case vz : tZ = it->vz();
break;
22 case bs : tZ = it->dz(thePars.beamPoint);
break;
23 default : tZ = it->vz();
break;
28 float tD0Cor = fabs(it->dxy(thePars.beamPoint));
29 float tEta = it->eta();
30 float tPhi = it->phi();
31 float tChi2Ndof = it->normalizedChi2();
35 if ( !thePars.zRange.inside( tZ ) )
continue;
36 if ( tPt < thePars.ptMin )
continue;
37 if ( !thePars.rRange.inside( tD0Cor) )
continue;
39 if ( tChi2Ndof > thePars.chi2NdofMax )
continue;
42 if (thePars.nHitsMin > 0 ){
43 unsigned int tHits = it->numberOfValidHits();
44 if ( tHits < thePars.nHitsMin )
continue;
48 if(thePars.chi2ProbMin > 0){
50 if ( tChi2Prob < thePars.chi2ProbMin )
continue;
52 result.push_back(&*it);
result_type operator()(const input_type &tracks) const
const std::string metname
const_iterator begin() const
float ChiSquaredProbability(double chiSquared, double nrDOF)
std::list< const reco::Track * > result_type
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const_iterator end() const