|
ATLAS Offline Software
|
Go to the documentation of this file.
113 name =
"UnnamedAlgorithm";
159 return StatusCode::SUCCESS;
168 return StatusCode::SUCCESS;
177 return StatusCode::SUCCESS;
186 return StatusCode::SUCCESS;
195 return StatusCode::SUCCESS;
204 return StatusCode::SUCCESS;
213 return StatusCode::SUCCESS;
222 return StatusCode::SUCCESS;
231 return StatusCode::SUCCESS;
240 return StatusCode::SUCCESS;
249 return GetName() ==
name;
259 RCU_THROW_MSG (
"Algorithm::setupJob returned StatusCode::FAILURE");
void sysSetupJob(Job &job)
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
virtual StatusCode fileExecute()
effects: do all the processing that needs to be done once per file
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
void setMsgLevel(int level)
set the message level for the message stream for this object
virtual StatusCode execute()
effects: process the next event guarantee: basic failures: algorithm dependent
std::string m_msgName
the algorithm name for which the message stream has been instantiated
virtual void addOutput(TObject *output_swallow)=0
effects: add an object to the output.
bool msgLvl(int lvl) const
whether we are configured to print messages at the given level
asg::SgTEvent * m_evtStorePtr
the value of evtStore
virtual StatusCode postExecute()
effects: do the post-processing for the event guarantee: basic failures: algorithm dependent rational...
TH1 * hist(const std::string &name) const
get the histogram with the given name
virtual StatusCode changeInput(bool firstFile)
effects: do all changes to work with a new input file, e.g.
virtual StatusCode finalize()
effects: do everything that needs to be done after completing work on this worker guarantee: basic fa...
MsgStream * m_msg
the message stream, if it has been instantiated
asg::SgTEvent * evtStore() const
get the (main) event store for this algorithm
virtual TObject * getOutputHist(const std::string &name) const =0
get the output histogram with the given name
std::string m_nameCache
the cache for name
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize()
effects: do everything that needs to be done before running the algorithm, e.g.
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 const std::string & name() const
MsgStream & msg() const
messaging interface
int m_msgLevel
the message level configured
Wrapper for TEvent to make it look like StoreGate.
Algorithm()
effects: standard default constructor guarantee: strong failures: low level errors I
~Algorithm()
effects: standard destructor guarantee: no-fail
virtual StatusCode histInitialize()
effects: this is a pre-initialization routine that is called before changeInput is called.
void book(const TH1 &hist)
book the given histogram
Definition of message levels and a helper function.
#define RCU_CHANGE_INVARIANT(x)
virtual bool hasName(const std::string &name) const
returns: whether this algorithm has the given name guarantee: basic failures: algorithm dependent rat...
virtual StatusCode histFinalize()
effects: this is a post-initialization routine that is called after finalize has been called.
virtual StatusCode endOfFile()
effects: do the post-processing for each input file guarantee: basic failures: algorithm dependent ra...
#define RCU_THROW_MSG(message)
virtual StatusCode setupJob(Job &job)
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
#define RCU_READ_INVARIANT(x)
ClassImp(EL::Algorithm) namespace EL
asg::SgTEvent m_evtStore
when configured, the object returned by evtStore
#define RCU_NEW_INVARIANT(x)