21 if(
mu->pt()<2.5e3 ||
mu->pt()/cosh(
mu->eta())<4
e3)
return StatusCode::FAILURE;
22 if(
mu->muonType()==xAOD::Muon::MuonStandAlone) {
24 if(fabs(
mu->eta())<2.5)
return StatusCode::FAILURE;
26 if(!
mu->primaryTrackParticleLink().isValid())
return StatusCode::FAILURE;
28 if(nPrecision<3)
return StatusCode::FAILURE;
31 if(fabs(
mu->eta())>2.5)
return StatusCode::FAILURE;
34 uint8_t nPixHits(0), nSctHits(0);
35 if(!
mu->primaryTrackParticleLink().isValid())
return StatusCode::FAILURE;
39 if(nPixHits<3)
return StatusCode::FAILURE;
40 if(nPixHits+nSctHits<5)
return StatusCode::FAILURE;
42 else {
return StatusCode::FAILURE;}
44 return StatusCode::SUCCESS;