Browse Source

First commit

Peter Parfenov 6 months ago
commit
26c529f8b1
42 changed files with 39311 additions and 0 deletions
  1. 485 0
      FugureMacros/Resvn.C
  2. 3922 0
      FugureMacros/v2.C
  3. 763 0
      FugureMacros/v2_CH_BBC_pt_cent0.C
  4. 763 0
      FugureMacros/v2_CH_BBC_pt_cent1.C
  5. 763 0
      FugureMacros/v2_CH_BBC_pt_cent2.C
  6. 763 0
      FugureMacros/v2_CH_BBC_pt_cent3.C
  7. 763 0
      FugureMacros/v2_CH_BBC_pt_cent4.C
  8. 763 0
      FugureMacros/v2_CH_BBC_pt_cent5.C
  9. 763 0
      FugureMacros/v2_CH_BBC_pt_cent6.C
  10. 1972 0
      FugureMacros/v2_ptShifted_0.C
  11. 1972 0
      FugureMacros/v2_ptShifted_1.C
  12. 1972 0
      FugureMacros/v2_ptShifted_2.C
  13. 1972 0
      FugureMacros/v2_ptShifted_3.C
  14. 1972 0
      FugureMacros/v2_ptShifted_4.C
  15. 1972 0
      FugureMacros/v2_ptShifted_5.C
  16. 3370 0
      FugureMacros/v3.C
  17. 1880 0
      FugureMacros/v3_ptShifted_0.C
  18. 1880 0
      FugureMacros/v3_ptShifted_1.C
  19. 1880 0
      FugureMacros/v3_ptShifted_2.C
  20. 1880 0
      FugureMacros/v3_ptShifted_3.C
  21. 1880 0
      FugureMacros/v3_ptShifted_4.C
  22. 1880 0
      FugureMacros/v3_ptShifted_5.C
  23. BIN
      proceedings/Figures/Resvn.pdf
  24. BIN
      proceedings/Figures/c_Res3sub3.pdf
  25. BIN
      proceedings/Figures/v2.pdf
  26. BIN
      proceedings/Figures/v2_CH_BBC_pt_cent2.pdf
  27. BIN
      proceedings/Figures/v2_CH_BBC_pt_cent5.pdf
  28. BIN
      proceedings/Figures/v2_ptShifted_2.pdf
  29. BIN
      proceedings/Figures/v2_ptShifted_5.pdf
  30. BIN
      proceedings/Figures/v3.pdf
  31. BIN
      proceedings/Figures/v3_ptShifted_2.pdf
  32. BIN
      proceedings/Figures/v3_ptShifted_5.pdf
  33. 64 0
      proceedings/References.bib
  34. 32 0
      proceedings/proceeding.aux
  35. 139 0
      proceedings/proceeding.bbl
  36. 2022 0
      proceedings/proceeding.bcf
  37. 17 0
      proceedings/proceeding.blg
  38. 621 0
      proceedings/proceeding.log
  39. BIN
      proceedings/proceeding.pdf
  40. 85 0
      proceedings/proceeding.run.xml
  41. BIN
      proceedings/proceeding.synctex.gz
  42. 101 0
      proceedings/proceeding.tex

+ 485 - 0
FugureMacros/Resvn.C

@@ -0,0 +1,485 @@
+void Resvn()
+{
+//=========Macro generated from canvas: canvTot/Canvas total
+//=========  (Mon May 27 09:26:50 2019) by ROOT version 6.17/01
+   TCanvas *canvTot = new TCanvas("canvTot", "Canvas total",0,0,900,650);
+   gStyle->SetOptStat(0);
+   gStyle->SetOptTitle(0);
+   canvTot->Range(-17.36,-0.2,98.37333,1.133333);
+   canvTot->SetFillColor(10);
+   canvTot->SetBorderMode(0);
+   canvTot->SetBorderSize(2);
+   canvTot->SetTickx(1);
+   canvTot->SetTicky(1);
+   canvTot->SetLeftMargin(0.15);
+   canvTot->SetBottomMargin(0.15);
+   canvTot->SetFrameLineWidth(3);
+   canvTot->SetFrameLineWidth(3);
+   
+   Double_t Graph0_fx1003[16] = {
+   2.5,
+   7.5,
+   12.5,
+   17.5,
+   22.5,
+   27.5,
+   32.5,
+   37.5,
+   42.5,
+   47.5,
+   52.5,
+   57.5,
+   62.5,
+   67.5,
+   72.5,
+   77.5};
+   Double_t Graph0_fy1003[16] = {
+   0.4568417,
+   0.5634072,
+   0.6334886,
+   0.6685543,
+   0.6819206,
+   0.6779183,
+   0.6596745,
+   0.6290147,
+   0.5862444,
+   0.5346476,
+   0.4759735,
+   0.4132696,
+   0.349588,
+   0.2903411,
+   0.2417527,
+   0.2000018};
+   Double_t Graph0_fex1003[16] = {
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5};
+   Double_t Graph0_fey1003[16] = {
+   0.009136835,
+   0.01126814,
+   0.01266977,
+   0.01337109,
+   0.01363841,
+   0.01355837,
+   0.01319349,
+   0.01258029,
+   0.01172489,
+   0.01069295,
+   0.009519469,
+   0.008265393,
+   0.006991759,
+   0.005806822,
+   0.004835054,
+   0.004000036};
+   TGraphErrors *gre = new TGraphErrors(16,Graph0_fx1003,Graph0_fy1003,Graph0_fex1003,Graph0_fey1003);
+   gre->SetName("Graph0");
+   gre->SetTitle("Graph");
+
+   Int_t ci;      // for color index setting
+   TColor *color; // for color definition with alpha
+   ci = TColor::GetColor("#000033");
+   gre->SetFillColor(ci);
+   gre->SetFillStyle(3002);
+
+   ci = TColor::GetColor("#000099");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+   
+   TH1F *Graph_Graph01003 = new TH1F("Graph_Graph01003","Graph",100,0,86.8);
+   Graph_Graph01003->SetMinimum(0);
+   Graph_Graph01003->SetMaximum(1);
+   Graph_Graph01003->SetDirectory(0);
+   Graph_Graph01003->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph01003->SetLineColor(ci);
+   Graph_Graph01003->SetLineWidth(3);
+   Graph_Graph01003->GetXaxis()->SetTitle("Centrality, %");
+   Graph_Graph01003->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph01003->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph01003->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph01003->GetYaxis()->SetTitle("R_{n}");
+   Graph_Graph01003->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph01003->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph01003->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph01003->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph01003->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph01003->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph01003->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph01003);
+   
+   gre->Draw("a5");
+   
+   Double_t Graph1_fx1004[16] = {
+   2.5,
+   7.5,
+   12.5,
+   17.5,
+   22.5,
+   27.5,
+   32.5,
+   37.5,
+   42.5,
+   47.5,
+   52.5,
+   57.5,
+   62.5,
+   67.5,
+   72.5,
+   77.5};
+   Double_t Graph1_fy1004[16] = {
+   0.335008,
+   0.3397279,
+   0.3331323,
+   0.3212829,
+   0.3056419,
+   0.2859814,
+   0.2645057,
+   0.239116,
+   0.2125699,
+   0.1849228,
+   0.1584827,
+   0.1349508,
+   0.1092716,
+   0.09320319,
+   0.08072334,
+   0.0657578};
+   Double_t Graph1_fex1004[16] = {
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5,
+   1.5};
+   Double_t Graph1_fey1004[16] = {
+   0.00670016,
+   0.006794558,
+   0.006662646,
+   0.006425657,
+   0.006112837,
+   0.005719628,
+   0.005290115,
+   0.004782319,
+   0.004251397,
+   0.003698455,
+   0.003169654,
+   0.002699017,
+   0.002185432,
+   0.001864064,
+   0.001614467,
+   0.001315156};
+   gre = new TGraphErrors(16,Graph1_fx1004,Graph1_fy1004,Graph1_fex1004,Graph1_fey1004);
+   gre->SetName("Graph1");
+   gre->SetTitle("Graph");
+   gre->SetFillColor(ci);
+   gre->SetFillStyle(3002);
+
+   ci = TColor::GetColor("#990000");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+   
+   TH1F *Graph_Graph11004 = new TH1F("Graph_Graph11004","Graph",100,0,86.8);
+   Graph_Graph11004->SetMinimum(0.03623466);
+   Graph_Graph11004->SetMaximum(0.3747305);
+   Graph_Graph11004->SetDirectory(0);
+   Graph_Graph11004->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph11004->SetLineColor(ci);
+   Graph_Graph11004->SetLineWidth(3);
+   Graph_Graph11004->GetXaxis()->SetTitle("Centrality, %");
+   Graph_Graph11004->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph11004->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph11004->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph11004->GetYaxis()->SetTitle("R_{3}");
+   Graph_Graph11004->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph11004->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph11004->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph11004->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph11004->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph11004->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph11004->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph11004);
+   
+   gre->Draw("5");
+   
+   Double_t Graph2_fx1005[16] = {
+   2.5,
+   7.5,
+   12.5,
+   17.5,
+   22.5,
+   27.5,
+   32.5,
+   37.5,
+   42.5,
+   47.5,
+   52.5,
+   57.5,
+   62.5,
+   67.5,
+   72.5,
+   77.5};
+   Double_t Graph2_fy1005[16] = {
+   0.4568417,
+   0.5634072,
+   0.6334886,
+   0.6685543,
+   0.6819206,
+   0.6779183,
+   0.6596745,
+   0.6290147,
+   0.5862444,
+   0.5346476,
+   0.4759735,
+   0.4132696,
+   0.349588,
+   0.2903411,
+   0.2417527,
+   0.2000018};
+   Double_t Graph2_fex1005[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph2_fey1005[16] = {
+   0.0002626842,
+   0.0002020368,
+   0.0001713679,
+   0.0001569448,
+   0.0001534756,
+   0.000156832,
+   0.0001622346,
+   0.0001784816,
+   0.000196548,
+   0.0002264113,
+   0.0002639181,
+   0.0003085734,
+   0.0003741299,
+   0.0004774675,
+   0.0006049016,
+   0.0008279944};
+   gre = new TGraphErrors(16,Graph2_fx1005,Graph2_fy1005,Graph2_fex1005,Graph2_fey1005);
+   gre->SetName("Graph2");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+
+   ci = TColor::GetColor("#2b3f79");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+
+   ci = TColor::GetColor("#2b3f79");
+   gre->SetMarkerColor(ci);
+   gre->SetMarkerStyle(20);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph21005 = new TH1F("Graph_Graph21005","Graph",100,0,85);
+   Graph_Graph21005->SetMinimum(0.1508838);
+   Graph_Graph21005->SetMaximum(0.7303641);
+   Graph_Graph21005->SetDirectory(0);
+   Graph_Graph21005->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph21005->SetLineColor(ci);
+   Graph_Graph21005->SetLineWidth(3);
+   Graph_Graph21005->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph21005->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph21005->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph21005->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph21005->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph21005->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph21005->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph21005->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph21005->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph21005->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph21005);
+   
+   gre->Draw("p plc pmc");
+   
+   Double_t Graph3_fx1006[16] = {
+   2.5,
+   7.5,
+   12.5,
+   17.5,
+   22.5,
+   27.5,
+   32.5,
+   37.5,
+   42.5,
+   47.5,
+   52.5,
+   57.5,
+   62.5,
+   67.5,
+   72.5,
+   77.5};
+   Double_t Graph3_fy1006[16] = {
+   0.335008,
+   0.3397279,
+   0.3331323,
+   0.3212829,
+   0.3056419,
+   0.2859814,
+   0.2645057,
+   0.239116,
+   0.2125699,
+   0.1849228,
+   0.1584827,
+   0.1349508,
+   0.1092716,
+   0.09320319,
+   0.08072334,
+   0.0657578};
+   Double_t Graph3_fex1006[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph3_fey1006[16] = {
+   0.0003650238,
+   0.0003552003,
+   0.0003627682,
+   0.0003766555,
+   0.0004015148,
+   0.0004347264,
+   0.0004649791,
+   0.000525443,
+   0.000588687,
+   0.00069214,
+   0.0008201014,
+   0.0009627542,
+   0.001208165,
+   0.001493978,
+   0.001815587,
+   0.002519717};
+   gre = new TGraphErrors(16,Graph3_fx1006,Graph3_fy1006,Graph3_fex1006,Graph3_fey1006);
+   gre->SetName("Graph3");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+
+   ci = TColor::GetColor("#9c272b");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+
+   ci = TColor::GetColor("#9c272b");
+   gre->SetMarkerColor(ci);
+   gre->SetMarkerStyle(21);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph31006 = new TH1F("Graph_Graph31006","Graph",100,0,85);
+   Graph_Graph31006->SetMinimum(0.03555358);
+   Graph_Graph31006->SetMaximum(0.3677676);
+   Graph_Graph31006->SetDirectory(0);
+   Graph_Graph31006->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph31006->SetLineColor(ci);
+   Graph_Graph31006->SetLineWidth(3);
+   Graph_Graph31006->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph31006->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph31006->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph31006->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph31006->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph31006->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph31006->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph31006->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph31006->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph31006->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph31006);
+   
+   gre->Draw("p plc pmc");
+   TLatex *   tex = new TLatex(0.2,0.2,"STAR Preliminary");
+tex->SetNDC();
+   tex->SetTextSize(0.06);
+   tex->SetLineWidth(2);
+   tex->Draw();
+   
+   TLegend *leg = new TLegend(0.2,0.726,0.88,0.88,NULL,"brNDC");
+   leg->SetBorderSize(0);
+   leg->SetTextFont(62);
+   leg->SetLineColor(1);
+   leg->SetLineStyle(1);
+   leg->SetLineWidth(3);
+   leg->SetFillColor(0);
+   leg->SetFillStyle(1001);
+   TLegendEntry *entry=leg->AddEntry("NULL","Au+Au, #sqrt{s_{NN}}=200 GeV (#Delta#eta-gap=0.1)","h");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+   entry->SetMarkerColor(1);
+   entry->SetMarkerStyle(21);
+   entry->SetMarkerSize(1);
+   entry->SetTextAlign(22);
+   entry->SetTextFont(62);
+   entry=leg->AddEntry("Graph2","R_{2} TPC(E/W)","p");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+
+   ci = TColor::GetColor("#2b3f79");
+   entry->SetMarkerColor(ci);
+   entry->SetMarkerStyle(20);
+   entry->SetMarkerSize(1.6);
+   entry->SetTextFont(62);
+   entry=leg->AddEntry("Graph3","R_{3} TPC(E/W)","p");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+
+   ci = TColor::GetColor("#9c272b");
+   entry->SetMarkerColor(ci);
+   entry->SetMarkerStyle(21);
+   entry->SetMarkerSize(1.6);
+   entry->SetTextFont(62);
+   leg->Draw();
+   canvTot->Modified();
+   canvTot->cd();
+   canvTot->SetSelected(canvTot);
+}

