Changes for #82873: Module debugging broken (Christian)
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnAnalysisTask.h
CommitLineData
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 10class TList;
11class AliMixInputEventHandler;
12class AliMultiInputEventHandler;
13class AliRsnLoop;
2a1c7696 14
c865cb1d 15class AliRsnAnalysisTask : public AliAnalysisTaskSE {
2a1c7696 16
c865cb1d 17public:
2a1c7696 18
c865cb1d 19 AliRsnAnalysisTask();
20 AliRsnAnalysisTask(const char *name);
21 AliRsnAnalysisTask(const AliRsnAnalysisTask&);
22 AliRsnAnalysisTask& operator=(const AliRsnAnalysisTask&);
23 virtual ~AliRsnAnalysisTask();
24
25 virtual void UserCreateOutputObjects();
26 virtual void UserExec(Option_t *option);
27 virtual void UserExecMix(Option_t*);
28 virtual void Terminate(Option_t *);
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; }
c865cb1d 35
2a1c7696 36private:
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