11#ifndef ROOSTATS_ProofConfig
12#define ROOSTATS_ProofConfig
66 int nMaxWorkers =
gROOT->ProcessLineFast(
"TProofLite::GetNumberOfWorkers()");
68 if (nExperiments == 0) {
72 if (nExperiments > nMaxWorkers)
73 std::cout <<
"ProofConfig - Warning: using a number of workers = " << nExperiments <<
" which is larger than the number of cores in the machine "
74 << nMaxWorkers << std::endl;
#define ClassDef(name, id)
Holds configuration options for proof and proof-lite.
RooWorkspace & GetWorkspace(void) const
Int_t GetNExperiments(void) const
ProofConfig(RooWorkspace &w, Int_t nExperiments=0, const char *host="", Bool_t showGui=kFALSE)
const char * GetHost(void) const
RooWorkspace & fWorkspace
Bool_t GetShowGui(void) const
static void CloseProof(Option_t *option="s")
close all proof connections
static void closeProof(Option_t *option="s")
"Option_t *option" takes the parameters forwarded to gProof->Close(option).
The RooWorkspace is a persistable container for RooFit projects.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
Namespace for the RooStats classes.