]>
Commit | Line | Data |
---|---|---|
7c3e5162 | 1 | #ifndef ALIFMDANALYSISTASKDNDETA_H |
2 | #define ALIFMDANALYSISTASKDNDETA_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" | |
10 | #include "TObjString.h" | |
11 | #include "TArrayI.h" | |
12 | #include "TH1I.h" | |
bb8a464f | 13 | #include "AliMCEvent.h" |
cc066cb9 | 14 | #include "AliFMDFloatMap.h" |
cfe59e45 | 15 | |
16 | /** | |
17 | * @ingroup FMD_ana | |
18 | */ | |
7c3e5162 | 19 | class AliFMDAnalysisTaskDndeta : public AliAnalysisTask |
20 | { | |
21 | public: | |
22 | AliFMDAnalysisTaskDndeta(); | |
23 | AliFMDAnalysisTaskDndeta(const char* name, Bool_t SE = kTRUE); | |
24 | virtual ~AliFMDAnalysisTaskDndeta() {;} | |
25 | AliFMDAnalysisTaskDndeta(const AliFMDAnalysisTaskDndeta& o) : AliAnalysisTask(), | |
9f55be54 | 26 | fDebug(o.fDebug), |
27 | fOutputList(0), | |
28 | fInputList(0), | |
29 | fVertexString(o.fVertexString), | |
30 | fNevents(o.fNevents), | |
059c7c6b | 31 | fNNSDevents(o.fNNSDevents), |
9f55be54 | 32 | fNMCevents(o.fNMCevents), |
059c7c6b | 33 | fNMCNSDevents(o.fNMCNSDevents), |
9f55be54 | 34 | fStandalone(o.fStandalone), |
daedf077 | 35 | fLastTrackByStrip(o.fLastTrackByStrip), |
059c7c6b | 36 | fVtxEff(o.fVtxEff), |
37 | fVtxEffNSD(o.fVtxEffNSD) | |
38 | {} | |
9f55be54 | 39 | AliFMDAnalysisTaskDndeta& operator=(const AliFMDAnalysisTaskDndeta&) { return *this; } |
40 | // Implementation of interface methods | |
41 | virtual void ConnectInputData(Option_t *option = ""); | |
42 | virtual void CreateOutputObjects(); | |
43 | virtual void Init() {} | |
44 | virtual void LocalInit() {Init();} | |
45 | virtual void Exec(Option_t *option); | |
46 | virtual void Terminate(Option_t *option); | |
47 | virtual void SetDebugLevel(Int_t level) {fDebug = level;} | |
48 | void SetInputList(TList* inputList) {fInputList = inputList;} | |
49 | void SetInputVertex(TObjString* vtxString) {fVertexString = vtxString;} | |
50 | void SetOutputList(TList* outputList) {fOutputList = outputList;} | |
51 | void ProcessPrimary(); | |
52 | TList* GetOutputList() {return fOutputList;} | |
daedf077 | 53 | void SetVtxEfficiency(Float_t vtxeff) {fVtxEff = vtxeff;} |
059c7c6b | 54 | void SetVtxEfficiencyNSD(Float_t vtxeff) {fVtxEffNSD = vtxeff;} |
daedf077 | 55 | |
7c3e5162 | 56 | private: |
059c7c6b | 57 | Int_t fDebug; // Debug flag |
58 | TList* fOutputList; | |
59 | TList* fInputList; | |
60 | TObjString* fVertexString; | |
61 | TH1I fNevents; | |
62 | TH1I fNNSDevents; | |
63 | TH1I fNMCevents; | |
64 | TH1I fNMCNSDevents; | |
65 | Bool_t fStandalone; | |
9f55be54 | 66 | AliFMDFloatMap fLastTrackByStrip; |
daedf077 | 67 | Float_t fVtxEff; //Efficiency of vertex sel. |
059c7c6b | 68 | Float_t fVtxEffNSD; //Efficiency of vertex sel., NSD |
69 | ||
9f55be54 | 70 | ClassDef(AliFMDAnalysisTaskDndeta, 0); // Analysis task for FMD analysis |
7c3e5162 | 71 | }; |
72 | ||
73 | #endif | |
cfe59e45 | 74 | // Local Variables: |
75 | // mode: C++ | |
76 | // End: |