File diff suppressed because it is too large
+ 3922 - 0
FugureMacros/v2.C


+ 763 - 0
FugureMacros/v2_CH_BBC_pt_cent0.C

@@ -0,0 +1,763 @@
+void v2_CH_BBC_pt_cent0()
+{
+//=========Macro generated from canvas: canv10/Canvas 1 0
+//=========  (Tue Aug 13 17:51:28 2019) by ROOT version 6.19/01
+   TCanvas *canv10 = new TCanvas("canv10", "Canvas 1 0",0,0,900,800);
+   gStyle->SetOptStat(0);
+   gStyle->SetOptTitle(0);
+   canv10->Range(0,0,1,1);
+   canv10->SetFillColor(10);
+   canv10->SetBorderMode(0);
+   canv10->SetBorderSize(2);
+   canv10->SetTickx(1);
+   canv10->SetTicky(1);
+   canv10->SetLeftMargin(0.15);
+   canv10->SetBottomMargin(0.15);
+   canv10->SetFrameLineWidth(3);
+  
+// ------------>Primitives in pad: padUp10
+   TPad *padUp10 = new TPad("padUp10", "v2 vs pt",0,0.33,1,1);
+   padUp10->Draw();
+   padUp10->cd();
+   padUp10->Range(-1.02414,-0.003,5.80346,0.1114444);
+   padUp10->SetFillColor(0);
+   padUp10->SetBorderMode(0);
+   padUp10->SetBorderSize(0);
+   padUp10->SetTickx(1);
+   padUp10->SetTicky(1);
+   padUp10->SetLeftMargin(0.15);
+   padUp10->SetBottomMargin(0);
+   padUp10->SetFrameFillColor(10);
+   padUp10->SetFrameLineWidth(3);
+   padUp10->SetFrameFillColor(10);
+   padUp10->SetFrameLineWidth(3);
+   
+   Double_t Graph0_fx1029[16] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.15,
+   2.6,
+   3,
+   3.4,
+   3.9,
+   4.625};
+   Double_t Graph0_fy1029[16] = {
+   0.007112361,
+   0.01411316,
+   0.02118296,
+   0.02766869,
+   0.03676356,
+   0.04504,
+   0.04926225,
+   0.0547049,
+   0.0612089,
+   0.06569344,
+   0.06886585,
+   0.0725584,
+   0.07240233,
+   0.07148882,
+   0.06875098,
+   0.05966279};
+   Double_t Graph0_fex1029[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fey1029[16] = {
+   4.722499e-05,
+   3.389919e-05,
+   5.487253e-05,
+   4.641916e-05,
+   5.136067e-05,
+   8.591368e-05,
+   0.0001464838,
+   0.000107415,
+   0.0001809401,
+   0.0002332256,
+   0.000260092,
+   0.0003137996,
+   0.0009258728,
+   0.0008209235,
+   0.001942458,
+   0.001822503};
+   TGraphErrors *gre = new TGraphErrors(16,Graph0_fx1029,Graph0_fy1029,Graph0_fex1029,Graph0_fey1029);
+   gre->SetName("Graph0");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+   gre->SetLineWidth(3);
+   gre->SetMarkerStyle(20);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph_Graph010011029 = new TH1F("Graph_Graph_Graph010011029","Graph",100,0,5.07);
+   Graph_Graph_Graph010011029->SetMinimum(-0.003);
+   Graph_Graph_Graph010011029->SetMaximum(0.1);
+   Graph_Graph_Graph010011029->SetDirectory(0);
+   Graph_Graph_Graph010011029->SetStats(0);
+
+   Int_t ci;      // for color index setting
+   TColor *color; // for color definition with alpha
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph_Graph010011029->SetLineColor(ci);
+   Graph_Graph_Graph010011029->SetLineWidth(3);
+   Graph_Graph_Graph010011029->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph_Graph010011029->GetXaxis()->SetRange(1,101);
+   Graph_Graph_Graph010011029->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010011029->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010011029->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph_Graph010011029->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph_Graph010011029->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph_Graph010011029->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010011029->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010011029->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph_Graph010011029->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010011029->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010011029->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph_Graph010011029);
+   
+   gre->Draw("ap");
+   
+   Double_t Graph0_fx3001[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph0_fy3001[13] = {
+   0.006174165,
+   0.01313926,
+   0.02082138,
+   0.02806925,
+   0.03884818,
+   0.04840934,
+   0.05380501,
+   0.06059651,
+   0.07002194,
+   0.07388744,
+   0.08417713,
+   0.09279694,
+   0.07290327};
+   Double_t Graph0_felx3001[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fely3001[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fehx3001[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fehy3001[13] = {
+   5.816662e-05,
+   0.0001237846,
+   0.0001961576,
+   0.0002644396,
+   0.0003659876,
+   0.000456063,
+   0.0005068954,
+   0.000570878,
+   0.0006596746,
+   0.0006960914,
+   0.0007930303,
+   0.0008742372,
+   0.0006868195};
+   TGraphAsymmErrors *grae = new TGraphAsymmErrors(13,Graph0_fx3001,Graph0_fy3001,Graph0_felx3001,Graph0_fehx3001,Graph0_fely3001,Graph0_fehy3001);
+   grae->SetName("Graph0");
+   grae->SetTitle("Graph");
+
+   ci = TColor::GetColor("#6666ff");
+   grae->SetFillColor(ci);
+   grae->SetFillStyle(3003);
+
+   ci = TColor::GetColor("#9999ff");
+   grae->SetLineColor(ci);
+   grae->SetLineWidth(3);
+   
+   TH1F *Graph_Graph03001 = new TH1F("Graph_Graph03001","Graph",100,0,5.111);
+   Graph_Graph03001->SetMinimum(0.005556748);
+   Graph_Graph03001->SetMaximum(0.1024209);
+   Graph_Graph03001->SetDirectory(0);
+   Graph_Graph03001->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph03001->SetLineColor(ci);
+   Graph_Graph03001->SetLineWidth(3);
+   Graph_Graph03001->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph03001->GetXaxis()->SetRange(1,101);
+   Graph_Graph03001->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph03001->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph03001->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph03001->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph03001->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph03001->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph03001->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph03001->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph03001->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph03001->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph03001->GetZaxis()->SetTitleOffset(1);
+   grae->SetHistogram(Graph_Graph03001);
+   
+   grae->Draw("5");
+   
+   Double_t Graph1_fx1030[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph1_fy1030[13] = {
+   0.006174165,
+   0.01313926,
+   0.02082138,
+   0.02806925,
+   0.03884818,
+   0.04840934,
+   0.05380501,
+   0.06059651,
+   0.07002194,
+   0.07388744,
+   0.08417713,
+   0.09279694,
+   0.07290327};
+   Double_t Graph1_fex1030[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph1_fey1030[13] = {
+   0.0002513174,
+   0.0001804027,
+   0.0002919686,
+   0.0002469669,
+   0.000273232,
+   0.0004570496,
+   0.0007792198,
+   0.0005713476,
+   0.0009623735,
+   0.001240206,
+   0.001051048,
+   0.003533689,
+   0.009681948};
+   gre = new TGraphErrors(13,Graph1_fx1030,Graph1_fy1030,Graph1_fex1030,Graph1_fey1030);
+   gre->SetName("Graph1");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetMarkerColor(ci);
+   gre->SetMarkerStyle(21);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph11030 = new TH1F("Graph_Graph11030","Graph",100,0,5.015);
+   Graph_Graph11030->SetMinimum(0.005330563);
+   Graph_Graph11030->SetMaximum(0.1053714);
+   Graph_Graph11030->SetDirectory(0);
+   Graph_Graph11030->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph11030->SetLineColor(ci);
+   Graph_Graph11030->SetLineWidth(3);
+   Graph_Graph11030->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph11030->GetXaxis()->SetRange(1,101);
+   Graph_Graph11030->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph11030->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph11030->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph11030->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph11030->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph11030->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph11030->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph11030->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph11030->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph11030->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph11030->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph11030);
+   
+   gre->Draw("p");
+   
+   TLegend *leg = new TLegend(0.468,0.08,0.89,0.349,NULL,"brNDC");
+   leg->SetBorderSize(0);
+   leg->SetTextFont(62);
+   leg->SetLineColor(1);
+   leg->SetLineStyle(1);
+   leg->SetLineWidth(3);
+   leg->SetFillColor(0);
+   leg->SetFillStyle(1001);
+   TLegendEntry *entry=leg->AddEntry("NULL","Au+Au,#sqrt{s_{NN}}=200 GeV","h");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+   entry->SetMarkerColor(1);
+   entry->SetMarkerStyle(21);
+   entry->SetMarkerSize(1);
+   entry->SetTextAlign(22);
+   entry->SetTextFont(62);
+   entry=leg->AddEntry("Graph0","v_{2}(TPC,#Delta#eta-gap = 0.1)","p");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+   entry->SetMarkerColor(1);
+   entry->SetMarkerStyle(20);
+   entry->SetMarkerSize(1.6);
+   entry->SetTextFont(62);
+   entry=leg->AddEntry("Graph1","v_{2}(BBC,#Delta#eta-gap = 2.3)","p");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+
+   ci = TColor::GetColor("#0000ff");
+   entry->SetMarkerColor(ci);
+   entry->SetMarkerStyle(21);
+   entry->SetMarkerSize(1.6);
+   entry->SetTextFont(62);
+   leg->Draw();
+   TLatex *   tex = new TLatex(0.2,0.81,"STAR Preliminary");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+      tex = new TLatex(0.2,0.74,"0-5%");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+      tex = new TLatex(0.2,0.65,"h^{#pm}");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+   padUp10->Modified();
+   canv10->cd();
+  
+// ------------>Primitives in pad: padDown10
+   TPad *padDown10 = new TPad("padDown10", "Ratio v2",0,0,1,0.33);
+   padDown10->Draw();
+   padDown10->cd();
+   padDown10->Range(-1.02414,0.7205036,5.80346,1.152158);
+   padDown10->SetFillColor(0);
+   padDown10->SetBorderMode(0);
+   padDown10->SetBorderSize(0);
+   padDown10->SetTickx(1);
+   padDown10->SetTicky(1);
+   padDown10->SetLeftMargin(0.15);
+   padDown10->SetTopMargin(0.005);
+   padDown10->SetBottomMargin(0.3);
+   padDown10->SetFrameFillColor(10);
+   padDown10->SetFrameLineWidth(3);
+   padDown10->SetFrameFillColor(10);
+   padDown10->SetFrameLineWidth(3);
+   
+   Double_t Graph0_fx1031[16] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.15,
+   2.6,
+   3,
+   3.4,
+   3.9,
+   4.625};
+   Double_t Graph0_fy1031[16] = {
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1};
+   Double_t Graph0_fex1031[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fey1031[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   gre = new TGraphErrors(16,Graph0_fx1031,Graph0_fy1031,Graph0_fex1031,Graph0_fey1031);
+   gre->SetName("Graph0");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+   gre->SetLineWidth(3);
+   gre->SetMarkerStyle(20);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph_Graph010031031 = new TH1F("Graph_Graph_Graph010031031","Graph",100,0,5.07);
+   Graph_Graph_Graph010031031->SetMinimum(0.85);
+   Graph_Graph_Graph010031031->SetMaximum(1.15);
+   Graph_Graph_Graph010031031->SetDirectory(0);
+   Graph_Graph_Graph010031031->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph_Graph010031031->SetLineColor(ci);
+   Graph_Graph_Graph010031031->SetLineWidth(3);
+   Graph_Graph_Graph010031031->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph_Graph010031031->GetXaxis()->SetRange(1,101);
+   Graph_Graph_Graph010031031->GetXaxis()->SetLabelSize(0.11);
+   Graph_Graph_Graph010031031->GetXaxis()->SetTitleSize(0.12);
+   Graph_Graph_Graph010031031->GetXaxis()->SetTickLength(0.06960019);
+   Graph_Graph_Graph010031031->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph_Graph010031031->GetYaxis()->SetTitle("v_{2}(BBC)/v_{2}(TPC)");
+   Graph_Graph_Graph010031031->GetYaxis()->SetNdivisions(504);
+   Graph_Graph_Graph010031031->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph_Graph010031031->GetYaxis()->SetLabelSize(0.11);
+   Graph_Graph_Graph010031031->GetYaxis()->SetTitleSize(0.12);
+   Graph_Graph_Graph010031031->GetYaxis()->SetTickLength(0.03482143);
+   Graph_Graph_Graph010031031->GetYaxis()->SetTitleOffset(0.65);
+   Graph_Graph_Graph010031031->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010031031->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010031031->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph_Graph010031031);
+   
+   gre->Draw("al");
+   
+   Double_t Graph0_fx3002[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph0_fy3002[13] = {
+   0.8680894,
+   0.9309934,
+   0.9829307,
+   1.014477,
+   1.056704,
+   1.074808,
+   1.092216,
+   1.107698,
+   1.143983,
+   1.124731,
+   1.168123,
+   1.304653,
+   1.204556};
+   Double_t Graph0_felx3002[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fely3002[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fehx3002[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fehy3002[13] = {
+   0.01000536,
+   0.009051443,
+   0.009603837,
+   0.009707718,
+   0.01006404,
+   0.0103312,
+   0.01079011,
+   0.01065984,
+   0.01129554,
+   0.01132346,
+   0.01178483,
+   0.01357206,
+   0.02164115};
+   grae = new TGraphAsymmErrors(13,Graph0_fx3002,Graph0_fy3002,Graph0_felx3002,Graph0_fehx3002,Graph0_fely3002,Graph0_fehy3002);
+   grae->SetName("Graph0");
+   grae->SetTitle("Graph");
+
+   ci = TColor::GetColor("#6666ff");
+   grae->SetFillColor(ci);
+   grae->SetFillStyle(3003);
+
+   ci = TColor::GetColor("#9999ff");
+   grae->SetLineColor(ci);
+   grae->SetLineWidth(3);
+   
+   TH1F *Graph_Graph03002 = new TH1F("Graph_Graph03002","Graph",100,0,5.111);
+   Graph_Graph03002->SetMinimum(0.8230758);
+   Graph_Graph03002->SetMaximum(1.363239);
+   Graph_Graph03002->SetDirectory(0);
+   Graph_Graph03002->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph03002->SetLineColor(ci);
+   Graph_Graph03002->SetLineWidth(3);
+   Graph_Graph03002->GetXaxis()->SetRange(1,101);
+   Graph_Graph03002->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph03002->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph03002->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph03002->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph03002->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph03002->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph03002->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph03002->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph03002->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph03002->GetZaxis()->SetTitleOffset(1);
+   grae->SetHistogram(Graph_Graph03002);
+   
+   grae->Draw("5");
+   
+   Double_t Graph1_fx1032[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph1_fy1032[13] = {
+   0.8680894,
+   0.9309934,
+   0.9829307,
+   1.014477,
+   1.056704,
+   1.074808,
+   1.092216,
+   1.107698,
+   1.143983,
+   1.124731,
+   1.168123,
+   1.304653,
+   1.204556};
+   Double_t Graph1_fex1032[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph1_fey1032[13] = {
+   0.03580233,
+   0.01297671,
+   0.01401639,
+   0.009086675,
+   0.007577342,
+   0.01035267,
+   0.01614777,
+   0.01066825,
+   0.01608234,
+   0.01929636,
+   0.0151825,
+   0.05001325,
+   0.1610294};
+   gre = new TGraphErrors(13,Graph1_fx1032,Graph1_fy1032,Graph1_fex1032,Graph1_fey1032);
+   gre->SetName("Graph1");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetMarkerColor(ci);
+   gre->SetMarkerStyle(21);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph11032 = new TH1F("Graph_Graph11032","Graph",100,0,5.015);
+   Graph_Graph11032->SetMinimum(0.7789572);
+   Graph_Graph11032->SetMaximum(1.418915);
+   Graph_Graph11032->SetDirectory(0);
+   Graph_Graph11032->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph11032->SetLineColor(ci);
+   Graph_Graph11032->SetLineWidth(3);
+   Graph_Graph11032->GetXaxis()->SetRange(1,101);
+   Graph_Graph11032->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph11032->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph11032->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph11032->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph11032->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph11032->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph11032->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph11032->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph11032->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph11032->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph11032);
+   
+   gre->Draw("p");
+   TLine *line = new TLine(0,1,5.1,1);
+   line->SetLineWidth(3);
+   line->Draw();
+   line = new TLine(0,0.95,5.1,0.95);
+   line->SetLineStyle(2);
+   line->SetLineWidth(2);
+   line->Draw();
+   line = new TLine(0,1.05,5.1,1.05);
+   line->SetLineStyle(2);
+   line->SetLineWidth(2);
+   line->Draw();
+   padDown10->Modified();
+   canv10->cd();
+   canv10->Modified();
+   canv10->cd();
+   canv10->SetSelected(canv10);
+}

+ 763 - 0
FugureMacros/v2_CH_BBC_pt_cent1.C

@@ -0,0 +1,763 @@
+void v2_CH_BBC_pt_cent1()
+{
+//=========Macro generated from canvas: canv11/Canvas 1 1
+//=========  (Tue Aug 13 17:51:28 2019) by ROOT version 6.19/01
+   TCanvas *canv11 = new TCanvas("canv11", "Canvas 1 1",0,0,900,800);
+   gStyle->SetOptStat(0);
+   gStyle->SetOptTitle(0);
+   canv11->Range(0,0,1,1);
+   canv11->SetFillColor(10);
+   canv11->SetBorderMode(0);
+   canv11->SetBorderSize(2);
+   canv11->SetTickx(1);
+   canv11->SetTicky(1);
+   canv11->SetLeftMargin(0.15);
+   canv11->SetBottomMargin(0.15);
+   canv11->SetFrameLineWidth(3);
+  
+// ------------>Primitives in pad: padUp11
+   TPad *padUp11 = new TPad("padUp11", "v2 vs pt",0,0.33,1,1);
+   padUp11->Draw();
+   padUp11->cd();
+   padUp11->Range(-1.02414,-0.003,5.80346,0.1947778);
+   padUp11->SetFillColor(0);
+   padUp11->SetBorderMode(0);
+   padUp11->SetBorderSize(0);
+   padUp11->SetTickx(1);
+   padUp11->SetTicky(1);
+   padUp11->SetLeftMargin(0.15);
+   padUp11->SetBottomMargin(0);
+   padUp11->SetFrameFillColor(10);
+   padUp11->SetFrameLineWidth(3);
+   padUp11->SetFrameFillColor(10);
+   padUp11->SetFrameLineWidth(3);
+   
+   Double_t Graph0_fx1033[16] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.15,
+   2.6,
+   3,
+   3.4,
+   3.9,
+   4.625};
+   Double_t Graph0_fy1033[16] = {
+   0.009740754,
+   0.01990343,
+   0.03046436,
+   0.04020831,
+   0.05418223,
+   0.06716879,
+   0.07454026,
+   0.0830739,
+   0.09337744,
+   0.1004685,
+   0.1075667,
+   0.1149736,
+   0.1181367,
+   0.1180077,
+   0.1134458,
+   0.105104};
+   Double_t Graph0_fex1033[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fey1033[16] = {
+   4.034462e-05,
+   2.921036e-05,
+   4.738111e-05,
+   4.011422e-05,
+   4.443842e-05,
+   7.440927e-05,
+   0.0001268821,
+   9.301229e-05,
+   0.0001564901,
+   0.0002013987,
+   0.000224002,
+   0.0002687543,
+   0.0007856893,
+   0.0006925648,
+   0.001627515,
+   0.001516005};
+   TGraphErrors *gre = new TGraphErrors(16,Graph0_fx1033,Graph0_fy1033,Graph0_fex1033,Graph0_fey1033);
+   gre->SetName("Graph0");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+   gre->SetLineWidth(3);
+   gre->SetMarkerStyle(20);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph_Graph010051033 = new TH1F("Graph_Graph_Graph010051033","Graph",100,0,5.07);
+   Graph_Graph_Graph010051033->SetMinimum(-0.003);
+   Graph_Graph_Graph010051033->SetMaximum(0.175);
+   Graph_Graph_Graph010051033->SetDirectory(0);
+   Graph_Graph_Graph010051033->SetStats(0);
+
+   Int_t ci;      // for color index setting
+   TColor *color; // for color definition with alpha
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph_Graph010051033->SetLineColor(ci);
+   Graph_Graph_Graph010051033->SetLineWidth(3);
+   Graph_Graph_Graph010051033->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph_Graph010051033->GetXaxis()->SetRange(1,101);
+   Graph_Graph_Graph010051033->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010051033->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010051033->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph_Graph010051033->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph_Graph010051033->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph_Graph010051033->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010051033->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010051033->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph_Graph010051033->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010051033->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010051033->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph_Graph010051033);
+   
+   gre->Draw("ap");
+   
+   Double_t Graph0_fx3003[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph0_fy3003[13] = {
+   0.009170265,
+   0.01937651,
+   0.03018372,
+   0.04039581,
+   0.0548317,
+   0.06921726,
+   0.07705599,
+   0.08601929,
+   0.0980323,
+   0.1068475,
+   0.1193031,
+   0.129622,
+   0.1195318};
+   Double_t Graph0_felx3003[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fely3003[13] = {
+   0.0003688296,
+   0.0007793263,
+   0.001213994,
+   0.001624726,
+   0.00220534,
+   0.00278393,
+   0.003099205,
+   0.00345971,
+   0.003942875,
+   0.004297425,
+   0.004798391,
+   0.00521342,
+   0.004807587};
+   Double_t Graph0_fehx3003[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fehy3003[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   TGraphAsymmErrors *grae = new TGraphAsymmErrors(13,Graph0_fx3003,Graph0_fy3003,Graph0_felx3003,Graph0_fehx3003,Graph0_fely3003,Graph0_fehy3003);
+   grae->SetName("Graph0");
+   grae->SetTitle("Graph");
+
+   ci = TColor::GetColor("#6666ff");
+   grae->SetFillColor(ci);
+   grae->SetFillStyle(3003);
+
+   ci = TColor::GetColor("#9999ff");
+   grae->SetLineColor(ci);
+   grae->SetLineWidth(3);
+   
+   TH1F *Graph_Graph03003 = new TH1F("Graph_Graph03003","Graph",100,0,5.111);
+   Graph_Graph03003->SetMinimum(0.007921292);
+   Graph_Graph03003->SetMaximum(0.1417041);
+   Graph_Graph03003->SetDirectory(0);
+   Graph_Graph03003->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph03003->SetLineColor(ci);
+   Graph_Graph03003->SetLineWidth(3);
+   Graph_Graph03003->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph03003->GetXaxis()->SetRange(1,101);
+   Graph_Graph03003->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph03003->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph03003->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph03003->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph03003->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph03003->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph03003->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph03003->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph03003->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph03003->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph03003->GetZaxis()->SetTitleOffset(1);
+   grae->SetHistogram(Graph_Graph03003);
+   
+   grae->Draw("5");
+   
+   Double_t Graph1_fx1034[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph1_fy1034[13] = {
+   0.009170265,
+   0.01937651,
+   0.03018372,
+   0.04039581,
+   0.0548317,
+   0.06921726,
+   0.07705599,
+   0.08601929,
+   0.0980323,
+   0.1068475,
+   0.1193031,
+   0.129622,
+   0.1195318};
+   Double_t Graph1_fex1034[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph1_fey1034[13] = {
+   0.0001628896,
+   0.0001179262,
+   0.0001912619,
+   0.0001619307,
+   0.0001794026,
+   0.0003004283,
+   0.0005123578,
+   0.0003756168,
+   0.0006321255,
+   0.0008133947,
+   0.0006860419,
+   0.002265998,
+   0.006113924};
+   gre = new TGraphErrors(13,Graph1_fx1034,Graph1_fy1034,Graph1_fex1034,Graph1_fey1034);
+   gre->SetName("Graph1");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetMarkerColor(ci);
+   gre->SetMarkerStyle(21);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph11034 = new TH1F("Graph_Graph11034","Graph",100,0,5.015);
+   Graph_Graph11034->SetMinimum(0.008106638);
+   Graph_Graph11034->SetMaximum(0.1441761);
+   Graph_Graph11034->SetDirectory(0);
+   Graph_Graph11034->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph11034->SetLineColor(ci);
+   Graph_Graph11034->SetLineWidth(3);
+   Graph_Graph11034->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph11034->GetXaxis()->SetRange(1,101);
+   Graph_Graph11034->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph11034->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph11034->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph11034->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph11034->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph11034->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph11034->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph11034->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph11034->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph11034->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph11034->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph11034);
+   
+   gre->Draw("p");
+   
+   TLegend *leg = new TLegend(0.468,0.08,0.89,0.349,NULL,"brNDC");
+   leg->SetBorderSize(0);
+   leg->SetTextFont(62);
+   leg->SetLineColor(1);
+   leg->SetLineStyle(1);
+   leg->SetLineWidth(3);
+   leg->SetFillColor(0);
+   leg->SetFillStyle(1001);
+   TLegendEntry *entry=leg->AddEntry("NULL","Au+Au,#sqrt{s_{NN}}=200 GeV","h");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+   entry->SetMarkerColor(1);
+   entry->SetMarkerStyle(21);
+   entry->SetMarkerSize(1);
+   entry->SetTextAlign(22);
+   entry->SetTextFont(62);
+   entry=leg->AddEntry("Graph0","v_{2}(TPC,#Delta#eta-gap = 0.1)","p");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+   entry->SetMarkerColor(1);
+   entry->SetMarkerStyle(20);
+   entry->SetMarkerSize(1.6);
+   entry->SetTextFont(62);
+   entry=leg->AddEntry("Graph1","v_{2}(BBC,#Delta#eta-gap = 2.3)","p");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+
+   ci = TColor::GetColor("#0000ff");
+   entry->SetMarkerColor(ci);
+   entry->SetMarkerStyle(21);
+   entry->SetMarkerSize(1.6);
+   entry->SetTextFont(62);
+   leg->Draw();
+   TLatex *   tex = new TLatex(0.2,0.81,"STAR Preliminary");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+      tex = new TLatex(0.2,0.74,"5-10%");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+      tex = new TLatex(0.2,0.65,"h^{#pm}");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+   padUp11->Modified();
+   canv11->cd();
+  
+// ------------>Primitives in pad: padDown11
+   TPad *padDown11 = new TPad("padDown11", "Ratio v2",0,0,1,0.33);
+   padDown11->Draw();
+   padDown11->cd();
+   padDown11->Range(-1.02414,0.7205036,5.80346,1.152158);
+   padDown11->SetFillColor(0);
+   padDown11->SetBorderMode(0);
+   padDown11->SetBorderSize(0);
+   padDown11->SetTickx(1);
+   padDown11->SetTicky(1);
+   padDown11->SetLeftMargin(0.15);
+   padDown11->SetTopMargin(0.005);
+   padDown11->SetBottomMargin(0.3);
+   padDown11->SetFrameFillColor(10);
+   padDown11->SetFrameLineWidth(3);
+   padDown11->SetFrameFillColor(10);
+   padDown11->SetFrameLineWidth(3);
+   
+   Double_t Graph0_fx1035[16] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.15,
+   2.6,
+   3,
+   3.4,
+   3.9,
+   4.625};
+   Double_t Graph0_fy1035[16] = {
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1};
+   Double_t Graph0_fex1035[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fey1035[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   gre = new TGraphErrors(16,Graph0_fx1035,Graph0_fy1035,Graph0_fex1035,Graph0_fey1035);
+   gre->SetName("Graph0");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+   gre->SetLineWidth(3);
+   gre->SetMarkerStyle(20);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph_Graph010071035 = new TH1F("Graph_Graph_Graph010071035","Graph",100,0,5.07);
+   Graph_Graph_Graph010071035->SetMinimum(0.85);
+   Graph_Graph_Graph010071035->SetMaximum(1.15);
+   Graph_Graph_Graph010071035->SetDirectory(0);
+   Graph_Graph_Graph010071035->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph_Graph010071035->SetLineColor(ci);
+   Graph_Graph_Graph010071035->SetLineWidth(3);
+   Graph_Graph_Graph010071035->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph_Graph010071035->GetXaxis()->SetRange(1,101);
+   Graph_Graph_Graph010071035->GetXaxis()->SetLabelSize(0.11);
+   Graph_Graph_Graph010071035->GetXaxis()->SetTitleSize(0.12);
+   Graph_Graph_Graph010071035->GetXaxis()->SetTickLength(0.06960019);
+   Graph_Graph_Graph010071035->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph_Graph010071035->GetYaxis()->SetTitle("v_{2}(BBC)/v_{2}(TPC)");
+   Graph_Graph_Graph010071035->GetYaxis()->SetNdivisions(504);
+   Graph_Graph_Graph010071035->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph_Graph010071035->GetYaxis()->SetLabelSize(0.11);
+   Graph_Graph_Graph010071035->GetYaxis()->SetTitleSize(0.12);
+   Graph_Graph_Graph010071035->GetYaxis()->SetTickLength(0.03482143);
+   Graph_Graph_Graph010071035->GetYaxis()->SetTitleOffset(0.65);
+   Graph_Graph_Graph010071035->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010071035->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010071035->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph_Graph010071035);
+   
+   gre->Draw("al");
+   
+   Double_t Graph0_fx3004[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph0_fy3004[13] = {
+   0.9414328,
+   0.9735261,
+   0.9907879,
+   1.004663,
+   1.011987,
+   1.030497,
+   1.03375,
+   1.035455,
+   1.04985,
+   1.063493,
+   1.048441,
+   1.103935,
+   1.132692};
+   Double_t Graph0_felx3004[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fely3004[13] = {
+   0.03806483,
+   0.03918144,
+   0.03987944,
+   0.04042015,
+   0.04071074,
+   0.04146249,
+   0.04161481,
+   0.04166231,
+   0.04226178,
+   0.04282694,
+   0.04221896,
+   0.04447227,
+   0.04633103};
+   Double_t Graph0_fehx3004[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fehy3004[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   grae = new TGraphAsymmErrors(13,Graph0_fx3004,Graph0_fy3004,Graph0_felx3004,Graph0_fehx3004,Graph0_fely3004,Graph0_fehy3004);
+   grae->SetName("Graph0");
+   grae->SetTitle("Graph");
+
+   ci = TColor::GetColor("#6666ff");
+   grae->SetFillColor(ci);
+   grae->SetFillStyle(3003);
+
+   ci = TColor::GetColor("#9999ff");
+   grae->SetLineColor(ci);
+   grae->SetLineWidth(3);
+   
+   TH1F *Graph_Graph03004 = new TH1F("Graph_Graph03004","Graph",100,0,5.111);
+   Graph_Graph03004->SetMinimum(0.8804355);
+   Graph_Graph03004->SetMaximum(1.155624);
+   Graph_Graph03004->SetDirectory(0);
+   Graph_Graph03004->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph03004->SetLineColor(ci);
+   Graph_Graph03004->SetLineWidth(3);
+   Graph_Graph03004->GetXaxis()->SetRange(1,101);
+   Graph_Graph03004->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph03004->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph03004->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph03004->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph03004->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph03004->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph03004->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph03004->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph03004->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph03004->GetZaxis()->SetTitleOffset(1);
+   grae->SetHistogram(Graph_Graph03004);
+   
+   grae->Draw("5");
+   
+   Double_t Graph1_fx1036[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph1_fy1036[13] = {
+   0.9414328,
+   0.9735261,
+   0.9907879,
+   1.004663,
+   1.011987,
+   1.030497,
+   1.03375,
+   1.035455,
+   1.04985,
+   1.063493,
+   1.048441,
+   1.103935,
+   1.132692};
+   Double_t Graph1_fex1036[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph1_fey1036[13] = {
+   0.01717107,
+   0.006094753,
+   0.006464566,
+   0.004150149,
+   0.00341354,
+   0.004616121,
+   0.007095233,
+   0.004667742,
+   0.006994478,
+   0.008371999,
+   0.006372451,
+   0.01946324,
+   0.05854656};
+   gre = new TGraphErrors(13,Graph1_fx1036,Graph1_fy1036,Graph1_fex1036,Graph1_fey1036);
+   gre->SetName("Graph1");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetMarkerColor(ci);
+   gre->SetMarkerStyle(21);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph11036 = new TH1F("Graph_Graph11036","Graph",100,0,5.015);
+   Graph_Graph11036->SetMinimum(0.897564);
+   Graph_Graph11036->SetMaximum(1.217936);
+   Graph_Graph11036->SetDirectory(0);
+   Graph_Graph11036->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph11036->SetLineColor(ci);
+   Graph_Graph11036->SetLineWidth(3);
+   Graph_Graph11036->GetXaxis()->SetRange(1,101);
+   Graph_Graph11036->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph11036->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph11036->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph11036->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph11036->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph11036->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph11036->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph11036->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph11036->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph11036->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph11036);
+   
+   gre->Draw("p");
+   TLine *line = new TLine(0,1,5.1,1);
+   line->SetLineWidth(3);
+   line->Draw();
+   line = new TLine(0,0.95,5.1,0.95);
+   line->SetLineStyle(2);
+   line->SetLineWidth(2);
+   line->Draw();
+   line = new TLine(0,1.05,5.1,1.05);
+   line->SetLineStyle(2);
+   line->SetLineWidth(2);
+   line->Draw();
+   padDown11->Modified();
+   canv11->cd();
+   canv11->Modified();
+   canv11->cd();
+   canv11->SetSelected(canv11);
+}

+ 763 - 0
FugureMacros/v2_CH_BBC_pt_cent2.C

@@ -0,0 +1,763 @@
+void v2_CH_BBC_pt_cent2()
+{
+//=========Macro generated from canvas: canv12/Canvas 1 2
+//=========  (Tue Aug 13 17:51:28 2019) by ROOT version 6.19/01
+   TCanvas *canv12 = new TCanvas("canv12", "Canvas 1 2",0,0,900,800);
+   gStyle->SetOptStat(0);
+   gStyle->SetOptTitle(0);
+   canv12->Range(0,0,1,1);
+   canv12->SetFillColor(10);
+   canv12->SetBorderMode(0);
+   canv12->SetBorderSize(2);
+   canv12->SetTickx(1);
+   canv12->SetTicky(1);
+   canv12->SetLeftMargin(0.15);
+   canv12->SetBottomMargin(0.15);
+   canv12->SetFrameLineWidth(3);
+  
+// ------------>Primitives in pad: padUp12
+   TPad *padUp12 = new TPad("padUp12", "v2 vs pt",0,0.33,1,1);
+   padUp12->Draw();
+   padUp12->cd();
+   padUp12->Range(-1.02414,-0.003,5.80346,0.2325556);
+   padUp12->SetFillColor(0);
+   padUp12->SetBorderMode(0);
+   padUp12->SetBorderSize(0);
+   padUp12->SetTickx(1);
+   padUp12->SetTicky(1);
+   padUp12->SetLeftMargin(0.15);
+   padUp12->SetBottomMargin(0);
+   padUp12->SetFrameFillColor(10);
+   padUp12->SetFrameLineWidth(3);
+   padUp12->SetFrameFillColor(10);
+   padUp12->SetFrameLineWidth(3);
+   
+   Double_t Graph0_fx1037[16] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.15,
+   2.6,
+   3,
+   3.4,
+   3.9,
+   4.625};
+   Double_t Graph0_fy1037[16] = {
+   0.01382442,
+   0.02859118,
+   0.04331749,
+   0.05679335,
+   0.07648847,
+   0.09495584,
+   0.1053037,
+   0.1168168,
+   0.1312186,
+   0.1408653,
+   0.1504061,
+   0.1598392,
+   0.1641776,
+   0.1635268,
+   0.1553924,
+   0.1462509};
+   Double_t Graph0_fex1037[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fey1037[16] = {
+   2.757313e-05,
+   2.01433e-05,
+   3.276032e-05,
+   2.776507e-05,
+   3.081198e-05,
+   5.168428e-05,
+   8.817731e-05,
+   6.46294e-05,
+   0.0001086147,
+   0.0001394838,
+   0.0001545918,
+   0.0001840788,
+   0.000532963,
+   0.0004659475,
+   0.001084592,
+   0.001002675};
+   TGraphErrors *gre = new TGraphErrors(16,Graph0_fx1037,Graph0_fy1037,Graph0_fex1037,Graph0_fey1037);
+   gre->SetName("Graph0");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+   gre->SetLineWidth(3);
+   gre->SetMarkerStyle(20);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph_Graph010091037 = new TH1F("Graph_Graph_Graph010091037","Graph",100,0,5.07);
+   Graph_Graph_Graph010091037->SetMinimum(-0.003);
+   Graph_Graph_Graph010091037->SetMaximum(0.209);
+   Graph_Graph_Graph010091037->SetDirectory(0);
+   Graph_Graph_Graph010091037->SetStats(0);
+
+   Int_t ci;      // for color index setting
+   TColor *color; // for color definition with alpha
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph_Graph010091037->SetLineColor(ci);
+   Graph_Graph_Graph010091037->SetLineWidth(3);
+   Graph_Graph_Graph010091037->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph_Graph010091037->GetXaxis()->SetRange(1,101);
+   Graph_Graph_Graph010091037->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010091037->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010091037->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph_Graph010091037->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph_Graph010091037->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph_Graph010091037->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010091037->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010091037->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph_Graph010091037->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010091037->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010091037->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph_Graph010091037);
+   
+   gre->Draw("ap");
+   
+   Double_t Graph0_fx3005[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph0_fy3005[13] = {
+   0.01372135,
+   0.02848755,
+   0.04324508,
+   0.0568414,
+   0.07680908,
+   0.09575963,
+   0.1063452,
+   0.1189497,
+   0.134447,
+   0.1441958,
+   0.1595518,
+   0.1694961,
+   0.1556768};
+   Double_t Graph0_felx3005[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fely3005[13] = {
+   0.0006076076,
+   0.001259967,
+   0.001909365,
+   0.002507134,
+   0.003386925,
+   0.004219675,
+   0.004687282,
+   0.005244016,
+   0.005924961,
+   0.006352257,
+   0.00702524,
+   0.007461878,
+   0.0068414};
+   Double_t Graph0_fehx3005[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fehy3005[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   TGraphAsymmErrors *grae = new TGraphAsymmErrors(13,Graph0_fx3005,Graph0_fy3005,Graph0_felx3005,Graph0_fehx3005,Graph0_fely3005,Graph0_fehy3005);
+   grae->SetName("Graph0");
+   grae->SetTitle("Graph");
+
+   ci = TColor::GetColor("#6666ff");
+   grae->SetFillColor(ci);
+   grae->SetFillStyle(3003);
+
+   ci = TColor::GetColor("#9999ff");
+   grae->SetLineColor(ci);
+   grae->SetLineWidth(3);
+   
+   TH1F *Graph_Graph03005 = new TH1F("Graph_Graph03005","Graph",100,0,5.111);
+   Graph_Graph03005->SetMinimum(0.01180237);
+   Graph_Graph03005->SetMaximum(0.1851343);
+   Graph_Graph03005->SetDirectory(0);
+   Graph_Graph03005->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph03005->SetLineColor(ci);
+   Graph_Graph03005->SetLineWidth(3);
+   Graph_Graph03005->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph03005->GetXaxis()->SetRange(1,101);
+   Graph_Graph03005->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph03005->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph03005->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph03005->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph03005->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph03005->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph03005->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph03005->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph03005->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph03005->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph03005->GetZaxis()->SetTitleOffset(1);
+   grae->SetHistogram(Graph_Graph03005);
+   
+   grae->Draw("5");
+   
+   Double_t Graph1_fx1038[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph1_fy1038[13] = {
+   0.01372135,
+   0.02848755,
+   0.04324508,
+   0.0568414,
+   0.07680908,
+   0.09575963,
+   0.1063452,
+   0.1189497,
+   0.134447,
+   0.1441958,
+   0.1595518,
+   0.1694961,
+   0.1556768};
+   Double_t Graph1_fex1038[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph1_fey1038[13] = {
+   0.0001009854,
+   7.377627e-05,
+   0.0001199931,
+   0.0001017199,
+   0.000112944,
+   0.0001895861,
+   0.000323617,
+   0.0002372939,
+   0.0003990712,
+   0.0005127284,
+   0.0004296445,
+   0.001389229,
+   0.003680812};
+   gre = new TGraphErrors(13,Graph1_fx1038,Graph1_fy1038,Graph1_fex1038,Graph1_fey1038);
+   gre->SetName("Graph1");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetMarkerColor(ci);
+   gre->SetMarkerStyle(21);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph11038 = new TH1F("Graph_Graph11038","Graph",100,0,5.015);
+   Graph_Graph11038->SetMinimum(0.01225833);
+   Graph_Graph11038->SetMaximum(0.1866118);
+   Graph_Graph11038->SetDirectory(0);
+   Graph_Graph11038->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph11038->SetLineColor(ci);
+   Graph_Graph11038->SetLineWidth(3);
+   Graph_Graph11038->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph11038->GetXaxis()->SetRange(1,101);
+   Graph_Graph11038->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph11038->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph11038->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph11038->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph11038->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph11038->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph11038->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph11038->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph11038->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph11038->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph11038->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph11038);
+   
+   gre->Draw("p");
+   
+   TLegend *leg = new TLegend(0.468,0.08,0.89,0.349,NULL,"brNDC");
+   leg->SetBorderSize(0);
+   leg->SetTextFont(62);
+   leg->SetLineColor(1);
+   leg->SetLineStyle(1);
+   leg->SetLineWidth(3);
+   leg->SetFillColor(0);
+   leg->SetFillStyle(1001);
+   TLegendEntry *entry=leg->AddEntry("NULL","Au+Au,#sqrt{s_{NN}}=200 GeV","h");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+   entry->SetMarkerColor(1);
+   entry->SetMarkerStyle(21);
+   entry->SetMarkerSize(1);
+   entry->SetTextAlign(22);
+   entry->SetTextFont(62);
+   entry=leg->AddEntry("Graph0","v_{2}(TPC,#Delta#eta-gap = 0.1)","p");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+   entry->SetMarkerColor(1);
+   entry->SetMarkerStyle(20);
+   entry->SetMarkerSize(1.6);
+   entry->SetTextFont(62);
+   entry=leg->AddEntry("Graph1","v_{2}(BBC,#Delta#eta-gap = 2.3)","p");
+   entry->SetLineColor(1);
+   entry->SetLineStyle(1);
+   entry->SetLineWidth(1);
+
+   ci = TColor::GetColor("#0000ff");
+   entry->SetMarkerColor(ci);
+   entry->SetMarkerStyle(21);
+   entry->SetMarkerSize(1.6);
+   entry->SetTextFont(62);
+   leg->Draw();
+   TLatex *   tex = new TLatex(0.2,0.81,"STAR Preliminary");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+      tex = new TLatex(0.2,0.74,"10-20%");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+      tex = new TLatex(0.2,0.65,"h^{#pm}");
+tex->SetNDC();
+   tex->SetTextSize(0.08);
+   tex->SetLineWidth(2);
+   tex->Draw();
+   padUp12->Modified();
+   canv12->cd();
+  
+// ------------>Primitives in pad: padDown12
+   TPad *padDown12 = new TPad("padDown12", "Ratio v2",0,0,1,0.33);
+   padDown12->Draw();
+   padDown12->cd();
+   padDown12->Range(-1.02414,0.7205036,5.80346,1.152158);
+   padDown12->SetFillColor(0);
+   padDown12->SetBorderMode(0);
+   padDown12->SetBorderSize(0);
+   padDown12->SetTickx(1);
+   padDown12->SetTicky(1);
+   padDown12->SetLeftMargin(0.15);
+   padDown12->SetTopMargin(0.005);
+   padDown12->SetBottomMargin(0.3);
+   padDown12->SetFrameFillColor(10);
+   padDown12->SetFrameLineWidth(3);
+   padDown12->SetFrameFillColor(10);
+   padDown12->SetFrameLineWidth(3);
+   
+   Double_t Graph0_fx1039[16] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.15,
+   2.6,
+   3,
+   3.4,
+   3.9,
+   4.625};
+   Double_t Graph0_fy1039[16] = {
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1,
+   1};
+   Double_t Graph0_fex1039[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fey1039[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   gre = new TGraphErrors(16,Graph0_fx1039,Graph0_fy1039,Graph0_fex1039,Graph0_fey1039);
+   gre->SetName("Graph0");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+   gre->SetLineWidth(3);
+   gre->SetMarkerStyle(20);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph_Graph010111039 = new TH1F("Graph_Graph_Graph010111039","Graph",100,0,5.07);
+   Graph_Graph_Graph010111039->SetMinimum(0.85);
+   Graph_Graph_Graph010111039->SetMaximum(1.15);
+   Graph_Graph_Graph010111039->SetDirectory(0);
+   Graph_Graph_Graph010111039->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph_Graph010111039->SetLineColor(ci);
+   Graph_Graph_Graph010111039->SetLineWidth(3);
+   Graph_Graph_Graph010111039->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph_Graph010111039->GetXaxis()->SetRange(1,101);
+   Graph_Graph_Graph010111039->GetXaxis()->SetLabelSize(0.11);
+   Graph_Graph_Graph010111039->GetXaxis()->SetTitleSize(0.12);
+   Graph_Graph_Graph010111039->GetXaxis()->SetTickLength(0.06960019);
+   Graph_Graph_Graph010111039->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph_Graph010111039->GetYaxis()->SetTitle("v_{2}(BBC)/v_{2}(TPC)");
+   Graph_Graph_Graph010111039->GetYaxis()->SetNdivisions(504);
+   Graph_Graph_Graph010111039->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph_Graph010111039->GetYaxis()->SetLabelSize(0.11);
+   Graph_Graph_Graph010111039->GetYaxis()->SetTitleSize(0.12);
+   Graph_Graph_Graph010111039->GetYaxis()->SetTickLength(0.03482143);
+   Graph_Graph_Graph010111039->GetYaxis()->SetTitleOffset(0.65);
+   Graph_Graph_Graph010111039->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010111039->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010111039->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph_Graph010111039);
+   
+   gre->Draw("al");
+   
+   Double_t Graph0_fx3006[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph0_fy3006[13] = {
+   0.9925442,
+   0.9963754,
+   0.9983285,
+   1.000846,
+   1.004192,
+   1.008465,
+   1.009891,
+   1.018259,
+   1.024603,
+   1.023644,
+   1.007652,
+   1.043727,
+   1.064537};
+   Double_t Graph0_felx3006[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fely3006[13] = {
+   0.04399632,
+   0.04407398,
+   0.04408485,
+   0.04414757,
+   0.04428205,
+   0.04444167,
+   0.04452007,
+   0.04489446,
+   0.04516134,
+   0.04510594,
+   0.04437891,
+   0.04596416,
+   0.04694293};
+   Double_t Graph0_fehx3006[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fehy3006[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   grae = new TGraphAsymmErrors(13,Graph0_fx3006,Graph0_fy3006,Graph0_felx3006,Graph0_fehx3006,Graph0_fely3006,Graph0_fehy3006);
+   grae->SetName("Graph0");
+   grae->SetTitle("Graph");
+
+   ci = TColor::GetColor("#6666ff");
+   grae->SetFillColor(ci);
+   grae->SetFillStyle(3003);
+
+   ci = TColor::GetColor("#9999ff");
+   grae->SetLineColor(ci);
+   grae->SetLineWidth(3);
+   
+   TH1F *Graph_Graph03006 = new TH1F("Graph_Graph03006","Graph",100,0,5.111);
+   Graph_Graph03006->SetMinimum(0.9369489);
+   Graph_Graph03006->SetMaximum(1.076136);
+   Graph_Graph03006->SetDirectory(0);
+   Graph_Graph03006->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph03006->SetLineColor(ci);
+   Graph_Graph03006->SetLineWidth(3);
+   Graph_Graph03006->GetXaxis()->SetRange(1,101);
+   Graph_Graph03006->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph03006->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph03006->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph03006->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph03006->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph03006->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph03006->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph03006->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph03006->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph03006->GetZaxis()->SetTitleOffset(1);
+   grae->SetHistogram(Graph_Graph03006);
+   
+   grae->Draw("5");
+   
+   Double_t Graph1_fx1040[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph1_fy1040[13] = {
+   0.9925442,
+   0.9963754,
+   0.9983285,
+   1.000846,
+   1.004192,
+   1.008465,
+   1.009891,
+   1.018259,
+   1.024603,
+   1.023644,
+   1.007652,
+   1.043727,
+   1.064537};
+   Double_t Graph1_fex1040[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph1_fey1040[13] = {
+   0.007568354,
+   0.002674165,
+   0.002871136,
+   0.001856684,
+   0.001531022,
+   0.002070651,
+   0.003187404,
+   0.002108005,
+   0.00315731,
+   0.003778346,
+   0.002886267,
+   0.008636048,
+   0.0254671};
+   gre = new TGraphErrors(13,Graph1_fx1040,Graph1_fy1040,Graph1_fex1040,Graph1_fey1040);
+   gre->SetName("Graph1");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetLineColor(ci);
+   gre->SetLineWidth(3);
+
+   ci = TColor::GetColor("#0000ff");
+   gre->SetMarkerColor(ci);
+   gre->SetMarkerStyle(21);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph11040 = new TH1F("Graph_Graph11040","Graph",100,0,5.015);
+   Graph_Graph11040->SetMinimum(0.974473);
+   Graph_Graph11040->SetMaximum(1.100507);
+   Graph_Graph11040->SetDirectory(0);
+   Graph_Graph11040->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph11040->SetLineColor(ci);
+   Graph_Graph11040->SetLineWidth(3);
+   Graph_Graph11040->GetXaxis()->SetRange(1,101);
+   Graph_Graph11040->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph11040->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph11040->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph11040->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph11040->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph11040->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph11040->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph11040->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph11040->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph11040->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph11040);
+   
+   gre->Draw("p");
+   TLine *line = new TLine(0,1,5.1,1);
+   line->SetLineWidth(3);
+   line->Draw();
+   line = new TLine(0,0.95,5.1,0.95);
+   line->SetLineStyle(2);
+   line->SetLineWidth(2);
+   line->Draw();
+   line = new TLine(0,1.05,5.1,1.05);
+   line->SetLineStyle(2);
+   line->SetLineWidth(2);
+   line->Draw();
+   padDown12->Modified();
+   canv12->cd();
+   canv12->Modified();
+   canv12->cd();
+   canv12->SetSelected(canv12);
+}

+ 763 - 0
FugureMacros/v2_CH_BBC_pt_cent3.C

@@ -0,0 +1,763 @@
+void v2_CH_BBC_pt_cent3()
+{
+//=========Macro generated from canvas: canv13/Canvas 1 3
+//=========  (Tue Aug 13 17:51:28 2019) by ROOT version 6.19/01
+   TCanvas *canv13 = new TCanvas("canv13", "Canvas 1 3",0,0,900,800);
+   gStyle->SetOptStat(0);
+   gStyle->SetOptTitle(0);
+   canv13->Range(0,0,1,1);
+   canv13->SetFillColor(10);
+   canv13->SetBorderMode(0);
+   canv13->SetBorderSize(2);
+   canv13->SetTickx(1);
+   canv13->SetTicky(1);
+   canv13->SetLeftMargin(0.15);
+   canv13->SetBottomMargin(0.15);
+   canv13->SetFrameLineWidth(3);
+  
+// ------------>Primitives in pad: padUp13
+   TPad *padUp13 = new TPad("padUp13", "v2 vs pt",0,0.33,1,1);
+   padUp13->Draw();
+   padUp13->cd();
+   padUp13->Range(-1.02414,-0.003,5.80346,0.277);
+   padUp13->SetFillColor(0);
+   padUp13->SetBorderMode(0);
+   padUp13->SetBorderSize(0);
+   padUp13->SetTickx(1);
+   padUp13->SetTicky(1);
+   padUp13->SetLeftMargin(0.15);
+   padUp13->SetBottomMargin(0);
+   padUp13->SetFrameFillColor(10);
+   padUp13->SetFrameLineWidth(3);
+   padUp13->SetFrameFillColor(10);
+   padUp13->SetFrameLineWidth(3);
+   
+   Double_t Graph0_fx1041[16] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.15,
+   2.6,
+   3,
+   3.4,
+   3.9,
+   4.625};
+   Double_t Graph0_fy1041[16] = {
+   0.01819498,
+   0.03778175,
+   0.05678137,
+   0.07410868,
+   0.09939757,
+   0.1230394,
+   0.135962,
+   0.1505664,
+   0.1681575,
+   0.1793339,
+   0.1896534,
+   0.1998817,
+   0.2038641,
+   0.2007058,
+   0.1921326,
+   0.1809406};
+   Double_t Graph0_fex1041[16] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   Double_t Graph0_fey1041[16] = {
+   3.142847e-05,
+   2.320524e-05,
+   3.790774e-05,
+   3.219701e-05,
+   3.587585e-05,
+   6.044239e-05,
+   0.000103322,
+   7.578247e-05,
+   0.000127366,
+   0.0001633254,
+   0.0001805337,
+   0.0002132727,
+   0.0006105687,
+   0.0005288784,
+   0.001216323,
+   0.001111889};
+   TGraphErrors *gre = new TGraphErrors(16,Graph0_fx1041,Graph0_fy1041,Graph0_fex1041,Graph0_fey1041);
+   gre->SetName("Graph0");
+   gre->SetTitle("Graph");
+   gre->SetFillStyle(1000);
+   gre->SetLineWidth(3);
+   gre->SetMarkerStyle(20);
+   gre->SetMarkerSize(1.6);
+   
+   TH1F *Graph_Graph_Graph010131041 = new TH1F("Graph_Graph_Graph010131041","Graph",100,0,5.07);
+   Graph_Graph_Graph010131041->SetMinimum(-0.003);
+   Graph_Graph_Graph010131041->SetMaximum(0.249);
+   Graph_Graph_Graph010131041->SetDirectory(0);
+   Graph_Graph_Graph010131041->SetStats(0);
+
+   Int_t ci;      // for color index setting
+   TColor *color; // for color definition with alpha
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph_Graph010131041->SetLineColor(ci);
+   Graph_Graph_Graph010131041->SetLineWidth(3);
+   Graph_Graph_Graph010131041->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph_Graph010131041->GetXaxis()->SetRange(1,101);
+   Graph_Graph_Graph010131041->GetXaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010131041->GetXaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010131041->GetXaxis()->SetTitleOffset(1);
+   Graph_Graph_Graph010131041->GetYaxis()->SetTitle("v_{2}");
+   Graph_Graph_Graph010131041->GetYaxis()->SetLabelOffset(0.01);
+   Graph_Graph_Graph010131041->GetYaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010131041->GetYaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010131041->GetYaxis()->SetTitleOffset(1.3);
+   Graph_Graph_Graph010131041->GetZaxis()->SetLabelSize(0.05);
+   Graph_Graph_Graph010131041->GetZaxis()->SetTitleSize(0.06);
+   Graph_Graph_Graph010131041->GetZaxis()->SetTitleOffset(1);
+   gre->SetHistogram(Graph_Graph_Graph010131041);
+   
+   gre->Draw("ap");
+   
+   Double_t Graph0_fx3007[13] = {
+   0.175,
+   0.3,
+   0.5,
+   0.7,
+   0.9,
+   1.1,
+   1.3,
+   1.5,
+   1.7,
+   1.9,
+   2.5,
+   3.5,
+   4.575};
+   Double_t Graph0_fy3007[13] = {
+   0.01815028,
+   0.03774779,
+   0.05667522,
+   0.07412595,
+   0.09979639,
+   0.123885,
+   0.1363508,
+   0.1518047,
+   0.1699496,
+   0.1814805,
+   0.1968727,
+   0.2063135,
+   0.1796426};
+   Double_t Graph0_felx3007[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fely3007[13] = {
+   0.0007240287,
+   0.001506123,
+   0.00226124,
+   0.002955219,
+   0.003977162,
+   0.004932601,
+   0.005429547,
+   0.006041503,
+   0.006758177,
+   0.00721189,
+   0.007827435,
+   0.008216149,
+   0.007207188};
+   Double_t Graph0_fehx3007[13] = {
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08,
+   0.08};
+   Double_t Graph0_fehy3007[13] = {
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0,
+   0};
+   TGraphAsymmErrors *grae = new TGraphAsymmErrors(13,Graph0_fx3007,Graph0_fy3007,Graph0_felx3007,Graph0_fehx3007,Graph0_fely3007,Graph0_fehy3007);
+   grae->SetName("Graph0");
+   grae->SetTitle("Graph");
+
+   ci = TColor::GetColor("#6666ff");
+   grae->SetFillColor(ci);
+   grae->SetFillStyle(3003);
+
+   ci = TColor::GetColor("#9999ff");
+   grae->SetLineColor(ci);
+   grae->SetLineWidth(3);
+   
+   TH1F *Graph_Graph03007 = new TH1F("Graph_Graph03007","Graph",100,0,5.111);
+   Graph_Graph03007->SetMinimum(0.01568362);
+   Graph_Graph03007->SetMaximum(0.2252022);
+   Graph_Graph03007->SetDirectory(0);
+   Graph_Graph03007->SetStats(0);
+
+   ci = TColor::GetColor("#ff0000");
+   Graph_Graph03007->SetLineColor(ci);
+   Graph_Graph03007->SetLineWidth(3);
+   Graph_Graph03007->GetXaxis()->SetTitle("p_{T} [GeV/c]");
+   Graph_Graph03007->GetXaxis()->SetRange(1,101);
+   Graph_Graph03007->GetXaxis()->SetLabelSize(0.05);