xExample Class Reference

Inheritance diagram for xExample:
EL::Algorithm

List of all members.

Public Member Functions

virtual EL::StatusCode setupJob (EL::Job &job)
virtual EL::StatusCode fileExecute ()
virtual EL::StatusCode histInitialize ()
virtual EL::StatusCode changeInput (bool firstFile)
virtual EL::StatusCode initialize ()
virtual EL::StatusCode execute ()
virtual EL::StatusCode postExecute ()
virtual EL::StatusCode finalize ()
virtual EL::StatusCode histFinalize ()
 ClassDef (xExample, 1)

Public Attributes

xAOD::TEventm_event
std::map< std::string, TH1 * > m_TH1
std::map< std::string, TH2 * > m_TH2
std::string ptStr [17]
float ptLim [17]
int m_eventCounter
int m_warnCounter
int m_warnLimit
long m_startTime

Member Function Documentation

virtual EL::StatusCode xExample::changeInput ( bool  firstFile  )  [virtual]

effects: do all changes to work with a new input file, e.g. set new branch addresses. if firstFile is set, this method is called just before init() is called guarantee: basic failures: algorithm dependent

Reimplemented from EL::Algorithm.

virtual EL::StatusCode xExample::execute (  )  [virtual]

effects: process the next event guarantee: basic failures: algorithm dependent

Reimplemented from EL::Algorithm.

virtual EL::StatusCode xExample::fileExecute (  )  [virtual]

effects: do all the processing that needs to be done once per file guarantee: basic failures: algorithm dependent rationale: this is to read per-file accounting data, e.g. the list of lumi-blocks processed

Reimplemented from EL::Algorithm.

virtual EL::StatusCode xExample::finalize (  )  [virtual]

effects: do everything that needs to be done after completing work on this worker guarantee: basic failures: algorithm dependent rationale: currently there is no use foreseen, but this routine is provided regardless

Reimplemented from EL::Algorithm.

virtual EL::StatusCode xExample::histFinalize (  )  [virtual]

effects: this is a post-initialization routine that is called after finalize has been called. guarantee: basic failures: algorithm dependent rationale: unlike finalize(), this method is called all the time, even on empty input files.

Reimplemented from EL::Algorithm.

virtual EL::StatusCode xExample::histInitialize (  )  [virtual]

effects: this is a pre-initialization routine that is called before changeInput is called. guarantee: basic failures: algorithm dependent rationale: unlike initialize(), this method is called all the time, even on empty input files. so you should create any histograms or n-tuples here that subsequent code expects

Reimplemented from EL::Algorithm.

virtual EL::StatusCode xExample::initialize (  )  [virtual]

effects: do everything that needs to be done before running the algorithm, e.g. create output n-tuples and histograms. this method is called only once right after changeInput(true) is called guarantee: basic failures: algorithm dependent rationale: in principle all this work could be done on changeInput(true). However, providing this method should make it easier for the user to set up all his outputs and to do so only once.

Reimplemented from EL::Algorithm.

virtual EL::StatusCode xExample::postExecute (  )  [virtual]

effects: do the post-processing for the event guarantee: basic failures: algorithm dependent rationale: this is mainly used for specialized services that need to get input from subsequent algorithms before filling their event data

Reimplemented from EL::Algorithm.

virtual EL::StatusCode xExample::setupJob ( EL::Job job  )  [virtual]

effects: give the algorithm a chance to intialize the job with anything this algorithm needs. this method is automatically called before the algorithm is actually added to the job. guarantee: basic failures: algorithm dependent rationale: this is currently used to give algorithms a chance to register their output datasets, but can also be used for other stuff.

Reimplemented from EL::Algorithm.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1