Adding a reminder for coders
[u/mrichter/AliRoot.git] / ANALYSIS / AliPhysicsSelectionTask.h
CommitLineData
78167ba7 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
12class AliPhysicsSelection;
13
14class 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*);
e9247450 23 virtual void FinishTaskOutput();
78167ba7 24 virtual void Terminate(Option_t*);
25
26 void SetOption(const char* opt) { fOption = opt; }
27
28 void SetPhysicsSelection(AliPhysicsSelection* physicsSelection) { fPhysicsSelection = physicsSelection; }
733f0542 29 AliPhysicsSelection* GetPhysicsSelection() const { return fPhysicsSelection; }
78167ba7 30
31 protected:
32 TList* fOutput; //! list send on output slot 1
33 TString fOption; // option string
34
35 AliPhysicsSelection* fPhysicsSelection; // event selection class
36
37 private:
38 AliPhysicsSelectionTask(const AliPhysicsSelectionTask&);
39 AliPhysicsSelectionTask& operator=(const AliPhysicsSelectionTask&);
40
41 ClassDef(AliPhysicsSelectionTask, 1);
42};
43
44#endif