ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
HLTSeeding
src
gFexLRJetRoIThresholdsTool.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 "
gFexLRJetRoIThresholdsTool.h
"
5
#include "
utilities.h
"
6
using namespace
HLTSeedingNs
;
7
8
uint64_t
gFexLRJetRoIThresholdsTool::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
uint64_t thresholdMask = 0;
14
15
for
(
const
std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
16
auto
thr =
static_cast<
TrigConf::L1Threshold_gLJ
*
>
(thrBase.get());
17
18
if
(
et
> thr->thrValueMeV()) {
19
thresholdMask |= (1_u64<<thr->mapping());
20
}
21
22
}
23
24
return
thresholdMask;
25
}
RoIThresholdsTool::ThrVec
std::vector< std::shared_ptr< TrigConf::L1Threshold > > ThrVec
Definition
IRoIThresholdsTool.h:24
TrigConf::L1ThrExtraInfoBase
L1 extra information for certain threshold types.
Definition
L1ThresholdBase.h:72
TrigConf::L1Threshold_gLJ
Definition
L1Threshold.h:325
gFexLRJetRoIThresholdsTool::getPattern
virtual uint64_t getPattern(const EventContext &ctx, const xAOD::gFexJetRoI &roi, const ThrVec &menuThresholds, const TrigConf::L1ThrExtraInfoBase &menuExtraInfo) const override
Definition
gFexLRJetRoIThresholdsTool.cxx:8
xAOD::gFexJetRoI_v1::et
float et() const
retrieves the Et index from the 32-bit word
Definition
gFexJetRoI_v1.cxx:160
gFexLRJetRoIThresholdsTool.h
HLTSeedingNs
Definition
utilities.h:8
xAOD::gFexJetRoI
gFexJetRoI_v1 gFexJetRoI
Define the latest version of the gFexJetRoI class.
Definition
gFexJetRoI.h:16
et
Extra patterns decribing particle interation process.
utilities.h
Generated on
for ATLAS Offline Software by
1.17.0