]>
Commit | Line | Data |
---|---|---|
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 | |
14 | class AliFMDAnalysisTaskBackgroundCorrection : public AliAnalysisTask | |
15 | { | |
16 | public: | |
17 | AliFMDAnalysisTaskBackgroundCorrection(); | |
18 | AliFMDAnalysisTaskBackgroundCorrection(const char* name); | |
19 | virtual ~AliFMDAnalysisTaskBackgroundCorrection() {;} | |
c78bc12b | 20 | AliFMDAnalysisTaskBackgroundCorrection(const AliFMDAnalysisTaskBackgroundCorrection& o) : AliAnalysisTask(), |
21 | fDebug(o.fDebug), | |
8dc7c4c2 | 22 | fOutputList(), |
8dc823cc | 23 | fArray(o.fArray), |
c78bc12b | 24 | fInputArray(o.fInputArray), |
25 | fVertexString(o.fVertexString), | |
26 | fNevents(o.fNevents) {} | |
8dc823cc | 27 | AliFMDAnalysisTaskBackgroundCorrection& operator=(const AliFMDAnalysisTaskBackgroundCorrection&) { return *this; } |
3bb122c7 | 28 | // Implementation of interface methods |
29 | virtual void ConnectInputData(Option_t *option = ""); | |
30 | virtual void CreateOutputObjects(); | |
31 | virtual void Init() {} | |
32 | virtual void LocalInit() {Init();} | |
33 | virtual void Exec(Option_t *option); | |
8dc823cc | 34 | virtual void Terminate(Option_t *option); |
3bb122c7 | 35 | virtual void SetDebugLevel(Int_t level) {fDebug = level;} |
36 | ||
37 | private: | |
38 | Int_t fDebug; // Debug flag | |
8dc7c4c2 | 39 | TList fOutputList; |
40 | TObjArray fArray; | |
3bb122c7 | 41 | TObjArray* fInputArray; |
8dc823cc | 42 | TObjString* fVertexString; |
875e75b6 | 43 | TH1I fNevents; |
3bb122c7 | 44 | ClassDef(AliFMDAnalysisTaskBackgroundCorrection, 0); // Analysis task for FMD analysis |
45 | }; | |
46 | ||
47 | #endif |