#include <RooRealMPFE.h>
Inheritance diagram for RooRealMPFE:
Definition at line 27 of file RooRealMPFE.h.
enum RooRealMPFE::State [protected] |
Definition at line 48 of file RooRealMPFE.h.
enum RooRealMPFE::Message [protected] |
Definition at line 51 of file RooRealMPFE.h.
enum RooRealMPFE::State [protected] |
Definition at line 48 of file RooRealMPFE.h.
enum RooRealMPFE::Message [protected] |
Definition at line 51 of file RooRealMPFE.h.
RooRealMPFE::RooRealMPFE | ( | const char * | name, | |
const char * | title, | |||
RooAbsReal & | arg, | |||
Bool_t | calcInline = kFALSE | |||
) |
Definition at line 72 of file RooRealMPFE.cxx.
References _inlineMode, _sentinel, RooMPSentinel::add(), initVars(), and kTRUE.
Referenced by clone().
RooRealMPFE::RooRealMPFE | ( | const RooRealMPFE & | other, | |
const char * | name = 0 | |||
) |
Definition at line 97 of file RooRealMPFE.cxx.
References _sentinel, RooMPSentinel::add(), and initVars().
RooRealMPFE::~RooRealMPFE | ( | ) | [virtual] |
Definition at line 120 of file RooRealMPFE.cxx.
References _sentinel, _state, Client, RooMPSentinel::remove(), and standby().
RooRealMPFE::RooRealMPFE | ( | const char * | name, | |
const char * | title, | |||
RooAbsReal & | arg, | |||
Bool_t | calcInline = kFALSE | |||
) |
RooRealMPFE::RooRealMPFE | ( | const RooRealMPFE & | other, | |
const char * | name = 0 | |||
) |
virtual RooRealMPFE::~RooRealMPFE | ( | ) | [virtual] |
virtual TObject* RooRealMPFE::clone | ( | const char * | newname | ) | const [inline, virtual] |
void RooRealMPFE::calculate | ( | ) | const |
Definition at line 384 of file RooRealMPFE.cxx.
References _arg, _calcInProgress, _forceCalc, _pipeToServer, _saveVars, _state, RooAbsReal::_value, _vars, _verboseClient, _verboseServer, RooArgList::at(), Calculate, RooAbsArg::clearValueDirty(), Client, RooAbsArg::copyCache(), TNamed::GetName(), RooAbsCollection::getSize(), i, Initialize, initialize(), Inline, RooAbsArg::isConstant(), kFALSE, kTRUE, SendCat, SendReal, val, and write.
Referenced by getVal().
Reimplemented from RooAbsReal.
Definition at line 466 of file RooRealMPFE.cxx.
References _calcInProgress, RooAbsReal::_value, calculate(), evaluate(), and RooAbsArg::isValueDirty().
void RooRealMPFE::standby | ( | ) |
Definition at line 596 of file RooRealMPFE.cxx.
References _pid, _pipeToClient, _pipeToServer, _state, _verboseServer, Client, close, TNamed::GetName(), Initialize, Terminate, and write.
Referenced by RooMPSentinel::~RooMPSentinel(), and ~RooRealMPFE().
Definition at line 656 of file RooRealMPFE.cxx.
References _pipeToServer, _state, _verboseClient, _verboseServer, Client, TNamed::GetName(), Verbose, and write.
Double_t RooRealMPFE::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
Definition at line 493 of file RooRealMPFE.cxx.
References _arg, _calcInProgress, _pipeToClient, _pipeToServer, _remoteEvalErrorLoggingState, _state, _verboseServer, Client, RooAbsReal::evalErrorLoggingMode(), flag, TNamed::GetName(), Inline, kFALSE, LogEvalError, RooAbsReal::logEvalError(), ptr, read, Retrieve, RetrieveErrors, return_value, ReturnValue, value, and write.
Referenced by getVal().
void RooRealMPFE::constOptimizeTestStatistic | ( | ConstOpCode | opcode | ) | [protected, virtual] |
Reimplemented from RooAbsArg.
Definition at line 630 of file RooRealMPFE.cxx.
References _arg, _pipeToServer, _state, _verboseServer, RooRealProxy::arg(), Client, ConstOpt, TNamed::GetName(), initVars(), Inline, and write.
Referenced by serverLoop().
void RooRealMPFE::initialize | ( | ) | [protected] |
Definition at line 160 of file RooRealMPFE.cxx.
References _calcInProgress, _inlineMode, _pid, _pipeToClient, _pipeToServer, _state, RooAbsReal::clearEvalErrorLog(), Client, coutE, coutI, fork(), TNamed::GetName(), Inline, kFALSE, RooFit::Minimization, pipe, Server, and serverLoop().
Referenced by calculate(), and RooAbsTestStatistic::initMPMode().
void RooRealMPFE::initVars | ( | ) | [protected] |
Definition at line 133 of file RooRealMPFE.cxx.
References _arg, _forceCalc, _saveVars, _vars, RooListProxy::add(), RooAbsCollection::addClone(), RooRealProxy::arg(), RooAbsArg::getParameters(), kFALSE, kTRUE, RooAbsCollection::removeAll(), RooListProxy::removeAll(), RooAbsArg::RooArgSet, and RooAbsCollection::selectByAttrib().
Referenced by constOptimizeTestStatistic(), and RooRealMPFE().
void RooRealMPFE::serverLoop | ( | ) | [protected] |
Definition at line 215 of file RooRealMPFE.cxx.
References _arg, _pipeToClient, _pipeToServer, RooAbsReal::_value, _vars, _verboseServer, RooRealProxy::arg(), RooArgList::at(), Calculate, RooAbsReal::clearEvalErrorLog(), ConstOpt, constOptimizeTestStatistic(), RooAbsReal::evalErrorIter(), flag, TNamed::GetName(), TSystem::GetPid(), gSystem, i, RooPrintable::kArgs, RooPrintable::kClassName, kFALSE, RooPrintable::kInline, RooPrintable::kName, kTRUE, LogEvalError, n, TMVA::null(), RooAbsReal::numEvalErrorItems(), RooAbsReal::numEvalErrors(), RooPrintable::printStream(), read, Retrieve, RetrieveErrors, ReturnValue, SendCat, SendError, SendReal, RooAbsReal::setEvalErrorLoggingMode(), ssize_t, Terminate, value, Verbose, and write.
Referenced by initialize().
virtual TObject* RooRealMPFE::clone | ( | const char * | newname | ) | const [inline, virtual] |
void RooRealMPFE::calculate | ( | ) | const |
Reimplemented from RooAbsReal.
void RooRealMPFE::standby | ( | ) |
virtual Double_t RooRealMPFE::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
virtual void RooRealMPFE::constOptimizeTestStatistic | ( | ConstOpCode | opcode | ) | [protected, virtual] |
Reimplemented from RooAbsArg.
void RooRealMPFE::initialize | ( | ) | [protected] |
void RooRealMPFE::initVars | ( | ) | [protected] |
void RooRealMPFE::serverLoop | ( | ) | [protected] |
RooAbsTestStatistic [friend] |
Definition at line 45 of file RooRealMPFE.h.
State RooRealMPFE::_state [protected] |
Definition at line 49 of file RooRealMPFE.h.
Referenced by calculate(), constOptimizeTestStatistic(), evaluate(), initialize(), setVerbose(), standby(), and ~RooRealMPFE().
RooRealProxy RooRealMPFE::_arg [protected] |
Definition at line 58 of file RooRealMPFE.h.
Referenced by calculate(), constOptimizeTestStatistic(), evaluate(), initVars(), and serverLoop().
RooListProxy RooRealMPFE::_vars [protected] |
Definition at line 60 of file RooRealMPFE.h.
Referenced by calculate(), initVars(), and serverLoop().
RooArgList RooRealMPFE::_saveVars [protected] |
Bool_t RooRealMPFE::_calcInProgress [mutable, protected] |
Definition at line 62 of file RooRealMPFE.h.
Referenced by calculate(), evaluate(), getVal(), and initialize().
Bool_t RooRealMPFE::_verboseClient [protected] |
Bool_t RooRealMPFE::_verboseServer [protected] |
Definition at line 64 of file RooRealMPFE.h.
Referenced by calculate(), constOptimizeTestStatistic(), evaluate(), serverLoop(), setVerbose(), and standby().
Bool_t RooRealMPFE::_inlineMode [protected] |
Bool_t RooRealMPFE::_forceCalc [mutable, protected] |
RooAbsReal::ErrorLoggingMode RooRealMPFE::_remoteEvalErrorLoggingState [mutable, protected] |
Int_t RooRealMPFE::_pid [protected] |
Int_t RooRealMPFE::_pipeToClient [protected] |
Definition at line 70 of file RooRealMPFE.h.
Referenced by evaluate(), initialize(), serverLoop(), and standby().
Int_t RooRealMPFE::_pipeToServer [protected] |
Definition at line 71 of file RooRealMPFE.h.
Referenced by calculate(), constOptimizeTestStatistic(), evaluate(), initialize(), serverLoop(), setVerbose(), and standby().
RooMPSentinel RooRealMPFE::_sentinel [static, protected] |