|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef EVENT_LOOP__ALGORITHM_WRAPPER_H
10 #define EVENT_LOOP__ALGORITHM_WRAPPER_H
43 virtual std::string_view
getName ()
const override;
45 virtual bool hasName (
const std::string&
name)
const override;
47 virtual std::unique_ptr<IAlgorithmWrapper>
makeClone()
const override;
virtual StatusCode initialize(const AlgorithmWorkerData &workerData) override
call initialize on the algorithm
virtual std::unique_ptr< IAlgorithmWrapper > makeClone() const override
make a clone of this algorithm
virtual StatusCode finalize() override
call finalize on the algorithm
virtual ::StatusCode beginInputFile() override
call beginInputFile on the algorithm
bool m_firstFile
whether this is the first file we encounter
virtual StatusCode execute() override
call execute on the algorithm
virtual std::string_view getName() const override
virtual ::StatusCode fileExecute() override
call fileExecute on the algorithm
void testInvariant() const
test the invariant of this object
virtual ::StatusCode endInputFile() override
call endInputFile on the algorithm
bool m_isInitialized
whether Algorithm::initialize has been called
virtual Algorithm * getLegacyAlg() override
get the legacy algorithm, if we wrap one
std::unique_ptr< Algorithm > m_algorithm
the actual algorithm
virtual StatusCode postExecute() override
call postExecute on the algorithm
::StatusCode StatusCode
StatusCode definition for legacy code.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
all the external components an algorithm needs before initialization (in EventLoop)
a wrapper around a generic algorithm for use within EventLoop
virtual bool hasName(const std::string &name) const override
whether this algorithm has the given name
AlgorithmWrapper()
standard default constructor for serialization
an IAlgorithmWrapper for AnaAlgorithm