Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENT_LOOP_UNIT_TEST_ALG_H
6 #define EVENT_LOOP_UNIT_TEST_ALG_H
180 #pragma GCC diagnostic push
181 #pragma GCC diagnostic ignored "-Wpragmas"
182 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
183 #pragma GCC diagnostic ignored "-Winconsistent-missing-override"
185 #pragma GCC diagnostic pop
virtual StatusCode fileExecute() override
effects: do all the processing that needs to be done once per file guarantee: basic failures: algorit...
virtual StatusCode histFinalize() override
effects: this is a post-initialization routine that is called after finalize has been called.
virtual StatusCode histInitialize() override
effects: this is a pre-initialization routine that is called before changeInput is called.
virtual StatusCode changeInput(bool firstFile) override
effects: do all changes to work with a new input file, e.g.
bool m_hasInitialize
whether initialize has been called
bool makeOutput
description: whether I create an output n-tuple
virtual StatusCode execute() override
effects: process the next event guarantee: basic failures: algorithm dependent rationale: the virtual...
TTree * m_tree
description: the histogram we are creating
virtual StatusCode finalize() override
effects: do everything that needs to be done after completing work on this worker guarantee: basic fa...
::StatusCode StatusCode
StatusCode definition for legacy code.
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
TBranch * m_branch
description: the branch we are using
virtual StatusCode setupJob(Job &job) override
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Int_t m_value
description: the value we are reading from the branch
bool m_hasHistInitialize
whether histInitialize has been called
std::string m_fileName
the name of the file (for testing changeInput)
virtual StatusCode initialize() override
effects: do everything that needs to be done before running the algorithm, e.g.
UnitTestAlg(const std::string &branchName="el_n")
effects: standard constructor.
std::string m_name
description: the name of the variable we are using