28 return StatusCode::SUCCESS;
40 ATH_MSG_DEBUG(
"Running with " << previousDecisionsHandle->size() <<
" previous decisions");
47 for (
const Decision* previousDecision: *previousDecisionsHandle) {
48 pairedDecisions.emplace_back(
58 ATH_CHECK(tool->decide(pairedDecisions, eventContext));
65 ATH_MSG_DEBUG(
"Exit with " << decisions->size() <<
" decisions");
68 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
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 & hypoAlgNodeName()
const SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > & decisionInput() const
methods for derived classes to access handles of the base class input other read/write handles may be...
const SG::WriteHandleKey< TrigCompositeUtils::DecisionContainer > & decisionOutput() const
methods for derived classes to access handles of the base class output other read/write handles may b...
StatusCode hypoBaseOutputProcessing(SG::WriteHandle< TrigCompositeUtils::DecisionContainer > &outputHandle, MSG::Level lvl=MSG::DEBUG) const
Base class function to be called once slice specific code has finished. Handles debug printing and va...
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
L1TopoOnlineMonitorHypo(const std::string &name, ISvcLocator *svcLoc)
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &eventContext) const override
ToolHandleArray< L1TopoOnlineMonitorHypoTool > m_hypoTools
virtual bool isValid() override final
Can the handle be successfully dereferenced?
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
xAOD::TrigComposite Decision
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 & hypoAlgNodeName()
xAOD::TrigCompositeContainer DecisionContainer