Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
30protected:
31 Bool_t HandleTimer(TTimer *timer) override;
32
33 Int_t MakeSelector(const char *selfile);
34 void SetupFeedback() override;
35
36public:
38
39 ~TProofPlayerLite() override { } // 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) override;
44 Long64_t Process(TDSet *set, TSelector *selector,
45 Option_t *option = "", Long64_t nentries = -1,
46 Long64_t firstentry = 0) override;
47 Long64_t Finalize(Bool_t force = kFALSE, Bool_t sync = kFALSE) override;
49 { return TProofPlayerRemote::Finalize(qr); }
50
51 void StoreFeedback(TObject *slave, TList *out) override; // Adopts the list
52
53 ClassDefOverride(TProofPlayerLite,0) // PROOF player running in PROOF-Lite
54};
55
56#endif
bool Bool_t
Definition RtypesCore.h:63
constexpr Bool_t kFALSE
Definition RtypesCore.h:94
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
int nentries
This class implements a data set to be used for PROOF processing.
Definition TDSet.h:153
A doubly linked list.
Definition TList.h:38
Mother of all ROOT objects.
Definition TObject.h:41
Version of TProofPlayerRemote merges the functionality needed by clients and masters.
void StoreFeedback(TObject *slave, TList *out) override
Store feedback results from the specified slave.
TProofPlayerLite(TProof *proof=0)
Long64_t Process(TDSet *set, const char *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) override
Process specified TDSet on PROOF.
void SetupFeedback() override
Setup reporting of feedback objects.
~TProofPlayerLite() override
Long64_t Finalize(TQueryResult *qr) override
Finalize query (may not be used in this class).
Bool_t HandleTimer(TTimer *timer) override
Send feedback objects to client.
Long64_t Finalize(Bool_t force=kFALSE, Bool_t sync=kFALSE) override
Finalize a query.
Int_t MakeSelector(const char *selfile)
Create the selector object and save the relevant files and binary information in the cache so that th...
Long64_t Finalize(Bool_t force=kFALSE, Bool_t sync=kFALSE) override
Finalize query (may not be used in this class).
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition TProof.h:316
A container class for query results.
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition TSelector.h:31
Handles synchronous and a-synchronous timer events.
Definition TTimer.h:51