Split: LinkDef for ANALYSISalice -> OADB classes
[u/mrichter/AliRoot.git] / OADB / 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; }
1c459b92 30 void SetUseSpecialOutput(Bool_t v=kTRUE) {fUseSpecialOutput = v;}
31 Bool_t GetUseSpecialOutput() const { return fUseSpecialOutput; }
78167ba7 32
33 protected:
34 TList* fOutput; //! list send on output slot 1
35 TString fOption; // option string
1c459b92 36 Bool_t fUseSpecialOutput; // do we use special output instead of merging?
78167ba7 37 AliPhysicsSelection* fPhysicsSelection; // event selection class
78167ba7 38 private:
39 AliPhysicsSelectionTask(const AliPhysicsSelectionTask&);
40 AliPhysicsSelectionTask& operator=(const AliPhysicsSelectionTask&);
41
fe517051 42 ClassDef(AliPhysicsSelectionTask, 2);
78167ba7 43};
44
45#endif