ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::ProofConfig

class RooStats::ProofConfig


Holds configuration options for proof and proof-lite. This class will be expanded in the future to hold more specific configuration options for the tools in RooStats.

Access to TProof::Mgr for configuration is still possible as usual (e.g. to set Root Version to be used on workers). You can do:

  • TProof::Mgr("my.server.url")->ShowROOTVersions()
  • TProof::Mgr("my.server.url")->SetROOTVersion("v5-27-06_dbg")

See doc: http://root.cern.ch/drupal/content/changing-default-root-version



Function Members (Methods)

public:
virtual~ProofConfig()
static TClass*Class()
static voidCloseProof(Option_t* option = "s")
const char*GetHost()
Int_tGetNExperiments()
Bool_tGetShowGui()
RooWorkspace&GetWorkspace()
virtual TClass*IsA() const
RooStats::ProofConfigProofConfig(const RooStats::ProofConfig&)
RooStats::ProofConfigProofConfig(RooWorkspace& w, Int_t nExperiments = 8, const char* host = "", Bool_t showGui = kFALSE)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
const char*fHostProof hostname. Use empty string (ie "") for proof-lite. Can also handle options like "workers=2" to run on two nodes.
Int_tfNExperimentsnumber of experiments. This is sometimes called "events" in proof; "experiments" in RooStudyManager.
Bool_tfShowGuiWhether to show the Proof Progress window.
RooWorkspace&fWorkspaceworkspace that is to be used with the RooStudyManager

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

ProofConfig(RooWorkspace& w, Int_t nExperiments = 8, const char* host = "", Bool_t showGui = kFALSE)
virtual ~ProofConfig()
CloseProof()
RooWorkspace& GetWorkspace(void)
 returns fWorkspace
{ return fWorkspace; }
const char* GetHost(void)
 returns fHost
{ return fHost; }
Int_t GetNExperiments(void)
 return fNExperiments
{ return fNExperiments; }
Bool_t GetShowGui(void)
 return fShowGui
{ return fShowGui; }