]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGUD/selectors/eventStats/AliEventStatsTask.h
Transition PWG0 -> PWGUD
[u/mrichter/AliRoot.git] / PWGUD / selectors / eventStats / AliEventStatsTask.h
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
8 class AliPhysicsSelection;
9
10 class 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; }
20     
21     void SetPhysicsSelection(AliPhysicsSelection* physicsSelection) { fPhysicsSelection = physicsSelection; }
22
23  protected:
24     TList* fOutput;                  //! list send on output slot 1
25
26     TString fOption;      // option string  
27     
28     AliPhysicsSelection* fPhysicsSelection; // event selection class
29
30  private:
31     AliEventStatsTask(const AliEventStatsTask&);
32     AliEventStatsTask& operator=(const AliEventStatsTask&);
33
34   ClassDef(AliEventStatsTask, 1);
35 };
36
37 #endif