- new clesses added
[u/mrichter/AliRoot.git] / PWG0 / dNdPt / AliPtResolAnalysisPbPb.h
... / ...
CommitLineData
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
10class iostream;
11
12class TFile;
13class TCint;
14class TProfile;
15class TFolder;
16class TObjArray;
17class TString;
18class THnSparse;
19
20class AliESDtrackCuts;
21class AliVertexerTracks;
22class AliESD;
23class AliESDfriend;
24class AliESDfriendTrack;
25class AlidNdPtHelper;
26
27#include "AlidNdPt.h"
28
29class AliPtResolAnalysisPbPb : public AlidNdPt {
30public :
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
58private:
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