Transition PWG0 -> PWGUD
[u/mrichter/AliRoot.git] / PWGUD / selectors / eventStats / AliEventStatsTask.h
CommitLineData
296dd262 1/* $Id: AliEventStatsTask.h 35782 2009-10-22 11:54:31Z jgrosseo $ */
2
3#ifndef ALIEVENTSTATSTASK_H
4#define ALIEVENTSTATSTASK_H
5
6#include "AliAnalysisTaskSE.h"
7
8class AliPhysicsSelection;
9
10class AliEventStatsTask : public AliAnalysisTaskSE {
11 public:
12 AliEventStatsTask(const char* opt = "");
13 virtual ~AliEventStatsTask();
14
15 virtual void UserCreateOutputObjects();
16 virtual void UserExec(Option_t*);
17 virtual void Terminate(Option_t*);
18
19 void SetOption(const char* opt) { fOption = opt; }
b43e01ed 20
21 void SetPhysicsSelection(AliPhysicsSelection* physicsSelection) { fPhysicsSelection = physicsSelection; }
296dd262 22
23 protected:
24 TList* fOutput; //! list send on output slot 1
25
26 TString fOption; // option string
27
b43e01ed 28 AliPhysicsSelection* fPhysicsSelection; // event selection class
296dd262 29
30 private:
31 AliEventStatsTask(const AliEventStatsTask&);
32 AliEventStatsTask& operator=(const AliEventStatsTask&);
33
34 ClassDef(AliEventStatsTask, 1);
35};
36
37#endif