File indexing completed on 2025-08-06 08:13:46
0001 void D0_BUP2020AuAu_0_10_significance_3yr()
0002 {
0003
0004
0005 TCanvas *D0_BUP2020AuAu_0_10_significance_3yr = new TCanvas("D0_BUP2020AuAu_0_10_significance_3yr", "D0_BUP2020AuAu_0_10_significance_3yr",0,0,1100,800);
0006 gStyle->SetOptFit(1);
0007 gStyle->SetOptStat(0);
0008 gStyle->SetOptTitle(0);
0009 D0_BUP2020AuAu_0_10_significance_3yr->SetHighLightColor(2);
0010 D0_BUP2020AuAu_0_10_significance_3yr->Range(0,0,1,1);
0011 D0_BUP2020AuAu_0_10_significance_3yr->SetFillColor(0);
0012 D0_BUP2020AuAu_0_10_significance_3yr->SetBorderMode(0);
0013 D0_BUP2020AuAu_0_10_significance_3yr->SetBorderSize(2);
0014 D0_BUP2020AuAu_0_10_significance_3yr->SetTickx(1);
0015 D0_BUP2020AuAu_0_10_significance_3yr->SetTicky(1);
0016 D0_BUP2020AuAu_0_10_significance_3yr->SetLeftMargin(0.16);
0017 D0_BUP2020AuAu_0_10_significance_3yr->SetRightMargin(0.05);
0018 D0_BUP2020AuAu_0_10_significance_3yr->SetTopMargin(0.05);
0019 D0_BUP2020AuAu_0_10_significance_3yr->SetBottomMargin(0.16);
0020 D0_BUP2020AuAu_0_10_significance_3yr->SetFrameBorderMode(0);
0021
0022
0023 TPad *D0_BUP2020AuAu_0_10_significance_3yr_1 = new TPad("D0_BUP2020AuAu_0_10_significance_3yr_1", "D0_BUP2020AuAu_0_10_significance_3yr_1",0.01,0.01,0.49,0.99);
0024 D0_BUP2020AuAu_0_10_significance_3yr_1->Draw();
0025 D0_BUP2020AuAu_0_10_significance_3yr_1->cd();
0026 D0_BUP2020AuAu_0_10_significance_3yr_1->Range(-2.43038,-320.6286,12.75949,1683.3);
0027 D0_BUP2020AuAu_0_10_significance_3yr_1->SetFillColor(0);
0028 D0_BUP2020AuAu_0_10_significance_3yr_1->SetBorderMode(0);
0029 D0_BUP2020AuAu_0_10_significance_3yr_1->SetBorderSize(2);
0030 D0_BUP2020AuAu_0_10_significance_3yr_1->SetTickx(1);
0031 D0_BUP2020AuAu_0_10_significance_3yr_1->SetTicky(1);
0032 D0_BUP2020AuAu_0_10_significance_3yr_1->SetLeftMargin(0.16);
0033 D0_BUP2020AuAu_0_10_significance_3yr_1->SetRightMargin(0.05);
0034 D0_BUP2020AuAu_0_10_significance_3yr_1->SetTopMargin(0.05);
0035 D0_BUP2020AuAu_0_10_significance_3yr_1->SetBottomMargin(0.16);
0036 D0_BUP2020AuAu_0_10_significance_3yr_1->SetFrameBorderMode(0);
0037 D0_BUP2020AuAu_0_10_significance_3yr_1->SetFrameBorderMode(0);
0038
0039 TH1F *hframe__7 = new TH1F("hframe__7","",1000,0,12);
0040 hframe__7->SetMinimum(0);
0041 hframe__7->SetMaximum(1583.104);
0042 hframe__7->SetDirectory(0);
0043 hframe__7->SetStats(0);
0044 hframe__7->SetLineWidth(2);
0045 hframe__7->SetMarkerStyle(20);
0046 hframe__7->SetMarkerSize(1.2);
0047 hframe__7->GetXaxis()->SetTitle("p_{T} [GeV]");
0048 hframe__7->GetXaxis()->SetLabelFont(42);
0049 hframe__7->GetXaxis()->SetLabelSize(0.05);
0050 hframe__7->GetXaxis()->SetTitleSize(0.05);
0051 hframe__7->GetXaxis()->SetTitleOffset(1.4);
0052 hframe__7->GetXaxis()->SetTitleFont(42);
0053 hframe__7->GetYaxis()->SetTitle("Significance");
0054 hframe__7->GetYaxis()->SetLabelFont(42);
0055 hframe__7->GetYaxis()->SetLabelSize(0.05);
0056 hframe__7->GetYaxis()->SetTitleSize(0.05);
0057 hframe__7->GetYaxis()->SetTitleOffset(1.4);
0058 hframe__7->GetYaxis()->SetTitleFont(42);
0059 hframe__7->GetZaxis()->SetLabelFont(42);
0060 hframe__7->GetZaxis()->SetLabelSize(0.05);
0061 hframe__7->GetZaxis()->SetTitleSize(0.05);
0062 hframe__7->GetZaxis()->SetTitleOffset(1);
0063 hframe__7->GetZaxis()->SetTitleFont(42);
0064 hframe__7->Draw(" ");
0065
0066 Double_t Graph0_fx13[20] = {
0067 0.25,
0068 0.75,
0069 1.25,
0070 1.75,
0071 2.25,
0072 2.75,
0073 3.25,
0074 3.75,
0075 4.25,
0076 4.75,
0077 5.25,
0078 5.75,
0079 6.25,
0080 6.75,
0081 7.25,
0082 7.75,
0083 8.25,
0084 8.75,
0085 9.25,
0086 9.75};
0087 Double_t Graph0_fy13[20] = {
0088 452.7213,
0089 696.0787,
0090 1083.052,
0091 1319.253,
0092 1306.403,
0093 1142.592,
0094 832.6952,
0095 630.6431,
0096 468.637,
0097 354.0432,
0098 271.5012,
0099 203.7491,
0100 153.3749,
0101 114.7844,
0102 86.90932,
0103 65.23378,
0104 50.12622,
0105 37.89479,
0106 29.06995,
0107 22.41011};
0108 TGraph *graph = new TGraph(20,Graph0_fx13,Graph0_fy13);
0109 graph->SetName("Graph0");
0110 graph->SetTitle("Significance for N_Collision = 1.4128e+11 centrality_ncoll = 9.6020e+01, based on 0-10%, w/o TOF, 24B");
0111 graph->SetLineWidth(2);
0112
0113 Int_t ci;
0114 TColor *color;
0115 ci = TColor::GetColor("#cc0000");
0116 graph->SetMarkerColor(ci);
0117 graph->SetMarkerStyle(20);
0118 graph->SetMarkerSize(1.2);
0119
0120 TH1F *Graph_Graph013 = new TH1F("Graph_Graph013","Significance for N_Collision = 1.4128e+11 centrality_ncoll = 9.6020e+01, based on 0-10%, w/o TOF, 24B",100,0,10.7);
0121 Graph_Graph013->SetMinimum(26.2875);
0122 Graph_Graph013->SetMaximum(1583.104);
0123 Graph_Graph013->SetDirectory(0);
0124 Graph_Graph013->SetLineWidth(2);
0125 Graph_Graph013->SetMarkerStyle(20);
0126 Graph_Graph013->SetMarkerSize(1.2);
0127 Graph_Graph013->GetXaxis()->SetTitle(" p_{T} [GeV/c]");
0128 Graph_Graph013->GetXaxis()->SetRange(1,94);
0129 Graph_Graph013->GetXaxis()->SetLabelFont(42);
0130 Graph_Graph013->GetXaxis()->SetLabelSize(0.05);
0131 Graph_Graph013->GetXaxis()->SetTitleSize(0.05);
0132 Graph_Graph013->GetXaxis()->SetTitleOffset(1.4);
0133 Graph_Graph013->GetXaxis()->SetTitleFont(42);
0134 Graph_Graph013->GetYaxis()->SetTitle(" S / #sqrt{S + B}");
0135 Graph_Graph013->GetYaxis()->SetLabelFont(42);
0136 Graph_Graph013->GetYaxis()->SetLabelSize(0.05);
0137 Graph_Graph013->GetYaxis()->SetTitleSize(0.05);
0138 Graph_Graph013->GetYaxis()->SetTitleOffset(1.4);
0139 Graph_Graph013->GetYaxis()->SetTitleFont(42);
0140 Graph_Graph013->GetZaxis()->SetLabelFont(42);
0141 Graph_Graph013->GetZaxis()->SetLabelSize(0.05);
0142 Graph_Graph013->GetZaxis()->SetTitleSize(0.05);
0143 Graph_Graph013->GetZaxis()->SetTitleOffset(1);
0144 Graph_Graph013->GetZaxis()->SetTitleFont(42);
0145 graph->SetHistogram(Graph_Graph013);
0146
0147 graph->Draw("p");
0148 D0_BUP2020AuAu_0_10_significance_3yr_1->Modified();
0149 D0_BUP2020AuAu_0_10_significance_3yr->cd();
0150
0151
0152 TPad *D0_BUP2020AuAu_0_10_significance_3yr_2 = new TPad("D0_BUP2020AuAu_0_10_significance_3yr_2", "D0_BUP2020AuAu_0_10_significance_3yr_2",0.51,0.01,0.99,0.99);
0153 D0_BUP2020AuAu_0_10_significance_3yr_2->Draw();
0154 D0_BUP2020AuAu_0_10_significance_3yr_2->cd();
0155 D0_BUP2020AuAu_0_10_significance_3yr_2->Range(-2.43038,-14.37675,12.75949,75.47793);
0156 D0_BUP2020AuAu_0_10_significance_3yr_2->SetFillColor(0);
0157 D0_BUP2020AuAu_0_10_significance_3yr_2->SetBorderMode(0);
0158 D0_BUP2020AuAu_0_10_significance_3yr_2->SetBorderSize(2);
0159 D0_BUP2020AuAu_0_10_significance_3yr_2->SetTickx(1);
0160 D0_BUP2020AuAu_0_10_significance_3yr_2->SetTicky(1);
0161 D0_BUP2020AuAu_0_10_significance_3yr_2->SetLeftMargin(0.16);
0162 D0_BUP2020AuAu_0_10_significance_3yr_2->SetRightMargin(0.05);
0163 D0_BUP2020AuAu_0_10_significance_3yr_2->SetTopMargin(0.05);
0164 D0_BUP2020AuAu_0_10_significance_3yr_2->SetBottomMargin(0.16);
0165 D0_BUP2020AuAu_0_10_significance_3yr_2->SetFrameBorderMode(0);
0166 D0_BUP2020AuAu_0_10_significance_3yr_2->SetFrameBorderMode(0);
0167
0168 TH1F *hframe__8 = new TH1F("hframe__8","",1000,0,12);
0169 hframe__8->SetMinimum(0);
0170 hframe__8->SetMaximum(70.9852);
0171 hframe__8->SetDirectory(0);
0172 hframe__8->SetStats(0);
0173 hframe__8->SetLineWidth(2);
0174 hframe__8->SetMarkerStyle(20);
0175 hframe__8->SetMarkerSize(1.2);
0176 hframe__8->GetXaxis()->SetTitle("p_{T} [GeV]");
0177 hframe__8->GetXaxis()->SetLabelFont(42);
0178 hframe__8->GetXaxis()->SetLabelSize(0.05);
0179 hframe__8->GetXaxis()->SetTitleSize(0.05);
0180 hframe__8->GetXaxis()->SetTitleOffset(1.4);
0181 hframe__8->GetXaxis()->SetTitleFont(42);
0182 hframe__8->GetYaxis()->SetTitle("Significance");
0183 hframe__8->GetYaxis()->SetLabelFont(42);
0184 hframe__8->GetYaxis()->SetLabelSize(0.05);
0185 hframe__8->GetYaxis()->SetTitleSize(0.05);
0186 hframe__8->GetYaxis()->SetTitleOffset(1.4);
0187 hframe__8->GetYaxis()->SetTitleFont(42);
0188 hframe__8->GetZaxis()->SetLabelFont(42);
0189 hframe__8->GetZaxis()->SetLabelSize(0.05);
0190 hframe__8->GetZaxis()->SetTitleSize(0.05);
0191 hframe__8->GetZaxis()->SetTitleOffset(1);
0192 hframe__8->GetZaxis()->SetTitleFont(42);
0193 hframe__8->Draw(" ");
0194
0195 Double_t Graph0_fx14[10] = {
0196 0.5,
0197 1.5,
0198 2.5,
0199 3.5,
0200 4.5,
0201 5.5,
0202 6.5,
0203 7.5,
0204 8.5,
0205 9.5};
0206 Double_t Graph0_fy14[10] = {
0207 6.498993,
0208 12.81415,
0209 30.68814,
0210 52.24624,
0211 59.15433,
0212 53.23591,
0213 44.80608,
0214 31.86806,
0215 25.21887,
0216 18.33553};
0217 graph = new TGraph(10,Graph0_fx14,Graph0_fy14);
0218 graph->SetName("Graph0");
0219 graph->SetTitle("Significance for N_Collision = 1.4128e+11 centrality_ncoll = 9.6020e+01, based on 0-10%, w/o TOF, 24B");
0220 graph->SetLineWidth(2);
0221
0222 ci = TColor::GetColor("#cc0000");
0223 graph->SetMarkerColor(ci);
0224 graph->SetMarkerStyle(20);
0225 graph->SetMarkerSize(1.2);
0226
0227 TH1F *Graph_Graph014 = new TH1F("Graph_Graph014","Significance for N_Collision = 1.4128e+11 centrality_ncoll = 9.6020e+01, based on 0-10%, w/o TOF, 24B",100,0,10.4);
0228 Graph_Graph014->SetMinimum(1.607636);
0229 Graph_Graph014->SetMaximum(70.9852);
0230 Graph_Graph014->SetDirectory(0);
0231 Graph_Graph014->SetLineWidth(2);
0232 Graph_Graph014->SetMarkerStyle(20);
0233 Graph_Graph014->SetMarkerSize(1.2);
0234 Graph_Graph014->GetXaxis()->SetTitle(" p_{T} [GeV/c]");
0235 Graph_Graph014->GetXaxis()->SetRange(1,97);
0236 Graph_Graph014->GetXaxis()->SetLabelFont(42);
0237 Graph_Graph014->GetXaxis()->SetLabelSize(0.05);
0238 Graph_Graph014->GetXaxis()->SetTitleSize(0.05);
0239 Graph_Graph014->GetXaxis()->SetTitleOffset(1.4);
0240 Graph_Graph014->GetXaxis()->SetTitleFont(42);
0241 Graph_Graph014->GetYaxis()->SetTitle(" S / #sqrt{S + B}");
0242 Graph_Graph014->GetYaxis()->SetLabelFont(42);
0243 Graph_Graph014->GetYaxis()->SetLabelSize(0.05);
0244 Graph_Graph014->GetYaxis()->SetTitleSize(0.05);
0245 Graph_Graph014->GetYaxis()->SetTitleOffset(1.4);
0246 Graph_Graph014->GetYaxis()->SetTitleFont(42);
0247 Graph_Graph014->GetZaxis()->SetLabelFont(42);
0248 Graph_Graph014->GetZaxis()->SetLabelSize(0.05);
0249 Graph_Graph014->GetZaxis()->SetTitleSize(0.05);
0250 Graph_Graph014->GetZaxis()->SetTitleOffset(1);
0251 Graph_Graph014->GetZaxis()->SetTitleFont(42);
0252 graph->SetHistogram(Graph_Graph014);
0253
0254 graph->Draw("p");
0255 D0_BUP2020AuAu_0_10_significance_3yr_2->Modified();
0256 D0_BUP2020AuAu_0_10_significance_3yr->cd();
0257 D0_BUP2020AuAu_0_10_significance_3yr->Modified();
0258 D0_BUP2020AuAu_0_10_significance_3yr->cd();
0259 D0_BUP2020AuAu_0_10_significance_3yr->SetSelected(D0_BUP2020AuAu_0_10_significance_3yr);
0260 }