EL::Algorithm Class Reference

Inheritance diagram for EL::Algorithm:
EL::AlgSelect EL::DuplicateChecker EL::MetricsSvc EL::NTupleSvc EL::UnitTestAlg EL::UnitTestAlg1 EL::UnitTestSkim EL::VomsProxySvc EL::WhiteBoardSvc MD::AlgCFlow MD::AlgHist MD::FormulaSvc xExample

List of all members.

Public Member Functions

void testInvariant () const
 Algorithm ()
 ~Algorithm ()
Workerwk () const
void book (const TH1 &hist)
 book the given histogram
TH1 * hist (const std::string &name) const
 get the histogram with the given name



MsgStream & msg () const
 messaging interface
MsgStream & msg (int level) const
 the message stream for this object, configured for the given level
bool msgLvl (int lvl) const
 whether we are configured to print messages at the given level
void setMsgLevel (int level)
 set the message level for the message stream for this object

Friends

class Job
class Worker

Constructor & Destructor Documentation

EL::Algorithm::Algorithm (  ) 

effects: standard default constructor guarantee: strong failures: low level errors I

EL::Algorithm::~Algorithm (  ) 

effects: standard destructor guarantee: no-fail


Member Function Documentation

void EL::Algorithm::book ( const TH1 &  hist  ) 

book the given histogram

Guarantee
strong
Failures
histogram booking error
TH1* EL::Algorithm::hist ( const std::string &  name  )  const

get the histogram with the given name

Guarantee
strong
Failures
histogram not found
MsgStream& EL::Algorithm::msg ( int  level  )  const

the message stream for this object, configured for the given level

Guarantee
strong
Failures
code not compiled with AsgTools support
MsgStream& EL::Algorithm::msg (  )  const

messaging interface

this is the interface to work with the standard messaging macros from AsgTools. Instead of enums I pass ints, so that I can avoid the include dependency (forward declarations are only allowed for enum classes AFAIK). the standard message stream for this object

Guarantee
strong
Failures
code not compiled with AsgTools support
bool EL::Algorithm::msgLvl ( int  lvl  )  const

whether we are configured to print messages at the given level

Guarantee
no-fail
void EL::Algorithm::setMsgLevel ( int  level  ) 

set the message level for the message stream for this object

Guarantee
no-fail
void EL::Algorithm::testInvariant (  )  const
Worker* EL::Algorithm::wk (  )  const

description: the worker that is controlling us guarantee: no-fail


Friends And Related Function Documentation

friend class Worker [friend]

rationale: the worker is essentially controlling the algorithm. this allows it to do it without having to duplicate most of the interface.


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

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1