0779f42b0a7b4b1d28c3ab59571e33437694219d
[u/mrichter/AliRoot.git] / FMD / analysis / AliFMDAnalysisTaskSE.h
1 #ifndef ALIFMDANALYSISTASKSE_H
2 #define ALIFMDANALYSISTASKSE_H
3
4 #include "AliAnalysisTaskSE.h"
5 #include "AliFMDAnalysisTaskSharing.h"
6 #include "AliFMDAnalysisTaskDensity.h"
7 #include "AliFMDAnalysisTaskBackgroundCorrection.h"
8 #include "AliFMDAnalysisTaskDndeta.h"
9
10 class AliFMDAnalysisTaskSE : public AliAnalysisTaskSE
11 {
12  public:
13     AliFMDAnalysisTaskSE();
14     AliFMDAnalysisTaskSE(const char* name);
15     virtual ~AliFMDAnalysisTaskSE() {;}
16  AliFMDAnalysisTaskSE(const AliFMDAnalysisTaskSE& o) : AliAnalysisTaskSE(),
17       fListOfHistos(o.fListOfHistos),
18       fSharing(o.fSharing),
19       fDensity(o.fDensity),
20       fBackground(o.fBackground),
21       fDndeta(o.fDndeta),
22       fPrimary(o.fPrimary) {}
23     AliFMDAnalysisTaskSE& operator=(const AliFMDAnalysisTaskSE&) { return *this; }
24     
25     virtual void Init();
26     virtual void UserCreateOutputObjects();
27     virtual void UserExec(Option_t* /*option*/);
28     void  Terminate(Option_t */*option*/);
29     void  SetAnalyzePrimary(Bool_t prim) {fPrimary = prim;}
30     
31  private:
32     
33     TList* fListOfHistos;
34     AliFMDAnalysisTaskSharing              fSharing;
35     AliFMDAnalysisTaskDensity              fDensity;
36     AliFMDAnalysisTaskBackgroundCorrection fBackground;
37     AliFMDAnalysisTaskDndeta               fDndeta;
38     Bool_t                                 fPrimary;
39     ClassDef(AliFMDAnalysisTaskSE, 1);
40
41 };
42 #endif