]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowAnalysisWithLYZEventPlane.h
gain set to 1 for all ch
[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;
28ca24ad 20class TList;
21class Riostream;
f1d945a1 22
23// AliFlowAnalysisWithLYZEventPlane:
24// Class to do flow analysis with the event plane from the LYZ method
25// author: N. van der Kolk (kolk@nikhef.nl)
26
27
28class AliFlowAnalysisWithLYZEventPlane {
28ca24ad 29
f1d945a1 30 public:
28ca24ad 31
32 AliFlowAnalysisWithLYZEventPlane(); //default constructor
33 virtual ~AliFlowAnalysisWithLYZEventPlane(); //destructor
f1d945a1 34
35 virtual void Init();
36 virtual void Make(AliFlowEventSimple* fEvent, AliFlowLYZEventPlane* fLYZEP);
37 virtual void Finish();
38
39 // input files
28ca24ad 40 void SetSecondRunFileName(TString name) { this->fSecondRunFileName = name ; } // Sets input file name
41 TString GetSecondRunFileName() const { return this->fSecondRunFileName ; } // Gets output file name
42 void SetSecondRunFile(TFile* file) { this->fSecondRunFile = file ; } // Sets first run file
43
44 //output
45 TList* GetHistList() const {return this->fHistList; }
f1d945a1 46
47
48 private:
49
882ffd6a 50 AliFlowAnalysisWithLYZEventPlane(const AliFlowAnalysisWithLYZEventPlane& aAnalysis); // copy constructor
51 AliFlowAnalysisWithLYZEventPlane& operator=(const AliFlowAnalysisWithLYZEventPlane& aAnalysis); // assignment operator
af795c87 52
28ca24ad 53 TFile* fSecondRunFile ; // pointer to file from second run
54 TString fSecondRunFileName;
f1d945a1 55
56 //histograms
28ca24ad 57 TList* fHistList; //list ro hold all histograms
f1d945a1 58 //input
882ffd6a 59 TProfile* fSecondReDtheta; // input profile
60 TProfile* fSecondImDtheta; // input profile
61 TProfile* fFirstr0theta; // input profile
62 TProfile* fSecondVPt; // input profile
f1d945a1 63 //output
882ffd6a 64 TProfile* fHistProFlow; //
65 TProfile* fHistProFlow2; //
66 TProfile* fHistProWr; //
67 TProfile* fHistProWrCorr; //
68 TH1D* fHistFlow; //
69 TH1F* fHistDeltaPhi; //
70 TH1F* fHistDeltaPhi2; //
71 TH1F* fHistDeltaPhihere; //
72 TH1F* fHistPhiEP; //
73 TH1F* fHistPhiEPhere; //
74 TH1F* fHistPhiLYZ; //
75 TH1F* fHistPhiLYZ2; //
f1d945a1 76
882ffd6a 77 AliFlowCommonHist* fCommonHists; //
78 AliFlowCommonHistResults* fCommonHistsRes; //
f1d945a1 79
882ffd6a 80 Int_t fEventNumber; // event counter
af795c87 81
28ca24ad 82 TVector2 *fQsum; // flow vector sum
83 Double_t fQ2sum; // flow vector sum squared
882ffd6a 84
f1d945a1 85
86 ClassDef(AliFlowAnalysisWithLYZEventPlane, 0); // lyz analysis
87};
88
89 #endif
882ffd6a 90