]>
Commit | Line | Data |
---|---|---|
fc98fbb5 | 1 | #ifndef ALIPTRESOLANALYSISPBPB_H |
2 | #define ALIPTRESOLANALYSISPBPB_H | |
3 | ||
4 | //------------------------------------------------------------------------------ | |
5 | // AliPtResolAnalysisPbPb class used for dNdPt analysis. | |
6 | // | |
7 | // Author: J.Otwinowski 05/05/2011 | |
8 | //------------------------------------------------------------------------------ | |
9 | ||
10 | class iostream; | |
11 | ||
12 | class TFile; | |
13 | class TCint; | |
14 | class TProfile; | |
15 | class TFolder; | |
16 | class TObjArray; | |
17 | class TString; | |
18 | class THnSparse; | |
19 | ||
20 | class AliESDtrackCuts; | |
21 | class AliVertexerTracks; | |
22 | class AliESD; | |
23 | class AliESDfriend; | |
24 | class AliESDfriendTrack; | |
25 | class AlidNdPtHelper; | |
26 | ||
27 | #include "AlidNdPt.h" | |
28 | ||
29 | class AliPtResolAnalysisPbPb : public AlidNdPt { | |
30 | public : | |
31 | AliPtResolAnalysisPbPb(); | |
32 | AliPtResolAnalysisPbPb(Char_t* name, Char_t* title); | |
33 | ~AliPtResolAnalysisPbPb(); | |
34 | ||
35 | // Init data members | |
36 | virtual void Init(); | |
37 | ||
38 | // Process events | |
39 | virtual void Process(AliESDEvent *const esdEvent=0, AliMCEvent *const mcEvent=0); | |
40 | ||
41 | // Merge output objects (needed by PROOF) | |
42 | virtual Long64_t Merge(TCollection* const list); | |
43 | ||
44 | // Analyse output histograms | |
45 | virtual void Analyse(); | |
46 | ||
47 | // Export objects to folder | |
48 | virtual TFolder *ExportToFolder(TObjArray * const array=0); | |
49 | TFolder* CreateFolder(TString name,TString title); | |
50 | ||
51 | // Get analysis folder | |
52 | TFolder* GetAnalysisFolder() const {return fAnalysisFolder;} | |
53 | THnSparseF *GetTrackParamHist() const {return fTrackParamHist;} | |
54 | ||
55 | void SetCentralityEstimator(TString centEst="V0M") { fCentralityEstimator = centEst; } | |
56 | TString GetCentralityEstimator() const {return fCentralityEstimator; } | |
57 | ||
58 | private: | |
59 | ||
60 | // analysis folder | |
61 | TFolder *fAnalysisFolder; // folder for analysed histograms | |
62 | THnSparseF *fTrackParamHist; //-> sigma(1/pT):1/pT:centr | |
63 | ||
64 | TString fCentralityEstimator; // use centrality can be "VOM" (default), "FMD", "TRK", "TKL", "CL0", "CL1", "V0MvsFMD", "TKLvsV0M", "ZEMvsZDC" | |
65 | ||
66 | AliPtResolAnalysisPbPb(const AliPtResolAnalysisPbPb&); // not implemented | |
67 | AliPtResolAnalysisPbPb& operator=(const AliPtResolAnalysisPbPb&); // not implemented | |
68 | ||
69 | ClassDef(AliPtResolAnalysisPbPb,1); | |
70 | }; | |
71 | ||
72 | #endif |