]>
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 | |
cfe59e45 | 14 | /** |
15 | * @ingroup FMD_ana | |
16 | * @brief Applu the background correction | |
17 | * particles. | |
18 | * | |
19 | */ | |
3bb122c7 | 20 | class AliFMDAnalysisTaskBackgroundCorrection : public AliAnalysisTask |
21 | { | |
22 | public: | |
23 | AliFMDAnalysisTaskBackgroundCorrection(); | |
7c3e5162 | 24 | AliFMDAnalysisTaskBackgroundCorrection(const char* name, Bool_t SE = kTRUE); |
3bb122c7 | 25 | virtual ~AliFMDAnalysisTaskBackgroundCorrection() {;} |
c78bc12b | 26 | AliFMDAnalysisTaskBackgroundCorrection(const AliFMDAnalysisTaskBackgroundCorrection& o) : AliAnalysisTask(), |
27 | fDebug(o.fDebug), | |
7c3e5162 | 28 | fOutputList(0), |
29 | fInputList(0), | |
cc066cb9 | 30 | fHitList(0), |
c78bc12b | 31 | fVertexString(o.fVertexString), |
7c3e5162 | 32 | fNevents(o.fNevents), |
33 | fStandalone(o.fStandalone), | |
34 | fOutputVertexString(o.fOutputVertexString) {} | |
8dc823cc | 35 | AliFMDAnalysisTaskBackgroundCorrection& operator=(const AliFMDAnalysisTaskBackgroundCorrection&) { return *this; } |
3bb122c7 | 36 | // Implementation of interface methods |
37 | virtual void ConnectInputData(Option_t *option = ""); | |
38 | virtual void CreateOutputObjects(); | |
39 | virtual void Init() {} | |
40 | virtual void LocalInit() {Init();} | |
41 | virtual void Exec(Option_t *option); | |
8dc823cc | 42 | virtual void Terminate(Option_t *option); |
3bb122c7 | 43 | virtual void SetDebugLevel(Int_t level) {fDebug = level;} |
7c3e5162 | 44 | void SetInputList(TList* inputList) {fInputList = inputList;} |
45 | void SetOutputVertex(TObjString* vtxString) {fOutputVertexString = vtxString;} | |
46 | //void SetInputVtx(TObjString* vtxString) {fVertexString = vtxString;} | |
47 | void SetOutputList(TList* outputList) {fOutputList = outputList;} | |
cc066cb9 | 48 | void SetHitList(TList* hitList) {fHitList = hitList;} |
3bb122c7 | 49 | private: |
50 | Int_t fDebug; // Debug flag | |
7c3e5162 | 51 | TList* fOutputList; |
52 | TList* fInputList; | |
cc066cb9 | 53 | TList* fHitList; |
8dc823cc | 54 | TObjString* fVertexString; |
875e75b6 | 55 | TH1I fNevents; |
7c3e5162 | 56 | Bool_t fStandalone; |
57 | TObjString* fOutputVertexString; | |
3bb122c7 | 58 | ClassDef(AliFMDAnalysisTaskBackgroundCorrection, 0); // Analysis task for FMD analysis |
59 | }; | |
60 | ||
61 | #endif | |
cfe59e45 | 62 | // Local Variables: |
63 | // mode: C++ | |
64 | // End: |