1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 #ifndef AliFlowAnalysisWithScalarProduct_H
8 #define AliFlowAnalysisWithScalarProduct_H
12 class AliFlowTrackSimple;
13 class AliFlowEventSimple;
14 class AliFlowCommonHist;
15 //class AliFlowCommonHistResults;
23 // Description: Maker to analyze Flow from the Scalar Product method.
25 // author: N. van der Kolk (kolk@nikhef.nl)
28 class AliFlowAnalysisWithScalarProduct {
32 AliFlowAnalysisWithScalarProduct(); //default constructor
34 virtual ~AliFlowAnalysisWithScalarProduct(); //destructor
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 void WriteHistograms(TString outputFileName); //writes histograms locally
42 void SetDebug(Bool_t kt) { this->fDebug = kt ; }
43 Bool_t GetDebug() const { return this->fDebug ; }
46 TList* GetHistList() const { return this->fHistList ; } // Gets output histogram list
50 AliFlowAnalysisWithScalarProduct(const AliFlowAnalysisWithScalarProduct& anAnalysis); //copy constructor
51 AliFlowAnalysisWithScalarProduct& operator=(const AliFlowAnalysisWithScalarProduct& anAnalysis); //assignment operator
53 Int_t fEventNumber; // event counter
54 Bool_t fDebug ; // flag for analysis: more print statements
56 TList* fHistList; //list to hold all output histograms
57 TProfile* fHistProUQ; //uQ(pt)
58 AliFlowCommonHist* fCommonHists; //control histograms
60 ClassDef(AliFlowAnalysisWithScalarProduct,0) // macro for rootcint