#include <jFexTauRoIThresholdsTool.h>
Definition at line 11 of file jFexTauRoIThresholdsTool.h.
◆ ExtraInfoRef
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
◆ ThrVec
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
◆ ThrVecRef
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
◆ jFexTauRoIThresholdsTool()
jFexTauRoIThresholdsTool::jFexTauRoIThresholdsTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
|
inline |
◆ decorateThresholds()
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
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.
74 for (
const T_RoI* roi: *thresholdPatterns) {
76 thresholdPatterns(*roi) =
getPattern(*roi, menuThresholds.value().get(), menuExtraInfo.value().get());
79 ATH_MSG_ERROR(
"getPattern() for " << N_RoIContainer <<
" failed with exception: " << ex.what());
80 return StatusCode::FAILURE;
84 return StatusCode::SUCCESS;
◆ getMenuThresholdExtraInfo()
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
Definition at line 50 of file IRoIThresholdsTool.h.
52 std::optional<ExtraInfoRef> menuExtraInfo;
57 ATH_MSG_ERROR(
"Failed to retrieve " << N_ThresholdType <<
" threshold extra info from L1 menu. Exception:" << ex.what());
◆ getMenuThresholds()
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
Definition at line 37 of file IRoIThresholdsTool.h.
39 std::optional<ThrVecRef> menuThresholds;
44 ATH_MSG_ERROR(
"Failed to retrieve " << N_ThresholdType <<
" thresholds from L1 menu. Exception:" << ex.what());
47 return menuThresholds;
◆ getPattern() [1/2]
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
To be implemented by each template instance.
◆ getPattern() [2/2]
Definition at line 9 of file jFexTauRoIThresholdsTool.cxx.
14 unsigned int et = roi.
et();
15 unsigned int iso = roi.
iso();
24 unsigned int isobit = 0;
25 if ( iso*1024 <
et*loose ) isobit = 1;
26 if ( iso*1024 <
et*medium ) isobit = 2;
27 if ( iso*1024 <
et*tight ) isobit = 3;
30 for (
const std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
35 if (
et > thr->thrValueMeV(ieta) && isobit >=
static_cast<unsigned int>(thr->isolation()) ) {
36 thresholdMask |= (1<<thr->mapping());
39 ATH_MSG_DEBUG(
"jFEX Taus HLT seeding for ("<< thr->name() <<
"): et=" <<
et <<
" > "<<thr->thrValueMeV(ieta) <<
" and iso="<<iso <<
" >= "<<
static_cast<unsigned int>(thr->isolation()));
◆ initialize()
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
virtual StatusCode RoIThresholdsTool< T_RoI, T_RoIContainer, N_RoIContainer, N_ThresholdType >::initialize |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ m_l1MenuKey
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
Initial value:{
this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu",
"Name of the L1Menu object to read configuration from"}
Definition at line 93 of file IRoIThresholdsTool.h.
◆ m_thresholdPatternsKey
template<typename T_RoI , typename T_RoIContainer , const char * N_RoIContainer, const char * N_ThresholdType>
Initial value:{
this, "ThresholdPatternsDecorKey", std::string(N_RoIContainer)+".thresholdPatterns",
"Decoration for the threshold patterns"}
Definition at line 97 of file IRoIThresholdsTool.h.
The documentation for this class was generated from the following files: