19#include "RConfigure.h"
51 Error(
"ReleaseCache",
"problems clearing cache for '%s'", dset);
68 Error(
"RemoveFiles",
"problems removing files for '%s'", dset);
73 Error(
"RemoveFiles",
"problems removing meta-information for dataset '%s'", dset);
87 if (!destdir || (destdir && strlen(destdir) <= 0)) {
88 Error(
"CopyFiles",
"specifying a destination dir is mandatory!");
98 Error(
"CopyFiles",
"problems copying files for '%s'", dset);
114 if (!dset || (dset && strlen(dset) <= 0)) {
115 Error(
"Handle",
"a valid dataset name is mandatory");
121 Error(
"Handle",
"dataset '%s' does not exist", dset);
128 Error(
"Handle",
"TFileCollection object for dataset '%s' could not be retrieved", dset);
135 Error(
"Handle",
"could not create map with per-server info for dataset '%s'", dset);
141 TString selName(
"TSelHandleDataSet");
145 Info(
"Handle",
"Uploading '%s' ...", par.
Data());
147 Error(
"Handle",
"problems uploading '%s' - cannot continue", par.
Data());
157 Error(
"Handle",
"failed to load '%s'", selName.
Data());
163 fcmap->
SetName(
"PROOF_FilesToProcess");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
const char *const kPROOF_BenchDataSelPar
const char *const kPROOF_BenchParDir
R__EXTERN TProof * gProof
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
void SetName(const char *name)
void Print(Option_t *option="") const override
Default print for collections, calls Print(option, 1).
Class that contains a list of TFileInfo's and accumulated meta data information about its entries.
TMap * GetFilesPerServer(const char *exclude=nullptr, Bool_t curronly=kFALSE)
Return a map of TFileCollections with the files on each data server, excluding servers in the comma-s...
Long64_t GetNFiles() const
TObject * Remove(TObject *obj) override
Remove object from the list.
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
Handle operations on datasets used by ProofBench.
Int_t Handle(const char *dset, TObject *type)
Physically remove the dataset 'dset', i.e.
Int_t CopyFiles(const char *dset, const char *destdir)
Copy the files of dataset 'dset' to another directory Return 0 on success, -1 on error.
TProofBenchDataSet(TProof *proof=0)
Constructor.
Int_t RemoveFiles(const char *dset)
Physically remove the dataset 'dset', i.e.
Int_t ReleaseCache(const char *dset)
Release memory cache for dataset 'dset' Return 0 on success, -1 on error.
This class controls a Parallel ROOT Facility, PROOF, cluster.
Int_t UploadPackage(const char *par, EUploadPackageOpt opt=kUntar, TList *workers=0)
Upload a PROOF archive (PAR file).
TObject * GetParameter(const char *par) const
Get specified parameter.
void DeleteParameters(const char *wildcard)
Delete the input list parameters specified by a wildcard (e.g.
void SetParameter(const char *par, const char *value)
Set input list parameter.
virtual Int_t RemoveDataSet(const char *dataset, const char *optStr="")
Remove the specified dataset from the PROOF cluster.
virtual TFileCollection * GetDataSet(const char *dataset, const char *optStr="")
Get a list of TFileInfo objects describing the files of the specified dataset.
virtual Long64_t Process(TDSet *dset, const char *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0)
Process a data set (TDSet) using the specified selector (.C) file or Tselector object Entry- or event...
virtual Bool_t ExistsDataSet(const char *dataset)
Returns kTRUE if 'dataset' exists, kFALSE otherwise.
void AddInput(TObject *obj)
Add objects that might be needed during the processing of the selector (see Process()).
TList * GetInputList()
Get input list.
const char * GetMaster() const
Int_t EnablePackage(const char *package, Bool_t notOnClient=kFALSE, TList *workers=0)
Enable specified package.
static const TString & GetEtcDir()
Get the sysconfig directory in the installation. Static utility function.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.