]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowAnalysisWithLYZEventPlane.h
Moved old reacton plane code to /oldcode
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowAnalysisWithLYZEventPlane.h
CommitLineData
f1d945a1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3/* $Id$ */
4
5#ifndef AliFlowAnalysisWithLYZEventPlane_H
6#define AliFlowAnalysisWithLYZEventPlane_H
7
8class AliFlowVector;
9class AliFlowTrackSimple;
10class AliFlowEventSimple;
11class AliFlowCommonHist;
12class AliFlowCommonHistResults;
13class AliFlowLYZEventPlane;
14
15class TString;
16class TFile;
17class TProfile;
18class TH1F;
19class TH1D;
20
21// AliFlowAnalysisWithLYZEventPlane:
22// Class to do flow analysis with the event plane from the LYZ method
23// author: N. van der Kolk (kolk@nikhef.nl)
24
25
26class AliFlowAnalysisWithLYZEventPlane {
27 public:
28 AliFlowAnalysisWithLYZEventPlane();
29 virtual ~AliFlowAnalysisWithLYZEventPlane();
30
31 virtual void Init();
32 virtual void Make(AliFlowEventSimple* fEvent, AliFlowLYZEventPlane* fLYZEP);
33 virtual void Finish();
34
35 // input files
36 void SetFirstRunFileName(TString name)
37 { this->fFirstRunFileName = name ; } // Sets input file name
38 TString GetFirstRunFileName() const
39 { return this->fFirstRunFileName ; } // Gets output file name
40 void SetFirstRunFile(TFile* file)
41 { this->fFirstRunFile = file ; } // Sets first run file
42
43 void SetSecondRunFileName(TString name)
44 { this->fSecondRunFileName = name ; } // Sets input file name
45 TString GetSecondRunFileName() const
46 { return this->fSecondRunFileName ; } // Gets output file name
47 void SetSecondRunFile(TFile* file)
48 { this->fSecondRunFile = file ; } // Sets first run file
49
50 // Output
51 void SetOutFileName(TString name) { this->fOutFileName = name ; }
52 // Sets output file name
53 TString GetOutFileName() const { return this->fOutFileName ; }
54 // Gets output file name
55 TFile* GetOutFile() const { return this->fOutFile ; }
56 // Gets output file
57
58
59 private:
60
61 //AliFlowAnalysisWithLYZEventPlane(const AliFlowAnalysisWithLYZEventPlane& lyz) {} // AliFlowAnalysisWithLYZEventPlane object cannot be copied
62 //void operator=(const AliFlowAnalysisWithLYZEventPlane &lyz) {}
63
64 TFile* fOutFile; //!
65 TFile* fFirstRunFile ; //! pointer to file from first run
66 TFile* fSecondRunFile ; //! pointer to file from second run
67 TString fFirstRunFileName; //!
68 TString fSecondRunFileName; //!
69 TString fOutFileName; //!
70
71 //histograms
72 //input
73 TProfile* fSecondReDtheta; //!
74 TProfile* fSecondImDtheta; //!
75 TProfile* fFirstr0theta; //!
76 TProfile* fSecondVPt; //!
77 //output
78 TProfile* fHistProFlow; //!
79 TProfile* fHistProFlow2; //!
80 TProfile* fHistProWr; //!
81 TProfile* fHistProWrCorr; //!
82 TH1D* fHistFlow; //!
83 TH1F* fHistDeltaPhi; //!
84 TH1F* fHistDeltaPhi2; //!
85 TH1F* fHistDeltaPhihere; //!
86 TH1F* fHistPhiEP; //!
87 TH1F* fHistPhiEPhere; //!
88 TH1F* fHistPhiLYZ; //!
89 TH1F* fHistPhiLYZ2; //!
90 TProfile* fHistProR0theta; //!
91 TProfile* fHistProReDtheta; //!
92 TProfile* fHistProImDtheta; //!
93
94 AliFlowCommonHist* fCommonHists; //!
95 AliFlowCommonHistResults* fCommonHistsRes; //!
96
97 Int_t fEventNumber; // event counter
98 Double_t fQX; // local flow vector
99 Double_t fQY; // local flow vector
100 AliFlowVector fQ; // flow vector
101 TVector2 fQsum; // flow vector sum
102 Double_t fQ2sum; // flow vector sum squared
103 Double_t fQtheta; // flow vector projected on ref. angle theta
104
105 AliFlowEventSimple* fEvent ; //!
106 AliFlowTrackSimple* fTrack ; //!
107 AliFlowLYZEventPlane* fLYZEP ; //!
108
109 ClassDef(AliFlowAnalysisWithLYZEventPlane, 0); // lyz analysis
110};
111
112 #endif