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