]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - PWG1/AliComparisonSelector.h
Splitting AliGenIfo to 3 separate files (Marian)
[u/mrichter/AliRoot.git] / PWG1 / AliComparisonSelector.h
... / ...
CommitLineData
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>
13#include "AliGenInfo.h"
14#include "AliRecInfo.h"
15
16class AliESDEvent;
17class AliESD;
18class AliESDfriend;
19class TH1I;
20class AliComparisonDraw;
21
22class AliComparisonSelector : public TSelector {
23public :
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);
34 //
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
42 //
43 void Clean();
44 //
45 //
46 //
47protected:
48 TTree *fChain; //! pointer to the analyzed TTree or TChain
49 //
50 // System info
51 //
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
56 //
57 AliMCInfo *fInfoMC;
58 AliESDRecInfo *fInfoRC;
59 AliComparisonDraw *fComp;
60
61 ClassDef(AliComparisonSelector,1);
62};
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78#endif