Forgot to increase class version
[u/mrichter/AliRoot.git] / ANALYSIS / AliPhysicsSelectionTask.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4
5 /* $Id$ */
6
7 #ifndef ALIPHYSICSSELECTIONTASK_H
8 #define ALIPHYSICSSELECTIONTASK_H
9
10 #include "AliAnalysisTaskSE.h"
11
12 class AliPhysicsSelection;
13
14 class AliPhysicsSelectionTask : public AliAnalysisTaskSE {
15   public:
16     AliPhysicsSelectionTask();
17     AliPhysicsSelectionTask(const char* opt);
18
19     virtual ~AliPhysicsSelectionTask();
20
21     virtual void   UserCreateOutputObjects();
22     virtual void   UserExec(Option_t*);
23     virtual void   Terminate(Option_t*);
24
25     void SetOption(const char* opt) { fOption = opt; }
26     
27     void SetPhysicsSelection(AliPhysicsSelection* physicsSelection) { fPhysicsSelection = physicsSelection; }
28     AliPhysicsSelection* GetPhysicsSelection() const { return fPhysicsSelection; }
29
30  protected:
31     TList* fOutput;                  //! list send on output slot 1
32     TString fOption;                 // option string  
33     
34     AliPhysicsSelection* fPhysicsSelection; // event selection class
35
36  private:
37     AliPhysicsSelectionTask(const AliPhysicsSelectionTask&);
38     AliPhysicsSelectionTask& operator=(const AliPhysicsSelectionTask&);
39
40   ClassDef(AliPhysicsSelectionTask, 1);
41 };
42
43 #endif