9#include "Gaudi/Property.h"
19 ISvcLocator *pSvcLocator)
30 return StatusCode::SUCCESS;
40 if (not decisionInput.isValid())
42 ATH_MSG_DEBUG(
"No decisions key " << key.key() <<
" skipping");
45 ATH_MSG_DEBUG(
"Retrieved decision with the key " << key.key());
46 for (
auto d : *decisionInput)
50 ATH_MSG_DEBUG(
"Decision object with " << ids.size() <<
" decisions");
57 return StatusCode::SUCCESS;
#define ATH_MSG_VERBOSE(x)
#define CHECK(...)
Evaluate an expression and check for errors.
std::set< DecisionID > DecisionIDContainer
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
DumpDecisions(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadHandleKeyArray< TrigCompositeUtils::DecisionContainer > m_decisionKeys
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.