// Author: Sangsu Ryu 28/06/2011 /************************************************************************* * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #ifndef ROOT_TSelVerifyDataSet #define ROOT_TSelVerifyDataSet ////////////////////////////////////////////////////////////////////////// // // // TSelVerifyDataSet // // // // PROOF selector to parallel-process dataset on workers // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TSelector #include #endif #ifndef ROOT_TString #include #endif class TTree; class TFileCollection; class TSelVerifyDataSet : public TSelector { private: Int_t fFopt; Int_t fSopt; Int_t fRopt; // File selection, Reopen and Touch options Bool_t fAllf; Bool_t fCheckstg; Bool_t fNonStgf; Bool_t fReopen; Bool_t fTouch; Bool_t fStgf; // File processing options Bool_t fNoaction; Bool_t fFullproc; Bool_t fLocateonly; Bool_t fStageonly; // Run options Bool_t fDoall; Bool_t fGetlistonly; Bool_t fScanlist; Bool_t fDbg; TString fMss; TString fStageopts; Bool_t fChangedDs; Int_t fTouched; Int_t fOpened; Int_t fDisappeared; TFileCollection *fSubDataSet; // Sub-dataset being verified void InitMembers(); public : TSelVerifyDataSet(TTree *); TSelVerifyDataSet(); virtual ~TSelVerifyDataSet() {} virtual Int_t Version() const {return 1;} virtual void Begin(TTree *) { } virtual void SlaveBegin(TTree *tree); virtual void Init(TTree *) { } virtual Bool_t Notify() { return kTRUE; } virtual Bool_t Process(Long64_t entry); virtual void SetOption(const char *option) { fOption = option; } virtual void SetObject(TObject *obj) { fObject = obj; } virtual void SetInputList(TList *input) {fInput = input;} virtual TList *GetOutputList() const { return fOutput; } virtual void SlaveTerminate(); virtual void Terminate() { } ClassDef(TSelVerifyDataSet,0) //PROOF selector for parallel dataset verification }; #endif