]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowCommon/AliFlowCumuConstants.h
Added Histogram Results/f3pCorrelatorHist holds the value of cos[n(2phi1-phi2-phi3...
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowCumuConstants.h
CommitLineData
f1d945a1 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#ifndef ALIFLOWCUMUCONSTANTS_H
7#define ALIFLOWCUMUCONSTANTS_H
8
9#include <TROOT.h>
10
f1d945a1 11// Description: constants for the LYZ flow makers
bee2efdc 12// Author: Ante Bilandzic, Nikhef
13// modified: Mikolaj Krzewicki, Nikhef (mikolaj.krzewicki@cern.ch)
14
15#include <TNamed.h>
16
17class AliFlowCumuConstants : public TNamed {
18
19public:
20 AliFlowCumuConstants();
21 virtual ~AliFlowCumuConstants();
22 static AliFlowCumuConstants* GetMaster();
23
24 //static consts for compatibility only!
4fbdb40a 25 static const Int_t fgkQmax = 11; // Qmax
26 static const Int_t fgkPmax = 5; // Pmax
27 static const Int_t fgkQmax4 = 5; // Qmax4
28 static const Int_t fgkPmax4 = 2; // Pmax4
29 static const Int_t fgkQmax6 = 7; // Qmax6
30 static const Int_t fgkPmax6 = 3; // Pmax6
31 static const Int_t fgkQmax8 = 9; // Qmax8
32 static const Int_t fgkPmax8 = 4; // Pmax8
33 static const Int_t fgkQmax16 = 17; // Qmax16
34 static const Int_t fgkPmax16 = 8; // Pmax16
35 static const Int_t fgkFlow = 2; // flow estimate
36 static const Int_t fgkMltpl = 1; // multiple
bee2efdc 37 //static const Double_t fgkBinWidth = 0.1; //
38 //static const Double_t fgkR0 = 2.2; //
39 //static const Double_t fgkPtMax = 3.1; //
40 //static const Double_t fgkPtMin = 0.0; //
41 //static const Bool_t fgkOtherEquations = kFALSE; //
42
4fbdb40a 43 Int_t GetQmax() const {return fQmax;}
44 Int_t GetPmax() const {return fPmax;}
45 Int_t GetQmax4() const {return fQmax4;}
46 Int_t GetPmax4() const {return fPmax4;}
47 Int_t GetQmax6() const {return fQmax6;}
48 Int_t GetPmax6() const {return fPmax6;}
49 Int_t GetQmax8() const {return fQmax8;}
50 Int_t GetPmax8() const {return fPmax8;}
51 Int_t GetQmax16() const {return fQmax16;}
52 Int_t GetPmax16() const {return fPmax16;}
53 Int_t GetFlow() const {return fFlow;}
54 Int_t GetMltpl() const {return fMltpl;}
55 Double_t GetBinWidth() const {return fBinWidth;}
56 Double_t GetR0() const {return fR0;}
57 Double_t GetPtMax() const {return fPtMax;}
58 Double_t GetPtMin() const {return fPtMin;}
59 Bool_t GetOtherEquations() const {return fOtherEquations;}
bee2efdc 60
61 void SetQmax( Int_t i ) {fQmax = i;}
62 void SetPmax( Int_t i ) {fPmax = i;}
63 void SetQmax4( Int_t i ) {fQmax4 = i;}
64 void SetPmax4( Int_t i ) {fPmax4 = i;}
65 void SetQmax6( Int_t i ) {fQmax6 = i;}
66 void SetPmax6( Int_t i ) {fPmax6 = i;}
67 void SetQmax8( Int_t i ) {fQmax8 = i;}
68 void SetPmax8( Int_t i ) {fPmax8 = i;}
69 void SetQmax16( Int_t i ) {fQmax16 = i;}
70 void SetPmax16( Int_t i ) {fPmax16 = i;}
71 void SetFlow( Int_t i ) {fFlow = i;}
72 void SetMltpl( Int_t i ) {fMltpl = i;}
73 void SetBinWidth( Double_t i ) {fBinWidth = i;}
74 void SetR0( Double_t i ) {fR0 = i;}
75 void SetPtMax( Double_t i ) {fPtMax = i;}
76 void SetPtMin( Double_t i ) {fPtMin = i;}
77 void SetOtherEquations( Bool_t i ) {fOtherEquations = i;}
78
79private:
80 AliFlowCumuConstants& operator= (const AliFlowCumuConstants& c);
81 AliFlowCumuConstants(const AliFlowCumuConstants& a);
f1d945a1 82
4fbdb40a 83 Int_t fQmax; // Qmax
84 Int_t fPmax; // Pmax
85 Int_t fQmax4; // Qmax4
86 Int_t fPmax4; // Pmax4
87 Int_t fQmax6; // Qmax6
88 Int_t fPmax6; // Pmax6
89 Int_t fQmax8; // Qmax8
90 Int_t fPmax8; // Pmax8
91 Int_t fQmax16; // Qmax16
92 Int_t fPmax16; // Pmax16
93 Int_t fFlow; // flow estimate
94 Int_t fMltpl; // multiple
f1d945a1 95
bee2efdc 96 // Histograms limits
4fbdb40a 97 Double_t fBinWidth; // bin width
98 Double_t fR0; // R0
99 Double_t fPtMax; // Pt max
100 Double_t fPtMin; // Pt min
b6cd16a9 101
bee2efdc 102 // Other numerical equations for cumulants
4fbdb40a 103 Bool_t fOtherEquations; // othe equations
bee2efdc 104
4fbdb40a 105 static AliFlowCumuConstants* fgPMasterConfig; // master config
bee2efdc 106
107 ClassDef(AliFlowCumuConstants,1) // macro for rootcint
108};
f1d945a1 109
762dff0f 110#endif
111