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:

Function Members (Methods)

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

Data Members

TStringfHostProof hostname. Use empty string (ie "") for proof-lite. Can also handle options like "workers=2" to run on two nodes.
Bool_tfLiteWhether we have a Proof Lite session
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 = 0, const char* host = "", Bool_t showGui = kFALSE)
 configure proof with number of experiments and host session
  in case of Prooflite, it is better to define the number of workers as "worker=n" in the host string
virtual ~ProofConfig()
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; }
Bool_t IsLite() const
 return true if it is a Lite session (ProofLite)
{ return fLite; }