end-of-line normalization
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / AntiprotonToProton / AliProtonFeedDownAnalysisTask.h
1 #ifndef ALIPROTONFEEDDOWNANALYSISTASK_H
2 #define ALIPROTONFEEDDOWNANALYSISTASK_H
3 #include "AliAnalysisTask.h"
4
5 class TList;
6 class AliESDEvent;
7 class AliAODEvent;
8 class AliMCEvent;
9 class AliProtonFeedDownAnalysis;
10
11
12
13 class AliProtonFeedDownAnalysisTask : public AliAnalysisTask {
14  public:
15         AliProtonFeedDownAnalysisTask();
16         AliProtonFeedDownAnalysisTask(const char *name);
17         virtual ~AliProtonFeedDownAnalysisTask() {}
18         
19         virtual void   ConnectInputData(Option_t *);
20         virtual void   CreateOutputObjects();
21         virtual void   Exec(Option_t *option);
22         virtual void   Terminate(Option_t *);
23         
24         void SetAnalysisObject(AliProtonFeedDownAnalysis *const analysis) {fProtonAnalysis = analysis;}
25   
26  private:
27         AliESDEvent *fESD;    //ESD object 
28         AliAODEvent *fAOD;    //AOD object
29         AliMCEvent  *fMC;     //MC object 
30         
31         TList  *fList; //TList output object 
32         
33         AliProtonFeedDownAnalysis *fProtonAnalysis; //analysis object 
34         
35         TH1F *fStatHist;
36         
37         AliProtonFeedDownAnalysisTask(const AliProtonFeedDownAnalysisTask&); // not implemented
38         AliProtonFeedDownAnalysisTask& operator=(const AliProtonFeedDownAnalysisTask&); // not implemented
39         
40 ClassDef(AliProtonFeedDownAnalysisTask, 1); // example of analysis
41 };
42
43 #endif
44
45
46