ATLAS Offline Software
|
an IAlgorithmWrapper for AnaAlgorithm More...
#include <AlgorithmWrapper.h>
Public Member Functions | |
void | testInvariant () const |
test the invariant of this object More... | |
AlgorithmWrapper () | |
standard default constructor for serialization More... | |
AlgorithmWrapper (std::unique_ptr< Algorithm > &&val_algorithm) | |
standard constructor More... | |
virtual std::string_view | getName () const override |
virtual bool | hasName (const std::string &name) const override |
whether this algorithm has the given name More... | |
virtual std::unique_ptr< IAlgorithmWrapper > | makeClone () const override |
make a clone of this algorithm More... | |
virtual Algorithm * | getLegacyAlg () override |
get the legacy algorithm, if we wrap one More... | |
virtual StatusCode | initialize (const AlgorithmWorkerData &workerData) override |
call initialize on the algorithm More... | |
virtual StatusCode | execute () override |
call execute on the algorithm More... | |
virtual StatusCode | postExecute () override |
call postExecute on the algorithm More... | |
virtual StatusCode | finalize () override |
call finalize on the algorithm More... | |
virtual ::StatusCode | fileExecute () override |
call fileExecute on the algorithm More... | |
virtual ::StatusCode | beginInputFile () override |
call beginInputFile on the algorithm More... | |
virtual ::StatusCode | endInputFile () override |
call endInputFile on the algorithm More... | |
Private Attributes | |
std::unique_ptr< Algorithm > | m_algorithm |
the actual algorithm More... | |
bool | m_firstFile {true} |
whether this is the first file we encounter More... | |
bool | m_isInitialized {false} |
whether Algorithm::initialize has been called More... | |
an IAlgorithmWrapper for AnaAlgorithm
Definition at line 22 of file AlgorithmWrapper.h.
|
inline |
standard default constructor for serialization
Definition at line 33 of file AlgorithmWrapper.h.
EL::AlgorithmWrapper::AlgorithmWrapper | ( | std::unique_ptr< Algorithm > && | val_algorithm | ) |
standard constructor
Definition at line 36 of file AlgorithmWrapper.cxx.
|
overridevirtual |
call beginInputFile on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 177 of file AlgorithmWrapper.cxx.
|
overridevirtual |
call endInputFile on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 205 of file AlgorithmWrapper.cxx.
|
overridevirtual |
call execute on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 105 of file AlgorithmWrapper.cxx.
|
overridevirtual |
call fileExecute on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 161 of file AlgorithmWrapper.cxx.
|
overridevirtual |
call finalize on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 137 of file AlgorithmWrapper.cxx.
|
overridevirtual |
get the legacy algorithm, if we wrap one
Reimplemented from EL::IAlgorithmWrapper.
Definition at line 78 of file AlgorithmWrapper.cxx.
|
overridevirtual |
Implements EL::IAlgorithmWrapper.
Definition at line 45 of file AlgorithmWrapper.cxx.
|
overridevirtual |
whether this algorithm has the given name
Implements EL::IAlgorithmWrapper.
Definition at line 54 of file AlgorithmWrapper.cxx.
|
overridevirtual |
call initialize on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 87 of file AlgorithmWrapper.cxx.
|
overridevirtual |
make a clone of this algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 63 of file AlgorithmWrapper.cxx.
|
overridevirtual |
call postExecute on the algorithm
Reimplemented from EL::IAlgorithmWrapper.
Definition at line 121 of file AlgorithmWrapper.cxx.
void EL::AlgorithmWrapper::testInvariant | ( | ) | const |
test the invariant of this object
Definition at line 29 of file AlgorithmWrapper.cxx.
|
private |
|
private |
whether this is the first file we encounter
Definition at line 76 of file AlgorithmWrapper.h.
|
private |
whether Algorithm::initialize has been called
Definition at line 79 of file AlgorithmWrapper.h.