]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/analysis/AliFMDAnalysisTaskBackgroundCorrection.h
Analysis now deriving from AliAnalysisTaskSE. The subtasks are still there but now...
[u/mrichter/AliRoot.git] / FMD / analysis / AliFMDAnalysisTaskBackgroundCorrection.h
CommitLineData
3bb122c7 1#ifndef ALIFMDANALYSISTASKBACKGROUNDCORRECTION_H
2#define ALIFMDANALYSISTASKBACKGROUNDCORRECTION_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#include "AliAnalysisTask.h"
8
9#include "TObjArray.h"
8dc7c4c2 10#include "TObjString.h"
11#include "TArrayI.h"
875e75b6 12#include "TH1I.h"
3bb122c7 13
14class AliFMDAnalysisTaskBackgroundCorrection : public AliAnalysisTask
15{
16 public:
17 AliFMDAnalysisTaskBackgroundCorrection();
7c3e5162 18 AliFMDAnalysisTaskBackgroundCorrection(const char* name, Bool_t SE = kTRUE);
3bb122c7 19 virtual ~AliFMDAnalysisTaskBackgroundCorrection() {;}
c78bc12b 20 AliFMDAnalysisTaskBackgroundCorrection(const AliFMDAnalysisTaskBackgroundCorrection& o) : AliAnalysisTask(),
21 fDebug(o.fDebug),
7c3e5162 22 fOutputList(0),
23 fInputList(0),
8dc823cc 24 fArray(o.fArray),
c78bc12b 25 fInputArray(o.fInputArray),
26 fVertexString(o.fVertexString),
7c3e5162 27 fNevents(o.fNevents),
28 fStandalone(o.fStandalone),
29 fOutputVertexString(o.fOutputVertexString) {}
8dc823cc 30 AliFMDAnalysisTaskBackgroundCorrection& operator=(const AliFMDAnalysisTaskBackgroundCorrection&) { return *this; }
3bb122c7 31 // Implementation of interface methods
32 virtual void ConnectInputData(Option_t *option = "");
33 virtual void CreateOutputObjects();
34 virtual void Init() {}
35 virtual void LocalInit() {Init();}
36 virtual void Exec(Option_t *option);
8dc823cc 37 virtual void Terminate(Option_t *option);
3bb122c7 38 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
7c3e5162 39 void SetInputList(TList* inputList) {fInputList = inputList;}
40 void SetOutputVertex(TObjString* vtxString) {fOutputVertexString = vtxString;}
41 //void SetInputVtx(TObjString* vtxString) {fVertexString = vtxString;}
42 void SetOutputList(TList* outputList) {fOutputList = outputList;}
43
3bb122c7 44 private:
45 Int_t fDebug; // Debug flag
7c3e5162 46 TList* fOutputList;
47 TList* fInputList;
8dc7c4c2 48 TObjArray fArray;
3bb122c7 49 TObjArray* fInputArray;
8dc823cc 50 TObjString* fVertexString;
875e75b6 51 TH1I fNevents;
7c3e5162 52 Bool_t fStandalone;
53 TObjString* fOutputVertexString;
3bb122c7 54 ClassDef(AliFMDAnalysisTaskBackgroundCorrection, 0); // Analysis task for FMD analysis
55};
56
57#endif