13 const std::string& name,
14 const IInterface* parent )
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;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
#define CHECK(...)
Evaluate an expression and check for errors.
xAOD::TrigComposite Decision
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
Header file to be included by clients of the Monitored infrastructure.
Handle class for reading a decoration on an object.
ElementLink implementation for ROOT usage.
virtual double eta() const =0
virtual double phi() const =0
Methods to retrieve data members.
This class defines the reconstructed Muon ROI.
virtual double eta() const
returns eta coord of ROI
virtual double phi() const
returns phi coord of ROI
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
const std::vector< MuCTPIRoI > & roIVec() const
Member function returning the RoI vector.
Class holding the LVL1 RoIB result build by the RoIBuilder.
const MuCTPIResult & muCTPIResult() const
Gets the MuCTPI part of the L1 RDO.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
pointer_type ptr()
Dereference the pointer.
bool setObjectLink(const std::string &name, const ElementLink< CONTAINER > &link)
Set the link to an object.
bool setDetail(const std::string &name, const TYPE &value)
Set an TYPE detail on the object.
std::set< HLT::Identifier > IDSet
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())
SG::WriteHandle< CONT > createAndStoreNoAux(const SG::WriteHandleKey< CONT > &key, const EventContext &ctx)
Creates and right away records the Container CONT with the key.
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.
const std::string & initialRecRoIString()
const std::string & initialRoIString()
const std::string & hltSeedingNodeName()