|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #ifdef XAOD_STANDALONE
30 [[maybe_unused]] ISvcLocator *pSvcLocator)
31 #ifdef XAOD_STANDALONE
48 #ifdef XAOD_STANDALONE
52 return filterWorker()->filterPassed();
60 filterWorker()->setFilterPassed (val_filterPassed);
65 IFilterWorker *AnaReentrantAlgorithm ::
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
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());
virtual ::StatusCode finalize()
finalize this algorithm
virtual ::StatusCode execute(const EventContext &ctx) const
execute this algorithm
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
virtual bool filterPassed(const EventContext &ctx) const
An algorithm that can be simultaneously executed in multiple threads.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual ~AnaReentrantAlgorithm() noexcept
standard (virtual) destructor
virtual ::StatusCode initialize()
initialize this algorithm
::StatusCode StatusCode
StatusCode definition for legacy code.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
virtual StatusCode sysInitialize() override
Override sysInitialize.
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Wrapper for TEvent to make it look like StoreGate.
virtual void setFilterPassed(bool state, const EventContext &ctx) const