{ //=========Macro generated from canvas: c1/c1 //========= (Sat Feb 5 00:38:38 2005) by ROOT version4.00/08 TCanvas *c1 = new TCanvas("c1", "c1",58,111,700,500); c1->Range(0,0,1,1); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(1); TArrow *arrow = new TArrow(0.128242,0.889908,0.387608,0.889908,0.03,"|>"); arrow->SetFillColor(2); arrow->SetFillStyle(1001); arrow->SetLineColor(2); arrow->SetLineWidth(2); arrow->Draw(); TLine *line = new TLine(0.386167,0.889908,0.667147,0.763761); line->SetLineColor(2); line->SetLineWidth(2); line->Draw(); arrow = new TArrow(0.128242,0.84633,0.39049,0.84633,0.03,"|>"); arrow->SetFillColor(8); arrow->SetFillStyle(1001); arrow->SetLineColor(8); arrow->SetLineWidth(2); arrow->Draw(); line = new TLine(0.386167,0.84633,0.667147,0.71789); line->SetLineColor(8); line->SetLineWidth(2); line->Draw(); arrow = new TArrow(0.129683,0.807339,0.252161,0.805046,0.03,"|>"); arrow->SetFillColor(4); arrow->SetFillStyle(1001); arrow->SetLineColor(4); arrow->SetLineWidth(2); arrow->Draw(); line = new TLine(0.383285,0.800459,0.665706,0.669725); line->SetLineColor(4); line->SetLineWidth(2); line->Draw(); TEllipse *ellipse = new TEllipse(0.681556,0.720183,0.0345821,0.0825688,0,360,0); ellipse->SetFillColor(19); ellipse->SetLineWidth(2); ellipse->Draw(); ellipse = new TEllipse(0.113833,0.84633,0.0345821,0.0825688,0,360,0); ellipse->SetFillColor(19); ellipse->SetLineWidth(2); ellipse->Draw(); ellipse = new TEllipse(0.121037,0.477064,0.0345821,0.0825688,0,360,0); ellipse->SetFillColor(19); ellipse->SetLineWidth(2); ellipse->Draw(); ellipse = new TEllipse(0.675793,0.233945,0.0345821,0.0825688,0,360,0); ellipse->SetFillColor(19); ellipse->SetLineWidth(2); ellipse->Draw(); TLatex * tex = new TLatex(0.100865,0.885321,"u"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.100865,0.837156,"u"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.102305,0.786697,"d"); tex->SetLineWidth(2); tex->Draw(); line = new TLine(0.24928,0.800459,0.380403,0.800459); line->SetLineColor(4); line->SetLineWidth(2); line->Draw(); ellipse = new TEllipse(0.384726,0.800459,0.00864553,0.0137615,0,360,0); ellipse->SetFillColor(4); ellipse->SetLineColor(4); ellipse->Draw(); tex = new TLatex(0.672911,0.754587,"u"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.672911,0.708716,"u"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.67147,0.66055,"d"); tex->SetLineWidth(2); tex->Draw(); ellipse = new TEllipse(0.675793,0.490826,0.0345821,0.0825688,0,360,0); ellipse->SetFillColor(19); ellipse->SetLineWidth(2); ellipse->Draw(); TCurlyLine *curlyline = new TCurlyLine(0.383285,0.795872,0.373199,0.525229,0.05,0.02); curlyline->SetLineColor(5); curlyline->SetLineWidth(2); curlyline->Draw(); curlyline = new TCurlyLine(0.386167,0.779817,0.384726,0.525229,0.05,0.02); curlyline->SetLineColor(4); curlyline->SetLineWidth(2); curlyline->Draw(); ellipse = new TEllipse(0.384726,0.800459,0.00864553,0.0137615,0,360,0); ellipse->SetFillColor(4); ellipse->SetLineColor(4); ellipse->Draw(); ellipse = new TEllipse(0.379683,0.527523,0.00936599,0.0137615,0,360,0); ellipse->SetFillColor(4); ellipse->SetLineColor(4); ellipse->Draw(); arrow = new TArrow(0.394813,0.795872,0.51585,0.743119,0.03,"|>"); arrow->SetFillColor(4); arrow->SetFillStyle(1001); arrow->SetLineColor(4); arrow->SetLineWidth(2); arrow->Draw(); arrow = new TArrow(0.654179,0.46789,0.514409,0.497706,0.03,"|>"); arrow->SetFillColor(5); arrow->SetFillStyle(1001); arrow->SetLineColor(5); arrow->SetLineWidth(2); arrow->Draw(); line = new TLine(0.514409,0.5,0.380403,0.522936); line->SetLineColor(5); line->SetLineWidth(2); line->Draw(); arrow = new TArrow(0.131124,0.53211,0.451009,0.577982,0.03,"|>"); arrow->SetFillColor(4); arrow->SetFillStyle(1001); arrow->SetLineColor(4); arrow->SetLineWidth(2); arrow->Draw(); line = new TLine(0.445245,0.577982,0.65562,0.529817); line->SetLineColor(4); line->SetLineWidth(2); line->Draw(); arrow = new TArrow(0.378963,0.522936,0.520173,0.401376,0.03,"|>"); arrow->SetFillColor(4); arrow->SetFillStyle(1001); arrow->SetLineColor(4); arrow->SetLineWidth(2); arrow->Draw(); line = new TLine(0.514409,0.405963,0.665706,0.284404); line->SetLineColor(4); line->SetLineWidth(2); line->Draw(); arrow = new TArrow(0.135447,0.486239,0.329971,0.516055,0.03,"|>"); arrow->SetFillColor(8); arrow->SetFillStyle(1001); arrow->SetLineColor(8); arrow->SetLineWidth(2); arrow->Draw(); line = new TLine(0.329971,0.513761,0.658501,0.240826); line->SetLineColor(8); line->SetLineWidth(2); line->Draw(); arrow = new TArrow(0.331412,0.513761,0.508646,0.366972,0.03,"|>"); arrow->SetFillColor(8); arrow->SetFillStyle(1001); arrow->SetLineColor(8); arrow->SetLineWidth(2); arrow->Draw(); arrow = new TArrow(0.129683,0.440367,0.322767,0.472477,0.03,"|>"); arrow->SetFillColor(2); arrow->SetFillStyle(1001); arrow->SetLineColor(2); arrow->SetLineWidth(2); arrow->Draw(); line = new TLine(0.324207,0.472477,0.657061,0.197248); line->SetLineColor(2); line->SetLineWidth(2); line->Draw(); tex = new TLatex(0.10951,0.516055,"u"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.10951,0.46789,"u"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.108069,0.422018,"d"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.668588,0.513761,"u"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.667147,0.447248,"\bar{d}"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.667147,0.261468,"d"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.668588,0.220183,"u"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.667147,0.174312,"d"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.0345821,0.775229,"proton+"); tex->SetTextAngle(90); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.0345821,0.41055,"proton+"); tex->SetTextAngle(90); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.753602,0.649083,"proton+"); tex->SetTextAngle(90); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.746398,0.424312,"pion+"); tex->SetTextAngle(90); tex->SetLineWidth(2); tex->Draw(); arrow = new TArrow(0.324207,0.474771,0.494236,0.330275,0.03,"|>"); arrow->SetFillColor(2); arrow->SetFillStyle(1001); arrow->SetLineColor(2); arrow->SetLineWidth(2); arrow->Draw(); tex = new TLatex(0.746398,0.149083,"neutron"); tex->SetTextAngle(90); tex->SetLineWidth(2); tex->Draw(); line = new TLine(0.206052,1,0.206052,0.0114679); line->SetLineStyle(3); line->SetLineWidth(4); line->Draw(); tex = new TLatex(0.0576369,0.0733945,"initial"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.0619597,0.0275229,"state"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.0691643,0.772936,"500 MeV"); tex->SetTextAngle(90); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.0778098,0.369266,"in ^{12}C Target"); tex->SetTextAngle(90); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.272334,0.658257,"gluon"); tex->SetLineWidth(2); tex->Draw(); line = new TLine(0.569164,1,0.569164,0.0114679); line->SetLineStyle(3); line->SetLineWidth(4); line->Draw(); tex = new TLatex(0.29683,0.0779817,"strong force"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.304035,0.0275229,"interaction"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.644092,0.0802752,"final"); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.639769,0.0275229,"state"); tex->SetLineWidth(2); tex->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); c1->ToggleToolBar(); }