28 AnaReentrantAlgorithm ::
29 AnaReentrantAlgorithm (
const std::string& name,
30 [[maybe_unused]] ISvcLocator *pSvcLocator)
42 AnaReentrantAlgorithm ::
43 ~AnaReentrantAlgorithm () noexcept
49 bool AnaReentrantAlgorithm ::
57 void AnaReentrantAlgorithm ::
58 setFilterPassed (
bool val_filterPassed)
60 filterWorker()->setFilterPassed (val_filterPassed);
69 throw std::logic_error (
"no filter worker set on algorithm " + name());
70 return m_filterWorker;
75 IWorker *AnaReentrantAlgorithm ::
79 throw std::logic_error (
"no worker set on algorithm " + name());
89 return StatusCode::SUCCESS;
95 execute (
const EventContext& )
const
97 return StatusCode::SUCCESS;
105 return StatusCode::SUCCESS;
110#ifdef XAOD_STANDALONE
119 ::StatusCode AnaReentrantAlgorithm ::
120 sysExecute (
const EventContext& ctx)
122 return execute (ctx);
135 asg::SgTEvent *AnaReentrantAlgorithm ::
139 throw std::logic_error (
"no evtStore set on algorithm " +
name());
145 void AnaReentrantAlgorithm ::
149 throw std::logic_error (
"set evtStore twice on algorithm " +
name());
155 void AnaReentrantAlgorithm ::
156 setFilterWorker (IFilterWorker *val_filterWorker)
159 throw std::logic_error (
"set filter worker twice on algorithm " +
name());
160 m_filterWorker = val_filterWorker;
165 void AnaReentrantAlgorithm ::
166 setWk (IWorker *val_wk)
169 throw std::logic_error (
"set wk twice on algorithm " + name());
StoreGateSvc_t m_evtStore
virtual bool filterPassed(const EventContext &ctx) const
An algorithm that can be simultaneously executed in multiple threads.
the interface to the filter functions in the algorithm sequence
Wrapper for TEvent to make it look like StoreGate.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()