#include <eFexTauRoIThresholdsTool.h>
Definition at line 11 of file eFexTauRoIThresholdsTool.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>
◆ eFexTauRoIThresholdsTool()
eFexTauRoIThresholdsTool::eFexTauRoIThresholdsTool |
( |
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 6 of file eFexTauRoIThresholdsTool.cxx.
13 int ieta = roi.
iEta();
17 for (
const std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
22 if (
et > thr->thrValueCounts(ieta) &&
rcore >=
static_cast<unsigned int>(thr->rCore()) && rhad >=
static_cast<unsigned int>(thr->rHad()) ) {
23 thresholdMask |= (1<<thr->mapping());
◆ 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: