ATLAS Offline Software
Trigger
TrigSteer
HLTSeeding
src
gFexLRJetRoIThresholdsTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
gFexLRJetRoIThresholdsTool.h
"
5
6
uint64_t
gFexLRJetRoIThresholdsTool::getPattern
(
const
xAOD::gFexJetRoI
& roi,
7
const
RoIThresholdsTool::ThrVec
& menuThresholds,
8
const
TrigConf::L1ThrExtraInfoBase
&
/*menuExtraInfo*/
)
const
{
9
float
et
= roi.
et
();
10
uint64_t
thresholdMask = 0;
11
12
for
(
const
std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
13
auto
thr =
static_cast<
TrigConf::L1Threshold_gLJ
*
>
(thrBase.get());
14
15
if
(
et
> thr->thrValueMeV()) {
16
thresholdMask |= (1<<thr->mapping());
17
}
18
19
}
20
21
return
thresholdMask;
22
}
et
Extra patterns decribing particle interation process.
gFexLRJetRoIThresholdsTool::getPattern
virtual uint64_t getPattern(const xAOD::gFexJetRoI &roi, const ThrVec &menuThresholds, const TrigConf::L1ThrExtraInfoBase &menuExtraInfo) const override
Definition:
gFexLRJetRoIThresholdsTool.cxx:6
TrigConf::L1ThrExtraInfoBase
L1 extra information for certain threshold types.
Definition:
L1ThresholdBase.h:72
gFexLRJetRoIThresholdsTool.h
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
TrigConf::L1Threshold_gLJ
Definition:
L1Threshold.h:320
Generated on Fri Jan 10 2025 21:10:44 for ATLAS Offline Software by
1.8.18