Line data Source code
1 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 : * See cxx source for full Copyright notice */
3 :
4 : /* $Id$ */
5 :
6 : #ifndef ALISELECTOR_H
7 : #define ALISELECTOR_H
8 :
9 : // This selector is only dependent on the ESD library, if you need the whole of AliROOT use AliSelectorRL
10 :
11 : #include <TSelector.h>
12 :
13 : class TTree;
14 : class AliESD;
15 :
16 : class AliSelector : public TSelector {
17 : public:
18 : AliSelector();
19 : virtual ~AliSelector();
20 :
21 0 : virtual Int_t Version() const {return 1;}
22 : virtual void Begin(TTree*);
23 : virtual void SlaveBegin(TTree* tree);
24 : virtual void Init(TTree *tree);
25 : virtual Bool_t Notify();
26 : virtual Bool_t Process(Long64_t entry);
27 : virtual void SlaveTerminate();
28 : virtual void Terminate();
29 :
30 : protected:
31 : void CheckOptions();
32 :
33 : TTree *fTree; //! pointer to the TTree containing the events
34 : AliESD* fESD; //! "ESD" branch in fChain
35 : Int_t fCountFiles; // number of processed file
36 :
37 : private:
38 : AliSelector(const AliSelector&);
39 : AliSelector& operator=(const AliSelector&);
40 :
41 172 : ClassDef(AliSelector,0);
42 : };
43 :
44 : #endif
|