Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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 
28 class TProofPlayerLite : public TProofPlayerRemote {
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);
48  Long64_t Finalize(TQueryResult *qr)
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