376{
377
378 bool bPass = false;
380 {
382 bPass = true;
383 break;
385 static const SG::ConstAccessor<char> acc_OmniVeryLoose("omni_score_VL");
386 if (!acc_OmniVeryLoose.isAvailable(xTau))
m_tDTST->msg() << MSG::WARNING <<
"Omni VeryLoose WP not available" <<
endmsg;
387 else bPass = acc_OmniVeryLoose(xTau);
388 break;
390 static const SG::ConstAccessor<char> acc_OmniLoose("omni_score_L");
391 if (!acc_OmniLoose.isAvailable(xTau))
m_tDTST->msg() << MSG::WARNING <<
"Omni Loose WP not available" <<
endmsg;
392 else bPass = acc_OmniLoose(xTau);
393 break;
395 static const SG::ConstAccessor<char> acc_OmniMedium("omni_score_M");
396 if (!acc_OmniMedium.isAvailable(xTau))
m_tDTST->msg() << MSG::WARNING <<
"Omni Medium WP not available" <<
endmsg;
397 else bPass = acc_OmniMedium(xTau);
398 break;
400 static const SG::ConstAccessor<char> acc_OmniTight("omni_score_T");
401 if (!acc_OmniTight.isAvailable(xTau))
m_tDTST->msg() << MSG::WARNING <<
"Omni Tight WP not available" <<
endmsg;
402 else bPass = acc_OmniTight(xTau);
403 break;
404 default:
405 m_tDTST->msg() << MSG::WARNING <<
"The Omni ID working point with the enum " <<
m_tDTST->m_iOmniIDWP <<
" is not available" <<
endmsg;
406 break;
407 }
408 if (bPass)
409 {
410 acceptData.setCutResult( "OmniIDWP", true );
411 return true;
412 }
413 m_tDTST->msg() << MSG::VERBOSE <<
"DiTau failed OmniIDWP requirement" <<
endmsg;
414 return false;
415}