Protection on the possibility to have just one data point. In case the fit is not...
[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);
8232a5ec 33 // virtual void Make(AliFlowEventSimple* anEvent);
f1d945a1 34 virtual void Finish();
35
36 // input files
37 void SetFirstRunFileName(TString name)
38 { this->fFirstRunFileName = name ; } // Sets input file name
39 TString GetFirstRunFileName() const
40 { return this->fFirstRunFileName ; } // Gets output file name
41 void SetFirstRunFile(TFile* file)
42 { this->fFirstRunFile = file ; } // Sets first run file
43
44 void SetSecondRunFileName(TString name)
45 { this->fSecondRunFileName = name ; } // Sets input file name
46 TString GetSecondRunFileName() const
47 { return this->fSecondRunFileName ; } // Gets output file name
48 void SetSecondRunFile(TFile* file)
49 { this->fSecondRunFile = file ; } // Sets first run file
50
51 // Output
52 void SetOutFileName(TString name) { this->fOutFileName = name ; }
53 // Sets output file name
54 TString GetOutFileName() const { return this->fOutFileName ; }
55 // Gets output file name
56 TFile* GetOutFile() const { return this->fOutFile ; }
57 // Gets output file
58
59
60 private:
61
882ffd6a 62 AliFlowAnalysisWithLYZEventPlane(const AliFlowAnalysisWithLYZEventPlane& aAnalysis); // copy constructor
63 AliFlowAnalysisWithLYZEventPlane& operator=(const AliFlowAnalysisWithLYZEventPlane& aAnalysis); // assignment operator
af795c87 64
f1d945a1 65 TFile* fOutFile; //!
66 TFile* fFirstRunFile ; //! pointer to file from first run
67 TFile* fSecondRunFile ; //! pointer to file from second run
68 TString fFirstRunFileName; //!
69 TString fSecondRunFileName; //!
70 TString fOutFileName; //!
71
72 //histograms
73 //input
882ffd6a 74 TProfile* fSecondReDtheta; // input profile
75 TProfile* fSecondImDtheta; // input profile
76 TProfile* fFirstr0theta; // input profile
77 TProfile* fSecondVPt; // input profile
f1d945a1 78 //output
882ffd6a 79 TProfile* fHistProFlow; //
80 TProfile* fHistProFlow2; //
81 TProfile* fHistProWr; //
82 TProfile* fHistProWrCorr; //
83 TH1D* fHistFlow; //
84 TH1F* fHistDeltaPhi; //
85 TH1F* fHistDeltaPhi2; //
86 TH1F* fHistDeltaPhihere; //
87 TH1F* fHistPhiEP; //
88 TH1F* fHistPhiEPhere; //
89 TH1F* fHistPhiLYZ; //
90 TH1F* fHistPhiLYZ2; //
91 TProfile* fHistProR0theta; //
92 TProfile* fHistProReDtheta; //
93 TProfile* fHistProImDtheta; //
f1d945a1 94
882ffd6a 95 AliFlowCommonHist* fCommonHists; //
96 AliFlowCommonHistResults* fCommonHistsRes; //
f1d945a1 97
882ffd6a 98 Int_t fEventNumber; // event counter
af795c87 99
0092f3c2 100 TVector2 *fQsum; // flow vector sum
f1d945a1 101 Double_t fQ2sum; // flow vector sum squared
882ffd6a 102
f1d945a1 103
104 ClassDef(AliFlowAnalysisWithLYZEventPlane, 0); // lyz analysis
105};
106
107 #endif
882ffd6a 108