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:
Definition at line 45 of file ProofConfig.h.
Public Member Functions | |
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 define the number of workers as "worker=n" in the host string | |
virtual | ~ProofConfig () |
const char * | GetHost (void) const |
returns fHost | |
Int_t | GetNExperiments (void) const |
return fNExperiments | |
bool | GetShowGui (void) const |
return fShowGui | |
RooWorkspace & | GetWorkspace (void) const |
returns fWorkspace | |
virtual TClass * | IsA () const |
bool | IsLite () const |
return true if it is a Lite session (ProofLite) | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static void | CloseProof (Option_t *option="s") |
close all proof connections | |
static const char * | DeclFileName () |
Protected Attributes | |
TString | fHost |
Proof hostname. Use empty string (ie "") for proof-lite. Can also handle options like "workers=2" to run on two nodes. | |
bool | fLite |
Whether we have a Proof Lite session. | |
Int_t | fNExperiments |
number of experiments. This is sometimes called "events" in proof; "experiments" in RooStudyManager. | |
bool | fShowGui |
Whether to show the Proof Progress window. | |
RooWorkspace & | fWorkspace |
workspace that is to be used with the RooStudyManager | |
#include <RooStats/ProofConfig.h>
|
inline |
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
Definition at line 51 of file ProofConfig.h.
|
inlinevirtual |
Definition at line 86 of file ProofConfig.h.
Definition at line 112 of file ProofConfig.h.
close all proof connections
Definition at line 91 of file ProofConfig.h.
Definition at line 112 of file ProofConfig.h.
|
inline |
returns fHost
Definition at line 96 of file ProofConfig.h.
|
inline |
return fNExperiments
Definition at line 98 of file ProofConfig.h.
|
inline |
return fShowGui
Definition at line 100 of file ProofConfig.h.
|
inline |
returns fWorkspace
Definition at line 94 of file ProofConfig.h.
Definition at line 112 of file ProofConfig.h.
|
inline |
return true if it is a Lite session (ProofLite)
Definition at line 102 of file ProofConfig.h.
|
inline |
Definition at line 112 of file ProofConfig.h.
|
protected |
Proof hostname. Use empty string (ie "") for proof-lite. Can also handle options like "workers=2" to run on two nodes.
Definition at line 107 of file ProofConfig.h.
|
protected |
Whether we have a Proof Lite session.
Definition at line 109 of file ProofConfig.h.
|
protected |
number of experiments. This is sometimes called "events" in proof; "experiments" in RooStudyManager.
Definition at line 106 of file ProofConfig.h.
|
protected |
Whether to show the Proof Progress window.
Definition at line 108 of file ProofConfig.h.
|
protected |
workspace that is to be used with the RooStudyManager
Definition at line 105 of file ProofConfig.h.