Logo ROOT   6.14/05
Reference Guide
TProofPlayerLite.h
Go to the documentation of this file.
1 // @(#)root/proofplayer:$Id$
2 // Author: G. Ganis Mar 2008
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2001, 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_TProofPlayerLite
13 #define ROOT_TProofPlayerLite
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TProofPlayerLite //
19 // //
20 // This version of TProofPlayerRemote merges the functionality needed //
21 // by clients and masters. It is used in optmized local sessions. //
22 // //
23 //////////////////////////////////////////////////////////////////////////
24 
25 #include "TProofPlayer.h"
26 
27 
29 
30 protected:
31  Bool_t HandleTimer(TTimer *timer);
32 
33  Int_t MakeSelector(const char *selfile);
34  void SetupFeedback();
35 
36 public:
37  TProofPlayerLite(TProof *proof = 0) : TProofPlayerRemote(proof) { }
38 
39  virtual ~TProofPlayerLite() { } // Owns the fOutput list
40 
41  Long64_t Process(TDSet *set, const char *selector,
42  Option_t *option = "", Long64_t nentries = -1,
43  Long64_t firstentry = 0);
44  Long64_t Process(TDSet *set, TSelector *selector,
45  Option_t *option = "", Long64_t nentries = -1,
46  Long64_t firstentry = 0);
47  Long64_t Finalize(Bool_t force = kFALSE, Bool_t sync = kFALSE);
49  { return TProofPlayerRemote::Finalize(qr); }
50 
51  void StoreFeedback(TObject *slave, TList *out); // Adopts the list
52 
53  ClassDef(TProofPlayerLite,0) // PROOF player running in PROOF-Lite
54 };
55 
56 #endif
virtual ~TProofPlayerLite()
long long Long64_t
Definition: RtypesCore.h:69
const char Option_t
Definition: RtypesCore.h:62
void SetupFeedback()
Setup reporting of feedback objects.
This class implements a data set to be used for PROOF processing.
Definition: TDSet.h:153
virtual Long64_t Finalize(Bool_t force=kFALSE, Bool_t sync=kFALSE)
Finalize query (may not be used in this class).
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
Long64_t Process(TDSet *set, const char *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0)
Process specified TDSet on PROOF.
Long64_t Finalize(Bool_t force=kFALSE, Bool_t sync=kFALSE)
Finalize a query.
#define ClassDef(name, id)
Definition: Rtypes.h:320
Long64_t Finalize(TQueryResult *qr)
Finalize the results of a query already processed.
Int_t MakeSelector(const char *selfile)
Create the selector object and save the relevant files and binary information in the cache so that th...
Version of TProofPlayerRemote merges the functionality needed by clients and masters.
A container class for query results.
Definition: TQueryResult.h:36
A doubly linked list.
Definition: TList.h:44
Bool_t HandleTimer(TTimer *timer)
Send feedback objects to client.
Handles synchronous and a-synchronous timer events.
Definition: TTimer.h:51
TProofPlayerLite(TProof *proof=0)
void StoreFeedback(TObject *slave, TList *out)
Store feedback results from the specified slave.
const Bool_t kFALSE
Definition: RtypesCore.h:88
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:316
int nentries
Definition: THbookFile.cxx:89
Mother of all ROOT objects.
Definition: TObject.h:37
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition: TSelector.h:33