|
ATLAS Offline Software
|
Go to the documentation of this file.
38 : m_algorithm (std::move (val_algorithm))
66 using namespace msgAlgorithmConfig;
69 std::unique_ptr<Algorithm> myalgorithm
71 if (myalgorithm ==
nullptr)
73 return std::make_unique<AlgorithmWrapper> (std::move (myalgorithm));
90 using namespace msgAlgorithmConfig;
98 return StatusCode::FAILURE;
100 return StatusCode::SUCCESS;
108 using namespace msgAlgorithmConfig;
114 return StatusCode::FAILURE;
116 return StatusCode::SUCCESS;
124 using namespace msgAlgorithmConfig;
130 return StatusCode::FAILURE;
132 return StatusCode::SUCCESS;
140 using namespace msgAlgorithmConfig;
148 return StatusCode::FAILURE;
154 return StatusCode::FAILURE;
156 return StatusCode::SUCCESS;
164 using namespace msgAlgorithmConfig;
170 return StatusCode::FAILURE;
172 return StatusCode::SUCCESS;
180 using namespace msgAlgorithmConfig;
186 return StatusCode::FAILURE;
196 return StatusCode::FAILURE;
200 return StatusCode::SUCCESS;
208 using namespace msgAlgorithmConfig;
214 return StatusCode::FAILURE;
216 return StatusCode::SUCCESS;
virtual StatusCode initialize(const AlgorithmWorkerData &workerData) override
call initialize on the algorithm
asg::SgTEvent * m_evtStore
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)
#define RCU_CHANGE_INVARIANT(x)
#define RCU_THROW_MSG(message)
virtual bool hasName(const std::string &name) const override
whether this algorithm has the given name
AlgorithmWrapper()
standard default constructor for serialization
#define RCU_READ_INVARIANT(x)
#define RCU_NEW_INVARIANT(x)