Public Member Functions | |
void | testInvariant () const |
Algorithm () | |
~Algorithm () | |
Worker * | wk () 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 |
EL::Algorithm::Algorithm | ( | ) |
effects: standard default constructor guarantee: strong failures: low level errors I
EL::Algorithm::~Algorithm | ( | ) |
effects: standard destructor guarantee: no-fail
void EL::Algorithm::book | ( | const TH1 & | hist | ) |
book the given histogram
TH1* EL::Algorithm::hist | ( | const std::string & | name | ) | const |
get the histogram with the given name
MsgStream& EL::Algorithm::msg | ( | int | level | ) | const |
the message stream for this object, configured for the given level
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
bool EL::Algorithm::msgLvl | ( | int | lvl | ) | const |
whether we are configured to print messages at the given level
void EL::Algorithm::setMsgLevel | ( | int | level | ) |
set the message level for the message stream for this object
void EL::Algorithm::testInvariant | ( | ) | const |
effects: test the invariant of this object guarantee: no-fail
Reimplemented in EL::MetricsSvc, EL::TEventSvc, EL::UnitTestAlg, EL::UnitTestAlg1, EL::VomsProxySvc, EL::AlgSelect, EL::DuplicateChecker, EL::NTupleSvc, EL::UnitTestSkim, EL::WhiteBoardSvc, MD::AlgCFlow, MD::AlgHist, and MD::FormulaSvc.
Worker* EL::Algorithm::wk | ( | ) | const |
description: the worker that is controlling us guarantee: no-fail
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.