#include <jFexTauRoIThresholdsTool.h>
Definition at line 11 of file jFexTauRoIThresholdsTool.h.
◆ ExtraInfoRef
| using RoIThresholdsTool< T_RoI, T_RoIContainer, N_RoIContainer, N_ThresholdType >::ExtraInfoRef |
|
inherited |
◆ ThrVec
| using RoIThresholdsTool< T_RoI, T_RoIContainer, N_RoIContainer, N_ThresholdType >::ThrVec |
|
inherited |
◆ ThrVecRef
| using RoIThresholdsTool< T_RoI, T_RoIContainer, N_RoIContainer, N_ThresholdType >::ThrVecRef |
|
inherited |
◆ jFexTauRoIThresholdsTool()
| jFexTauRoIThresholdsTool::jFexTauRoIThresholdsTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
|
inline |
◆ decorateThresholds()
| virtual StatusCode RoIThresholdsTool< T_RoI, T_RoIContainer, N_RoIContainer, N_ThresholdType >::decorateThresholds |
( |
const EventContext & | eventContext | ) |
const |
|
inlineoverridevirtualinherited |
Definition at line 63 of file IRoIThresholdsTool.h.
63 {
64
71
72
75 try {
77 }
81 }
82 }
83
85 }
#define ATH_CHECK
Evaluate an expression and check for errors.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
◆ getMenuThresholdExtraInfo()
◆ getMenuThresholds()
◆ getPattern() [1/2]
Definition at line 11 of file jFexTauRoIThresholdsTool.cxx.
14 {
15
16
17 unsigned int et = roi.
et();
18 unsigned int iso = roi.
iso();
21
22
23 const TrigConf::L1ThrExtraInfo_jTAU&
extra =
static_cast<const TrigConf::L1ThrExtraInfo_jTAU&
>(menuExtraInfo);
27 unsigned int isobit = 0;
28 if ( iso*1024 <
et*loose ) isobit = 1;
29 if ( iso*1024 <
et*medium ) isobit = 2;
30 if ( iso*1024 <
et*tight ) isobit = 3;
31
32
33 for (const std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
34 auto thr =
static_cast<TrigConf::L1Threshold_jTAU*
>(thrBase.get());
35
36
37
38 if (
et >
thr->thrValueMeV(ieta) && isobit >=
static_cast<unsigned int>(
thr->isolation()) ) {
39 thresholdMask |= (1_u64<<
thr->mapping());
40 }
41
42 ATH_MSG_DEBUG(
"jFEX Taus HLT seeding for ("<<
thr->name() <<
"): et=" <<
et <<
" > "<<
thr->thrValueMeV(ieta) <<
" and iso="<<iso <<
" >= "<<
static_cast<unsigned int>(
thr->isolation()));
43 }
44 return thresholdMask;
45
46}
float et(const xAOD::jFexSRJetRoI *j)
unsigned int iso() const
Iso on TOB scale.
unsigned int et() const
Methods that require combining results or applying scales.
◆ getPattern() [2/2]
To be implemented by each template instance.
◆ initialize()
| virtual StatusCode RoIThresholdsTool< T_RoI, T_RoIContainer, N_RoIContainer, N_ThresholdType >::initialize |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ m_l1MenuKey
Definition at line 94 of file IRoIThresholdsTool.h.
94 {
95 this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu",
96 "Name of the L1Menu object to read configuration from"};
◆ m_thresholdPatternsKey
The documentation for this class was generated from the following files: