ROOT  6.06/09
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 #ifndef ROOT_TProofPlayer
26 #include "TProofPlayer.h"
27 #endif
28 
29 
31 
32 protected:
34 
35  Int_t MakeSelector(const char *selfile);
36  void SetupFeedback();
37 
38 public:
40 
41  virtual ~TProofPlayerLite() { } // Owns the fOutput list
42 
43  Long64_t Process(TDSet *set, const char *selector,
44  Option_t *option = "", Long64_t nentries = -1,
45  Long64_t firstentry = 0);
46  Long64_t Process(TDSet *set, TSelector *selector,
47  Option_t *option = "", Long64_t nentries = -1,
48  Long64_t firstentry = 0);
49  Long64_t Finalize(Bool_t force = kFALSE, Bool_t sync = kFALSE);
51  { return TProofPlayerRemote::Finalize(qr); }
52 
53  void StoreFeedback(TObject *slave, TList *out); // Adopts the list
54 
55  ClassDef(TProofPlayerLite,0) // PROOF player running in PROOF-Lite
56 };
57 
58 #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.
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
const Bool_t kFALSE
Definition: Rtypes.h:92
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.
TStopwatch timer
Definition: pirndm.C:37
#define ClassDef(name, id)
Definition: Rtypes.h:254
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...
A container class for query results.
Definition: TQueryResult.h:44
char * out
Definition: TBase64.cxx:29
A doubly linked list.
Definition: TList.h:47
Bool_t HandleTimer(TTimer *timer)
Send feedback objects to client.
Handles synchronous and a-synchronous timer events.
Definition: TTimer.h:57
TProofPlayerLite(TProof *proof=0)
void StoreFeedback(TObject *slave, TList *out)
Store feedback results from the specified slave.
Definition: TProof.h:339
int nentries
Definition: THbookFile.cxx:89
Mother of all ROOT objects.
Definition: TObject.h:58
const char Int_t const char TProof * proof
Definition: TXSlave.cxx:46
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition: TSelector.h:39