]>
Commit | Line | Data |
---|---|---|
1c7bc43c | 1 | #ifndef ALIRSNANALYSISTASK_H |
2 | #define ALIRSNANALYSISTASK_H | |
3 | ||
c865cb1d | 4 | #ifndef ALIANALYSISTASKSE_H |
5 | #include "AliAnalysisTaskSE.h" | |
6 | #endif | |
2a1c7696 | 7 | |
c865cb1d | 8 | #include <TObjArray.h> |
2a1c7696 | 9 | |
c865cb1d | 10 | class TList; |
11 | class AliMixInputEventHandler; | |
12 | class AliMultiInputEventHandler; | |
13 | class AliRsnLoop; | |
2a1c7696 | 14 | |
c865cb1d | 15 | class AliRsnAnalysisTask : public AliAnalysisTaskSE { |
2a1c7696 | 16 | |
c865cb1d | 17 | public: |
2a1c7696 | 18 | |
c865cb1d | 19 | AliRsnAnalysisTask(); |
20 | AliRsnAnalysisTask(const char *name); | |
61f275d1 | 21 | AliRsnAnalysisTask(const AliRsnAnalysisTask &); |
22 | AliRsnAnalysisTask &operator=(const AliRsnAnalysisTask &); | |
c865cb1d | 23 | virtual ~AliRsnAnalysisTask(); |
24 | ||
25 | virtual void UserCreateOutputObjects(); | |
26 | virtual void UserExec(Option_t *option); | |
61f275d1 | 27 | virtual void UserExecMix(Option_t *); |
c865cb1d | 28 | virtual void Terminate(Option_t *); |
61f275d1 | 29 | |
e187bd70 | 30 | void AddLoop(AliRsnLoop *object); |
31 | void InitInputHandlers(); | |
781ffe72 | 32 | |
33 | void UseBigOutput(Bool_t b=kTRUE) { fBigOutput = b; } | |
34 | Bool_t IsBigOutput() { return fBigOutput; } | |
61f275d1 | 35 | |
2a1c7696 | 36 | private: |
37 | ||
c865cb1d | 38 | TList *fOutput; // output list |
39 | TObjArray fRsnObjects; // list of computation objects | |
2a1c7696 | 40 | |
c865cb1d | 41 | AliMultiInputEventHandler *fInputEHMain; //! input multi handler |
42 | AliMixInputEventHandler *fInputEHMix; //! mix input handler | |
2a1c7696 | 43 | |
781ffe72 | 44 | Bool_t fBigOutput; // flag if open file for output list |
45 | ||
46 | ClassDef(AliRsnAnalysisTask, 2); // AliRsnAnalysisTask | |
1c7bc43c | 47 | }; |
48 | ||
49 | #endif | |
c865cb1d | 50 |