|
ATLAS Offline Software
|
Go to the documentation of this file.
73 return StatusCode::SUCCESS;
87 return StatusCode::SUCCESS;
100 return StatusCode::SUCCESS;
113 return StatusCode::SUCCESS;
134 return StatusCode::FAILURE;
140 return StatusCode::SUCCESS;
152 return StatusCode::SUCCESS;
165 return StatusCode::SUCCESS;
178 return StatusCode::SUCCESS;
186 if (validStates.find (
m_state) == validStates.end())
189 return StatusCode::FAILURE;
192 if (
wk()->xaodEvent() ==
nullptr)
195 return StatusCode::FAILURE;
198 if (
wk()->xaodStore() ==
nullptr)
201 return StatusCode::FAILURE;
206 if (
wk()->
tree() ==
nullptr)
209 return StatusCode::FAILURE;
212 if (
wk()->treeEntry() < 0 ||
216 return StatusCode::FAILURE;
222 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual StatusCode changeInput(bool firstFile) override
effects: do all changes to work with a new input file, e.g.
virtual StatusCode initialize() override
effects: do everything that needs to be done before running the algorithm, e.g.
UnitTestAlgXAOD()
effects: standard constructor guarantee: strong failures: low level errors II
TGraphErrors * GetEntries(TH2F *histo)
virtual StatusCode histFinalize() override
effects: this is a post-initialization routine that is called after finalize has been called.
virtual StatusCode setupJob(Job &job) override
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
virtual StatusCode execute() override
effects: process the next event guarantee: basic failures: algorithm dependent rationale: the virtual...
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
asg::SgTEvent * evtStore() const
get the (main) event store for this algorithm
::StatusCode StatusCode
StatusCode definition for legacy code.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
IWorker * wk() const
description: the worker that is controlling us guarantee: no-fail
virtual ~UnitTestAlgXAOD()
effects: non-standard destructor guarantee: basic failures: not fully finalized
virtual StatusCode histInitialize() override
effects: this is a pre-initialization routine that is called before changeInput is called.
ClassImp(EL::UnitTestAlgXAOD) namespace EL
Class describing the basic event information.
StatusCode testWorkerState(bool validEvent, std::set< State > validStates) const
check if the state of inputs on the worker is valid right now
#define RCU_DESTROY_INVARIANT(x)
virtual StatusCode fileExecute() override
effects: do all the processing that needs to be done once per file guarantee: basic failures: algorit...
virtual StatusCode finalize() override
effects: do everything that needs to be done after completing work on this worker guarantee: basic fa...
#define RCU_CHANGE_INVARIANT(x)
#define RCU_THROW_MSG(message)
#define RCU_NEW_INVARIANT(x)