11#ifndef ROOSTATS_ProofConfig 
   12#define ROOSTATS_ProofConfig 
   65            int nMaxWorkers = 
gROOT->ProcessLineFast(
"TProofLite::GetNumberOfWorkers()");
 
   67            if (nExperiments == 0) {
 
   71            if (nExperiments > nMaxWorkers)
 
   72               std::cout << 
"ProofConfig - Warning: using a number of workers = " << nExperiments << 
" which is larger than the number of cores in the machine " 
   73                         << nMaxWorkers << std::endl;
 
#define ClassDef(name, id)
 
Holds configuration options for proof and proof-lite.
 
RooWorkspace & GetWorkspace(void) const
returns fWorkspace
 
Int_t GetNExperiments(void) const
return fNExperiments
 
const char * GetHost(void) const
returns fHost
 
ProofConfig(RooWorkspace &w, Int_t nExperiments=0, const char *host="", bool showGui=false)
configure proof with number of experiments and host session in case of Prooflite, it is better to def...
 
bool GetShowGui(void) const
return fShowGui
 
RooWorkspace & fWorkspace
workspace that is to be used with the RooStudyManager
 
bool fShowGui
Whether to show the Proof Progress window.
 
Int_t fNExperiments
number of experiments. This is sometimes called "events" in proof; "experiments" in RooStudyManager.
 
bool IsLite() const
return true if it is a Lite session (ProofLite)
 
TString fHost
Proof hostname. Use empty string (ie "") for proof-lite. Can also handle options like "workers=2" to ...
 
bool fLite
Whether we have a Proof Lite session.
 
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.