void single_angular() { //=========Macro generated from canvas: c_angn4/title //========= (Mon Oct 30 12:28:11 2023) by ROOT version6.10/08 TCanvas *c_angn4 = new TCanvas("c_angn4", "title",67,55,1800,1000); gStyle->SetOptStat(0); c_angn4->Range(-6.875,-5.000001,31.875,95); c_angn4->SetFillColor(0); c_angn4->SetBorderMode(0); c_angn4->SetBorderSize(2); c_angn4->SetFrameBorderMode(0); c_angn4->SetFrameBorderMode(0); TH2F *htemp__1 = new TH2F("htemp__1","lv_4n_mm_CMR.Theta()*TMath::RadToDeg():lv_4n_mm.Mag()-4*939.565 {(lv_6li_side.Mag()>0) && (ND_time-targetTime > 15) && multv_1==0 && multv_2==0 && multv_3==0 && multv_4==0 && ND_energy_CM4n>0 && lv_4n_mm.Mag()-4*939.565>-1}",40,-3,28,40,5,85); htemp__1->SetDirectory(0); htemp__1->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); htemp__1->SetLineColor(ci); htemp__1->SetMarkerStyle(8); htemp__1->GetXaxis()->SetTitle("lv_4n_mm.Mag()-4*939.565"); htemp__1->GetXaxis()->SetRange(1,40); htemp__1->GetXaxis()->SetLabelFont(42); htemp__1->GetXaxis()->SetLabelSize(0.035); htemp__1->GetXaxis()->SetTitleSize(0.035); htemp__1->GetXaxis()->SetTitleFont(42); htemp__1->GetYaxis()->SetTitle("lv_4n_mm_CMR.Theta()*TMath::RadToDeg()"); htemp__1->GetYaxis()->SetRange(1,40); htemp__1->GetYaxis()->SetLabelFont(42); htemp__1->GetYaxis()->SetLabelSize(0.035); htemp__1->GetYaxis()->SetTitleSize(0.035); htemp__1->GetYaxis()->SetTitleOffset(0); htemp__1->GetYaxis()->SetTitleFont(42); htemp__1->GetZaxis()->SetLabelFont(42); htemp__1->GetZaxis()->SetLabelSize(0.035); htemp__1->GetZaxis()->SetTitleSize(0.035); htemp__1->GetZaxis()->SetTitleFont(42); htemp__1->Draw(""); TPaveText *pt = new TPaveText(0.15,0.9344439,0.85,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *pt_LaTex = pt->AddText("lv_4n_mm_CMR.Theta()*TMath::RadToDeg():lv_4n_mm.Mag()-4*939.565 {(lv_6li_side.Mag()>0) && (ND_time-targetTime > 15) && multv_1==0 && multv_2==0 && multv_3==0 && multv_4==0 && ND_energy_CM4n>0 && lv_4n_mm.Mag()-4*939.565>-1}"); pt->Draw(); Double_t Graph0_fx1[137] = { 2.293378, 16.53346, 2.775385, 25.618, 25.618, 15.84522, 23.25345, 17.87187, 11.87716, 13.51793, 9.709167, 8.177823, 15.57414, 8.79528, 15.49065, 6.447484, 5.468663, 15.32576, 15.44866, 14.43255, 6.329823, 18.51257, 4.628421, 12.52081, 19.88932, 25.77312, 16.85224, 18.54831, 4.118373, 14.66246, 21.70794, 6.069371, 24.23959, 15.92302, 23.08188, 13.04678, 11.01585, 9.533222, 19.7312, 2.250434, 7.362024, -0.8738604, 14.52214, 18.01523, 25.71238, 25.71238, 19.00919, 7.122373, 14.77225, 19.56621, 11.88648, 4.760872, 25.25253, 25.25253, 13.78085, 16.55374, 16.32254, 7.666889, 17.17745, 12.18927, 12.18927, 11.04283, 15.78947, 14.9445, 12.80672, 5.574539, 1.294231, 16.38851, 12.18283, 3.692083, 20.43209, 13.05403, 3.35527, 10.56624, 11.00986, 25.02393, 21.30116, 9.124693, 18.07501, 15.33917, 19.30544, 15.68121, 14.6701, 9.807625, 13.23228, 9.896872, 8.678942, 25.70097, 17.79193, 26.18868, 22.8376, 3.849799, 18.20476, 0.679571, 14.87749, 14.87749, 2.729227, 9.972701, 18.46357, 17.24962, 16.66522, 20.9598, 18.17658, 10.80134, 4.07879, 17.75641, 3.633756, 4.65884, 17.17084, 14.27111, 23.64081, 2.64591, 10.31742, 15.63272, 13.63692, 16.51991, 15.26418, 20.17847, 9.149963, 20.66901, 24.80567, 17.34251, 0.2177003, 3.090493, 22.74068, 22.66954, 23.81961, 14.55301, 18.85983, 17.55044, 15.24921, 7.34596, 17.97639, 18.21805, 18.03173, 20.16727, 14.35985}; Double_t Graph0_fy1[137] = { 22.96098, 32.37453, 20.42714, 23.75573, 23.75573, 28.97319, 33.52173, 28.46252, 38.64605, 29.95049, 24.18883, 17.91793, 22.82172, 24.2163, 25.36298, 29.18495, 17.86598, 34.39316, 17.95625, 31.63668, 26.6676, 14.39871, 21.97711, 28.91384, 35.50192, 21.15304, 39.67074, 38.94612, 15.47257, 26.06359, 28.86099, 32.18519, 31.19928, 25.90003, 25.30423, 33.05285, 18.97107, 78.38055, 43.17075, 46.28093, 33.2535, 25.42674, 39.67903, 28.68732, 30.61999, 30.61999, 25.82045, 33.3565, 19.97845, 25.77351, 43.49009, 36.59207, 27.43145, 27.43145, 20.90391, 32.97262, 18.1204, 21.22906, 47.32078, 37.22993, 37.22993, 37.85647, 21.61354, 19.62796, 34.49465, 26.35171, 48.47679, 26.015, 38.44679, 43.79028, 27.86231, 26.99938, 33.08223, 37.60542, 28.98927, 29.76159, 31.48392, 32.51186, 28.55604, 31.75072, 32.60382, 35.39864, 41.52173, 21.38447, 30.2175, 39.88721, 14.35446, 28.19643, 30.12882, 29.8008, 33.42579, 46.05483, 33.75885, 21.86448, 14.45356, 14.45356, 18.33214, 23.83462, 39.67193, 42.60805, 19.64076, 31.97388, 26.98648, 36.02568, 26.63101, 23.97905, 10.75056, 20.97361, 37.34012, 40.78341, 30.53927, 17.6882, 39.23266, 32.33729, 34.5398, 44.46054, 27.14791, 34.37672, 34.71008, 38.29793, 28.51064, 30.15736, 18.32953, 20.052, 37.68594, 30.23097, 29.02963, 38.83401, 19.82276, 29.83649, 29.06612, 27.19644, 38.30944, 39.88242, 26.82334, 24.67148, 28.65588}; TGraph *graph = new TGraph(137,Graph0_fx1,Graph0_fy1); graph->SetName("Graph0"); graph->SetTitle("Graph"); ci = TColor::GetColor("#000099"); graph->SetLineColor(ci); graph->SetMarkerStyle(8); TH1F *Graph_Graph1 = new TH1F("Graph_Graph1","Graph",137,-3.580114,28.89493); Graph_Graph1->SetMinimum(3.987557); Graph_Graph1->SetMaximum(85.14355); Graph_Graph1->SetDirectory(0); Graph_Graph1->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph1->SetLineColor(ci); Graph_Graph1->GetXaxis()->SetLabelFont(42); Graph_Graph1->GetXaxis()->SetLabelSize(0.035); Graph_Graph1->GetXaxis()->SetTitleSize(0.035); Graph_Graph1->GetXaxis()->SetTitleFont(42); Graph_Graph1->GetYaxis()->SetLabelFont(42); Graph_Graph1->GetYaxis()->SetLabelSize(0.035); Graph_Graph1->GetYaxis()->SetTitleSize(0.035); Graph_Graph1->GetYaxis()->SetTitleOffset(0); Graph_Graph1->GetYaxis()->SetTitleFont(42); Graph_Graph1->GetZaxis()->SetLabelFont(42); Graph_Graph1->GetZaxis()->SetLabelSize(0.035); Graph_Graph1->GetZaxis()->SetTitleSize(0.035); Graph_Graph1->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph1); graph->Draw("p"); Double_t Graph1_fx2[108] = { 16.53346, 2.775385, 25.618, 25.618, 15.84522, 23.25345, 17.87187, 11.87716, 13.51793, 9.709167, 8.177823, 15.57414, 8.79528, 15.49065, 6.447484, 15.32576, 15.44866, 14.43255, 18.51257, 12.52081, 19.88932, 25.77312, 16.85224, 18.54831, 14.66246, 21.70794, 24.23959, 15.92302, 23.08188, 13.04678, 11.01585, 19.7312, 14.52214, 18.01523, 25.71238, 19.00919, 14.77225, 4.760872, 25.25253, 25.25253, 13.78085, 16.32254, 7.666889, 17.17745, 12.18927, 11.04283, 15.78947, 12.80672, 5.574539, 16.38851, 12.18283, 20.43209, 13.05403, 10.56624, 11.00986, 25.02393, 21.30116, 9.124693, 18.07501, 15.33917, 19.30544, 15.68121, 14.6701, 9.807625, 13.23228, 9.896872, 8.678942, 25.70097, 17.79193, 26.18868, 22.8376, 3.849799, 18.20476, 14.87749, 14.87749, 18.46357, 17.24962, 16.66522, 20.9598, 18.17658, 10.80134, 4.07879, 17.75641, 17.17084, 14.27111, 23.64081, 10.31742, 15.63272, 13.63692, 16.51991, 15.26418, 20.17847, 20.66901, 24.80567, 17.34251, 3.090493, 22.74068, 22.66954, 23.81961, 14.55301, 18.85983, 17.55044, 15.24921, 17.97639, 18.21805, 18.03173, 20.16727, 14.35985}; Double_t Graph1_fy2[108] = { 32.37453, 20.42714, 23.75573, 23.75573, 28.97319, 33.52173, 28.46252, 38.64605, 29.95049, 24.18883, 17.91793, 22.82172, 24.2163, 25.36298, 29.18495, 34.39316, 17.95625, 31.63668, 14.39871, 28.91384, 35.50192, 21.15304, 39.67074, 38.94612, 26.06359, 28.86099, 31.19928, 25.90003, 25.30423, 33.05285, 18.97107, 43.17075, 39.67903, 28.68732, 30.61999, 25.82045, 19.97845, 36.59207, 27.43145, 27.43145, 20.90391, 18.1204, 21.22906, 47.32078, 37.22993, 37.85647, 21.61354, 34.49465, 26.35171, 26.015, 38.44679, 27.86231, 26.99938, 37.60542, 28.98927, 29.76159, 31.48392, 32.51186, 28.55604, 31.75072, 32.60382, 35.39864, 41.52173, 21.38447, 30.2175, 39.88721, 14.35446, 28.19643, 30.12882, 29.8008, 33.42579, 46.05483, 33.75885, 14.45356, 14.45356, 39.67193, 42.60805, 19.64076, 31.97388, 26.98648, 36.02568, 26.63101, 23.97905, 37.34012, 40.78341, 30.53927, 39.23266, 32.33729, 34.5398, 44.46054, 27.14791, 34.37672, 38.29793, 28.51064, 30.15736, 20.052, 37.68594, 30.23097, 29.02963, 38.83401, 19.82276, 29.83649, 29.06612, 38.30944, 39.88242, 26.82334, 24.67148, 28.65588}; graph = new TGraph(108,Graph1_fx2,Graph1_fy2); graph->SetName("Graph1"); graph->SetTitle("Graph"); ci = TColor::GetColor("#000099"); graph->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(8); TH1F *Graph_Graph2 = new TH1F("Graph_Graph2","Graph",108,0.4340556,28.53001); Graph_Graph2->SetMinimum(11.05782); Graph_Graph2->SetMaximum(50.61741); Graph_Graph2->SetDirectory(0); Graph_Graph2->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph2->SetLineColor(ci); Graph_Graph2->GetXaxis()->SetLabelFont(42); Graph_Graph2->GetXaxis()->SetLabelSize(0.035); Graph_Graph2->GetXaxis()->SetTitleSize(0.035); Graph_Graph2->GetXaxis()->SetTitleFont(42); Graph_Graph2->GetYaxis()->SetLabelFont(42); Graph_Graph2->GetYaxis()->SetLabelSize(0.035); Graph_Graph2->GetYaxis()->SetTitleSize(0.035); Graph_Graph2->GetYaxis()->SetTitleOffset(0); Graph_Graph2->GetYaxis()->SetTitleFont(42); Graph_Graph2->GetZaxis()->SetLabelFont(42); Graph_Graph2->GetZaxis()->SetLabelSize(0.035); Graph_Graph2->GetZaxis()->SetTitleSize(0.035); Graph_Graph2->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph2); graph->Draw("p"); c_angn4->Modified(); c_angn4->cd(); c_angn4->SetSelected(c_angn4); }