]>
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 | ||
7 | #ifndef AliFlowAnalysisWithScalarProduct_H | |
8 | #define AliFlowAnalysisWithScalarProduct_H | |
9 | ||
8d312f00 | 10 | #include "TString.h" |
11 | ||
12 | class AliFlowTrackSimple; | |
13 | class AliFlowEventSimple; | |
14 | class AliFlowCommonHist; | |
15 | //class AliFlowCommonHistResults; | |
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 | |
40 | ||
b76ccfd5 | 41 | void SetDebug(Bool_t kt) { this->fDebug = kt ; } |
42 | Bool_t GetDebug() const { return this->fDebug ; } | |
8d312f00 | 43 | |
8d312f00 | 44 | // Output |
e35ddff0 | 45 | TList* GetHistList() const { return this->fHistList ; } // Gets output histogram list |
8d312f00 | 46 | |
47 | ||
48 | private: | |
e35ddff0 | 49 | AliFlowAnalysisWithScalarProduct(const AliFlowAnalysisWithScalarProduct& anAnalysis); //copy constructor |
50 | AliFlowAnalysisWithScalarProduct& operator=(const AliFlowAnalysisWithScalarProduct& anAnalysis); //assignment operator | |
51 | ||
52 | Int_t fEventNumber; // event counter | |
53 | Bool_t fDebug ; // flag for analysis: more print statements | |
54 | ||
55 | TList* fHistList; //list to hold all output histograms | |
56 | TProfile* fHistProUQ; //uQ(pt) | |
57 | AliFlowCommonHist* fCommonHists; //control histograms | |
58 | ||
59 | ClassDef(AliFlowAnalysisWithScalarProduct,0) // macro for rootcint | |
60 | }; | |
8d312f00 | 61 | |
0092f3c2 | 62 | |
df802279 | 63 | #endif |