]>
Commit | Line | Data |
---|---|---|
c48a797f | 1 | #ifndef ALIFMDANALYSISTASKCOLLECTOR_H |
2 | #define ALIFMDANALYSISTASKCOLLECTOR_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
9f55be54 | 7 | #include "AliAnalysisTaskSE.h" |
c48a797f | 8 | #include "TH1F.h" |
9 | #include "TObjArray.h" | |
10 | ||
11 | class AliESDEvent; | |
12 | class TChain; | |
13 | class AliAODEvent; | |
14 | ||
15 | ||
16 | ||
9f55be54 | 17 | |
18 | class AliFMDAnalysisTaskCollector : public AliAnalysisTaskSE | |
c48a797f | 19 | { |
20 | public: | |
21 | AliFMDAnalysisTaskCollector(); | |
22 | AliFMDAnalysisTaskCollector(const char* name); | |
9f55be54 | 23 | AliFMDAnalysisTaskCollector(const AliFMDAnalysisTaskCollector& o) : AliAnalysisTaskSE(), |
374aa217 | 24 | fDebug(o.fDebug), |
374aa217 | 25 | fOutputList(o.fOutputList), |
26 | fArray(o.fArray), | |
374aa217 | 27 | fZvtxDist(o.fZvtxDist) {} |
46807b30 | 28 | |
29 | AliFMDAnalysisTaskCollector& operator=(const AliFMDAnalysisTaskCollector&) { return *this; } | |
c48a797f | 30 | virtual ~AliFMDAnalysisTaskCollector() {;} |
31 | // Implementation of interface methods | |
9f55be54 | 32 | |
33 | virtual void UserCreateOutputObjects(); | |
34 | virtual void UserExec(Option_t *option); | |
c48a797f | 35 | virtual void SetDebugLevel(Int_t level) {fDebug = level;} |
9f55be54 | 36 | void ReadFromFile(const Char_t* filename, Bool_t store=kFALSE, Int_t speciesOption = 0); |
37 | static Double_t TripleLandau(Double_t *x, Double_t *par); | |
c48a797f | 38 | private: |
bb8a464f | 39 | void GetVertex(Double_t* vertexXYZ); |
c48a797f | 40 | Int_t fDebug; // Debug flag |
c48a797f | 41 | TList* fOutputList; |
42 | TObjArray* fArray; | |
c48a797f | 43 | TH1F* fZvtxDist; |
44 | ||
45 | ClassDef(AliFMDAnalysisTaskCollector, 0); // Analysis task for FMD analysis | |
46 | }; | |
47 | ||
48 | #endif | |
cfe59e45 | 49 | // Local Variables: |
50 | // mode: C++ | |
51 | // End: |