]>
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); | |
884cadc9 | 23 | AliFMDAnalysisTaskCollector(const AliFMDAnalysisTaskCollector& o) : |
24 | AliAnalysisTaskSE(), | |
25 | fDebug(o.fDebug), | |
26 | fOutputList(o.fOutputList), | |
27 | fArray(o.fArray), | |
28 | fZvtxDist(o.fZvtxDist) {} | |
29 | ||
30 | AliFMDAnalysisTaskCollector& operator=(const AliFMDAnalysisTaskCollector&) { return *this; } | |
31 | virtual ~AliFMDAnalysisTaskCollector() {;} | |
32 | // Implementation of interface methods | |
33 | ||
34 | virtual void UserCreateOutputObjects(); | |
35 | virtual void UserExec(Option_t *option); | |
36 | virtual void SetDebugLevel(Int_t level) {fDebug = level;} | |
37 | virtual void Terminate(Option_t */*option*/); | |
38 | void ReadFromFile(const Char_t* filename, Bool_t store=kFALSE, Int_t speciesOption = 0); | |
39 | static Double_t TripleLandau(Double_t *x, Double_t *par); | |
40 | TF1* FitEnergyDistribution(TH1F* hEnergy, Int_t speciesOption); | |
41 | ||
42 | private: | |
43 | void GetVertex(Double_t* vertexXYZ); | |
44 | Int_t fDebug; // Debug flag | |
45 | TList* fOutputList; | |
46 | TObjArray* fArray; | |
47 | TH1F* fZvtxDist; | |
48 | Int_t fEvents; | |
da0805e2 | 49 | Int_t fEmptyEventsAside; |
50 | Int_t fEmptyEventsCside; | |
884cadc9 | 51 | ClassDef(AliFMDAnalysisTaskCollector, 0); // Analysis task for FMD analysis |
c48a797f | 52 | }; |
53 | ||
54 | #endif | |
cfe59e45 | 55 | // Local Variables: |
56 | // mode: C++ | |
57 | // End: |