ATLAS Offline Software
|
Base class for RoI unpackers. More...
#include <RoIsUnpackingToolBase.h>
Public Member Functions | |
RoIsUnpackingToolBase (const std::string &type, const std::string &name, const IInterface *parent) | |
virtual StatusCode | initialize () override |
virtual StatusCode | unpack (const EventContext &, const ROIB::RoIBResult &, const HLT::IDSet &) const override |
virtual StatusCode | unpack (const EventContext &, const xAOD::TrigComposite &, const HLT::IDSet &) const override |
Protected Types | |
using | ThrVec = std::vector< std::shared_ptr< TrigConf::L1Threshold > > |
using | ThrVecRef = std::reference_wrapper< const ThrVec > |
Protected Member Functions | |
StatusCode | getL1Thresholds (const TrigConf::L1Menu &l1Menu, const std::string &thrType, std::optional< ThrVecRef > &thrVec) const |
Retrieve a vector of thresholds with type thrType from L1Menu. More... | |
StatusCode | decodeMapping (std::function< bool(const std::string &)> &&filter) |
Fills mapping from L1 threshold -> to HLT chain. More... | |
void | addChainsToDecision (HLT::Identifier thresholdId, TrigCompositeUtils::Decision *d, const HLT::IDSet &activeChains) const |
Static Protected Member Functions | |
static std::string | getProbeThresholdName (const std::string &thresholdName) |
Concatenate the probe identifier string with the threshold name string. More... | |
Protected Attributes | |
ToolHandle< GenericMonitoringTool > | m_monTool { this, "MonTool", "", "Monitoring tool" } |
ToolHandle< IRoiUpdaterTool > | m_roiupdater { this, "RoiUpdater", "", "Roi Updater" } |
std::map< HLT::Identifier, HLT::IDVec > | m_thresholdToChainMapping |
std::map< HLT::Identifier, HLT::Identifier > | m_legToChainMapping |
Base class for RoI unpackers.
Provides common features needed by all unpackers. By itself it does not do anything useful.
Definition at line 32 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 73 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 74 of file RoIsUnpackingToolBase.h.
RoIsUnpackingToolBase::RoIsUnpackingToolBase | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Definition at line 10 of file RoIsUnpackingToolBase.cxx.
|
protected |
Definition at line 88 of file RoIsUnpackingToolBase.cxx.
|
protected |
Fills mapping from L1 threshold -> to HLT chain.
Definition at line 52 of file RoIsUnpackingToolBase.cxx.
|
protected |
Retrieve a vector of thresholds with type thrType
from L1Menu.
[in] | l1Menu | The L1Menu object |
[in] | thrType | The threshold type, e.g. EM, MU, eTAU |
[out] | thrVec | The output will be passed into this parameter |
Definition at line 33 of file RoIsUnpackingToolBase.cxx.
|
staticprotected |
Concatenate the probe identifier string with the threshold name string.
Creates an alternate threshold name, used by lower pT probe legs of tag+probe chains.
Definition at line 47 of file RoIsUnpackingToolBase.cxx.
|
overridevirtual |
should this really be here if it is only accessed in derived classes ?
Reimplemented in MURoIsUnpackingTool, EMRoIsUnpackingTool, JRoIsUnpackingTool, RoIsUnpackingEmulationTool, TAURoIsUnpackingTool, METRoIsUnpackingTool, and FSRoIsUnpackingTool.
Definition at line 16 of file RoIsUnpackingToolBase.cxx.
|
inlineoverridevirtual |
Reimplemented in MURoIsUnpackingTool, METRoIsUnpackingTool, EMRoIsUnpackingTool, JRoIsUnpackingTool, FSRoIsUnpackingTool, RoIsUnpackingEmulationTool, and TAURoIsUnpackingTool.
Definition at line 40 of file RoIsUnpackingToolBase.h.
|
inlineoverridevirtual |
Definition at line 44 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 51 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 54 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 63 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 60 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 71 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 67 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 68 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 70 of file RoIsUnpackingToolBase.h.
|
protected |
Definition at line 57 of file RoIsUnpackingToolBase.h.