21 {
22
23
25 SG::ReadDecorHandle<xAOD::eFexTauRoIContainer, jTauLink_t> jTauLinkAcc{
m_jTauLinkKey, ctx};
29 }
30 jTauLink_t jTauLink = jTauLinkAcc(eTau);
31 bool matched{jTauLink.isValid()};
32
33 if (matched) {
35
38 <<
", eFex et (100 MeV/counts) = " << eTau.
etTOB() <<
", jFex et (200 MeV/counts) = " << jTau->
tobEt() <<
", jFex iso (200 MeV/counts) = " << jTau->
tobIso()
40 } else {
42 <<
", eFex et (100 MeV/counts) = " << eTau.
etTOB() <<
", no matching jTau found"
44 }
45
46
48
49
50 for (const std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
51 auto thr =
static_cast<TrigConf::L1Threshold_cTAU*
>(thrBase.get());
52
53
54
56
57
59
60
61
62 bool passEt = eTau.
etTOB() >
thr->thrValue100MeV(eTau.
iEta());
63
64 if (passIso && passeTAUWP && passEt) {
65 thresholdMask |= (1_u64<<
thr->mapping());
66 }
67
68 }
69
70 return thresholdMask;
71}
ElementLink()
Default constructor.
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.