Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <MURoIThresholdsTool.h>
Definition at line 11 of file MURoIThresholdsTool.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>
◆ MURoIThresholdsTool()
MURoIThresholdsTool::MURoIThresholdsTool |
( |
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 7 of file MURoIThresholdsTool.cxx.
15 for (
const std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
16 std::shared_ptr<TrigConf::L1Threshold_MU> thr = std::static_pointer_cast<TrigConf::L1Threshold_MU>(thrBase);
32 return thresholdsPattern;
◆ 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:
unsigned int mapping() const
Accessor to the mapping number The mapping is unique within a type.
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Handle class for adding a decoration to an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
unsigned int idxBarrel() const
unsigned int idxEndcap() const
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
unsigned int idxForward() const
int getThrNumber() const
Get the logic number of the highest threshold this RoI passed.