|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENT_LOOP_UNIT_TEST_ALG1_H
6 #define EVENT_LOOP_UNIT_TEST_ALG1_H
201 #pragma GCC diagnostic push
202 #pragma GCC diagnostic ignored "-Wpragmas"
203 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
204 #pragma GCC diagnostic ignored "-Winconsistent-missing-override"
206 #pragma GCC diagnostic pop
Int_t m_value
description: the value we are reading from the branch
virtual StatusCode fileExecute() override
effects: do all the processing that needs to be done once per file guarantee: basic failures: algorit...
bool m_hasInitialize
whether initialize has been called
virtual StatusCode finalize() override
effects: do everything that needs to be done after completing work on this worker guarantee: basic fa...
UnitTestAlg1(const std::string &branchName="el_n")
effects: standard constructor.
virtual StatusCode histFinalize() override
effects: this is a post-initialization routine that is called after finalize has been called.
bool m_hasHistInitialize
whether histInitialize has been called
::StatusCode StatusCode
StatusCode definition for legacy code.
CallBack
the various callbacks we use
virtual StatusCode setupJob(Job &job) override
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
bool makeOutput
description: whether I create an output n-tuple
This module defines the arguments passed from the BATCH driver to the BATCH worker.
virtual StatusCode initialize() override
effects: do everything that needs to be done before running the algorithm, e.g.
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
std::string m_fileName
the name of the file (for testing changeInput)
TBranch * m_branch
description: the branch we are using
TTree * m_tree
description: the histogram we are creating
virtual StatusCode histInitialize() override
effects: this is a pre-initialization routine that is called before changeInput is called.
std::string m_name
description: the name of the variable we are using
ClassDef(UnitTestAlg1, 1)
virtual StatusCode changeInput(bool firstFile) override
effects: do all changes to work with a new input file, e.g.