Adding cuts for comparison studies (Marian)
[u/mrichter/AliRoot.git] / PWG1 / AliComparisonSelector.h
CommitLineData
36f9c31d 1
2#ifndef AliComparisonSelector_h
3#define AliComparisonSelector_h
4
5#include <iostream>
6#include <fstream>
7using namespace std;
8#include <TSelector.h>
9
10#include <TROOT.h>
11#include <TChain.h>
12#include <TFile.h>
76472f75 13#include "AliMCInfo.h"
b1fcf19c 14#include "AliESDRecInfo.h"
15#include "AliESDRecKinkInfo.h"
16#include "AliESDRecV0Info.h"
36f9c31d 17
18class AliESDEvent;
19class AliESD;
20class AliESDfriend;
21class TH1I;
22class AliComparisonDraw;
23
24class AliComparisonSelector : public TSelector {
25public :
26 AliComparisonSelector(TTree *tree=0);
27 virtual ~AliComparisonSelector() { /*delete fESD; delete fESDfriend;*/ }
28 virtual Int_t Version() const { return 1; }
29 virtual void Begin(TTree *tree);
30 virtual void SlaveBegin(TTree *tree);
31 virtual void Init(TTree *tree);
32 virtual Bool_t Notify();
33 virtual Bool_t Process(Long64_t entry);
34 virtual Int_t ReadEvent(Long64_t entry);
35 virtual Int_t ProcessIn(Long64_t entry);
36 //
37 virtual void SetOption(const char *option) { fOption = option; }
38 virtual void SetObject(TObject *obj) { fObject = obj; }
39 virtual void SetInputList(TList *input) { fInput = input; }
40 virtual TList *GetOutputList() const { return fOutput; }
41 virtual void SlaveTerminate();
42 virtual void Terminate();
43 void DumpSysInfo(Int_t entry); // dump system info
44 //
45 void Clean();
46 //
47 //
48 //
49protected:
50 TTree *fChain; //! pointer to the analyzed TTree or TChain
51 //
52 // System info
53 //
54 Int_t fFileNo; //!file number
55 fstream *fSysWatch; //!system watch - Memory and CPU usage
56 fstream *fFileWatch; //!file watch - write the status of the analyzed files
57 Int_t fDebugLevel; //debug level
58 //
59 AliMCInfo *fInfoMC;
60 AliESDRecInfo *fInfoRC;
61 AliComparisonDraw *fComp;
62
63 ClassDef(AliComparisonSelector,1);
64};
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80#endif