void RatesPerCell_Removing_noisy_cells_run_6942_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:17:31 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14431.64,67.5,129884.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6942",60,0,60); h_SL2L164->SetBinContent(1,17795.81); h_SL2L164->SetBinContent(2,21544.51); h_SL2L164->SetBinContent(3,26435.72); h_SL2L164->SetBinContent(4,28510.14); h_SL2L164->SetBinContent(5,28046.82); h_SL2L164->SetBinContent(6,26862.19); h_SL2L164->SetBinContent(7,25972.4); h_SL2L164->SetBinContent(8,25082.61); h_SL2L164->SetBinContent(9,27888.87); h_SL2L164->SetBinContent(10,28157.39); h_SL2L164->SetBinContent(11,28541.73); h_SL2L164->SetBinContent(12,27357.1); h_SL2L164->SetBinContent(13,27809.9); h_SL2L164->SetBinContent(14,27983.64); h_SL2L164->SetBinContent(15,28046.82); h_SL2L164->SetBinContent(16,27378.16); h_SL2L164->SetBinContent(17,27035.94); h_SL2L164->SetBinContent(18,26814.8); h_SL2L164->SetBinContent(19,26893.78); h_SL2L164->SetBinContent(20,26109.29); h_SL2L164->SetBinContent(21,25230.03); h_SL2L164->SetBinContent(22,23518.89); h_SL2L164->SetBinContent(23,23102.96); h_SL2L164->SetBinContent(24,21849.88); h_SL2L164->SetBinContent(25,21391.82); h_SL2L164->SetBinContent(26,20507.3); h_SL2L164->SetBinContent(27,19880.76); h_SL2L164->SetBinContent(28,19538.53); h_SL2L164->SetBinContent(29,19380.58); h_SL2L164->SetBinContent(30,19017.29); h_SL2L164->SetBinContent(31,18353.9); h_SL2L164->SetBinContent(32,18548.71); h_SL2L164->SetBinContent(33,18675.07); h_SL2L164->SetBinContent(34,18764.57); h_SL2L164->SetBinContent(35,42.12025); h_SL2L164->SetBinContent(36,21328.64); h_SL2L164->SetBinContent(37,19180.51); h_SL2L164->SetBinContent(38,19375.31); h_SL2L164->SetBinContent(39,18754.04); h_SL2L164->SetBinContent(40,44278.91); h_SL2L164->SetBinContent(41,87299.48); h_SL2L164->SetBinContent(42,19348.99); h_SL2L164->SetBinContent(43,18543.44); h_SL2L164->SetBinContent(44,18680.33); h_SL2L164->SetBinContent(45,17169.27); h_SL2L164->SetBinContent(46,17595.73); h_SL2L164->SetBinContent(47,17785.28); h_SL2L164->SetBinContent(48,17321.95); h_SL2L164->SetBinContent(49,22918.68); h_SL2L164->SetBinContent(50,17374.6); h_SL2L164->SetBinContent(51,18211.74); h_SL2L164->SetBinContent(52,18975.17); h_SL2L164->SetBinContent(53,19965); h_SL2L164->SetBinContent(54,19385.85); h_SL2L164->SetBinContent(55,18838.28); h_SL2L164->SetBinContent(56,15115.91); h_SL2L164->SetBinContent(57,11261.9); h_SL2L164->SetMaximum(115453.1); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,13115.19); h_SL2L265->SetBinContent(2,20054.5); h_SL2L265->SetBinContent(3,23260.91); h_SL2L265->SetBinContent(4,26983.29); h_SL2L265->SetBinContent(5,27415.02); h_SL2L265->SetBinContent(6,26525.23); h_SL2L265->SetBinContent(7,25867.1); h_SL2L265->SetBinContent(8,23439.92); h_SL2L265->SetBinContent(9,26783.21); h_SL2L265->SetBinContent(10,27578.23); h_SL2L265->SetBinContent(11,28273.22); h_SL2L265->SetBinContent(12,27462.4); h_SL2L265->SetBinContent(13,27336.04); h_SL2L265->SetBinContent(14,27351.84); h_SL2L265->SetBinContent(15,27067.53); h_SL2L265->SetBinContent(16,26862.19); h_SL2L265->SetBinContent(17,27004.35); h_SL2L265->SetBinContent(18,26030.31); h_SL2L265->SetBinContent(19,27125.44); h_SL2L265->SetBinContent(20,26809.54); h_SL2L265->SetBinContent(21,25135.26); h_SL2L265->SetBinContent(22,24229.67); h_SL2L265->SetBinContent(23,23050.31); h_SL2L265->SetBinContent(24,22039.42); h_SL2L265->SetBinContent(25,20917.97); h_SL2L265->SetBinContent(26,20570.48); h_SL2L265->SetBinContent(27,19738.6); h_SL2L265->SetBinContent(28,18938.32); h_SL2L265->SetBinContent(29,19327.93); h_SL2L265->SetBinContent(30,18848.81); h_SL2L265->SetBinContent(31,17606.27); h_SL2L265->SetBinContent(32,18664.54); h_SL2L265->SetBinContent(33,18464.46); h_SL2L265->SetBinContent(34,18696.13); h_SL2L265->SetBinContent(35,16663.82); h_SL2L265->SetBinContent(36,17295.63); h_SL2L265->SetBinContent(37,18754.04); h_SL2L265->SetBinContent(38,18917.26); h_SL2L265->SetBinContent(39,19080.47); h_SL2L265->SetBinContent(40,18359.16); h_SL2L265->SetBinContent(41,17574.67); h_SL2L265->SetBinContent(42,17601); h_SL2L265->SetBinContent(43,18474.99); h_SL2L265->SetBinContent(44,18080.12); h_SL2L265->SetBinContent(45,17648.38); h_SL2L265->SetBinContent(46,16969.2); h_SL2L265->SetBinContent(47,16969.2); h_SL2L265->SetBinContent(48,17237.71); h_SL2L265->SetBinContent(49,17653.65); h_SL2L265->SetBinContent(50,17664.18); h_SL2L265->SetBinContent(51,16869.16); h_SL2L265->SetBinContent(52,18717.19); h_SL2L265->SetBinContent(53,19517.47); h_SL2L265->SetBinContent(54,18927.79); h_SL2L265->SetBinContent(55,19233.16); h_SL2L265->SetBinContent(56,16469.02); h_SL2L265->SetBinContent(57,14326.15); h_SL2L265->SetMaximum(100394.4); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,15447.6); h_SL2L366->SetBinContent(2,20459.91); h_SL2L366->SetBinContent(3,25993.46); h_SL2L366->SetBinContent(4,27062.26); h_SL2L366->SetBinContent(5,26477.84); h_SL2L366->SetBinContent(6,25372.19); h_SL2L366->SetBinContent(7,24229.67); h_SL2L366->SetBinContent(8,24577.17); h_SL2L366->SetBinContent(9,26498.9); h_SL2L366->SetBinContent(10,25998.72); h_SL2L366->SetBinContent(11,27351.84); h_SL2L366->SetBinContent(12,26577.88); h_SL2L366->SetBinContent(13,26125.09); h_SL2L366->SetBinContent(14,26625.26); h_SL2L366->SetBinContent(15,26082.96); h_SL2L366->SetBinContent(16,25724.94); h_SL2L366->SetBinContent(17,25593.32); h_SL2L366->SetBinContent(18,25377.45); h_SL2L366->SetBinContent(19,25045.75); h_SL2L366->SetBinContent(20,24972.04); h_SL2L366->SetBinContent(21,24050.66); h_SL2L366->SetBinContent(22,23613.67); h_SL2L366->SetBinContent(23,22381.65); h_SL2L366->SetBinContent(24,20865.32); h_SL2L366->SetBinContent(25,20207.19); h_SL2L366->SetBinContent(26,19191.04); h_SL2L366->SetBinContent(27,18769.84); h_SL2L366->SetBinContent(28,18927.79); h_SL2L366->SetBinContent(29,18016.94); h_SL2L366->SetBinContent(30,17769.48); h_SL2L366->SetBinContent(31,17801.07); h_SL2L366->SetBinContent(32,18253.86); h_SL2L366->SetBinContent(33,17974.82); h_SL2L366->SetBinContent(34,17522.02); h_SL2L366->SetBinContent(35,16879.69); h_SL2L366->SetBinContent(36,16995.52); h_SL2L366->SetBinContent(37,18285.45); h_SL2L366->SetBinContent(38,18496.05); h_SL2L366->SetBinContent(39,17569.41); h_SL2L366->SetBinContent(40,17011.32); h_SL2L366->SetBinContent(41,16953.4); h_SL2L366->SetBinContent(42,17290.36); h_SL2L366->SetBinContent(43,17748.42); h_SL2L366->SetBinContent(44,17711.56); h_SL2L366->SetBinContent(45,16347.92); h_SL2L366->SetBinContent(46,16611.17); h_SL2L366->SetBinContent(47,16784.92); h_SL2L366->SetBinContent(48,16974.46); h_SL2L366->SetBinContent(49,17785.28); h_SL2L366->SetBinContent(50,16969.2); h_SL2L366->SetBinContent(51,17006.05); h_SL2L366->SetBinContent(52,18990.97); h_SL2L366->SetBinContent(53,18869.87); h_SL2L366->SetBinContent(54,19412.17); h_SL2L366->SetBinContent(55,19048.88); h_SL2L366->SetBinContent(56,13968.13); h_SL2L366->SetBinContent(57,13125.72); h_SL2L366->SetMaximum(100394.4); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,18469.73); h_SL2L467->SetBinContent(3,22671.22); h_SL2L467->SetBinContent(4,26456.78); h_SL2L467->SetBinContent(5,26330.42); h_SL2L467->SetBinContent(6,25482.75); h_SL2L467->SetBinContent(7,23740.03); h_SL2L467->SetBinContent(8,22660.7); h_SL2L467->SetBinContent(9,24977.31); h_SL2L467->SetBinContent(10,25877.63); h_SL2L467->SetBinContent(11,26704.24); h_SL2L467->SetBinContent(12,26683.18); h_SL2L467->SetBinContent(13,26251.45); h_SL2L467->SetBinContent(14,26093.5); h_SL2L467->SetBinContent(15,25888.16); h_SL2L467->SetBinContent(16,25551.2); h_SL2L467->SetBinContent(17,25129.99); h_SL2L467->SetBinContent(18,24777.24); h_SL2L467->SetBinContent(19,24498.19); h_SL2L467->SetBinContent(20,24187.55); h_SL2L467->SetBinContent(21,24477.13); h_SL2L467->SetBinContent(22,22934.48); h_SL2L467->SetBinContent(23,22439.56); h_SL2L467->SetBinContent(24,20807.4); h_SL2L467->SetBinContent(25,20349.35); h_SL2L467->SetBinContent(26,19196.3); h_SL2L467->SetBinContent(27,18632.95); h_SL2L467->SetBinContent(28,19012.03); h_SL2L467->SetBinContent(29,18322.31); h_SL2L467->SetBinContent(30,18185.42); h_SL2L467->SetBinContent(31,17058.7); h_SL2L467->SetBinContent(32,17790.54); h_SL2L467->SetBinContent(33,17858.99); h_SL2L467->SetBinContent(34,17416.72); h_SL2L467->SetBinContent(35,17169.27); h_SL2L467->SetBinContent(36,16674.35); h_SL2L467->SetBinContent(37,17369.34); h_SL2L467->SetBinContent(38,18374.96); h_SL2L467->SetBinContent(39,18001.14); h_SL2L467->SetBinContent(40,17153.47); h_SL2L467->SetBinContent(41,16758.6); h_SL2L467->SetBinContent(42,16358.45); h_SL2L467->SetBinContent(43,17358.81); h_SL2L467->SetBinContent(44,17569.41); h_SL2L467->SetBinContent(45,16869.16); h_SL2L467->SetBinContent(46,16242.62); h_SL2L467->SetBinContent(47,16605.91); h_SL2L467->SetBinContent(48,16358.45); h_SL2L467->SetBinContent(49,16700.68); h_SL2L467->SetBinContent(50,17611.53); h_SL2L467->SetBinContent(51,16111); h_SL2L467->SetBinContent(52,17558.88); h_SL2L467->SetBinContent(53,18085.38); h_SL2L467->SetBinContent(54,18775.1); h_SL2L467->SetBinContent(55,18896.2); h_SL2L467->SetBinContent(56,16611.17); h_SL2L467->SetBinContent(57,12378.09); h_SL2L467->SetMaximum(100394.4); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->Draw("same"); TLegend *leg = new TLegend(0.1,0.83,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("h_SL2L1","Layer 1","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L2","Layer 2","l"); ci = TColor::GetColor("#cc0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L3","Layer 3","l"); ci = TColor::GetColor("#009900"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L4","Layer 4","l"); ci = TColor::GetColor("#0000cc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TPaveText *pt = new TPaveText(0.3719095,0.9362587,0.6280905,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6942"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }