void CalibTransferPlot_JoinSides() { //=========Macro generated from canvas: canvas/ //========= (Tue Jun 30 09:38:22 2020) by ROOT version 6.14/04 TCanvas *canvas = new TCanvas("canvas", "",0,0,1750,700); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); canvas->Range(0,0,1,1); canvas->SetFillColor(0); canvas->SetBorderMode(0); canvas->SetBorderSize(2); canvas->SetTickx(1); canvas->SetTicky(1); canvas->SetLeftMargin(0.16); canvas->SetRightMargin(0.05); canvas->SetTopMargin(0.05); canvas->SetBottomMargin(0.16); canvas->SetFrameBorderMode(0); // ------------>Primitives in pad: canvas_1 TPad *canvas_1 = new TPad("canvas_1", "canvas_1",0,0,0.3021148,1); canvas_1->Draw(); canvas_1->cd(); canvas_1->Range(-15.72434,0.9699937,118.065,1.033158); canvas_1->SetFillColor(0); canvas_1->SetBorderMode(0); canvas_1->SetBorderSize(2); canvas_1->SetTickx(1); canvas_1->SetTicky(1); canvas_1->SetLeftMargin(0.25); canvas_1->SetRightMargin(0.02); canvas_1->SetTopMargin(0.05); canvas_1->SetBottomMargin(0.16); canvas_1->SetFrameBorderMode(0); canvas_1->SetFrameBorderMode(0); TMultiGraph *multigraph = new TMultiGraph(); multigraph->SetName(""); multigraph->SetTitle(""); Double_t Graph_fx17[88] = { 22.16238, 23.16953, 24.17144, 25.17322, 26.17516, 27.17702, 28.18325, 29.18604, 30.18796, 31.19024, 32.19226, 33.19429, 34.19626, 35.19815, 36.19998, 37.20192, 38.20375, 39.20563, 40.20761, 41.5069, 42.5159, 43.51789, 44.51968, 45.52178, 47.01114, 48.0189, 49.02084, 50.02281, 51.02481, 52.02678, 53.02877, 54.03065, 55.03259, 56.03453, 57.03648, 58.0384, 59.04036, 60.04286, 61.04483, 62.04685, 63.04946, 64.05148, 65.05339, 66.05538, 67.05713, 68.05932, 69.06147, 70.06396, 71.06583, 72.06748, 73.06945, 74.07122, 75.07329, 76.07533, 77.07733, 78.07918, 79.08122, 80.0832, 81.08512, 82.08719, 83.08921, 84.09098, 85.09835, 86.10033, 87.10242, 88.10497, 89.10675, 90.10878, 91.11069, 92.11267, 93.11456, 94.11706, 95.1189, 96.12072, 97.12262, 98.12466, 99.12673, 100.9199, 101.9278, 102.9296, 103.9316, 104.9335, 105.9355, 106.9418, 107.9438, 108.9459, 109.9479, 110.9499}; Double_t Graph_fy17[88] = { 1.001425, 1.002111, 1.01044, 1.012555, 1.004843, 1.00492, 1.003043, 1.011753, 1.008911, 1.002227, 0.9962645, 1.004668, 1.008308, 1.003983, 1.003877, 1.000852, 1.001093, 0.9980535, 1.000698, 1.00175, 0.9995584, 1.003627, 1.004593, 1.00194, 1.001178, 1.004385, 1.003124, 0.9985573, 0.9959459, 0.9951378, 0.9945946, 0.9959365, 1.0004, 0.9981065, 1.000482, 1.001635, 0.9976213, 0.9980821, 0.9990453, 1.005966, 0.9949945, 0.9927093, 0.9988796, 0.9996901, 0.9909114, 0.999408, 0.9975343, 0.9981317, 0.9988205, 0.9939949, 0.9997731, 1.000897, 0.9971997, 1.000407, 0.9976963, 1.003146, 1.008082, 0.9970576, 1.003076, 0.9962459, 1.004394, 1.002776, 1.003977, 0.9975885, 1.001435, 0.996642, 0.9995856, 0.9964483, 0.9993136, 1.00074, 1.001841, 1.00144, 1.005935, 0.9974382, 1.003799, 0.9941152, 0.9956821, 1.001705, 0.9963896, 1.004273, 0.9966051, 0.9942451, 0.998219, 0.9953647, 0.9951756, 1.002316, 0.9983444, 0.992182}; TGraph *graph = new TGraph(88,Graph_fx17,Graph_fy17); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(1.2); TH1F *Graph_Graph17 = new TH1F("Graph_Graph17","Graph",100,13.28363,119.8286); Graph_Graph17->SetMinimum(0.988747); Graph_Graph17->SetMaximum(1.01472); Graph_Graph17->SetDirectory(0); Graph_Graph17->SetStats(0); Graph_Graph17->SetLineWidth(2); Graph_Graph17->SetMarkerStyle(20); Graph_Graph17->SetMarkerSize(1.2); Graph_Graph17->GetXaxis()->SetLabelFont(42); Graph_Graph17->GetXaxis()->SetLabelSize(0.05); Graph_Graph17->GetXaxis()->SetTitleSize(0.05); Graph_Graph17->GetXaxis()->SetTitleOffset(1.4); Graph_Graph17->GetXaxis()->SetTitleFont(42); Graph_Graph17->GetYaxis()->SetLabelFont(42); Graph_Graph17->GetYaxis()->SetLabelSize(0.05); Graph_Graph17->GetYaxis()->SetTitleSize(0.05); Graph_Graph17->GetYaxis()->SetTitleOffset(1.4); Graph_Graph17->GetYaxis()->SetTitleFont(42); Graph_Graph17->GetZaxis()->SetLabelFont(42); Graph_Graph17->GetZaxis()->SetLabelSize(0.05); Graph_Graph17->GetZaxis()->SetTitleSize(0.05); Graph_Graph17->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph17); multigraph->Add(graph,""); Double_t Graph_fx18[88] = { 22.16238, 23.16953, 24.17144, 25.17322, 26.17516, 27.17702, 28.18325, 29.18604, 30.18796, 31.19024, 32.19226, 33.19429, 34.19626, 35.19815, 36.19998, 37.20192, 38.20375, 39.20563, 40.20761, 41.5069, 42.5159, 43.51789, 44.51968, 45.52178, 47.01114, 48.0189, 49.02084, 50.02281, 51.02481, 52.02678, 53.02877, 54.03065, 55.03259, 56.03453, 57.03648, 58.0384, 59.04036, 60.04286, 61.04483, 62.04685, 63.04946, 64.05148, 65.05339, 66.05538, 67.05713, 68.05932, 69.06147, 70.06396, 71.06583, 72.06748, 73.06945, 74.07122, 75.07329, 76.07533, 77.07733, 78.07918, 79.08122, 80.0832, 81.08512, 82.08719, 83.08921, 84.09098, 85.09835, 86.10033, 87.10242, 88.10497, 89.10675, 90.10878, 91.11069, 92.11267, 93.11456, 94.11706, 95.1189, 96.12072, 97.12262, 98.12466, 99.12673, 100.9199, 101.9278, 102.9296, 103.9316, 104.9335, 105.9355, 106.9418, 107.9438, 108.9459, 109.9479, 110.9499}; Double_t Graph_fy18[88] = { 1.000462, 1.000768, 1.007195, 1.012467, 0.9966665, 1.000801, 0.9977374, 1.003672, 1.011274, 0.9937089, 0.9995601, 1.004023, 1.003916, 1.002664, 1.00226, 0.999272, 1.003846, 1.001746, 1.00329, 1.004777, 1.006497, 0.9975928, 1.002552, 1.004738, 0.9998089, 1.001524, 0.9936625, 0.9979109, 0.989485, 1.001029, 1.00041, 0.9971247, 0.9978779, 0.9990843, 0.9970215, 1.004516, 0.9973419, 1.002844, 1.001546, 1.000993, 0.9935176, 0.9964573, 0.9947773, 0.9971567, 0.9935897, 1.001374, 0.9993747, 0.9968951, 1.002121, 1.000824, 0.9970846, 0.9997828, 0.999987, 0.9983222, 0.9995418, 0.9962128, 1.001919, 1.002405, 0.9988018, 0.998424, 1.001985, 0.9992708, 1.000827, 0.9946951, 0.9980377, 0.9962097, 0.9926796, 1.003541, 0.9967888, 0.9991478, 0.9973276, 0.9976299, 0.9942779, 0.9946489, 1.001095, 0.9957974, 1.001176, 0.9976025, 1.003421, 0.994856, 0.992913, 0.9989599, 1.00062, 1.001089, 0.9958995, 0.9935972, 0.9938167, 0.9950957}; graph = new TGraph(88,Graph_fx18,Graph_fy18); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#ff0000"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(22); graph->SetMarkerSize(1.2); TH1F *Graph_Graph18 = new TH1F("Graph_Graph18","Graph",100,13.28363,119.8286); Graph_Graph18->SetMinimum(0.9871868); Graph_Graph18->SetMaximum(1.014766); Graph_Graph18->SetDirectory(0); Graph_Graph18->SetStats(0); Graph_Graph18->SetLineWidth(2); Graph_Graph18->SetMarkerStyle(20); Graph_Graph18->SetMarkerSize(1.2); Graph_Graph18->GetXaxis()->SetLabelFont(42); Graph_Graph18->GetXaxis()->SetLabelSize(0.05); Graph_Graph18->GetXaxis()->SetTitleSize(0.05); Graph_Graph18->GetXaxis()->SetTitleOffset(1.4); Graph_Graph18->GetXaxis()->SetTitleFont(42); Graph_Graph18->GetYaxis()->SetLabelFont(42); Graph_Graph18->GetYaxis()->SetLabelSize(0.05); Graph_Graph18->GetYaxis()->SetTitleSize(0.05); Graph_Graph18->GetYaxis()->SetTitleOffset(1.4); Graph_Graph18->GetYaxis()->SetTitleFont(42); Graph_Graph18->GetZaxis()->SetLabelFont(42); Graph_Graph18->GetZaxis()->SetLabelSize(0.05); Graph_Graph18->GetZaxis()->SetTitleSize(0.05); Graph_Graph18->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph18); multigraph->Add(graph,""); multigraph->Draw("ap"); multigraph->GetXaxis()->SetNdivisions(507); multigraph->GetXaxis()->SetLabelFont(42); multigraph->GetXaxis()->SetLabelOffset(0.015); multigraph->GetXaxis()->SetTitleSize(0.05); multigraph->GetXaxis()->SetTitleOffset(1.4); multigraph->GetXaxis()->SetTitleFont(42); multigraph->GetYaxis()->SetTitle("L_{inst}(Tile) / L_{inst}(Tracking)"); multigraph->GetYaxis()->SetLabelFont(42); multigraph->GetYaxis()->SetLabelOffset(0.015); multigraph->GetYaxis()->SetLabelSize(0.05); multigraph->GetYaxis()->SetTitleSize(0.055); multigraph->GetYaxis()->SetTitleOffset(2); multigraph->GetYaxis()->SetTitleFont(42); TLine *line = new TLine(17.723,1,115.3892,1); line->SetLineStyle(2); line->SetLineWidth(2); line->Draw(); canvas_1->Modified(); canvas->cd(); // ------------>Primitives in pad: canvas_2 TPad *canvas_2 = new TPad("canvas_2", "canvas_2",0.3021148,0,0.5347432,1); canvas_2->Draw(); canvas_2->cd(); canvas_2->Range(219.6112,0.9699937,270.1695,1.033158); canvas_2->SetFillColor(0); canvas_2->SetBorderMode(0); canvas_2->SetBorderSize(2); canvas_2->SetTickx(1); canvas_2->SetTicky(1); canvas_2->SetLeftMargin(0.02597403); canvas_2->SetRightMargin(0.02597403); canvas_2->SetTopMargin(0.05); canvas_2->SetBottomMargin(0.16); canvas_2->SetFrameBorderMode(0); canvas_2->SetFrameBorderMode(0); multigraph = new TMultiGraph(); multigraph->SetName(""); multigraph->SetTitle(""); Double_t Graph_fx19[38] = { 223.1031, 224.3951, 225.3996, 226.4022, 227.4041, 228.4064, 229.8381, 231.0874, 232.0947, 233.0976, 234.0999, 238.6857, 239.6895, 240.6913, 242.2559, 243.4271, 244.4294, 245.4317, 246.4341, 247.4365, 249.2196, 250.2274, 251.2297, 252.2183, 253.2216, 254.224, 255.6483, 256.6497, 257.6517, 258.6541, 259.656, 260.6589, 261.661, 262.663, 263.6699, 264.6726, 265.6751, 266.6775}; Double_t Graph_fy19[38] = { 0.9918146, 0.9968368, 0.9853374, 0.9916804, 0.9916137, 0.9923932, 0.9933819, 0.9940374, 0.9934476, 0.9936693, 0.9939796, 0.9941507, 0.9945439, 0.9939424, 0.9946709, 0.9938738, 0.9956425, 0.9957832, 0.9937421, 0.9943874, 0.9937102, 0.9945846, 0.9943428, 0.9950638, 0.9942074, 0.994986, 0.9945462, 0.9945948, 0.9960256, 0.994807, 0.9951313, 0.9955954, 0.9964688, 0.9950937, 0.9956002, 0.994119, 0.9953975, 0.9960812}; graph = new TGraph(38,Graph_fx19,Graph_fy19); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#0000ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(1.2); TH1F *Graph_Graph19 = new TH1F("Graph_Graph19","Graph",100,218.7456,271.035); Graph_Graph19->SetMinimum(0.9841875); Graph_Graph19->SetMaximum(0.9979868); Graph_Graph19->SetDirectory(0); Graph_Graph19->SetStats(0); Graph_Graph19->SetLineWidth(2); Graph_Graph19->SetMarkerStyle(20); Graph_Graph19->SetMarkerSize(1.2); Graph_Graph19->GetXaxis()->SetLabelFont(42); Graph_Graph19->GetXaxis()->SetLabelSize(0.05); Graph_Graph19->GetXaxis()->SetTitleSize(0.05); Graph_Graph19->GetXaxis()->SetTitleOffset(1.4); Graph_Graph19->GetXaxis()->SetTitleFont(42); Graph_Graph19->GetYaxis()->SetLabelFont(42); Graph_Graph19->GetYaxis()->SetLabelSize(0.05); Graph_Graph19->GetYaxis()->SetTitleSize(0.05); Graph_Graph19->GetYaxis()->SetTitleOffset(1.4); Graph_Graph19->GetYaxis()->SetTitleFont(42); Graph_Graph19->GetZaxis()->SetLabelFont(42); Graph_Graph19->GetZaxis()->SetLabelSize(0.05); Graph_Graph19->GetZaxis()->SetTitleSize(0.05); Graph_Graph19->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph19); multigraph->Add(graph,""); Double_t Graph_fx20[38] = { 223.1031, 224.3951, 225.3996, 226.4022, 227.4041, 228.4064, 229.8381, 231.0874, 232.0947, 233.0976, 234.0999, 238.6857, 239.6895, 240.6913, 242.2559, 243.4271, 244.4294, 245.4317, 246.4341, 247.4365, 249.2196, 250.2274, 251.2297, 252.2183, 253.2216, 254.224, 255.6483, 256.6497, 257.6517, 258.6541, 259.656, 260.6589, 261.661, 262.663, 263.6699, 264.6726, 265.6751, 266.6775}; Double_t Graph_fy20[38] = { 0.9924506, 0.9966347, 0.9849814, 0.9913048, 0.9913313, 0.9921953, 0.9929445, 0.9933125, 0.9922806, 0.9924538, 0.993146, 0.9936612, 0.9929125, 0.992921, 0.9937904, 0.992779, 0.9941424, 0.9944963, 0.9930725, 0.9943447, 0.9939019, 0.9944869, 0.9938981, 0.9943283, 0.9934873, 0.994312, 0.9943376, 0.9940296, 0.9949636, 0.9939944, 0.9949112, 0.9946973, 0.9950787, 0.994044, 0.994854, 0.9936179, 0.9952054, 0.9946279}; graph = new TGraph(38,Graph_fx20,Graph_fy20); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#ff0000"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(22); graph->SetMarkerSize(1.2); TH1F *Graph_Graph20 = new TH1F("Graph_Graph20","Graph",100,218.7456,271.035); Graph_Graph20->SetMinimum(0.983816); Graph_Graph20->SetMaximum(0.9978001); Graph_Graph20->SetDirectory(0); Graph_Graph20->SetStats(0); Graph_Graph20->SetLineWidth(2); Graph_Graph20->SetMarkerStyle(20); Graph_Graph20->SetMarkerSize(1.2); Graph_Graph20->GetXaxis()->SetLabelFont(42); Graph_Graph20->GetXaxis()->SetLabelSize(0.05); Graph_Graph20->GetXaxis()->SetTitleSize(0.05); Graph_Graph20->GetXaxis()->SetTitleOffset(1.4); Graph_Graph20->GetXaxis()->SetTitleFont(42); Graph_Graph20->GetYaxis()->SetLabelFont(42); Graph_Graph20->GetYaxis()->SetLabelSize(0.05); Graph_Graph20->GetYaxis()->SetTitleSize(0.05); Graph_Graph20->GetYaxis()->SetTitleOffset(1.4); Graph_Graph20->GetYaxis()->SetTitleFont(42); Graph_Graph20->GetZaxis()->SetLabelFont(42); Graph_Graph20->GetZaxis()->SetLabelSize(0.05); Graph_Graph20->GetZaxis()->SetTitleSize(0.05); Graph_Graph20->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph20); multigraph->Add(graph,""); multigraph->Draw("ap"); multigraph->GetXaxis()->SetNdivisions(507); multigraph->GetXaxis()->SetLabelFont(42); multigraph->GetXaxis()->SetLabelOffset(5e-05); multigraph->GetXaxis()->SetLabelSize(0.05194805); multigraph->GetXaxis()->SetTitleSize(0.05); multigraph->GetXaxis()->SetTitleOffset(1.4); multigraph->GetXaxis()->SetTitleFont(42); multigraph->GetYaxis()->SetLabelFont(42); multigraph->GetYaxis()->SetLabelSize(0); multigraph->GetYaxis()->SetTitleSize(0.05); multigraph->GetYaxis()->SetTitleOffset(1.4); multigraph->GetYaxis()->SetTitleFont(42); line = new TLine(220.9244,1,268.8563,1); line->SetLineStyle(2); line->SetLineWidth(2); line->Draw(); canvas_2->Modified(); canvas->cd(); // ------------>Primitives in pad: canvas_3 TPad *canvas_3 = new TPad("canvas_3", "canvas_3",0.5347432,0,0.7673716,1); canvas_3->Draw(); canvas_3->cd(); canvas_3->Range(-4.654049,0.9699937,62.73022,1.033158); canvas_3->SetFillColor(0); canvas_3->SetBorderMode(0); canvas_3->SetBorderSize(2); canvas_3->SetTickx(1); canvas_3->SetTicky(1); canvas_3->SetLeftMargin(0.02597403); canvas_3->SetRightMargin(0.02597403); canvas_3->SetTopMargin(0.05); canvas_3->SetBottomMargin(0.16); canvas_3->SetFrameBorderMode(0); canvas_3->SetFrameBorderMode(0); multigraph = new TMultiGraph(); multigraph->SetName(""); multigraph->SetTitle(""); Double_t Graph_fx21[49] = { 0, 3.354568, 4.360728, 5.362249, 6.369276, 7.371074, 8.543961, 9.545823, 10.54779, 11.54956, 12.55224, 13.55496, 14.55758, 15.56043, 16.56328, 17.56511, 18.56768, 19.56962, 20.57217, 21.57418, 22.57596, 23.57862, 24.58108, 25.58323, 26.58514, 27.58801, 28.5898, 29.59141, 30.59417, 31.59691, 32.59883, 33.84194, 34.84879, 35.85145, 39.06502, 40.06988, 45.32665, 46.49703, 47.50514, 49.04901, 50.05605, 51.06178, 52.06351, 53.06517, 54.067, 55.0696, 56.07155, 57.07432, 58.07617}; Double_t Graph_fy21[49] = { 0.9984757, 0.9997855, 0.997694, 0.9989705, 0.9987696, 0.9986693, 0.9981076, 0.9993402, 0.9994706, 0.9998314, 0.9990991, 0.9997981, 1.000352, 1.000306, 0.999746, 1.000118, 0.9991314, 0.9997752, 1.000019, 0.9991489, 1.000366, 1.000864, 1.000147, 0.9994241, 1.000298, 0.9999159, 0.9995638, 0.9997115, 1.000919, 1.00029, 1.000145, 1.001011, 1.000174, 1.000541, 0.9999905, 1.000397, 1.000413, 1.000473, 1.001082, 1.000411, 1.000617, 1.000649, 1.000493, 1.00137, 1.000924, 1.000565, 1.001626, 1.001226, 1.000699}; graph = new TGraph(49,Graph_fx21,Graph_fy21); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#0000ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(1.2); TH1F *Graph_Graph21 = new TH1F("Graph_Graph21","Graph",100,0,63.88379); Graph_Graph21->SetMinimum(0.9973009); Graph_Graph21->SetMaximum(1.002019); Graph_Graph21->SetDirectory(0); Graph_Graph21->SetStats(0); Graph_Graph21->SetLineWidth(2); Graph_Graph21->SetMarkerStyle(20); Graph_Graph21->SetMarkerSize(1.2); Graph_Graph21->GetXaxis()->SetLabelFont(42); Graph_Graph21->GetXaxis()->SetLabelSize(0.05); Graph_Graph21->GetXaxis()->SetTitleSize(0.05); Graph_Graph21->GetXaxis()->SetTitleOffset(1.4); Graph_Graph21->GetXaxis()->SetTitleFont(42); Graph_Graph21->GetYaxis()->SetLabelFont(42); Graph_Graph21->GetYaxis()->SetLabelSize(0.05); Graph_Graph21->GetYaxis()->SetTitleSize(0.05); Graph_Graph21->GetYaxis()->SetTitleOffset(1.4); Graph_Graph21->GetYaxis()->SetTitleFont(42); Graph_Graph21->GetZaxis()->SetLabelFont(42); Graph_Graph21->GetZaxis()->SetLabelSize(0.05); Graph_Graph21->GetZaxis()->SetTitleSize(0.05); Graph_Graph21->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph21); multigraph->Add(graph,""); Double_t Graph_fx22[49] = { 0, 3.354568, 4.360728, 5.362249, 6.369276, 7.371074, 8.543961, 9.545823, 10.54779, 11.54956, 12.55224, 13.55496, 14.55758, 15.56043, 16.56328, 17.56511, 18.56768, 19.56962, 20.57217, 21.57418, 22.57596, 23.57862, 24.58108, 25.58323, 26.58514, 27.58801, 28.5898, 29.59141, 30.59417, 31.59691, 32.59883, 33.84194, 34.84879, 35.85145, 39.06502, 40.06988, 45.32665, 46.49703, 47.50514, 49.04901, 50.05605, 51.06178, 52.06351, 53.06517, 54.067, 55.0696, 56.07155, 57.07432, 58.07617}; Double_t Graph_fy22[49] = { 0.999386, 1.000107, 0.9981929, 0.9993428, 0.9988489, 0.9988561, 0.9986497, 0.9993868, 0.9995663, 1.000046, 0.9992892, 0.9999085, 1.000538, 1.000122, 0.9999697, 1.000686, 0.9993061, 0.9993848, 1.00011, 0.9991321, 1.000608, 1.000527, 0.9997747, 0.9996761, 1.000473, 0.9994284, 0.9994872, 0.9993926, 1.000823, 1.000551, 1.000114, 1.000498, 1.000048, 1.000335, 1.000164, 1.000295, 1.000298, 1.000504, 1.001026, 1.000292, 1.000762, 1.000841, 1.000414, 1.001195, 1.000799, 1.000656, 1.001326, 1.001253, 1.000208}; graph = new TGraph(49,Graph_fx22,Graph_fy22); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#ff0000"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(22); graph->SetMarkerSize(1.2); TH1F *Graph_Graph22 = new TH1F("Graph_Graph22","Graph",100,0,63.88379); Graph_Graph22->SetMinimum(0.9978796); Graph_Graph22->SetMaximum(1.001639); Graph_Graph22->SetDirectory(0); Graph_Graph22->SetStats(0); Graph_Graph22->SetLineWidth(2); Graph_Graph22->SetMarkerStyle(20); Graph_Graph22->SetMarkerSize(1.2); Graph_Graph22->GetXaxis()->SetLabelFont(42); Graph_Graph22->GetXaxis()->SetLabelSize(0.05); Graph_Graph22->GetXaxis()->SetTitleSize(0.05); Graph_Graph22->GetXaxis()->SetTitleOffset(1.4); Graph_Graph22->GetXaxis()->SetTitleFont(42); Graph_Graph22->GetYaxis()->SetLabelFont(42); Graph_Graph22->GetYaxis()->SetLabelSize(0.05); Graph_Graph22->GetYaxis()->SetTitleSize(0.05); Graph_Graph22->GetYaxis()->SetTitleOffset(1.4); Graph_Graph22->GetYaxis()->SetTitleFont(42); Graph_Graph22->GetZaxis()->SetLabelFont(42); Graph_Graph22->GetZaxis()->SetLabelSize(0.05); Graph_Graph22->GetZaxis()->SetTitleSize(0.05); Graph_Graph22->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph22); multigraph->Add(graph,""); multigraph->Draw("ap"); multigraph->GetXaxis()->SetLabelFont(42); multigraph->GetXaxis()->SetLabelOffset(0.001); multigraph->GetXaxis()->SetLabelSize(0.05194805); multigraph->GetXaxis()->SetTitleSize(0.05); multigraph->GetXaxis()->SetTitleOffset(1.4); multigraph->GetXaxis()->SetTitleFont(42); multigraph->GetYaxis()->SetLabelFont(42); multigraph->GetYaxis()->SetLabelSize(0); multigraph->GetYaxis()->SetTitleSize(0.05); multigraph->GetYaxis()->SetTitleOffset(1.4); multigraph->GetYaxis()->SetTitleFont(42); line = new TLine(-2.903809,1,60.97998,1); line->SetLineStyle(2); line->SetLineWidth(2); line->Draw(); line = new TLine(13.555,0.9925,13.555,1.0075); line->SetLineStyle(2); line->SetLineWidth(2); line->Draw(); line = new TLine(32.5988,0.9925,32.5988,1.0075); line->SetLineStyle(2); line->SetLineWidth(2); line->Draw(); TF1 *3 = new TF1("","1.007500",13.555,32.5988, TF1::EAddToList::kDefault); ci = 1182; color = new TColor(ci, 0, 1, 0, " ", 0.25); 3->SetFillColor(ci); 3->SetMarkerStyle(20); 3->SetMarkerSize(1.2); 3->SetLineWidth(0); 3->GetXaxis()->SetLabelFont(42); 3->GetXaxis()->SetLabelSize(0.05); 3->GetXaxis()->SetTitleSize(0.05); 3->GetXaxis()->SetTitleOffset(1.4); 3->GetXaxis()->SetTitleFont(42); 3->GetYaxis()->SetLabelFont(42); 3->GetYaxis()->SetLabelSize(0.05); 3->GetYaxis()->SetTitleSize(0.05); 3->GetYaxis()->SetTitleOffset(1.4); 3->GetYaxis()->SetTitleFont(42); 3->Draw("same fc"); TF1 *4 = new TF1("","0.992500",13.555,32.5988, TF1::EAddToList::kDefault); ci = TColor::GetColor("#ffffff"); 4->SetFillColor(ci); 4->SetMarkerStyle(20); 4->SetMarkerSize(1.2); 4->SetLineWidth(0); 4->GetXaxis()->SetLabelFont(42); 4->GetXaxis()->SetLabelSize(0.05); 4->GetXaxis()->SetTitleSize(0.05); 4->GetXaxis()->SetTitleOffset(1.4); 4->GetXaxis()->SetTitleFont(42); 4->GetYaxis()->SetLabelFont(42); 4->GetYaxis()->SetLabelSize(0.05); 4->GetYaxis()->SetTitleSize(0.05); 4->GetYaxis()->SetTitleOffset(1.4); 4->GetYaxis()->SetTitleFont(42); 4->Draw("same fc"); TLegend *leg = new TLegend(0.09,0.65,0.9,0.7,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.065); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(10); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("","anchor range","f"); ci = 1182; color = new TColor(ci, 0, 1, 0, " ", 0.25); entry->SetFillColor(ci); entry->SetFillStyle(1001); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TH1F *_copy__2 = new TH1F("_copy__2","",100,-2.903809,60.97998); _copy__2->SetMinimum(0.9801); _copy__2->SetMaximum(1.03); _copy__2->SetDirectory(0); _copy__2->SetStats(0); _copy__2->SetLineWidth(2); _copy__2->SetMarkerStyle(20); _copy__2->SetMarkerSize(1.2); _copy__2->GetXaxis()->SetLabelFont(42); _copy__2->GetXaxis()->SetLabelOffset(0.001); _copy__2->GetXaxis()->SetLabelSize(0.05194805); _copy__2->GetXaxis()->SetTitleSize(0.05); _copy__2->GetXaxis()->SetTitleOffset(1.4); _copy__2->GetXaxis()->SetTitleFont(42); _copy__2->GetYaxis()->SetLabelFont(42); _copy__2->GetYaxis()->SetLabelSize(0); _copy__2->GetYaxis()->SetTitleSize(0.05); _copy__2->GetYaxis()->SetTitleOffset(1.4); _copy__2->GetYaxis()->SetTitleFont(42); _copy__2->GetZaxis()->SetLabelFont(42); _copy__2->GetZaxis()->SetLabelSize(0.05); _copy__2->GetZaxis()->SetTitleSize(0.05); _copy__2->GetZaxis()->SetTitleFont(42); _copy__2->Draw("sameaxis"); canvas_3->Modified(); canvas->cd(); // ------------>Primitives in pad: canvas_4 TPad *canvas_4 = new TPad("canvas_4", "canvas_4",0.7673716,0,1,1); canvas_4->Draw(); canvas_4->cd(); canvas_4->Range(79.84999,0.9699937,124.0429,1.033158); canvas_4->SetFillColor(0); canvas_4->SetBorderMode(0); canvas_4->SetBorderSize(2); canvas_4->SetTickx(1); canvas_4->SetTicky(1); canvas_4->SetLeftMargin(0.02597403); canvas_4->SetRightMargin(0.02597403); canvas_4->SetTopMargin(0.05); canvas_4->SetBottomMargin(0.16); canvas_4->SetFrameBorderMode(0); canvas_4->SetFrameBorderMode(0); multigraph = new TMultiGraph(); multigraph->SetName(""); multigraph->SetTitle(""); Double_t Graph_fx23[36] = { 82.90227, 83.90496, 84.90782, 85.90964, 86.91247, 87.91435, 89.71352, 90.7246, 91.7273, 93.4403, 94.44486, 95.44767, 96.44971, 97.83768, 98.83862, 100.3679, 101.3732, 102.3752, 103.3771, 104.38, 105.3821, 106.9629, 107.9638, 108.9656, 109.9675, 110.9693, 111.9713, 112.973, 113.9749, 114.9769, 115.9795, 116.9814, 117.9843, 118.9867, 119.9887, 120.9906}; Double_t Graph_fy23[36] = { 0.9962963, 0.9977675, 0.9962081, 0.9956432, 0.9970653, 0.9972763, 0.9973023, 0.9963958, 0.9974302, 0.9979762, 0.9967916, 0.9977338, 0.9974274, 0.9980848, 0.9972343, 0.9977322, 0.997464, 0.9976941, 0.9984067, 0.9969636, 0.9973542, 0.9970872, 0.9973937, 0.9968666, 0.9980143, 0.9974399, 0.9978467, 0.9977395, 0.9976234, 0.997668, 0.9971991, 0.9976701, 0.9983326, 0.9974482, 0.9972137, 0.997996}; graph = new TGraph(36,Graph_fx23,Graph_fy23); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#0000ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); graph->SetMarkerSize(1.2); TH1F *Graph_Graph23 = new TH1F("Graph_Graph23","Graph",100,79.09344,124.7994); Graph_Graph23->SetMinimum(0.9953668); Graph_Graph23->SetMaximum(0.998683); Graph_Graph23->SetDirectory(0); Graph_Graph23->SetStats(0); Graph_Graph23->SetLineWidth(2); Graph_Graph23->SetMarkerStyle(20); Graph_Graph23->SetMarkerSize(1.2); Graph_Graph23->GetXaxis()->SetLabelFont(42); Graph_Graph23->GetXaxis()->SetLabelSize(0.05); Graph_Graph23->GetXaxis()->SetTitleSize(0.05); Graph_Graph23->GetXaxis()->SetTitleOffset(1.4); Graph_Graph23->GetXaxis()->SetTitleFont(42); Graph_Graph23->GetYaxis()->SetLabelFont(42); Graph_Graph23->GetYaxis()->SetLabelSize(0.05); Graph_Graph23->GetYaxis()->SetTitleSize(0.05); Graph_Graph23->GetYaxis()->SetTitleOffset(1.4); Graph_Graph23->GetYaxis()->SetTitleFont(42); Graph_Graph23->GetZaxis()->SetLabelFont(42); Graph_Graph23->GetZaxis()->SetLabelSize(0.05); Graph_Graph23->GetZaxis()->SetTitleSize(0.05); Graph_Graph23->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph23); multigraph->Add(graph,""); Double_t Graph_fx24[36] = { 82.90227, 83.90496, 84.90782, 85.90964, 86.91247, 87.91435, 89.71352, 90.7246, 91.7273, 93.4403, 94.44486, 95.44767, 96.44971, 97.83768, 98.83862, 100.3679, 101.3732, 102.3752, 103.3771, 104.38, 105.3821, 106.9629, 107.9638, 108.9656, 109.9675, 110.9693, 111.9713, 112.973, 113.9749, 114.9769, 115.9795, 116.9814, 117.9843, 118.9867, 119.9887, 120.9906}; Double_t Graph_fy24[36] = { 0.9969279, 0.9979911, 0.996877, 0.9958939, 0.9974258, 0.997294, 0.9974776, 0.9972669, 0.9976934, 0.998275, 0.9971219, 0.9979876, 0.9979305, 0.9985016, 0.9975566, 0.9979094, 0.9976115, 0.998, 0.9986762, 0.9973054, 0.9977673, 0.9975697, 0.9975628, 0.9971171, 0.9981605, 0.9975878, 0.997993, 0.9976043, 0.9981206, 0.9977207, 0.99766, 0.997995, 0.9984938, 0.9977038, 0.9973112, 0.9982627}; graph = new TGraph(36,Graph_fx24,Graph_fy24); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#ff0000"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(22); graph->SetMarkerSize(1.2); TH1F *Graph_Graph24 = new TH1F("Graph_Graph24","Graph",100,79.09344,124.7994); Graph_Graph24->SetMinimum(0.9956157); Graph_Graph24->SetMaximum(0.9989544); Graph_Graph24->SetDirectory(0); Graph_Graph24->SetStats(0); Graph_Graph24->SetLineWidth(2); Graph_Graph24->SetMarkerStyle(20); Graph_Graph24->SetMarkerSize(1.2); Graph_Graph24->GetXaxis()->SetLabelFont(42); Graph_Graph24->GetXaxis()->SetLabelSize(0.05); Graph_Graph24->GetXaxis()->SetTitleSize(0.05); Graph_Graph24->GetXaxis()->SetTitleOffset(1.4); Graph_Graph24->GetXaxis()->SetTitleFont(42); Graph_Graph24->GetYaxis()->SetLabelFont(42); Graph_Graph24->GetYaxis()->SetLabelSize(0.05); Graph_Graph24->GetYaxis()->SetTitleSize(0.05); Graph_Graph24->GetYaxis()->SetTitleOffset(1.4); Graph_Graph24->GetYaxis()->SetTitleFont(42); Graph_Graph24->GetZaxis()->SetLabelFont(42); Graph_Graph24->GetZaxis()->SetLabelSize(0.05); Graph_Graph24->GetZaxis()->SetTitleSize(0.05); Graph_Graph24->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph24); multigraph->Add(graph,""); multigraph->Draw("ap"); multigraph->GetXaxis()->SetTitle("Time since stable beams [min]"); multigraph->GetXaxis()->SetNdivisions(508); multigraph->GetXaxis()->SetLabelFont(42); multigraph->GetXaxis()->SetLabelOffset(0.015); multigraph->GetXaxis()->SetLabelSize(0.05194805); multigraph->GetXaxis()->SetTitleSize(0.065); multigraph->GetXaxis()->SetTitleOffset(0.95); multigraph->GetXaxis()->SetTitleFont(42); multigraph->GetYaxis()->SetLabelFont(42); multigraph->GetYaxis()->SetLabelSize(0); multigraph->GetYaxis()->SetTitleSize(0.05); multigraph->GetYaxis()->SetTitleOffset(1.4); multigraph->GetYaxis()->SetTitleFont(42); line = new TLine(80.99785,1,122.895,1); line->SetLineStyle(2); line->SetLineWidth(2); line->Draw(); leg = new TLegend(0.8,0.6,0.98,0.73,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.06); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); ci = 1184; color = new TColor(ci, 0.999, 0.999, 0.999, " ", 0); leg->SetFillColor(ci); leg->SetFillStyle(1001); entry=leg->AddEntry("Graph"," E3","p"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#0000ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1.2); entry->SetTextFont(42); entry=leg->AddEntry("Graph"," E4","p"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ff0000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(22); entry->SetMarkerSize(1.2); entry->SetTextFont(42); leg->Draw(); canvas_4->Modified(); canvas->cd(); TLatex * tex = new TLatex(0.0830287,0.89,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.1482952,0.89,"Preliminary"); tex->SetNDC(); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.0830287,0.87,"Fill 6847, 26^{th}Jun 2018"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.0830287,0.82,"140b #mu=0.5, #sqrt{s} = 13 TeV"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.0830287,0.78,"#LT L_{inst} #GT = 9 (#times 10^{30}) [cm^{-2} s^{-1}]"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.3156571,0.87,"Fill 6847, 26^{th}Jun 2018"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.3156571,0.82,"140b #mu=45, #sqrt{s} = 13 TeV"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.3156571,0.78,"#LT L_{inst} #GT = 926 (#times 10^{30}) [cm^{-2} s^{-1}]"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5482855,0.87,"Fill 6850, 26^{th}Jun 2018"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5482855,0.82,"590b #mu=55, #sqrt{s} = 13 TeV"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.5482855,0.78,"#LT L_{inst} #GT = 4465 (#times 10^{30}) [cm^{-2} s^{-1}]"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.7809139,0.87,"Fill 6854, 27^{th}Jun 2018"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.7809139,0.82,"1214b #mu=45, #sqrt{s} = 13 TeV"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.7809139,0.78,"#LT L_{inst} #GT = 7729 (#times 10^{30}) [cm^{-2} s^{-1}]"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); canvas->Modified(); canvas->cd(); canvas->SetSelected(canvas); }