#ifndef ROOT_TSelector
#define ROOT_TSelector
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
#ifndef ROOT_TSelectorList
#include "TSelectorList.h"
#endif
class TTree;
class TSelector : public TObject {
public:
enum EAbort { kContinue, kAbortProcess, kAbortFile };
protected:
Long64_t fStatus;
EAbort fAbort;
TString fOption;
TObject *fObject;
TList *fInput;
TSelectorList *fOutput;
private:
TSelector(const TSelector&);
TSelector& operator=(const TSelector&);
public:
TSelector();
virtual ~TSelector();
virtual int Version() const { return 0; }
virtual void Init(TTree *) { }
virtual void Begin(TTree *) { }
virtual void SlaveBegin(TTree *) { }
virtual Bool_t Notify() { return kTRUE; }
virtual const char *GetOption() const { return fOption; }
virtual Long64_t GetStatus() const { return fStatus; }
virtual Int_t GetEntry(Long64_t , Int_t = 0) { return 0; }
virtual Bool_t ProcessCut(Long64_t ) { return kTRUE; }
virtual void ProcessFill(Long64_t ) { }
virtual Bool_t Process(Long64_t ) { return kFALSE; }
virtual void SetOption(const char *option) { fOption = option; }
virtual void SetObject(TObject *obj) { fObject = obj; }
virtual void SetInputList(TList *input) { fInput = input; }
virtual void SetStatus(Long64_t status) { fStatus = status; }
virtual TList *GetOutputList() const { return fOutput; }
virtual void SlaveTerminate() { }
virtual void Terminate() { }
virtual void Abort(const char *why, EAbort what = kAbortProcess);
virtual EAbort GetAbort() const { return fAbort; }
static TSelector *GetSelector(const char *filename);
static Bool_t IsStandardDraw(const char *selec);
ClassDef(TSelector,0)
};
#endif
Last change: Wed Jun 25 08:52:44 2008
Last generated: 2008-06-25 08:52
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.