Logo ROOT  
Reference Guide
RooStats::ProofConfig Class Reference

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")
virtual Int_t SetROOTVersion(const char *)
Definition: TProofMgr.h:106
virtual void ShowROOTVersions()
Definition: TProofMgr.h:107
static TProofMgr * Mgr(const char *url)
Get instance of the effective manager for 'url' Return 0 on failure.
Definition: TProof.cxx:11697

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

Definition at line 46 of file ProofConfig.h.

Public Member Functions

 ProofConfig (RooWorkspace &w, Int_t nExperiments=0, const char *host="", Bool_t showGui=kFALSE)
 
virtual ~ProofConfig ()
 
const char * GetHost (void) const
 
Int_t GetNExperiments (void) const
 
Bool_t GetShowGui (void) const
 
RooWorkspaceGetWorkspace (void) const
 
Bool_t IsLite () const
 

Static Public Member Functions

static void CloseProof (Option_t *option="s")
 close all proof connections More...
 

Protected Attributes

TString fHost
 
Bool_t fLite
 
Int_t fNExperiments
 
Bool_t fShowGui
 
RooWorkspacefWorkspace
 

#include <RooStats/ProofConfig.h>

Constructor & Destructor Documentation

◆ ProofConfig()

RooStats::ProofConfig::ProofConfig ( RooWorkspace w,
Int_t  nExperiments = 0,
const char *  host = "",
Bool_t  showGui = kFALSE 
)
inline

Definition at line 53 of file ProofConfig.h.

◆ ~ProofConfig()

virtual RooStats::ProofConfig::~ProofConfig ( )
inlinevirtual

Definition at line 87 of file ProofConfig.h.

Member Function Documentation

◆ CloseProof()

static void RooStats::ProofConfig::CloseProof ( Option_t option = "s")
inlinestatic

close all proof connections

Definition at line 92 of file ProofConfig.h.

◆ GetHost()

const char * RooStats::ProofConfig::GetHost ( void  ) const
inline

Definition at line 97 of file ProofConfig.h.

◆ GetNExperiments()

Int_t RooStats::ProofConfig::GetNExperiments ( void  ) const
inline

Definition at line 99 of file ProofConfig.h.

◆ GetShowGui()

Bool_t RooStats::ProofConfig::GetShowGui ( void  ) const
inline

Definition at line 101 of file ProofConfig.h.

◆ GetWorkspace()

RooWorkspace & RooStats::ProofConfig::GetWorkspace ( void  ) const
inline

Definition at line 95 of file ProofConfig.h.

◆ IsLite()

Bool_t RooStats::ProofConfig::IsLite ( ) const
inline

Definition at line 103 of file ProofConfig.h.

Member Data Documentation

◆ fHost

TString RooStats::ProofConfig::fHost
protected

Definition at line 108 of file ProofConfig.h.

◆ fLite

Bool_t RooStats::ProofConfig::fLite
protected

Definition at line 110 of file ProofConfig.h.

◆ fNExperiments

Int_t RooStats::ProofConfig::fNExperiments
protected

Definition at line 107 of file ProofConfig.h.

◆ fShowGui

Bool_t RooStats::ProofConfig::fShowGui
protected

Definition at line 109 of file ProofConfig.h.

◆ fWorkspace

RooWorkspace& RooStats::ProofConfig::fWorkspace
protected

Definition at line 106 of file ProofConfig.h.

Libraries for RooStats::ProofConfig:
[legend]

The documentation for this class was generated from the following file: