7#include "GaudiKernel/ThreadLocalContext.h"
16 return StatusCode::SUCCESS;
31 jTauLink_t jTauLink = jTauLinkAcc(eTau);
32 bool matched{jTauLink.isValid()};
39 <<
", eFex et (100 MeV/counts) = " << eTau.
etTOB() <<
", jFex et (200 MeV/counts) = " << jTau->
tobEt() <<
", jFex iso (200 MeV/counts) = " << jTau->
tobIso()
43 <<
", eFex et (100 MeV/counts) = " << eTau.
etTOB() <<
", no matching jTau found"
48 uint64_t thresholdMask{0};
51 for (
const std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
63 bool passEt = eTau.
etTOB() > thr->thrValue100MeV(eTau.
iEta());
65 if (passIso && passeTAUWP && passEt) {
66 thresholdMask |= (1_u64<<thr->mapping());
#define ATH_CHECK
Evaluate an expression and check for errors.
Exceptions that can be thrown from StoreGate.
Handle class for reading a decoration on an object.
ElementLink implementation for ROOT usage.
Exception — Deference of read handle failed.
Handle class for reading a decoration on an object.
bool isPresent() const
Is the referenced container present in SG?
static bool checkeTAUWP(const xAOD::eFexTauRoI &eTau, const TrigConf::L1Threshold_cTAU &thr)
static bool checkIsolationWP(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoI &jTau, const TrigConf::L1Threshold_cTAU &thr)
int iPhi() const
Setter for the above.
int iEta() const
setter for the above
unsigned int tauOneThresholds() const
Tau Condition 1 (generic) results.
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
unsigned int tauTwoThresholds() const
Tau Condition 2 (generic) results.
jFexTauRoI_v1 jFexTauRoI
Define the latest version of the jFexSRJetRoI class.
eFexTauRoI_v1 eFexTauRoI
Define the latest version of the eFexTauRoI class.