|
ATLAS Offline Software
|
Go to the documentation of this file.
13 const std::string&
name,
23 return StatusCode::SUCCESS;
31 return StatusCode::SUCCESS;
49 std::optional<ThrVecRef> muThresholds;
53 const uint32_t roIWord = roi.roIWord();
54 unsigned int thresholdNumber = roi.pt();
55 ATH_MSG_DEBUG(
"MUON RoI with the threshold number: " << thresholdNumber );
56 if ( thresholdNumber < 1 or thresholdNumber > 6 ) {
57 ATH_MSG_WARNING(
"Incorrect threshold number, should be between 1 and 6 but is: "
58 << thresholdNumber <<
", force setting it to 1" );
62 recRoIs->push_back(std::make_unique<LVL1::RecMuonRoI>(roIWord,
68 trigRoIs->
push_back( std::make_unique<TrigRoiDescriptor>(
73 ATH_MSG_DEBUG(
"RoI word: 0x" << MSG::hex << std::setw( 8 ) << roIWord );
88 std::vector<TrigCompositeUtils::DecisionID> passedThresholdIDs;
90 for (
const auto&
th : muThresholds.value().get()) {
91 if (
th->mapping() < thresholdNumber ) {
95 ATH_MSG_DEBUG(
"Passed Threshold names " <<
th->name() <<
" and " << thresholdProbeName);
101 decisionMain->
setDetail(
"thresholds", passedThresholdIDs);
102 decisionProbe->
setDetail(
"thresholds", passedThresholdIDs);
112 return StatusCode::SUCCESS;
bool setDetail(const std::string &name, const TYPE &value)
Set an TYPE detail on the object.
Group
Properties of a chain group.
const_pointer_type cptr()
Dereference the pointer.
Class holding the LVL1 RoIB result build by the RoIBuilder.
const std::string & hltSeedingNodeName()
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.
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()
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual double eta() const
returns eta coord of ROI
@ u
Enums for curvilinear frames.
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())
This class defines the reconstructed Muon ROI.
bool setObjectLink(const std::string &name, const ElementLink< CONTAINER > &link)
Set the link to an object.
const std::string & initialRoIString()
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
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.
Header file to be included by clients of the Monitored infrastructure.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual double phi() const
returns phi coord of ROI
value_type push_back(value_type pElem)
Add an element to the end of the collection.
#define ATH_MSG_WARNING(x)
virtual double phi() const override final
Methods to retrieve data members.
const std::vector< MuCTPIRoI > & roIVec() const
Member function returning the RoI vector.
std::set< HLT::Identifier > IDSet
virtual double eta() const override final
Handle class for reading a decoration on an object.
const MuCTPIResult & muCTPIResult() const
Gets the MuCTPI part of the L1 RDO.
Declare a monitored scalar variable.
size_type size() const noexcept
Returns the number of elements in the collection.