]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowAnalysisWithScalarProduct.h
9ee3625c1bdd355c289f4d6cda79b931878f1c52
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowAnalysisWithScalarProduct.h
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
10 #include "TVector2.h"          //called explicitly
11 #include "AliFlowVector.h"
12 #include "TString.h"
13
14 class AliFlowTrackSimple;
15 class AliFlowEventSimple;
16 class AliFlowCommonHist;
17 //class AliFlowCommonHistResults;
18
19 class TProfile;
20 class TFile;
21 class Riostream;
22
23
24 // Description: Maker to analyze Flow from the Scalar Product method.
25 //               
26 // author: N. van der Kolk (kolk@nikhef.nl)              
27
28  
29 class AliFlowAnalysisWithScalarProduct {
30
31  public:
32  
33    AliFlowAnalysisWithScalarProduct();   //default constructor
34  
35    virtual  ~AliFlowAnalysisWithScalarProduct();  //destructor
36  
37    void    Init();                             //defines variables and histograms
38    void    Make(AliFlowEventSimple* fEvent);   //calculates variables and fills histograms
39    void    Finish();                           //saves histograms
40   
41    void      SetDebug(Bool_t kt)                 { this->fDebug = kt ; }
42    Bool_t    GetDebug() const                    { return this->fDebug ; }
43
44
45    // Output 
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
49   
50    
51  private:
52    //cp const
53    //ass op
54    
55    AliFlowVector  fQ;       // flow vector
56    TVector2  fU;            // particle unit vector
57    
58    Int_t     fEventNumber;  // event counter
59          
60    AliFlowEventSimple*   fEvent ;     //!
61    AliFlowTrackSimple*   fTrack ;     //!
62      
63    Bool_t       fDebug ;            //! flag for lyz analysis: more print statements
64
65    TString      fHistFileName;      //!
66    TFile*       fHistFile;          //!
67       
68    TProfile*      fHistProUQ;              //!
69
70    AliFlowCommonHist* fCommonHists;              //!
71    //AliFlowCommonHistResults* fCommonHistsRes;    //!
72
73    ClassDef(AliFlowAnalysisWithScalarProduct,0)  // macro for rootcint
74      };
75  
76      
77 #endif