|
ATLAS Offline Software
|
#include <RoIsUnpackingToolPhase1.h>
Definition at line 206 of file RoIsUnpackingToolPhase1.h.
◆ gFexLRJetRoIsUnpackingTool()
gFexLRJetRoIsUnpackingTool::gFexLRJetRoIsUnpackingTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
|
inline |
◆ initialize()
virtual StatusCode RoIsUnpackingToolPhase1::initialize |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ start()
virtual StatusCode RoIsUnpackingToolPhase1::start |
( |
| ) |
|
|
inlineoverridevirtualinherited |
Definition at line 52 of file RoIsUnpackingToolPhase1.h.
54 return name.find(N_ThresholdType)==0 or
name.find(getProbeThresholdName(N_ThresholdType))==0;
56 return StatusCode::SUCCESS;
◆ unpack() [1/3]
virtual StatusCode RoIsUnpackingToolBase::unpack |
|
inlineoverrideinherited |
◆ unpack() [2/3]
virtual StatusCode RoIsUnpackingToolBase::unpack |
|
inlineoverrideinherited |
◆ unpack() [3/3]
|
inlineoverridevirtualinherited |
Definition at line 61 of file RoIsUnpackingToolPhase1.h.
65 const bool doProbe = !m_decisionsKeyProbe.empty();
71 if (doProbe) decisionsProbe =
createAndStore(m_decisionsKeyProbe, ctx);
75 ATH_MSG_DEBUG(
"No " << N_ThresholdType <<
" RoIs in this event");
78 return StatusCode::SUCCESS;
91 std::optional<ThrVecRef> thresholds;
92 ATH_CHECK(getL1Thresholds(*l1Menu, N_ThresholdType, thresholds));
97 roiDescriptors->
push_back(std::make_unique<TrigRoiDescriptor>(
119 std::vector<TrigCompositeUtils::DecisionID> passedThresholdIDs;
122 uint64_t thresholdPattern = thrPatternAcc(*roi);
124 for (
const std::shared_ptr<TrigConf::L1Threshold>& thr : thresholds.value().get()) {
125 if ((thresholdPattern & (1 << thr->mapping())) == 0
u) {
continue;}
128 <<
" name" << (doProbe ?
"s " :
" ") << thr->name()
129 << (doProbe ?
" and "+getProbeThresholdName(thr->name()) :
""));
130 addChainsToDecision(
HLT::Identifier(thr->name()), decisionMain, activeChains);
131 if (doProbe) addChainsToDecision(
HLT::Identifier(getProbeThresholdName(thr->name())), decisionProbe, activeChains);
134 decisionMain->
setDetail(
"thresholds", passedThresholdIDs);
135 if (doProbe) decisionProbe->setDetail(
"thresholds", passedThresholdIDs);
148 return StatusCode::SUCCESS;
◆ m_l1RoILinkName
Gaudi::Property<std::string> RoIsUnpackingToolPhase1::m_l1RoILinkName |
|
privateinherited |
Initial value:{
this, "L1RoILinkName", N_RoIContainer,
"Name of the link to read from L1TriggerResult for L1 xAOD RoI container"}
Definition at line 23 of file RoIsUnpackingToolPhase1.h.
◆ m_roiHalfWidthEta
Gaudi::Property<float> RoIsUnpackingToolPhase1::m_roiHalfWidthEta |
|
privateinherited |
◆ m_roiHalfWidthPhi
Gaudi::Property<float> RoIsUnpackingToolPhase1::m_roiHalfWidthPhi |
|
privateinherited |
◆ m_thresholdPatternsKey
Initial value:{
this, "L1RoIThresholdPatternsKey", std::string(N_RoIContainer)+".thresholdPatterns",
"Name of the L1 xAOD RoI container decoration for the threshold patterns"}
Definition at line 27 of file RoIsUnpackingToolPhase1.h.
The documentation for this class was generated from the following file:
bool setDetail(const std::string &name, const TYPE &value)
Set an TYPE detail on the object.
Group
Properties of a chain group.
const std::string & hltSeedingNodeName()
ElementLink< CONTAINER > objectLink(const std::string &name) const
Get the link with the requested name.
Decision * newDecisionIn(DecisionContainer *dc, const std::string &name)
Helper method to create a Decision object, place it in the container and return a pointer to it.
bool hasObjectLink(const std::string &name, const CLID clid=CLID_NULL) const
Check if a link to an object with a given name and type exists. CLID_NULL to not check type.
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
const std::string & initialRecRoIString()
@ u
Enums for curvilinear frames.
bool isValid() const
Test to see if the link can be dereferenced.
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
bool setObjectLink(const std::string &name, const ElementLink< CONTAINER > &link)
Set the link to an object.
const std::string & initialRoIString()
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
pointer_type ptr()
Dereference the pointer.
Default, invalid implementation of ClassID_traits.
SG::WriteHandle< CONT > createAndStoreNoAux(const SG::WriteHandleKey< CONT > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Creates and right away records the Container CONT with the key.
Class used to describe composite objects in the HLT.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
ElementLink implementation for ROOT usage.
BaseConstReference getStorableObjectRef() const
Return a reference to the currently-referenced container object.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
virtual double phi() const override final
Methods to retrieve data members.
virtual double eta() const override final
@ linkIndex
link index for multiple track and vertex matches
Declare a monitored scalar variable.
size_type size() const noexcept
Returns the number of elements in the collection.