 |
ATLAS Offline Software
|
#include <RoIsUnpackingToolPhase1.h>
Definition at line 191 of file RoIsUnpackingToolPhase1.h.
◆ jFexSRJetRoIsUnpackingTool()
jFexSRJetRoIsUnpackingTool::jFexSRJetRoIsUnpackingTool |
( |
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 55 of file RoIsUnpackingToolPhase1.h.
57 return name.find(N_ThresholdType)==0 or
name.find(getProbeThresholdName(N_ThresholdType))==0;
59 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 64 of file RoIsUnpackingToolPhase1.h.
68 const bool doProbe = !m_decisionsKeyProbe.empty();
74 if (doProbe) decisionsProbe =
createAndStore(m_decisionsKeyProbe, ctx);
78 ATH_MSG_DEBUG(
"No " << N_ThresholdType <<
" RoIs in this event");
81 return StatusCode::SUCCESS;
94 std::optional<ThrVecRef> thresholds;
95 ATH_CHECK(getL1Thresholds(*l1Menu, N_ThresholdType, thresholds));
100 roiDescriptors->
push_back(std::make_unique<TrigRoiDescriptor>(
122 std::vector<TrigCompositeUtils::DecisionID> passedThresholdIDs;
125 uint64_t thresholdPattern = thrPatternAcc(*roi);
127 for (
const std::shared_ptr<TrigConf::L1Threshold>& thr : thresholds.value().get()) {
128 if ((thresholdPattern & (1_u64 << thr->mapping())) == 0_u64) {
continue;}
131 <<
" name" << (doProbe ?
"s " :
" ") << thr->name()
132 << (doProbe ?
" and "+getProbeThresholdName(thr->name()) :
""));
133 addChainsToDecision(
HLT::Identifier(thr->name()), decisionMain, activeChains);
134 if (doProbe) addChainsToDecision(
HLT::Identifier(getProbeThresholdName(thr->name())), decisionProbe, activeChains);
137 decisionMain->
setDetail(
"thresholds", passedThresholdIDs);
138 if (doProbe) decisionProbe->setDetail(
"thresholds", passedThresholdIDs);
151 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 26 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 30 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.
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.
@ 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())
const std::string & initialRecRoIString()
bool setObjectLink(const std::string &name, const ElementLink< CONTAINER > &link)
Set the link 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.
pointer_type ptr()
Dereference the pointer.
Default, invalid implementation of ClassID_traits.
SG::WriteHandle< CONT > createAndStoreNoAux(const SG::WriteHandleKey< CONT > &key, const EventContext &ctx)
Creates and right away records the Container CONT with the key.
Class used to describe composite objects in the HLT.
const std::string & initialRoIString()
const std::string & hltSeedingNodeName()
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.