]>
Commit | Line | Data |
---|---|---|
fc98fbb5 | 1 | #ifndef ALIPTRESOLANALYSIS_H |
2 | #define ALIPTRESOLANALYSIS_H | |
3 | ||
4 | //------------------------------------------------------------------------------ | |
5 | // AliPtResolAnalysis 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 AliPtResolAnalysis : public AlidNdPt { | |
30 | public : | |
31 | AliPtResolAnalysis(); | |
32 | AliPtResolAnalysis(Char_t* name, Char_t* title); | |
33 | ~AliPtResolAnalysis(); | |
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 | private: | |
56 | ||
57 | // analysis folder | |
58 | TFolder *fAnalysisFolder; // folder for analysed histograms | |
59 | THnSparseF *fTrackParamHist; //-> sigma(1/pT):1/pT | |
60 | ||
61 | AliPtResolAnalysis(const AliPtResolAnalysis&); // not implemented | |
62 | AliPtResolAnalysis& operator=(const AliPtResolAnalysis&); // not implemented | |
63 | ||
64 | ClassDef(AliPtResolAnalysis,1); | |
65 | }; | |
66 | ||
67 | #endif |