]>
Commit | Line | Data |
---|---|---|
09f19db2 | 1 | const int nSTARcentPoints =9; |
2 | const int nSTARpTPoints =8; | |
3 | const int nSTARetaPoints =20; | |
4 | const int nSTARsystems = 2; | |
5 | ||
6 | // http://drupal.star.bnl.gov/STAR/files/starpublications/120/data.html | |
7 | ||
8 | // from Fig. 3 http://prl.aps.org/abstract/PRL/v101/i25/e252301 | |
9 | // "http://drupal.star.bnl.gov/STAR/files/starpublications/120/fig2.html" | |
10 | float v1_AuAu_200GeV_pT_5_40[nSTARetaPoints][5]= | |
11 | { | |
12 | 0.226, 0.074, 0.076, -0.096, 0.011, | |
13 | 0.394, 0.106, 0.094, -0.136, 0.010, | |
14 | 0.592, 0.108, 0.92, -0.149, 0.012, | |
15 | 0.832, 0.168, 0.132, -0.152, 0.013, | |
16 | 1.168, 0.232, 0.168, -0.096, 0.018, | |
17 | 1.628, 0.372, 0.228, -0.007, 0.026, | |
18 | 2.278, 0.522, 0.278, 0.237, 0.052, | |
19 | 3.170, 0.830, 0.370, 0.311, 0.127 | |
20 | }; | |
21 | ||
22 | float v1_AuAu_200GeV_pT_40_80[nSTARetaPoints][5]= | |
23 | { | |
24 | 0.230, 0.070, 0.080, -0.114, 0.016, | |
25 | 0.393, 0.107, 0.093, -0.193, 0.015, | |
26 | 0.591, 0.109, 0.91, -0.244, 0.020, | |
27 | 0.830, 0.170, 0.130, -0.246, 0.022, | |
28 | 1.166, 0.234, 0.166, -0.212, 0.030, | |
29 | 1.626, 0.374, 0.226, -0.133, 0.046, | |
30 | 2.281, 0.519, 0.281, -0.096, 0.091, | |
31 | 3.180, 0.820, 0.380, -0.154, 0.211 | |
32 | }; | |
33 | ||
34 | // from Fig. 3 http://prl.aps.org/abstract/PRL/v101/i25/e252301 | |
35 | // "http://drupal.star.bnl.gov/STAR/files/starpublications/120/fig3.html" | |
36 | float v1_AuAu_200GeV_eta_30_60[nSTARetaPoints][5]= | |
37 | { | |
38 | -3.82, 0.12, 0.18, 2.898, 0.048, | |
39 | -3.54, 0.14, 0.16, 2.465, 0.033, | |
40 | -3.30, 0.10, 0.10, 2.076, 0.036, | |
41 | -3.10, 0.10, 0.10, 1.894, 0.034, | |
42 | -2.87, 0.17, 0.13, 1.644, 0.030, | |
43 | -2.64, 0.14, 0.06, 1.417, 0.102, | |
44 | -1.03, 0.13, 0.27, 0.385, 0.022, | |
45 | -0.75, 0.15, 0.15, 0.216, 0.018, | |
46 | -0.45, 0.15, 0.15, 0.101, 0.018, | |
47 | -0.15, 0.15, 0.15, 0.076, 0.018, | |
48 | 0.15, 0.15, 0.15, -0.010, 0.018, | |
49 | 0.45, 0.15, 0.15, -0.124, 0.018, | |
50 | 0.75, 0.15, 0.15, -0.184, 0.018, | |
51 | 1.03, 0.27, 0.13, -0.330, 0.022, | |
52 | 2.64, 0.06, 0.14, -1.669, 0.103, | |
53 | 2.87, 0.13, 0.17, -1.679, 0.032, | |
54 | 3.10, 0.10, 0.10, -1.837, 0.036, | |
55 | 3.30, 0.10, 0.10, -2.128, 0.038, | |
56 | 3.54, 0.16, 0.14, -2.445, 0.035, | |
57 | 3.82, 0.18, 0.12, -2.611, 0.051 | |
58 | }; | |
59 | ||
60 | float v1_CuCu_200GeV_eta_30_60[12][5]= | |
61 | { | |
62 | -3.76, 0.16, 0.24, 2.869, 0.099, | |
63 | -3.39, 0.19, 0.21, 2.220, 0.071, | |
64 | -3.00, 0.20, 0.20, 1.663, 0.064, | |
65 | -2.71, 0.21, 0.09, 1.177, 0.128, | |
66 | -0.85, 0.25, 0.45, 0.233, 0.040, | |
67 | -0.30, 0.30, 0.30, 0.167, 0.036, | |
68 | 0.30, 0.30, 0.30, -0.036, 0.036, | |
69 | 0.85, 0.45, 0.25, -0.224, 0.040, | |
70 | 2.71, 0.09, 0.21, -1.381, 0.139, | |
71 | 3.00, 0.20, 0.20, -1.587, 0.067, | |
72 | 3.39, 0.21, 0.19, -2.072, 0.073, | |
73 | 3.76, 0.24, 0.16, -2.672, 0.100 | |
74 | }; | |
75 | ||
76 | float v1_AuAu_62GeV_eta_30_60[nSTARetaPoints][5]= | |
77 | { | |
78 | -3.82, 0.12, 0.18, 5.656, 0.244, | |
79 | -3.54, 0.14, 0.16, 5.572, 0.166, | |
80 | -3.30, 0.10, 0.10, 5.329, 0.176, | |
81 | -3.10, 0.10, 0.10, 4.699, 0.162, | |
82 | -2.87, 0.17, 0.13, 3.824, 0.142, | |
83 | -2.64, 0.14, 0.06, 2.781, 0.473, | |
84 | -1.02, 0.12, 0.28, 0.925, 0.087, | |
85 | -0.75, 0.15, 0.15, 0.669, 0.069, | |
86 | -0.45, 0.15, 0.15, 0.317, 0.068, | |
87 | -0.15, 0.15, 0.15, 0.122, 0.067, | |
88 | 0.15, 0.15, 0.15, -0.118, 0.067, | |
89 | 0.45, 0.15, 0.15, -0.357, 0.067, | |
90 | 0.75, 0.15, 0.15, -0.634, 0.068, | |
91 | 1.02, 0.28, 0.12, -0.882, 0.086, | |
92 | 2.64, 0.06, 0.14, -3.453, 0.328, | |
93 | 2.87, 0.13, 0.17, -3.986, 0.122, | |
94 | 3.10, 0.10, 0.10, -4.602, 0.149, | |
95 | 3.30, 0.10, 0.10, -5.176, 0.161, | |
96 | 3.54, 0.16, 0.14, -5.888, 0.156, | |
97 | 3.82, 0.18, 0.12, -6.434, 0.233 | |
98 | }; | |
99 | ||
100 | float v1_CuCu_62GeV_eta_30_60[16][5]= | |
101 | { | |
102 | -3.76, 0.16, 0.24, 8.914, 0.853, | |
103 | -3.44, 0.14, 0.16, 5.966, 0.667, | |
104 | -3.15, 0.15, 0.15, 6.035, 0.619, | |
105 | -2.82, 0.32, 0.18, 4.218, 0.493, | |
106 | -1.04, 0.14, 0.26, 1.027, 0.359, | |
107 | -0.75, 0.15, 0.15, 0.500, 0.307, | |
108 | -0.45, 0.15, 0.15, 0.363, 0.306, | |
109 | -0.15, 0.15, 0.15, 0.282, 0.307, | |
110 | 0.15, 0.15, 0.15, -0.174, 0.306, | |
111 | 0.45, 0.15, 0.15, -0.431, 0.316, | |
112 | 0.75, 0.15, 0.15, -0.466, 0.314, | |
113 | 1.04, 0.26, 0.14, -1.205, 0.381, | |
114 | 2.82, 0.18, 0.32, -3.454, 0.545, | |
115 | 3.15, 0.15, 0.15, -5.165, 0.642, | |
116 | 3.44, 0.16, 0.14, -6.084, 0.742, | |
117 | 3.76, 0.24, 0.16, -6.599, 0.872 | |
118 | }; | |
119 | // from Fig. 4 http://prl.aps.org/abstract/PRL/v101/i25/e252301 | |
120 | // "http://drupal.star.bnl.gov/STAR/files/starpublications/120/Fig4.html" | |
121 | ||
122 | float star_data_AuAu200_cent[nSTARcentPoints][5]= | |
123 | { | |
124 | //Au+Au@200 | |
125 | 2.5, -0.038, 0.026, -0.642, 0.059, | |
126 | 7.5, -0.084, 0.015, -0.794, 0.033, | |
127 | 15, -0.130, 0.009, -1.104, 0.018, | |
128 | 25, -0.123, 0.008, -1.511, 0.016, | |
129 | 35, -0.153, 0.010, -1.894, 0.017, | |
130 | 45, -0.160, 0.012, -2.284, 0.020, | |
131 | 55, -0.192, 0.015, -2.610, 0.025, | |
132 | 65, -0.191, 0.034, -2.904, 0.036, | |
133 | 75, -0.206, 0.038, -3.061, 0.059 | |
134 | }; | |
135 | float star_data_AuAu62_cent[nSTARcentPoints][5]= | |
136 | { | |
137 | //Au+Au@62 | |
138 | 2.5, -999,0,0,0, | |
139 | 7.5, -999,0,0,0, | |
140 | 15, -0.280, 0.051, -2.173, 0.117, | |
141 | 25, -0.352, 0.038, -3.010, 0.082, | |
142 | 35, -0.463, 0.035, -3.978, 0.071, | |
143 | 45, -0.467, 0.038, -5.089, 0.074, | |
144 | 55, -0.468, 0.044, -6.303, 0.083, | |
145 | 65, -0.553, 0.058, -7.558, 0.105, | |
146 | 75, -0.531, 0.086, -8.554, 0.152 | |
147 | }; | |
148 | TGraphErrors *v1_star_AuAu62_cent; | |
149 | TGraphErrors *v1_star_AuAu200_cent; | |
150 | TGraphErrors *v1_star_AuAu62_30_60_eta; | |
151 | TGraphErrors *v1_star_AuAu200_30_60_eta; | |
152 | TGraphErrors *v1_star_AuAu200_5_40_pT; | |
153 | TGraphErrors *v1_star_AuAu200_40_80_pT; | |
154 | ||
155 | TGraphErrors *star_dataGraph_cent[nSTARsystems]; | |
156 | TGraphErrors *star_dataGraph_eta[nSTARsystems]; | |
157 | TGraphErrors *star_dataGraph_pT[nSTARsystems]; | |
158 | ||
159 | void directedFlow_2008_STARdataPt(float nSTARscale1 =0.01,float nSTARscale2 =0.01) | |
160 | { | |
161 | float star_dataX[nSTARsystems][nSTARpTPoints]; | |
162 | float star_dataY[nSTARsystems][nSTARpTPoints]; | |
163 | float star_dataXerr[nSTARsystems][nSTARpTPoints]; | |
164 | float star_dataYerr[nSTARsystems][nSTARpTPoints]; | |
165 | for (int i=0; i < nSTARpTPoints; ++i) | |
166 | { | |
167 | star_dataX[0][i] = v1_AuAu_200GeV_pT_5_40[i][0]; | |
168 | star_dataXerr[0][i] = 0; | |
169 | star_dataY[0][i] = nSTARscale1*v1_AuAu_200GeV_pT_5_40[i][3]; | |
170 | star_dataYerr[0][i] = nSTARscale1*v1_AuAu_200GeV_pT_5_40[i][4]; | |
171 | ||
172 | star_dataX[1][i] = v1_AuAu_200GeV_pT_40_80[i][0]; | |
173 | star_dataXerr[1][i] = 0; | |
174 | star_dataY[1][i] = nSTARscale2*v1_AuAu_200GeV_pT_40_80[i][3]; | |
175 | star_dataYerr[1][i] = nSTARscale2*v1_AuAu_200GeV_pT_40_80[i][4]; | |
176 | } | |
177 | for (int j=0; j < nSTARsystems; ++j) | |
178 | { | |
179 | star_dataGraph_pT[j]= new TGraphErrors(nSTARpTPoints,star_dataX[j],star_dataY[j],star_dataXerr[j],star_dataYerr[j]); | |
180 | star_dataGraph_pT[j]->SetLineColor(j+1); | |
181 | star_dataGraph_pT[j]->SetLineWidth(3); | |
182 | star_dataGraph_pT[j]->SetLineStyle(3); | |
183 | star_dataGraph_pT[j]->SetMarkerColor(j+1); | |
184 | star_dataGraph_pT[j]->SetMarkerStyle(24+j); | |
185 | star_dataGraph_pT[j]->SetMarkerSize(3); | |
186 | v1_star_AuAu200_5_40_pT = star_dataGraph_pT[0]; | |
187 | v1_star_AuAu200_40_80_pT = star_dataGraph_pT[1]; | |
188 | } | |
189 | } | |
190 | ||
191 | void directedFlow_2008_STARdataCentrality(float nSTARscale1 =0.01,float nSTARscale2 =0.01) | |
192 | { | |
193 | float star_dataX[nSTARsystems][nSTARcentPoints]; | |
194 | float star_dataY[nSTARsystems][nSTARcentPoints]; | |
195 | float star_dataXerr[nSTARsystems][nSTARcentPoints]; | |
196 | float star_dataYerr[nSTARsystems][nSTARcentPoints]; | |
197 | for (int i=0; i < nSTARcentPoints; ++i) | |
198 | { | |
199 | star_dataX[0][i] = star_data_AuAu200_cent[i][0]; | |
200 | star_dataXerr[0][i] = 0; | |
201 | star_dataY[0][i] = nSTARscale1*star_data_AuAu200_cent[i][1]; | |
202 | star_dataYerr[0][i] = nSTARscale1*star_data_AuAu200_cent[i][2]; | |
203 | ||
204 | star_dataX[1][i] = star_data_AuAu62_cent[i][0]; | |
205 | star_dataXerr[1][i] = 0; | |
206 | star_dataY[1][i] = nSTARscale2*star_data_AuAu62_cent[i][1]; | |
207 | star_dataYerr[1][i] = nSTARscale2*star_data_AuAu62_cent[i][2]; | |
208 | } | |
209 | for (int j=0; j < nSTARsystems; ++j) | |
210 | { | |
211 | star_dataGraph_cent[j]= new TGraphErrors(nSTARcentPoints,star_dataX[j],star_dataY[j],star_dataXerr[j],star_dataYerr[j]); | |
212 | star_dataGraph_cent[j]->SetLineColor(j+1); | |
213 | star_dataGraph_cent[j]->SetLineWidth(3); | |
214 | star_dataGraph_cent[j]->SetLineStyle(3); | |
215 | star_dataGraph_cent[j]->SetMarkerColor(j+1); | |
216 | star_dataGraph_cent[j]->SetMarkerStyle(24+j); | |
217 | star_dataGraph_cent[j]->SetMarkerSize(3); | |
218 | } | |
219 | v1_star_AuAu200_cent = star_dataGraph_cent[0]; | |
220 | v1_star_AuAu62_cent = star_dataGraph_cent[1]; | |
221 | } | |
222 | ||
223 | void directedFlow_2008_STARdataEta(float nSTARscale1 =0.01,float nSTARscale2 =0.01) | |
224 | { | |
225 | float star_dataX[nSTARsystems][nSTARetaPoints]; | |
226 | float star_dataY[nSTARsystems][nSTARetaPoints]; | |
227 | float star_dataXerr[nSTARsystems][nSTARetaPoints]; | |
228 | float star_dataYerr[nSTARsystems][nSTARetaPoints]; | |
229 | for (int i=0; i < nSTARetaPoints; ++i) | |
230 | { | |
231 | star_dataX[0][i] = v1_AuAu_200GeV_eta_30_60[i][0]; | |
232 | star_dataXerr[0][i] = 0; | |
233 | star_dataY[0][i] = nSTARscale1*v1_AuAu_200GeV_eta_30_60[i][3]; | |
234 | star_dataYerr[0][i] = nSTARscale1*v1_AuAu_200GeV_eta_30_60[i][4]; | |
235 | ||
236 | star_dataX[1][i] = v1_AuAu_62GeV_eta_30_60[i][0]; | |
237 | star_dataXerr[1][i] = 0; | |
238 | star_dataY[1][i] = nSTARscale2*v1_AuAu_62GeV_eta_30_60[i][3]; | |
239 | star_dataYerr[1][i] = nSTARscale2*v1_AuAu_62GeV_eta_30_60[i][4]; | |
240 | } | |
241 | for (int j=0; j < nSTARsystems; ++j) | |
242 | { | |
243 | star_dataGraph_eta[j]= new TGraphErrors(nSTARetaPoints,star_dataX[j],star_dataY[j],star_dataXerr[j],star_dataYerr[j]); | |
244 | star_dataGraph_eta[j]->SetLineColor(j+1); | |
245 | star_dataGraph_eta[j]->SetLineWidth(3); | |
246 | star_dataGraph_eta[j]->SetLineStyle(3); | |
247 | star_dataGraph_eta[j]->SetMarkerColor(j+1); | |
248 | star_dataGraph_eta[j]->SetMarkerStyle(24+j); | |
249 | star_dataGraph_eta[j]->SetMarkerSize(3); | |
250 | v1_star_AuAu200_30_60_eta = star_dataGraph_eta[0]; | |
251 | v1_star_AuAu62_30_60_eta = star_dataGraph_eta[1]; | |
252 | } | |
253 | } | |
254 | ||
255 |