14 etas = [1.02:.05:1.3,1.4:.2:3, 3:.5:4]
';
20 file1 = 'DrawFieldMap_hfield_sPHENIX.2d.root.data
';
21 % file2 = 'DrawFieldMap_hfield_fsPHENIX.2d.root.data
';
23 fileID = fopen(file1);
24 data1 = fscanf(fileID,'%
f%
f%
f%f\n
', [4 Inf])';
32 [Z,R]= meshgrid(-400:2:400,0:2:300);
33 % [Z,R]= meshgrid(-200:2:200,0:2:200);
83 m2014 = matfile('BABAR_V11_StationCuts_Z5.0cm_300.0
cm.mat');
97 'LineWidth',2, 'Color',[0,0,.5]);
100 plot(etas, std_RICH_draw,'-',...
101 'LineWidth',2, 'Color',[0,.5,.5]);
102 RICH_fit = polyfit(etas, std_RICH_draw,3);
103 std_RICH_fit = polyval(RICH_fit,etas);
104 %
plot(etas, std_RICH_fit,'--');
105 disp(RICH_fit./sqrt(2));
108 set(gca,'YLim',[0,
ylim],'FontSize',font_size);
110 ylabel('RICH Ring Dispersion, \Delta\
phi (
mrad)','FontSize',font_size);
115 legend('2014 Concept: arXiv:1402.1209','2018 Update: sPH-cQCD-2018-001',...
122 % 'Interpreter
','Latex
'...
127 'Interpreter
','Latex
'...
129 ,'HorizontalAlignment
','center
'...
135 ax2 = axes('Position
',get(ax1,'Position
'),...
136 'XAxisLocation
','bottom
',...
137 'YAxisLocation
','right
',...
141 set(ax2,'YLim
',[0,ylim/Theta_max*100],'FontSize',font_size);
142 set(get(ax2,'YLabel
'),...
147 SaveCavas('ePHENIXFieldRICH
');
163 contourf(Z,R,b1,0:.1:2.5,'ShowText
','on')
167 quiver(Z(1:downsample:end,1:downsample:end),R(1:downsample:end,1:downsample:end),...
168 bz1(1:downsample:end,1:downsample:end),br1(1:downsample:end,1:downsample:end)...
182 % text(0,80,'Central Tracking Volume
','VerticalAlignment
','bottom
','HorizontalAlignment
','center
','FontSize',20,'Color
',[.3 .3 .3]*.1)
183 % text(-110,80,'e-going Tracker
','VerticalAlignment
','bottom
','HorizontalAlignment
','right
','FontSize',20,'Color
',[.3 .3 .3]*.1)
184 % text(160,80,'h-going Tracker
','VerticalAlignment
','bottom
','HorizontalAlignment
','left','FontSize',20,'Color
',[.3 .3 .3]*.1)
188 h = rectangle('Position
',[-102 0 +2*102 78-0]);
189 set(h,'EdgeColor
',[.3 .3 .3]);
190 set(h,'LineWidth
',4);
193 h = line([-1.1,-1.1].*100, [.1, 0.8].*100 );
194 set(h,'Color
',[.3 .3 .3]);
195 set(h,'LineWidth
',4,'LineStyle
','-
');
197 h = line([-1.35,-1.35].*100, [.1, 0.8].*100 );
198 set(h,'Color
',[.3 .3 .3]);
199 set(h,'LineWidth
',4,'LineStyle
','-
');
203 h = line([1.2,1.2].*100, [.1, 0.8].*100 );
204 set(h,'Color
',[.3 .3 .3]);
205 set(h,'LineWidth
',4,'LineStyle
','-
');
207 h = line([1.5,1.5].*100, [.1, 1].*100 );
208 set(h,'Color
',[.3 .3 .3]);
209 set(h,'LineWidth
',4,'LineStyle
','-
');
211 % h = line([2.7,2.7,2.5].*100, [.1, .8, 1.3].*100 );
212 % set(h,'Color
',[.3 .3 .3]);
213 % set(h,'LineWidth
',4,'LineStyle
','-
');
215 for trajectory = 1:size(etas)
216 h = plot(trajectory_z(trajectory,:), trajectory_r(trajectory,:),'-
','Color
',[1,1,1]*.5 );
217 h = plot(trajectory_z(trajectory,RICH_volumne_cut(trajectory,:)), trajectory_r(trajectory,RICH_volumne_cut(trajectory,:)),...
218 '-
','Color
',[1,1,1]*.2,'LineWidth
',2);
221 SaveCavas('ePHENIXFieldRICH
');