ATLAS Offline Software
Trigger
TrigSteer
HLTSeeding
src
gFexSRJetRoIThresholdsTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
gFexSRJetRoIThresholdsTool.h
"
5
#include "
utilities.h
"
6
using namespace
HLTSeedingNs
;
7
8
uint64_t
gFexSRJetRoIThresholdsTool::getPattern
(
const
EventContext&
/*ctx*/
,
9
const
xAOD::gFexJetRoI
& roi,
10
const
RoIThresholdsTool::ThrVec
& menuThresholds,
11
const
TrigConf::L1ThrExtraInfoBase
&
/*menuExtraInfo*/
)
const
{
12
float
et
= roi.
et
();
13
int
ieta = roi.
menuEta
();
14
uint64_t
thresholdMask = 0;
15
16
for
(
const
std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
17
auto
thr =
static_cast<
TrigConf::L1Threshold_gJ
*
>
(thrBase.get());
18
19
if
(
et
> thr->thrValueMeV(ieta)) {
20
thresholdMask |= (1_u64<<thr->mapping());
21
}
22
23
}
24
25
return
thresholdMask;
26
}
et
Extra patterns decribing particle interation process.
TrigConf::L1ThrExtraInfoBase
L1 extra information for certain threshold types.
Definition:
L1ThresholdBase.h:72
gFexSRJetRoIThresholdsTool::getPattern
virtual uint64_t getPattern(const EventContext &ctx, const xAOD::gFexJetRoI &roi, const ThrVec &menuThresholds, const TrigConf::L1ThrExtraInfoBase &menuExtraInfo) const override
Definition:
gFexSRJetRoIThresholdsTool.cxx:8
xAOD::gFexJetRoI_v1
Class describing properties of a LVL1 gFEX jet Trigger Object (TOB) in the xAOD format.
Definition:
gFexJetRoI_v1.h:25
xAOD::uint64_t
uint64_t
Definition:
EventInfo_v1.cxx:123
RoIThresholdsTool::ThrVec
std::vector< std::shared_ptr< TrigConf::L1Threshold > > ThrVec
Definition:
IRoIThresholdsTool.h:24
xAOD::gFexJetRoI_v1::et
float et() const
retrieves the Et index from the 32-bit word
Definition:
gFexJetRoI_v1.cxx:160
utilities.h
xAOD::gFexJetRoI_v1::menuEta
int menuEta() const
the eta index to use for looking up thresholds in the menu
Definition:
gFexJetRoI_v1.cxx:56
HLTSeedingNs
Definition:
utilities.h:8
TrigConf::L1Threshold_gJ
Definition:
L1Threshold.h:305
gFexSRJetRoIThresholdsTool.h
Generated on Mon Sep 1 2025 21:10:54 for ATLAS Offline Software by
1.8.18