2 #ifndef AliTPCSelectorESD_h
3 #define AliTPCSelectorESD_h
20 class AliTPCSelectorESD : public TSelector {
22 AliTPCSelectorESD(TTree *tree=0);
23 virtual ~AliTPCSelectorESD() { /*delete fESD; delete fESDfriend;*/ }
24 virtual Int_t Version() const { return 1; }
25 virtual void Begin(TTree *tree);
26 virtual void SlaveBegin(TTree *tree);
27 virtual void Init(TTree *tree);
28 virtual Bool_t Notify();
29 virtual Bool_t Process(Long64_t entry);
30 virtual Int_t ReadEvent(Long64_t entry);
31 virtual Int_t ProcessIn(Long64_t entry);
33 virtual void SetOption(const char *option) { fOption = option; }
34 virtual void SetObject(TObject *obj) { fObject = obj; }
35 virtual void SetInputList(TList *input) { fInput = input; }
36 virtual TList *GetOutputList() const { return fOutput; }
37 virtual void SlaveTerminate();
38 virtual void Terminate();
40 void DumpSysInfo(Int_t entry); // dump system info
43 TTree *fChain; //! pointer to the analyzed TTree or TChain
44 TTree *fTreeFriend; //! pointer to friend tree
45 AliESDEvent *fESDevent; //! esd event
46 AliESD *fESD; //! pointer to ESD
47 AliESDfriend *fESDfriend; //! pointer to friend
48 // USER defined variables
49 Int_t fFileNo; //! file number
50 TH1I *fNtracks; //! number of Tracks
51 TH1I *fNtracksFriend; //! number of firend Tracks
52 TH1I *fNClusters; //! number of clusters on track
56 fstream *fSysWatch; // system watch - Memory and CPU usage
57 fstream *fFileWatch; // file watch - write the status of the analyzed files
58 Int_t fDebugLevel; //debug level
60 ClassDef(AliTPCSelectorESD,1);