////////////////////////////////////////////////////////// // // Auxilliary TSelector used to test PROOF functionality // ////////////////////////////////////////////////////////// #ifndef ProofCounter_h #define ProofCounter_h #include class ProofCounter : public TSelector { private: void ParseInput(); public : // Specific members Long64_t fCounter; ProofCounter(); virtual ~ProofCounter(); virtual Int_t Version() const { return 2; } virtual void Begin(TTree *tree); virtual void SlaveBegin(TTree *tree); 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(ProofCounter,0); }; #endif