]>
Commit | Line | Data |
---|---|---|
8d312f00 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | /* $Id$ */ | |
5 | ||
6 | ||
395fadba | 7 | #ifndef ALIFLOWANALYSISWITHSCALARPRODUCT_H |
8 | #define ALIFLOWANALYSISWITHSCALARPRODUCT_H | |
8d312f00 | 9 | |
8d312f00 | 10 | #include "TString.h" |
11 | ||
12 | class AliFlowTrackSimple; | |
13 | class AliFlowEventSimple; | |
14 | class AliFlowCommonHist; | |
395fadba | 15 | class AliFlowCommonHistResults; |
8d312f00 | 16 | |
17 | class TProfile; | |
d7eb18ec | 18 | class TList; |
1dfa3c16 | 19 | class TFile; |
8d312f00 | 20 | class Riostream; |
21 | ||
22 | ||
23 | // Description: Maker to analyze Flow from the Scalar Product method. | |
24 | // | |
25 | // author: N. van der Kolk (kolk@nikhef.nl) | |
26 | ||
27 | ||
28 | class AliFlowAnalysisWithScalarProduct { | |
29 | ||
30 | public: | |
31 | ||
e35ddff0 | 32 | AliFlowAnalysisWithScalarProduct(); //default constructor |
8d312f00 | 33 | |
34 | virtual ~AliFlowAnalysisWithScalarProduct(); //destructor | |
35 | ||
1dfa3c16 | 36 | void Init(); //defines variables and histograms |
37 | void Make(AliFlowEventSimple* anEvent); //calculates variables and fills histograms | |
38 | void Finish(); //saves histograms | |
39 | void WriteHistograms(TString* outputFileName); //writes histograms locally | |
e4cecfa0 | 40 | void WriteHistograms(TString outputFileName); //writes histograms locally |
1dfa3c16 | 41 | |
e4cecfa0 | 42 | void SetDebug(Bool_t kt) { this->fDebug = kt ; } |
43 | Bool_t GetDebug() const { return this->fDebug ; } | |
8d312f00 | 44 | |
8d312f00 | 45 | // Output |
e4cecfa0 | 46 | TList* GetHistList() const { return this->fHistList ; } // Gets output histogram list |
8d312f00 | 47 | |
395fadba | 48 | TProfile* GetHistProUQetaRP() const {return this->fHistProUQetaRP;} |
49 | void SetHistProUQetaRP(TProfile* const aHistProUQetaRP) {this->fHistProUQetaRP = aHistProUQetaRP;} | |
50 | TProfile* GetHistProUQetaPOI() const {return this->fHistProUQetaPOI;} | |
51 | void SetHistProUQetaPOI(TProfile* const aHistProUQetaPOI) {this->fHistProUQetaPOI = aHistProUQetaPOI;} | |
52 | TProfile* GetHistProUQPtRP() const {return this->fHistProUQPtRP;} | |
53 | void SetHistProUQPtRP(TProfile* const aHistProUQPtRP) {this->fHistProUQPtRP = aHistProUQPtRP;} | |
54 | TProfile* GetHistProUQPtPOI() const {return this->fHistProUQPtPOI;} | |
55 | void SetHistProUQPtPOI(TProfile* const aHistProUQPtPOI) {this->fHistProUQPtPOI = aHistProUQPtPOI;} | |
e4cecfa0 | 56 | TProfile* GetHistProQaQb() const {return this->fHistProQaQb;} |
57 | void SetHistProQaQb(TProfile* const aHistProQaQb) {this->fHistProQaQb = aHistProQaQb;} | |
92041674 | 58 | TProfile* GetHistProM() const {return this->fHistProM;} |
59 | void SetHistProM(TProfile* const aHistProM) {this->fHistProM = aHistProM;} | |
395fadba | 60 | |
61 | AliFlowCommonHist* GetCommonHists() const {return this->fCommonHists; } | |
62 | void SetCommonHists(AliFlowCommonHist* const someCommonHists) {this->fCommonHists = someCommonHists; } | |
63 | AliFlowCommonHistResults* GetCommonHistsRes() const {return this->fCommonHistsRes; } | |
64 | void SetCommonHistsRes(AliFlowCommonHistResults* const someCommonHistsRes) {this->fCommonHistsRes = someCommonHistsRes; } | |
8d312f00 | 65 | |
395fadba | 66 | |
67 | ||
8d312f00 | 68 | private: |
e35ddff0 | 69 | AliFlowAnalysisWithScalarProduct(const AliFlowAnalysisWithScalarProduct& anAnalysis); //copy constructor |
70 | AliFlowAnalysisWithScalarProduct& operator=(const AliFlowAnalysisWithScalarProduct& anAnalysis); //assignment operator | |
71 | ||
e4cecfa0 | 72 | Int_t fEventNumber; // event counter |
73 | Bool_t fDebug ; // flag for analysis: more print statements | |
74 | ||
75 | TList* fHistList; //list to hold all output histograms | |
76 | TProfile* fHistProUQetaRP; //uQ(eta) for RP | |
77 | TProfile* fHistProUQetaPOI; //uQ(eta) for POI | |
78 | TProfile* fHistProUQPtRP; //uQ(pt) for RP | |
79 | TProfile* fHistProUQPtPOI; //uQ(pt) for POI | |
80 | TProfile* fHistProQaQb; //average of QaQb (for event plane resolution) | |
92041674 | 81 | TProfile* fHistProM; //holds avarage of M-1 and Ma*Mb |
395fadba | 82 | AliFlowCommonHist* fCommonHists; //control histograms |
83 | AliFlowCommonHistResults* fCommonHistsRes; //results histograms | |
e35ddff0 | 84 | |
85 | ClassDef(AliFlowAnalysisWithScalarProduct,0) // macro for rootcint | |
86 | }; | |
8d312f00 | 87 | |
0092f3c2 | 88 | |
df802279 | 89 | #endif |