 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/ThreadLocalContext.h"
16 return StatusCode::SUCCESS;
27 if (not jTauLinkAcc.isPresent()) {
28 ATH_MSG_ERROR(
"Decoration " << m_jTauLinkKey.key() <<
" is missing, cannot create cTau threshold pattern");
29 throw SG::ExcNullReadHandle(m_jTauLinkKey.clid(), m_jTauLinkKey.key(), m_jTauLinkKey.storeHandle().name());
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"
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());
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
unsigned int tauTwoThresholds() const
Tau Condition 2 (generic) results.
Exception — Deference of read handle failed.
unsigned int tauOneThresholds() const
Tau Condition 1 (generic) results.
Handle class for reading a decoration on an object.
Exceptions that can be thrown from StoreGate.
Class describing a LVL1 eFEX tau region of interest.
::StatusCode StatusCode
StatusCode definition for legacy code.
static bool checkIsolationWP(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoI &jTau, const TrigConf::L1Threshold_cTAU &thr)
int iPhi() const
Setter for the above.
static bool checkeTAUWP(const xAOD::eFexTauRoI &eTau, const TrigConf::L1Threshold_cTAU &thr)
ElementLink implementation for ROOT usage.
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
int iEta() const
setter for the above
Handle class for reading a decoration on an object.