|
ATLAS Offline Software
|
#include <eFexEMRoIThresholdsTool.h>
Definition at line 11 of file eFexEMRoIThresholdsTool.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>
◆ eFexEMRoIThresholdsTool()
eFexEMRoIThresholdsTool::eFexEMRoIThresholdsTool |
( |
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 eFexEMRoIThresholdsTool.cxx.
14 int ieta = roi.
iEta();
18 for (
const std::shared_ptr<TrigConf::L1Threshold>& thrBase : menuThresholds) {
21 if (
et > thr->thrValueCounts(ieta) && reta >= (
unsigned int)thr->reta() &&
22 rhad >= (
unsigned int)thr->rhad() &&
wstot >= (
unsigned int)thr->wstot()) {
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:
int iEta() const
setter for the above
Extra patterns decribing particle interation process.
setEt setPhi setE277 setWeta2 setEta1 setE2tsts1 wstot
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
unsigned int RetaThresholds() const
Jet Discriminant 1 (R_eta) results.
Handle class for adding a decoration to an object.
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
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 WstotThresholds() const
Jet Discriminant 3 (W_stot) results.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
unsigned int RhadThresholds() const
Jet Discriminant 2 (R_had) results.