13 #include "GaudiKernel/IToolSvc.h"
18 const std::string&
name,
19 const IInterface*
parent) :
37 return StatusCode::SUCCESS;
49 ATH_MSG_INFO (
"Filling n of nominal hists " << hists_nominal.size() <<
" ");
50 for (
const auto&
hist : hists_nominal) {
61 ATH_MSG_INFO (
"Filling n of no cuts hists " << hists_nocuts.size() <<
" ");
62 for (
const auto&
hist : hists_nocuts) {
68 return StatusCode::SUCCESS;
81 return StatusCode::SUCCESS;
94 for (
auto tau : *taus) {
96 if ( !
static_cast<bool>(
m_primTauSel->accept(*tau)) )
continue;
97 bool nominal =
static_cast<bool>(
m_nomiTauSel->accept(*tau));
112 int recProng = tau->nTracks();
113 if ( recProng == 1 ) {
123 else if ( recProng == 3 ) {
143 ATH_MSG_DEBUG(
"Tau is truth-matched and not with a quark or a jet");
144 if ( trueTau->isTau() ) {
146 if ( (
bool)IsHadronicTauAcc(*trueTau) ) {
164 if ( recProng == 1 ) {
176 else if ( recProng == 3 ) {
195 }
else if(trueTau->isElectron()) {
209 ATH_MSG_DEBUG(
"Tau is matched to a jet or Tau is unmatched - consider it as fake");
223 if ( recProng == 1 ) {
233 if ( recProng == 3 ) {
247 return StatusCode::SUCCESS;
253 return StatusCode::SUCCESS;