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
10 #include "TVector2.h" //called explicitly
11 #include "AliFlowVector.h"
14 class AliFlowTrackSimple;
15 class AliFlowEventSimple;
16 class AliFlowCommonHist;
17 //class AliFlowCommonHistResults;
24 // Description: Maker to analyze Flow from the Scalar Product method.
26 // author: N. van der Kolk (kolk@nikhef.nl)
29 class AliFlowAnalysisWithScalarProduct {
33 AliFlowAnalysisWithScalarProduct(); //default constructor
35 virtual ~AliFlowAnalysisWithScalarProduct(); //destructor
37 void Init(); //defines variables and histograms
38 void Make(AliFlowEventSimple* fEvent); //calculates variables and fills histograms
39 void Finish(); //saves histograms
41 void SetDebug(Bool_t kt) { this->fDebug = kt ; }
42 Bool_t GetDebug() const { return this->fDebug ; }
46 void SetHistFileName(TString name) { this->fHistFileName = name ; } // Sets output file name
47 TString GetHistFileName() const { return this->fHistFileName ; } // Gets output file name
48 TFile* GetHistFile() const { return this->fHistFile ; } // Gets output file
55 AliFlowVector fQ; // flow vector
56 TVector2 fU; // particle unit vector
58 Int_t fEventNumber; // event counter
60 AliFlowEventSimple* fEvent ; //!
61 AliFlowTrackSimple* fTrack ; //!
63 Bool_t fDebug ; //! flag for lyz analysis: more print statements
65 TString fHistFileName; //!
68 TProfile* fHistProUQ; //!
70 AliFlowCommonHist* fCommonHists; //!
71 //AliFlowCommonHistResults* fCommonHistsRes; //!
73 ClassDef(AliFlowAnalysisWithScalarProduct,0) // macro for rootcint