Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TProofSuperMaster.h
Go to the documentation of this file.
1// @(#)root/proof:$Id$
2// Author: Fons Rademakers 13/02/97
3
4/*************************************************************************
5 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TProofSuperMaster
13#define ROOT_TProofSuperMaster
14
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// TProofSuperMaster //
19// //
20// This class controls a Parallel ROOT Facility, PROOF, cluster. //
21// It fires the slave servers, it keeps track of how many slaves are //
22// running, it keeps track of the slaves running status, it broadcasts //
23// messages to all slaves, it collects results, etc. //
24// //
25//////////////////////////////////////////////////////////////////////////
26
27#include "TProof.h"
28#include "TString.h"
29
31class TDSet;
32
33class TProofSuperMaster : public TProof {
34
36
37protected:
38 Bool_t StartSlaves(Bool_t) override;
39 void ValidateDSet(TDSet *dset) override;
40 TVirtualProofPlayer *MakePlayer(const char *player = 0, TSocket *s = 0) override;
41
42public:
43 TProofSuperMaster(const char *masterurl, const char *conffile = kPROOF_ConfFile,
44 const char *confdir = kPROOF_ConfDir, Int_t loglevel = 0,
45 const char *alias = 0, TProofMgr *mgr = 0);
46 ~TProofSuperMaster() override { }
47
48 Long64_t Process(TDSet *set, const char *selector,
49 Option_t *option = "", Long64_t nentries = -1,
50 Long64_t firstentry = 0) override;
51 Long64_t Process(TFileCollection *fc, const char *sel, Option_t *o = "",
52 Long64_t nent = -1, Long64_t fst = 0) override
53 { return TProof::Process(fc, sel, o, nent, fst); }
54 Long64_t Process(const char *dsname, const char *sel,
55 Option_t *o = "", Long64_t nent = -1,
56 Long64_t fst = 0, TObject *enl = 0) override
57 { return TProof::Process(dsname, sel, o, nent, fst, enl); }
58 Long64_t Process(const char *sel, Long64_t nent, Option_t *o = "") override
59 { return TProof::Process(sel, nent, o); }
60 // Process via TSelector
62 Option_t *option = "", Long64_t nentries = -1,
63 Long64_t firstentry = 0) override
64 { return TProof::Process(set, selector, option, nentries, firstentry); }
66 Long64_t nent = -1, Long64_t fst = 0) override
67 { return TProof::Process(fc, sel, o, nent, fst); }
68 Long64_t Process(const char *dsname, TSelector *sel,
69 Option_t *o = "", Long64_t nent = -1,
70 Long64_t fst = 0, TObject *enl = 0) override
71 { return TProof::Process(dsname, sel, o, nent, fst, enl); }
72 Long64_t Process(TSelector *sel, Long64_t nent, Option_t *o = "") override
73 { return TProof::Process(sel, nent, o); }
74
75 ClassDefOverride(TProofSuperMaster,0) //PROOF control class for making submasters
76};
77
78#endif
long long Long64_t
Definition RtypesCore.h:69
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
Option_t Option_t option
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 sel
int nentries
const char *const kPROOF_ConfFile
Definition TProof.h:122
const char *const kPROOF_ConfDir
Definition TProof.h:123
This class implements a data set to be used for PROOF processing.
Definition TDSet.h:153
Class that contains a list of TFileInfo's and accumulated meta data information about its entries.
Mother of all ROOT objects.
Definition TObject.h:41
The PROOF manager interacts with the PROOF server coordinator to create or destroy a PROOF session,...
Definition TProofMgr.h:43
Implementation of TProof controlling PROOF federated clusters.
Long64_t Process(TFileCollection *fc, TSelector *sel, Option_t *o="", Long64_t nent=-1, Long64_t fst=0) override
Process a data set (TFileCollection) using the specified selector object The default tree is analyzed...
Bool_t StartSlaves(Bool_t) override
Start up PROOF submasters.
Long64_t Process(TDSet *set, const char *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) override
Process a data set (TDSet) using the specified selector (.C) file.
Long64_t Process(const char *dsname, const char *sel, Option_t *o="", Long64_t nent=-1, Long64_t fst=0, TObject *enl=0) override
Process a dataset which is stored on the master with name 'dsetname'.
~TProofSuperMaster() override
Long64_t Process(TSelector *sel, Long64_t nent, Option_t *o="") override
Generic (non-data based) selector processing: the Process() method of the specified selector is calle...
Long64_t Process(const char *sel, Long64_t nent, Option_t *o="") override
Generic (non-data based) selector processing: the Process() method of the specified selector (....
void ValidateDSet(TDSet *dset) override
Validate a TDSet.
Long64_t Process(TFileCollection *fc, const char *sel, Option_t *o="", Long64_t nent=-1, Long64_t fst=0) override
Process a data set (TFileCollection) using the specified selector (.C) file or TSelector object.
Long64_t Process(const char *dsname, TSelector *sel, Option_t *o="", Long64_t nent=-1, Long64_t fst=0, TObject *enl=0) override
Process with name of dataset and TSelector object.
Long64_t Process(TDSet *set, TSelector *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) override
Process a data set (TDSet) using the specified selector object.
TVirtualProofPlayer * MakePlayer(const char *player=0, TSocket *s=0) override
Construct a TProofPlayer object.
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition TProof.h:316
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...
Definition TProof.cxx:5303
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition TSelector.h:31
Abstract interface for the PROOF player.