16 #include "GaudiKernel/IToolSvc.h"
27 const std::string&
name,
28 const IInterface*
parent) :
46 return StatusCode::SUCCESS;
58 ATH_MSG_INFO (
"Filling n of nominal hists " << hists_nominal.size() <<
" ");
59 for (
const auto&
hist : hists_nominal) {
70 ATH_MSG_INFO (
"Filling n of no cuts hists " << hists_nocuts.size() <<
" ");
71 for (
const auto&
hist : hists_nocuts) {
77 return StatusCode::SUCCESS;
90 return StatusCode::SUCCESS;
103 for (
auto tau : *taus) {
105 if ( !
static_cast<bool>(
m_primTauSel->accept(*tau)) )
continue;
106 bool nominal =
static_cast<bool>(
m_nomiTauSel->accept(*tau));
121 int recProng = tau->nTracks();
122 if ( recProng == 1 ) {
132 else if ( recProng == 3 ) {
151 if ( (
bool)IsTruthMatchedAcc(*tau) ) {
153 if ( trueTau->isTau() ) {
155 if ( (
bool)IsHadronicTauAcc(*trueTau) ) {
173 if ( recProng == 1 ) {
185 else if ( recProng == 3 ) {
204 }
else if(trueTau->isElectron()) {
231 if ( recProng == 1 ) {
241 if ( recProng == 3 ) {
269 if ( recProng == 1 ) {
279 if ( recProng == 3 ) {
293 return StatusCode::SUCCESS;
299 return StatusCode::SUCCESS;