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