2 #ifndef AliComparisonSelector_h
3 #define AliComparisonSelector_h
13 #include "AliMCInfo.h"
14 #include "AliRecInfo.h"
20 class AliComparisonDraw;
22 class AliComparisonSelector : public TSelector {
24 AliComparisonSelector(TTree *tree=0);
25 virtual ~AliComparisonSelector() { /*delete fESD; delete fESDfriend;*/ }
26 virtual Int_t Version() const { return 1; }
27 virtual void Begin(TTree *tree);
28 virtual void SlaveBegin(TTree *tree);
29 virtual void Init(TTree *tree);
30 virtual Bool_t Notify();
31 virtual Bool_t Process(Long64_t entry);
32 virtual Int_t ReadEvent(Long64_t entry);
33 virtual Int_t ProcessIn(Long64_t entry);
35 virtual void SetOption(const char *option) { fOption = option; }
36 virtual void SetObject(TObject *obj) { fObject = obj; }
37 virtual void SetInputList(TList *input) { fInput = input; }
38 virtual TList *GetOutputList() const { return fOutput; }
39 virtual void SlaveTerminate();
40 virtual void Terminate();
41 void DumpSysInfo(Int_t entry); // dump system info
48 TTree *fChain; //! pointer to the analyzed TTree or TChain
52 Int_t fFileNo; //!file number
53 fstream *fSysWatch; //!system watch - Memory and CPU usage
54 fstream *fFileWatch; //!file watch - write the status of the analyzed files
55 Int_t fDebugLevel; //debug level
58 AliESDRecInfo *fInfoRC;
59 AliComparisonDraw *fComp;
61 ClassDef(AliComparisonSelector,1);