Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TSelVerifyDataSet.h
Go to the documentation of this file.
1// Author: Sangsu Ryu 28/06/2011
2
3/*************************************************************************
4 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11#ifndef ROOT_TSelVerifyDataSet
12#define ROOT_TSelVerifyDataSet
13
14//////////////////////////////////////////////////////////////////////////
15// //
16// TSelVerifyDataSet //
17// //
18// PROOF selector to parallel-process dataset on workers //
19// //
20//////////////////////////////////////////////////////////////////////////
21
22#include <TSelector.h>
23#include <TString.h>
24
25class TTree;
26class TFileCollection;
27
29
30private:
31
35
36 // File selection, Reopen and Touch options
43
44 // File processing options
49
50 // Run options
54
56
59
64
65 TFileCollection *fSubDataSet; // Sub-dataset being verified
66
67 void InitMembers();
68
69public :
70
73 ~TSelVerifyDataSet() override {}
74 Int_t Version() const override {return 1;}
75 void Begin(TTree *) override { }
76 void SlaveBegin(TTree *tree) override;
77 void Init(TTree *) override { }
78 Bool_t Notify() override { return kTRUE; }
79 Bool_t Process(Long64_t entry) override;
80 void SetOption(const char *option) override { fOption = option; }
81 void SetObject(TObject *obj) override { fObject = obj; }
82 void SetInputList(TList *input) override {fInput = input;}
83 TList *GetOutputList() const override { return fOutput; }
84 void SlaveTerminate() override;
85 void Terminate() override { }
86
87 ClassDefOverride(TSelVerifyDataSet,0) //PROOF selector for parallel dataset verification
88};
89
90#endif
bool Bool_t
Definition RtypesCore.h:63
long long Long64_t
Definition RtypesCore.h:69
constexpr Bool_t kTRUE
Definition RtypesCore.h:93
#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 input
Class that contains a list of TFileInfo's and accumulated meta data information about its entries.
A doubly linked list.
Definition TList.h:38
Mother of all ROOT objects.
Definition TObject.h:41
Selector to verify dataset in parallel on workers.
void SetInputList(TList *input) override
void Begin(TTree *) override
void InitMembers()
Initialize members.
Bool_t Notify() override
This method must be overridden to handle object notification (the base implementation is no-op).
Int_t Version() const override
void SlaveTerminate() override
Worker Terminate.
TSelVerifyDataSet()
Constructor.
void SlaveBegin(TTree *tree) override
Worker Begin.
void SetObject(TObject *obj) override
void Init(TTree *) override
Bool_t Process(Long64_t entry) override
Process a single entry.
void Terminate() override
TFileCollection * fSubDataSet
~TSelVerifyDataSet() override
TList * GetOutputList() const override
void SetOption(const char *option) override
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition TSelector.h:31
TList * fInput
List of objects available during processing.
Definition TSelector.h:41
TString fOption
Option given to TTree::Process.
Definition TSelector.h:39
TSelectorList * fOutput
! List of objects created during processing
Definition TSelector.h:42
TObject * fObject
! Current object if processing object (vs. TTree)
Definition TSelector.h:40
Basic string class.
Definition TString.h:139
A TTree represents a columnar dataset.
Definition TTree.h:79