ATLAS Offline Software
|
an IAlgorithmWrapper for AsgTool More...
#include <AsgToolWrapper.h>
Public Member Functions | |
void | testInvariant () const |
test the invariant of this object More... | |
AsgToolWrapper () | |
standard default constructor for serialization More... | |
AsgToolWrapper (asg::AsgToolConfig val_config) | |
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 StatusCode | initialize (const AlgorithmWorkerData &workerData) override |
call initialize on the algorithm More... | |
virtual StatusCode | execute () override |
call execute 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... | |
virtual Algorithm * | getLegacyAlg () |
get the legacy algorithm, if we wrap one More... | |
virtual StatusCode | postExecute () |
call postExecute on the algorithm More... | |
Private Attributes | |
asg::AsgToolConfig | m_config |
the algorithm configuration More... | |
ToolHandle< asg::AsgTool > | m_tool |
the actual tool (once instantiated) More... | |
std::shared_ptr< void > | m_cleanup |
the cleanup pointer for this tool More... | |
an IAlgorithmWrapper for AsgTool
Definition at line 22 of file AsgToolWrapper.h.
|
inline |
standard default constructor for serialization
Definition at line 33 of file AsgToolWrapper.h.
EL::AsgToolWrapper::AsgToolWrapper | ( | asg::AsgToolConfig | val_config | ) |
standard constructor
Definition at line 32 of file AsgToolWrapper.cxx.
|
overridevirtual |
call beginInputFile on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 110 of file AsgToolWrapper.cxx.
|
overridevirtual |
call endInputFile on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 119 of file AsgToolWrapper.cxx.
|
overridevirtual |
call execute on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 83 of file AsgToolWrapper.cxx.
|
overridevirtual |
call fileExecute on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 101 of file AsgToolWrapper.cxx.
|
overridevirtual |
call finalize on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 92 of file AsgToolWrapper.cxx.
|
inlinevirtualinherited |
get the legacy algorithm, if we wrap one
Reimplemented in EL::AlgorithmMemoryWrapper, EL::AlgorithmTimerWrapper, and EL::AlgorithmWrapper.
Definition at line 64 of file IAlgorithmWrapper.h.
|
overridevirtual |
Implements EL::IAlgorithmWrapper.
Definition at line 41 of file AsgToolWrapper.cxx.
|
overridevirtual |
whether this algorithm has the given name
Implements EL::IAlgorithmWrapper.
Definition at line 50 of file AsgToolWrapper.cxx.
|
overridevirtual |
call initialize on the algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 68 of file AsgToolWrapper.cxx.
|
overridevirtual |
make a clone of this algorithm
Implements EL::IAlgorithmWrapper.
Definition at line 59 of file AsgToolWrapper.cxx.
|
inlinevirtualinherited |
call postExecute on the algorithm
Reimplemented in EL::AlgorithmMemoryWrapper, EL::AlgorithmTimerWrapper, and EL::AlgorithmWrapper.
Definition at line 73 of file IAlgorithmWrapper.h.
void EL::AsgToolWrapper::testInvariant | ( | ) | const |
|
private |
the cleanup pointer for this tool
Please note (and do not remove) the comment at the end of the line. This specifically excludes this member from serialization.
Definition at line 83 of file AsgToolWrapper.h.
|
private |
|
private |
the actual tool (once instantiated)
Please note (and do not remove) the comment at the end of the line. This specifically excludes this member from serialization.
Definition at line 76 of file AsgToolWrapper.h.