ROOT 6.08/07 Reference Guide |
Implementation of TProof controlling PROOF federated clusters.
Definition at line 37 of file TProofSuperMaster.h.
Public Member Functions | |
TProofSuperMaster (const char *masterurl, const char *conffile=kPROOF_ConfFile, const char *confdir=kPROOF_ConfDir, Int_t loglevel=0, const char *alias=0, TProofMgr *mgr=0) | |
Start super master PROOF session. More... | |
virtual | ~TProofSuperMaster () |
Long64_t | Process (TDSet *set, 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. More... | |
Long64_t | Process (TFileCollection *fc, const char *sel, Option_t *o="", Long64_t nent=-1, Long64_t fst=0) |
Process a data set (TFileCollection) using the specified selector (.C) file or TSelector object. More... | |
Long64_t | Process (const char *dsname, const char *sel, Option_t *o="", Long64_t nent=-1, Long64_t fst=0, TObject *enl=0) |
Process a dataset which is stored on the master with name 'dsetname'. More... | |
Long64_t | Process (const char *sel, Long64_t nent, Option_t *o="") |
Generic (non-data based) selector processing: the Process() method of the specified selector (.C) or TSelector object is called 'n' times. More... | |
Long64_t | Process (TDSet *set, TSelector *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) |
Process a data set (TDSet) using the specified selector object. More... | |
Long64_t | Process (TFileCollection *fc, TSelector *sel, Option_t *o="", Long64_t nent=-1, Long64_t fst=0) |
Process a data set (TFileCollection) using the specified selector object The default tree is analyzed (i.e. More... | |
Long64_t | Process (const char *dsname, TSelector *sel, Option_t *o="", Long64_t nent=-1, Long64_t fst=0, TObject *enl=0) |
Process with name of dataset and TSelector object. More... | |
Long64_t | Process (TSelector *sel, Long64_t nent, Option_t *o="") |
Generic (non-data based) selector processing: the Process() method of the specified selector is called 'n' times. More... | |
Public Member Functions inherited from TProof | |
TProof (const char *masterurl, const char *conffile=kPROOF_ConfFile, const char *confdir=kPROOF_ConfDir, Int_t loglevel=0, const char *alias=0, TProofMgr *mgr=0) | |
Create a PROOF environment. More... | |
virtual | ~TProof () |
Clean up PROOF environment. More... | |
Int_t | ActivateWorker (const char *ord, Bool_t save=kTRUE) |
Make sure that the worker identified by the ordinal number 'ord' is in the active list. More... | |
void | AddChain (TChain *chain) |
Add chain to data set. More... | |
Int_t | AddDynamicPath (const char *libpath, Bool_t onClient=kFALSE, TList *wrks=0, Bool_t doCollect=kTRUE) |
Add 'libpath' to the lib path search. More... | |
void | AddFeedback (const char *name) |
Add object to feedback list. More... | |
Int_t | AddIncludePath (const char *incpath, Bool_t onClient=kFALSE, TList *wrks=0, Bool_t doCollect=kTRUE) |
Add 'incpath' to the inc path search. More... | |
void | AddInput (TObject *obj) |
Add objects that might be needed during the processing of the selector (see Process()). More... | |
void | AddInputData (TObject *obj, Bool_t push=kFALSE) |
Add data objects that might be needed during the processing of the selector (see Process()). More... | |
Int_t | Archive (Int_t query, const char *url) |
Send archive request for the qry-th query in fQueries. More... | |
Int_t | Archive (const char *queryref, const char *url=0) |
Send archive request for the query specified by ref. More... | |
void | Browse (TBrowser *b) |
Build the PROOF's structure in the browser. More... | |
virtual Bool_t | CancelStagingDataSet (const char *dataset) |
Cancels a dataset staging request. More... | |
void | cd (Int_t id=-1) |
Set session with 'id' the default one. More... | |
Int_t | CleanupSession (const char *sessiontag) |
Send cleanup request for the session specified by tag. More... | |
virtual void | ClearCache (const char *file=0) |
Remove file from all file caches. More... | |
void | ClearData (UInt_t what=kUnregistered, const char *dsname=0) |
Remove files for the data directory. More... | |
virtual void | ClearDataSetCache (const char *dataset=0) |
Clear the content of the dataset cache, if any (matching 'dataset', if defined). More... | |
void | ClearFeedback () |
Clear feedback list. More... | |
void | ClearInput () |
Clear input object list. More... | |
void | ClearInputData (TObject *obj=0) |
Remove obj form the input data list; if obj is null (default), clear the input data info. More... | |
void | ClearInputData (const char *name) |
Remove obj 'name' form the input data list;. More... | |
Int_t | ClearPackage (const char *package) |
Remove a specific package. More... | |
Int_t | ClearPackages () |
Remove all packages. More... | |
void | Close (Option_t *option="") |
Close all open slave servers. More... | |
void | CloseProgressDialog () |
Close progress dialog. More... | |
TDrawFeedback * | CreateDrawFeedback () |
Draw feedback creation proxy. More... | |
void | DataSetStatus (const char *msg, Bool_t status, Int_t done, Int_t total) |
Send dataset preparation status. More... | |
Int_t | DeactivateWorker (const char *ord, Bool_t save=kTRUE) |
Remove the worker identified by the ordinal number 'ord' from the the active list. More... | |
void | DeleteDrawFeedback (TDrawFeedback *f) |
Delete draw feedback object. More... | |
void | DeleteParameters (const char *wildcard) |
Delete the input list parameters specified by a wildcard (e.g. More... | |
void | Detach (Option_t *opt="") |
Detach this instance to its proofserv. More... | |
void | DisableGoAsyn () |
Signal to disable related switches. More... | |
Int_t | DownloadPackage (const char *par, const char *dstdir=0) |
Download a PROOF archive (PAR file) from the master package repository. More... | |
virtual Long64_t | DrawSelect (TDSet *dset, const char *varexp, const char *selection="", Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) |
Execute the specified drawing action on a data set (TDSet). More... | |
Long64_t | DrawSelect (const char *dsetname, const char *varexp, const char *selection="", Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0, TObject *enl=0) |
Execute the specified drawing action on a data set which is stored on the master with name 'dsetname'. More... | |
virtual Int_t | Echo (const TObject *obj) |
Sends an object to master and workers and expect them to send back a message with the output of its TObject::Print(). More... | |
virtual Int_t | Echo (const char *str) |
Sends a string to master and workers and expect them to echo it back to the client via a message. More... | |
Int_t | EnablePackage (const char *package, Bool_t notOnClient=kFALSE, TList *workers=0) |
Enable specified package. More... | |
Int_t | EnablePackage (const char *package, const char *loadopts, Bool_t notOnClient=kFALSE, TList *workers=0) |
Enable specified package. More... | |
Int_t | EnablePackage (const char *package, TList *loadopts, Bool_t notOnClient=kFALSE, TList *workers=0) |
Enable specified package. More... | |
Int_t | Exec (const char *cmd, Bool_t plusMaster=kFALSE) |
Send command to be executed on the PROOF master and/or slaves. More... | |
Int_t | Exec (const char *cmd, const char *ord, Bool_t logtomacro=kFALSE) |
Send command to be executed on node of ordinal 'ord' (use "0" for master). More... | |
virtual Bool_t | ExistsDataSet (const char *dataset) |
Returns kTRUE if 'dataset' exists, kFALSE otherwise. More... | |
void | Feedback (TList *objs) |
Get list of feedback objects. More... | |
Long64_t | Finalize (Int_t query=-1, Bool_t force=kFALSE) |
Finalize the qry-th query in fQueries. More... | |
Long64_t | Finalize (const char *queryref, Bool_t force=kFALSE) |
Finalize query with reference ref. More... | |
TList * | FindDataSets (const char *searchString, const char *optStr="") |
Find datasets, returns in a TList all found datasets. More... | |
Long64_t | GetBytesRead () const |
Int_t | GetClientProtocol () const |
const char * | GetConfDir () const |
const char * | GetConfFile () const |
Float_t | GetCpuTime () const |
const char * | GetDataPoolUrl () const |
virtual TFileCollection * | GetDataSet (const char *dataset, const char *optStr="") |
Get a list of TFileInfo objects describing the files of the specified dataset. More... | |
TMap * | GetDataSetQuota (const char *optStr="") |
returns a map of the quotas of all groups More... | |
virtual TMap * | GetDataSets (const char *uri="", const char *optStr="") |
Lists all datasets that match given uri. More... | |
TString | Getenv (const char *env, const char *ord="0") |
Get value of environment variable 'env' on node 'ord'. More... | |
TList * | GetFeedbackList () const |
Return feedback list. More... | |
const char * | GetGroup () const |
const char * | GetImage () const |
TList * | GetInputList () |
Get input list. More... | |
TMacro * | GetLastLog () |
Fill a TMacro with the log lines since the last reading (fLogFileR) Return (TMacro *)0 if no line was logged. More... | |
TList * | GetListOfEnabledPackages () |
Get from the master the list of names of the packages enabled. More... | |
TList * | GetListOfPackages () |
Get from the master the list of names of the packages available. More... | |
virtual TList * | GetListOfQueries (Option_t *opt="") |
Ask the master for the list of queries. More... | |
TList * | GetListOfSlaveInfos () |
Returns list of TSlaveInfo's. In case of error return 0. More... | |
TList * | GetLoadedMacros () const |
void | GetLog (Int_t start=-1, Int_t end=-1) |
Ask for remote logs in the range [start, end]. More... | |
Int_t | GetLogLevel () const |
TMacro * | GetMacroLog () |
TProofMgr * | GetManager () |
const char * | GetMaster () const |
void | GetMaxQueries () |
Get max number of queries whose full results are kept in the remote sandbox. More... | |
TFileCollection * | GetMissingFiles (TQueryResult *qr=0) |
Get a TFileCollection with the files missing in the query described by 'qr' or the last query if qr is null (default). More... | |
Int_t | GetNumberOfDrawQueries () |
Int_t | GetNumberOfQueries () |
Number of queries processed by this session. More... | |
TObject * | GetOutput (const char *name) |
Get specified object that has been produced during the processing (see Process()). More... | |
TList * | GetOutputList () |
Get list with all object created during processing (see Process()). More... | |
TList * | GetOutputNames () |
FIXME: to be written. More... | |
Int_t | GetParallel () const |
Returns number of slaves active in parallel mode. More... | |
TObject * | GetParameter (const char *par) const |
Get specified parameter. More... | |
Int_t | GetPort () const |
EQueryMode | GetQueryMode (Option_t *mode=0) const |
Find out the query mode based on the current setting and 'mode'. More... | |
TQueryResult * | GetQueryResult (const char *ref=0) |
Return pointer to the full TQueryResult instance owned by the player and referenced by 'ref'. More... | |
TList * | GetQueryResults () |
Return pointer to the list of query results in the player. More... | |
Int_t | GetRC (const char *RCenv, Int_t &env, const char *ord="0") |
Get into 'env' the value of integer RC env variable 'rcenv' on node 'ord'. More... | |
Int_t | GetRC (const char *RCenv, Double_t &env, const char *ord="0") |
Get into 'env' the value of double RC env variable 'rcenv' on node 'ord'. More... | |
Int_t | GetRC (const char *RCenv, TString &env, const char *ord="0") |
Get into 'env' the value of string RC env variable 'rcenv' on node 'ord'. More... | |
Float_t | GetRealTime () const |
Int_t | GetRemoteProtocol () const |
ERunStatus | GetRunStatus () const |
Int_t | GetSeqNum () const |
Int_t | GetSessionID () const |
const char * | GetSessionTag () const |
virtual TFileCollection * | GetStagingStatusDataSet (const char *dataset) |
Obtains a TFileCollection showing the staging status of the specified dataset. More... | |
void | GetStatistics (Bool_t verbose=kFALSE) |
Get statistics about CPU time, real time and bytes read. More... | |
Int_t | GetStatus () const |
virtual TTree * | GetTreeHeader (TDSet *tdset) |
Creates a tree header (a tree with nonexisting files) object for the DataSet. More... | |
const char * | GetUrl () |
const char * | GetUser () const |
const char * | GetWorkDir () const |
void | GoAsynchronous () |
Send GOASYNC message to the master. More... | |
Bool_t | IsDataReady (Long64_t &totalbytes, Long64_t &bytesready) |
See if the data is ready to be analyzed. More... | |
Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
Bool_t | IsIdle () const |
Bool_t | IsLite () const |
Bool_t | IsMaster () const |
Bool_t | IsParallel () const |
Bool_t | IsProofd () const |
Bool_t | IsTty () const |
Bool_t | IsValid () const |
Bool_t | IsWaiting () const |
virtual Int_t | Load (const char *macro, Bool_t notOnClient=kFALSE, Bool_t uniqueOnly=kTRUE, TList *wrks=0) |
Load the specified macro on master, workers and, if notOnClient is kFALSE, on the client. More... | |
void | LogMessage (const char *msg, Bool_t all) |
Log a message into the appropriate window by emitting a signal. More... | |
Int_t | Ping () |
Ping PROOF. Returns 1 if master server responded. More... | |
virtual void | Print (Option_t *option="") const |
Print status of PROOF cluster. More... | |
void | Progress (Long64_t total, Long64_t processed) |
Get query progress information. More... | |
void | Progress (Long64_t total, Long64_t processed, Long64_t bytesread, Float_t initTime, Float_t procTime, Float_t evtrti, Float_t mbrti) |
Get query progress information. More... | |
void | Progress (Long64_t total, Long64_t processed, Long64_t bytesread, Float_t initTime, Float_t procTime, Float_t evtrti, Float_t mbrti, Int_t actw, Int_t tses, Float_t eses) |
Get query progress information. More... | |
void | PutLog (TQueryResult *qr) |
Display log of query pq into the log window frame. More... | |
void | QueryResultReady (const char *ref) |
Notify availability of a query result. More... | |
virtual Bool_t | RegisterDataSet (const char *name, TFileCollection *dataset, const char *optStr="") |
Register the 'dataSet' on the cluster under the current user, group and the given 'dataSetName'. More... | |
Int_t | Remove (Int_t query, Bool_t all=kFALSE) |
Send remove request for the qry-th query in fQueries. More... | |
Int_t | Remove (const char *queryref, Bool_t all=kFALSE) |
Send remove request for the query specified by ref. More... | |
void | RemoveChain (TChain *chain) |
Remove chain from data set. More... | |
virtual Int_t | RemoveDataSet (const char *dataset, const char *optStr="") |
Remove the specified dataset from the PROOF cluster. More... | |
Int_t | RemoveDynamicPath (const char *libpath, Bool_t onClient=kFALSE) |
Remove 'libpath' from the lib path search. More... | |
void | RemoveFeedback (const char *name) |
Remove object from feedback list. More... | |
Int_t | RemoveIncludePath (const char *incpath, Bool_t onClient=kFALSE) |
Remove 'incpath' from the inc path search. More... | |
virtual Bool_t | RequestStagingDataSet (const char *dataset) |
Allows users to request staging of a particular dataset. More... | |
void | ResetProgressDialog (const char *sel, Int_t sz, Long64_t fst, Long64_t ent) |
Reset progress dialog. More... | |
void | ResetProgressDialogStatus () |
Int_t | Retrieve (Int_t query, const char *path=0) |
Send retrieve request for the qry-th query in fQueries. More... | |
Int_t | Retrieve (const char *queryref, const char *path=0) |
Send retrieve request for the query specified by ref. More... | |
Int_t | SavePerfTree (const char *pf=0, const char *qref=0) |
Save performance information from TPerfStats to file 'pf'. More... | |
void | SendDataSetStatus (const char *msg, UInt_t n, UInt_t tot, Bool_t st) |
Send or notify data set status. More... | |
Bool_t | SendingLogToWindow () const |
void | SendLogToWindow (Bool_t mode) |
void | SetActive (Bool_t=kTRUE) |
virtual void | SetAlias (const char *alias="") |
Set an alias for this session. More... | |
void | SetDataPoolUrl (const char *url) |
virtual Int_t | SetDataSetTreeName (const char *dataset, const char *treename) |
Set/Change the name of the default tree. More... | |
void | SetDrawFeedbackOption (TDrawFeedback *f, Option_t *opt) |
Set draw feedback option. More... | |
void | SetInputDataFile (const char *datafile) |
Set the file to be used to optimally distribute the input data objects. More... | |
void | SetLogLevel (Int_t level, UInt_t mask=TProofDebug::kAll) |
Set server logging level. More... | |
void | SetManager (TProofMgr *mgr) |
Set manager and schedule its destruction after this for clean operations. More... | |
void | SetMaxDrawQueries (Int_t max) |
Set max number of draw queries whose results are saved. More... | |
Int_t | SetParallel (Int_t nodes=-1, Bool_t random=kFALSE) |
Tell PROOF how many slaves to use in parallel. More... | |
void | SetParameter (const char *par, const char *value) |
Set input list parameter. More... | |
void | SetParameter (const char *par, Int_t value) |
Set an input list parameter. More... | |
void | SetParameter (const char *par, Long_t value) |
Set an input list parameter. More... | |
void | SetParameter (const char *par, Long64_t value) |
Set an input list parameter. More... | |
void | SetParameter (const char *par, Double_t value) |
Set an input list parameter. More... | |
void | SetPerfTree (const char *pf="perftree.root", Bool_t withWrks=kFALSE) |
Enable/Disable saving of the performance tree. More... | |
void | SetPrintProgress (PrintProgress_t pp) |
void | SetProgressDialog (Bool_t on=kTRUE) |
Enable/Disable the graphic progress dialog. More... | |
void | SetQueryMode (EQueryMode mode) |
Change query running mode to the one specified by 'mode'. More... | |
void | SetRealTimeLog (Bool_t on=kTRUE) |
Switch ON/OFF the real-time logging facility. More... | |
virtual void | ShowCache (Bool_t all=kFALSE) |
List contents of file cache. More... | |
virtual void | ShowData () |
List contents of the data directory in the sandbox. More... | |
void | ShowDataSet (const char *dataset="", const char *opt="filter:SsCc") |
display meta-info for given dataset usi More... | |
virtual void | ShowDataSetCache (const char *dataset=0) |
Display the content of the dataset cache, if any (matching 'dataset', if defined). More... | |
void | ShowDataSetQuota (Option_t *opt=0) |
shows the quota and usage of all groups if opt contains "U" shows also distribution of usage on user-level More... | |
virtual void | ShowDataSets (const char *uri="", const char *optStr="") |
Shows datasets in locations that match the uri. More... | |
void | ShowEnabledPackages (Bool_t all=kFALSE) |
List which packages are enabled. More... | |
void | ShowFeedback () const |
Show items in feedback list. More... | |
void | ShowLog (Int_t qry=-1) |
Display on screen the content of the temporary log file. More... | |
void | ShowLog (const char *queryref) |
Display on screen the content of the temporary log file for query in reference. More... | |
void | ShowMissingFiles (TQueryResult *qr=0) |
Show information about missing files during query described by 'qr' or the last query if qr is null (default). More... | |
void | ShowPackages (Bool_t all=kFALSE, Bool_t redirlog=kFALSE) |
List contents of package directory. More... | |
void | ShowParameters (const char *wildcard="PROOF_*") const |
Show the input list parameters specified by the wildcard. More... | |
void | ShowQueries (Option_t *opt="") |
Ask the master for the list of queries. More... | |
virtual void | ShowStagingStatusDataSet (const char *dataset, const char *optStr="filter:SsCc") |
Like GetStagingStatusDataSet, but displays results immediately. More... | |
void | StartupMessage (const char *msg, Bool_t status, Int_t done, Int_t total) |
Send startup message. More... | |
void | StopProcess (Bool_t abort, Int_t timeout=-1) |
Send STOPPROCESS message to master and workers. More... | |
void | Touch () |
Ping PROOF slaves. Returns the number of slaves that responded. More... | |
Int_t | UploadDataSet (const char *, TList *, const char *=0, Int_t=0, TList *=0) |
*** This function is deprecated and will disappear in future versions *** *** It is just a wrapper around TFile::Cp. More... | |
Int_t | UploadDataSet (const char *, const char *, const char *=0, Int_t=0, TList *=0) |
*** This function is deprecated and will disappear in future versions *** *** It is just a wrapper around TFile::Cp. More... | |
Int_t | UploadDataSetFromFile (const char *, const char *, const char *=0, Int_t=0, TList *=0) |
*** This function is deprecated and will disappear in future versions *** *** It is just a wrapper around TFile::Cp. More... | |
Int_t | UploadPackage (const char *par, EUploadPackageOpt opt=kUntar, TList *workers=0) |
Upload a PROOF archive (PAR file). More... | |
Bool_t | UseDynamicStartup () const |
virtual Int_t | VerifyDataSet (const char *dataset, const char *optStr="") |
Verify if all files in the specified dataset are available. More... | |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TString &name, const TString &title) | |
TNamed (const TNamed &named) | |
TNamed copy ctor. More... | |
virtual | ~TNamed () |
virtual void | Clear (Option_t *option="") |
Set name and title to empty strings (""). More... | |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare two TNamed objects. More... | |
virtual void | Copy (TObject &named) const |
Copy this to obj. More... | |
virtual void | FillBuffer (char *&buffer) |
Encode TNamed into output buffer. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | IsSortable () const |
virtual void | ls (Option_t *option="") const |
List TNamed name and title. More... | |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. More... | |
virtual void | SetName (const char *name) |
Set the name of the TNamed. More... | |
virtual void | SetNameTitle (const char *name, const char *title) |
Set all the TNamed parameters (name and title). More... | |
virtual void | SetTitle (const char *title="") |
Set the title of the TNamed. More... | |
virtual Int_t | Sizeof () const |
Return size of the TNamed part of the TObject. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject constructor. More... | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
Public Member Functions inherited from TQObject | |
TQObject () | |
TQObject Constructor. More... | |
virtual | ~TQObject () |
TQObject Destructor. More... | |
Bool_t | AreSignalsBlocked () const |
Bool_t | BlockSignals (Bool_t b) |
virtual void | ChangedBy (const char *method) |
void | CollectClassSignalLists (TList &list, TClass *cls) |
Collect class signal lists from class cls and all its base-classes. More... | |
Bool_t | Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot) |
Non-static method is used to connect from the signal of this object to the receiver slot. More... | |
virtual void | Connected (const char *) |
virtual void | Destroyed () |
Bool_t | Disconnect (const char *signal=0, void *receiver=0, const char *slot=0) |
Disconnects signal of this object from slot of receiver. More... | |
virtual void | Disconnected (const char *) |
void | Emit (const char *signal) |
Acitvate signal without args. More... | |
void | Emit (const char *signal, Long_t *paramArr) |
Emit a signal with a varying number of arguments, paramArr is an array of the parameters. More... | |
void | Emit (const char *signal, const char *params) |
Activate signal with parameter text string. More... | |
void | Emit (const char *signal, Double_t param) |
Activate signal with single parameter. More... | |
void | Emit (const char *signal, Long_t param) |
Activate signal with single parameter. More... | |
void | Emit (const char *signal, Long64_t param) |
Activate signal with single parameter. More... | |
void | Emit (const char *signal, Bool_t param) |
void | Emit (const char *signal, Char_t param) |
void | Emit (const char *signal, UChar_t param) |
void | Emit (const char *signal, Short_t param) |
void | Emit (const char *signal, UShort_t param) |
void | Emit (const char *signal, Int_t param) |
void | Emit (const char *signal, UInt_t param) |
void | Emit (const char *signal, ULong_t param) |
void | Emit (const char *signal, ULong64_t param) |
void | Emit (const char *signal, Float_t param) |
template<typename... T> | |
void | EmitVA (const char *signal_name, Int_t, const T &... params) |
void | EmitVA (const char *signal, Int_t nargs, va_list va)=delete |
TList * | GetListOfClassSignals () const |
Returns pointer to list of signals of this class. More... | |
TList * | GetListOfConnections () const |
TList * | GetListOfSignals () const |
virtual Bool_t | HasConnection (const char *signal_name) const |
Return true if there is any object connected to this signal. More... | |
virtual void | HighPriority (const char *signal_name, const char *slot_name=0) |
virtual void | LowPriority (const char *signal_name, const char *slot_name=0) |
virtual void | Message (const char *msg) |
virtual Int_t | NumberOfConnections () const |
Return number of connections for this object. More... | |
virtual Int_t | NumberOfSignals () const |
Return number of signals for this object. More... | |
Protected Member Functions | |
virtual TVirtualProofPlayer * | MakePlayer (const char *player=0, TSocket *s=0) |
Construct a TProofPlayer object. More... | |
Bool_t | StartSlaves (Bool_t) |
Start up PROOF submasters. More... | |
void | ValidateDSet (TDSet *dset) |
Validate a TDSet. More... | |
Protected Member Functions inherited from TProof | |
TProof () | |
Protected constructor to be used by classes deriving from TProof (they have to call Init themselves and override StartSlaves appropriately). More... | |
Int_t | AddWorkers (TList *wrks) |
Works on the master node only. More... | |
Int_t | AssertPath (const char *path, Bool_t writable) |
Make sure that 'path' exists; if 'writable' is kTRUE, make also sure that the path is writable. More... | |
Int_t | Collect (ESlaves list=kActive, Long_t timeout=-1, Int_t endtype=-1, Bool_t deactonfail=kFALSE) |
Collect responses from the slave servers. More... | |
Int_t | Collect (TList *slaves, Long_t timeout=-1, Int_t endtype=-1, Bool_t deactonfail=kFALSE) |
Collect responses from the slave servers. More... | |
TSlave * | CreateSlave (const char *url, const char *ord, Int_t perf, const char *image, const char *workdir) |
Create a new TSlave of type TSlave::kSlave. More... | |
TSlave * | CreateSubmaster (const char *url, const char *ord, const char *image, const char *msd, Int_t nwk=1) |
Create a new TSlave of type TSlave::kMaster. More... | |
TList * | GetEnabledPackages () const |
TList * | GetListOfActiveSlaves () const |
TVirtualProofPlayer * | GetPlayer () const |
TPluginHandler * | GetProgressDialog () const |
Int_t | GetSandbox (TString &sb, Bool_t assert=kFALSE, const char *rc=0) |
Set the sandbox path from ' Proof.Sandbox' or the alternative var 'rc'. More... | |
void | HandleLibIncPath (const char *what, Bool_t add, const char *dirs) |
Handle lib, inc search paths modification request. More... | |
Int_t | HandleOutputOptions (TString &opt, TString &target, Int_t action) |
Extract from opt information about output handling settings. More... | |
Int_t | Init (const char *masterurl, const char *conffile, const char *confdir, Int_t loglevel, const char *alias=0) |
Start the PROOF environment. More... | |
void | InitMembers () |
Default initializations. More... | |
virtual Int_t | PollForNewWorkers () |
Asks the PROOF Serv for new workers in Dynamic Startup mode and activates them. More... | |
void | PrepareInputDataFile (TString &dataFile) |
Prepare the file with the input data objects to be sent the master; the objects are taken from the dedicated list and / or the specified file. More... | |
Int_t | RemoveWorkers (TList *wrks) |
Used for shuting down the workres after a query is finished. More... | |
virtual void | SaveWorkerInfo () |
Save information about the worker set in the file .workers in the working dir. More... | |
Int_t | SendFile (const char *file, Int_t opt=(kBinary|kForward|kCp|kCpBin), const char *rfile=0, TSlave *sl=0) |
Send a file to master or slave servers. More... | |
virtual void | SendInputDataFile () |
Send the input data objects to the master; the objects are taken from the dedicated list and / or the specified file. More... | |
void | SetDSet (TDSet *dset) |
void | SetFeedback (TString &opt, TString &optfb, Int_t action) |
Extract from opt in optfb information about wanted feedback settings. More... | |
void | SetPlayer (TVirtualProofPlayer *player) |
Set a new PROOF player. More... | |
void | SetupWorkersEnv (TList *wrks, Bool_t increasingpool=kFALSE) |
Set up packages, loaded macros, include and lib paths ... More... | |
void | UpdateDialog () |
Final update of the progress dialog. More... | |
Int_t | VerifyDataSetParallel (const char *uri, const char *optStr) |
Internal function for parallel dataset verification used TProof::VerifyDataSet and TProofLite::VerifyDataSet. More... | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
void | MakeZombie () |
Protected Member Functions inherited from TQObject | |
virtual void * | GetSender () |
virtual const char * | GetSenderClassName () const |
Friends | |
class | TProofPlayerSuperMaster |
Additional Inherited Members | |
Public Types inherited from TProof | |
enum | EProofClearData { kPurge = 0x1, kUnregistered = 0x2, kDataset = 0x4, kForceClear = 0x8 } |
enum | EQueryMode { kSync = 0, kAsync = 1 } |
enum | ERegisterOpt { kFailIfExists = 0, kOverwriteIfExists = 1, kMergeIfExists = 2 } |
enum | ERunStatus { kRunning = 0, kStopped = 1, kAborted = 2 } |
enum | EStatusBits { kUsingSessionGui = BIT(14), kNewInputData = BIT(15), kIsClient = BIT(16), kIsMaster = BIT(17), kIsTopMaster = BIT(18), kUseProgressDialog = BIT(19) } |
enum | ESubMerger { kOutputSize = 1, kSendOutput = 2, kBeMerger = 3, kMergerDown = 4, kStopMerging = 5, kOutputSent = 6 } |
enum | EUploadOpt { kAppend = 0x1, kOverwriteDataSet = 0x2, kNoOverwriteDataSet = 0x4, kOverwriteAllFiles = 0x8, kOverwriteNoFiles = 0x10, kAskUser = 0x0 } |
enum | EUploadPackageOpt { kUntar = 0x0, kRemoveOld = 0x1 } |
Public Types inherited from TObject | |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
Static Public Member Functions inherited from TProof | |
static void | AddEnvVar (const char *name, const char *value) |
Add an variable to the list of environment variables passed to proofserv on the master and slaves. More... | |
static void | DelEnvVar (const char *name) |
Remove an variable from the list of environment variables passed to proofserv on the master and slaves. More... | |
static const TList * | GetEnvVars () |
Get environemnt variables. More... | |
static TObject * | GetOutput (const char *name, TList *out) |
Find object 'name' in list 'out' or in the files specified in there. More... | |
static Int_t | GetParameter (TCollection *c, const char *par, TString &value) |
Get the value from the specified parameter from the specified collection. More... | |
static Int_t | GetParameter (TCollection *c, const char *par, Int_t &value) |
Get the value from the specified parameter from the specified collection. More... | |
static Int_t | GetParameter (TCollection *c, const char *par, Long_t &value) |
Get the value from the specified parameter from the specified collection. More... | |
static Int_t | GetParameter (TCollection *c, const char *par, Long64_t &value) |
Get the value from the specified parameter from the specified collection. More... | |
static Int_t | GetParameter (TCollection *c, const char *par, Double_t &value) |
Get the value from the specified parameter from the specified collection. More... | |
static void | LogViewer (const char *url=0, Int_t sessionidx=0) |
Start the log viewer window usign the plugin manager. More... | |
static TProofMgr * | Mgr (const char *url) |
Get instance of the effective manager for 'url' Return 0 on failure. More... | |
static TProof * | Open (const char *url=0, const char *conffile=0, const char *confdir=0, Int_t loglevel=0) |
Start a PROOF session on a specific cluster. More... | |
static void | Reset (const char *url, Bool_t hard=kFALSE) |
Wrapper around TProofMgr::Reset(...). More... | |
static void | ResetEnvVars () |
Clear the list of environment variables passed to proofserv on the master and slaves. More... | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Static Public Member Functions inherited from TQObject | |
static Bool_t | AreAllSignalsBlocked () |
Returns true if all signals are blocked. More... | |
static Bool_t | BlockAllSignals (Bool_t b) |
Block or unblock all signals. Returns the previous block status. More... | |
static Bool_t | Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
Create connection between sender and receiver. More... | |
static Bool_t | Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
This method allows to make a connection from any object of the same class to a single slot. More... | |
static Bool_t | Disconnect (TQObject *sender, const char *signal=0, void *receiver=0, const char *slot=0) |
Disconnects signal in object sender from slot_method in object receiver. More... | |
static Bool_t | Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0) |
Disconnects "class signal". More... | |
Protected Types inherited from TProof | |
enum | ESlaves { kAll, kActive, kUnique, kAllUnique } |
Static Protected Member Functions inherited from TProof | |
static Int_t | AssertDataSet (TDSet *dset, TList *input, TDataSetManager *mgr, TString &emsg) |
Make sure that dataset is in the form to be processed. More... | |
static void | AssertMacroPath (const char *macro) |
Make sure that the directory path contained by macro is in the macro path. More... | |
static Bool_t | GetFileInCmd (const char *cmd, TString &fn) |
Static method to extract the filename (if any) form a CINT command. More... | |
static Int_t | GetInputData (TList *input, const char *cachedir, TString &emsg) |
Get the input data from the file defined in the input list. More... | |
static Int_t | SaveInputData (TQueryResult *qr, const char *cachedir, TString &emsg) |
Save input data file from 'cachedir' into the sandbox or create a the file with input data objects. More... | |
static Int_t | SendInputData (TQueryResult *qr, TProof *p, TString &emsg) |
Send the input data file to the workers. More... | |
static void * | SlaveStartupThread (void *arg) |
static void | SystemCmd (const char *cmd, Int_t fdout) |
Exec system command 'cmd'. If fdout > -1, append the output to fdout. More... | |
Static Protected Member Functions inherited from TQObject | |
static Int_t | CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot) |
Checking of consitency of sender/receiver methods/arguments. More... | |
static TString | CompressName (const char *method_name) |
Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature. More... | |
static Bool_t | ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
Create connection between sender and receiver. More... | |
static Bool_t | ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
This method allows to make connection from any object of the same class to the receiver object. More... | |
Protected Attributes inherited from TProof | |
TMonitor * | fAllMonitor |
TList * | fAvailablePackages |
TList * | fBadSlaves |
Long64_t | fBytesReady |
Int_t | fCollectTimeout |
TString | fConfDir |
TString | fConfFile |
TString | fDataPoolUrl |
Bool_t | fDataReady |
Bool_t | fDynamicStartup |
TList * | fEnabledPackages |
TString | fImage |
TProofMgr * | fManager |
Bool_t | fMasterServ |
Float_t | fPrepTime |
Int_t | fProtocol |
EQueryMode | fQueryMode |
TStopwatch | fQuerySTW |
TList * | fRunningDSets |
TSelector * | fSelector |
TProofMgr::EServType | fServType |
TList * | fSlaves |
TList * | fTerminatedSlaveInfos |
Long64_t | fTotalBytes |
TUrl | fUrl |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Protected Attributes inherited from TQObject | |
TList * | fListOfConnections |
list of signals from this object More... | |
TList * | fListOfSignals |
Bool_t | fSignalsBlocked |
list of connections to this object More... | |
Static Protected Attributes inherited from TQObject | |
static Bool_t | fgAllSignalsBlocked = kFALSE |
flag used for suppression of signals More... | |
#include <TProofSuperMaster.h>
TProofSuperMaster::TProofSuperMaster | ( | const char * | masterurl, |
const char * | conffile = kPROOF_ConfFile , |
||
const char * | confdir = kPROOF_ConfDir , |
||
Int_t | loglevel = 0 , |
||
const char * | alias = 0 , |
||
TProofMgr * | mgr = 0 |
||
) |
Start super master PROOF session.
Definition at line 44 of file TProofSuperMaster.cxx.
|
inlinevirtual |
Definition at line 50 of file TProofSuperMaster.h.
|
protectedvirtual |
Construct a TProofPlayer object.
The player string specifies which player should be created: remote, slave, sm (supermaster) or base. Default is sm. Socket is needed in case a slave player is created.
Reimplemented from TProof.
Definition at line 355 of file TProofSuperMaster.cxx.
|
virtual |
Process a data set (TDSet) using the specified selector (.C) file.
Entry- or event-lists should be set in the data set object using TDSet::SetEntryList. The return value is -1 in case of error and TSelector::GetStatus() in in case of success.
Reimplemented from TProof.
Definition at line 229 of file TProofSuperMaster.cxx.
|
inlinevirtual |
Process a data set (TFileCollection) using the specified selector (.C) file or TSelector object.
The default tree is analyzed (i.e. the first one found). To specify another tree, the default tree can be changed using TFileCollection::SetDefaultMetaData . The return value is -1 in case of error and TSelector::GetStatus() in in case of success.
Reimplemented from TProof.
Definition at line 55 of file TProofSuperMaster.h.
|
inlinevirtual |
Process a dataset which is stored on the master with name 'dsetname'.
The syntax for dsetname is name[#[dir/]objname], e.g. "mydset" analysis of the first tree in the top dir of the dataset named "mydset" "mydset#T" analysis tree "T" in the top dir of the dataset named "mydset" "mydset#adir/T" analysis tree "T" in the dir "adir" of the dataset named "mydset" "mydset#adir/" analysis of the first tree in the dir "adir" of the dataset named "mydset" The component 'name' in its more general form contains also the group and user name following "/<group>/<user>/<dsname>". Each of these components can contain one or more wildcards '*', in which case all the datasets matching the expression are added together as a global dataset (wildcard support has been added in version 5.27/02). The last argument 'elist' specifies an entry- or event-list to be used as event selection. It is also possible (starting w/ version 5.27/02) to run on multiple datasets at once in a more flexible way that the one provided by wildcarding. There are three possibilities: 1) specifying the dataset names separated by the OR operator '|', e.g. dsetname = "<dset1>|<dset2>|<dset3>|..." in this case the datasets are a seen as a global unique dataset 2) specifying the dataset names separated by a ',' or a ' ', e.g. dsetname = "<dset1>,<dset2> <dset3>,..." in this case the datasets are processed one after the other and the selector is notified when switching dataset via a bit in the current processed element. 3) giving the path of a textfile where the dataset names are specified on one or multiple lines; the lines found are joined as in 1), unless the filepath is followed by a ',' (i.e. p->Process("datasets.txt,",...) with the dataset names listed in 'datasets.txt') in which case they are treated as in 2); the file is open in raw mode with TFile::Open and therefore it cane be remote, e.g. on a Web server. Each <dsetj> has the format specified above for the single dataset processing, included wildcarding (the name of the tree and subdirectory must be same for all the datasets). In the case of multiple datasets, 'elist' is treated a global entry list. It is possible to specify per-dataset entry lists using the syntax "mydset[#adir/[T]]?enl=entrylist" or "mydset[#adir/[T]]<<entrylist" Here 'entrylist' is a tag identifying, in the order : i. a named entry-list in the input list or in the input data list ii. a named entry-list in memory (in gDirectory) iii. the path of a file containing the entry-list to be used In the case ii) and iii) the entry-list object(s) is(are) added to the input data list. The return value is -1 in case of error and TSelector::GetStatus() in in case of success.
Reimplemented from TProof.
Definition at line 58 of file TProofSuperMaster.h.
|
inlinevirtual |
Generic (non-data based) selector processing: the Process() method of the specified selector (.C) or TSelector object is called 'n' times.
The return value is -1 in case of error and TSelector::GetStatus() in in case of success.
Reimplemented from TProof.
Definition at line 62 of file TProofSuperMaster.h.
|
inlinevirtual |
Process a data set (TDSet) using the specified selector object.
Entry- or event-lists should be set in the data set object using TDSet::SetEntryList. The return value is -1 in case of error and TSelector::GetStatus() in in case of success.
Reimplemented from TProof.
Definition at line 65 of file TProofSuperMaster.h.
|
inlinevirtual |
Process a data set (TFileCollection) using the specified selector object The default tree is analyzed (i.e.
the first one found). To specify another tree, the default tree can be changed using TFileCollection::SetDefaultMetaData . The return value is -1 in case of error and TSelector::GetStatus() in in case of success.
Reimplemented from TProof.
Definition at line 69 of file TProofSuperMaster.h.
|
inlinevirtual |
Process with name of dataset and TSelector object.
Reimplemented from TProof.
Definition at line 72 of file TProofSuperMaster.h.
|
inlinevirtual |
Generic (non-data based) selector processing: the Process() method of the specified selector is called 'n' times.
The return value is -1 in case of error and TSelector::GetStatus() in in case of success.
Reimplemented from TProof.
Definition at line 76 of file TProofSuperMaster.h.
Start up PROOF submasters.
Reimplemented from TProof.
Definition at line 78 of file TProofSuperMaster.cxx.
|
friend |
Definition at line 39 of file TProofSuperMaster.h.