void RatesPerCell_Removing_noisy_cells_run_6821_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:59 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-10144.29,67.5,91298.64); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6821",60,0,60); h_SL2L164->SetBinContent(1,16421.39); h_SL2L164->SetBinContent(2,20095.58); h_SL2L164->SetBinContent(3,24516.04); h_SL2L164->SetBinContent(4,25112.33); h_SL2L164->SetBinContent(5,24341.07); h_SL2L164->SetBinContent(6,22677.15); h_SL2L164->SetBinContent(7,20213.41); h_SL2L164->SetBinContent(8,19177.92); h_SL2L164->SetBinContent(9,22362.94); h_SL2L164->SetBinContent(10,24119.69); h_SL2L164->SetBinContent(11,23177.04); h_SL2L164->SetBinContent(12,22709.29); h_SL2L164->SetBinContent(13,23437.7); h_SL2L164->SetBinContent(14,22944.95); h_SL2L164->SetBinContent(15,22512.9); h_SL2L164->SetBinContent(16,22070.14); h_SL2L164->SetBinContent(17,21234.61); h_SL2L164->SetBinContent(18,21352.45); h_SL2L164->SetBinContent(19,20613.32); h_SL2L164->SetBinContent(20,19481.43); h_SL2L164->SetBinContent(21,18245.99); h_SL2L164->SetBinContent(22,16353.54); h_SL2L164->SetBinContent(23,16903.42); h_SL2L164->SetBinContent(24,16000.05); h_SL2L164->SetBinContent(25,20256.26); h_SL2L164->SetBinContent(26,38163.03); h_SL2L164->SetBinContent(27,52031.41); h_SL2L164->SetBinContent(28,59244.11); h_SL2L164->SetBinContent(29,61365.07); h_SL2L164->SetBinContent(30,59072.72); h_SL2L164->SetBinContent(31,56091.23); h_SL2L164->SetBinContent(32,55734.16); h_SL2L164->SetBinContent(33,7.141286); h_SL2L164->SetBinContent(34,7.141286); h_SL2L164->SetBinContent(36,3.570643); h_SL2L164->SetBinContent(38,7.141286); h_SL2L164->SetBinContent(39,7.141286); h_SL2L164->SetBinContent(40,42.84772); h_SL2L164->SetBinContent(51,17.85321); h_SL2L164->SetBinContent(52,10.71193); h_SL2L164->SetBinContent(53,7.141286); h_SL2L164->SetBinContent(54,10.71193); h_SL2L164->SetBinContent(55,7.141286); h_SL2L164->SetMaximum(81154.35); 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,13411.33); h_SL2L265->SetBinContent(2,19410.02); h_SL2L265->SetBinContent(3,21206.05); h_SL2L265->SetBinContent(4,24508.89); h_SL2L265->SetBinContent(5,23762.63); h_SL2L265->SetBinContent(6,22545.04); h_SL2L265->SetBinContent(7,20663.31); h_SL2L265->SetBinContent(8,18581.62); h_SL2L265->SetBinContent(9,21398.86); h_SL2L265->SetBinContent(10,22352.22); h_SL2L265->SetBinContent(11,22777.13); h_SL2L265->SetBinContent(12,21952.31); h_SL2L265->SetBinContent(13,22145.13); h_SL2L265->SetBinContent(14,22591.46); h_SL2L265->SetBinContent(15,21930.89); h_SL2L265->SetBinContent(16,20995.38); h_SL2L265->SetBinContent(17,20938.25); h_SL2L265->SetBinContent(18,20149.14); h_SL2L265->SetBinContent(19,20241.97); h_SL2L265->SetBinContent(20,19217.2); h_SL2L265->SetBinContent(21,17774.66); h_SL2L265->SetBinContent(22,16192.87); h_SL2L265->SetBinContent(23,16050.04); h_SL2L265->SetBinContent(24,15571.57); h_SL2L265->SetBinContent(25,16050.04); h_SL2L265->SetBinContent(26,28675.83); h_SL2L265->SetBinContent(27,45004.38); h_SL2L265->SetBinContent(28,55630.62); h_SL2L265->SetBinContent(29,60472.41); h_SL2L265->SetBinContent(30,59629.74); h_SL2L265->SetBinContent(31,56898.2); h_SL2L265->SetBinContent(32,55152.15); h_SL2L265->SetBinContent(33,7.141286); h_SL2L265->SetBinContent(34,3.570643); h_SL2L265->SetBinContent(35,3.570643); h_SL2L265->SetBinContent(36,10.71193); h_SL2L265->SetBinContent(37,3.570643); h_SL2L265->SetBinContent(38,17.85321); h_SL2L265->SetBinContent(39,3.570643); h_SL2L265->SetBinContent(40,17.85321); h_SL2L265->SetBinContent(49,3.570643); h_SL2L265->SetBinContent(50,3.570643); h_SL2L265->SetBinContent(51,3.570643); h_SL2L265->SetBinContent(52,10.71193); h_SL2L265->SetBinContent(55,3.570643); h_SL2L265->SetMaximum(70569.83); 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,15410.89); h_SL2L366->SetBinContent(2,18699.46); h_SL2L366->SetBinContent(3,23280.59); h_SL2L366->SetBinContent(4,23187.76); h_SL2L366->SetBinContent(5,22266.53); h_SL2L366->SetBinContent(6,20620.46); h_SL2L366->SetBinContent(7,18549.49); h_SL2L366->SetBinContent(8,19045.81); h_SL2L366->SetBinContent(9,20724.01); h_SL2L366->SetBinContent(10,20802.57); h_SL2L366->SetBinContent(11,21827.34); h_SL2L366->SetBinContent(12,21259.61); h_SL2L366->SetBinContent(13,21338.16); h_SL2L366->SetBinContent(14,21888.04); h_SL2L366->SetBinContent(15,21306.03); h_SL2L366->SetBinContent(16,20524.06); h_SL2L366->SetBinContent(17,19852.78); h_SL2L366->SetBinContent(18,19520.71); h_SL2L366->SetBinContent(19,19381.45); h_SL2L366->SetBinContent(20,17674.68); h_SL2L366->SetBinContent(21,17006.97); h_SL2L366->SetBinContent(22,15682.26); h_SL2L366->SetBinContent(23,15346.62); h_SL2L366->SetBinContent(24,14982.42); h_SL2L366->SetBinContent(25,18906.55); h_SL2L366->SetBinContent(26,37538.17); h_SL2L366->SetBinContent(27,50928.08); h_SL2L366->SetBinContent(28,57644.46); h_SL2L366->SetBinContent(29,60393.86); h_SL2L366->SetBinContent(30,58183.62); h_SL2L366->SetBinContent(31,55362.82); h_SL2L366->SetBinContent(32,55366.39); h_SL2L366->SetBinContent(33,17.85321); h_SL2L366->SetBinContent(34,3.570643); h_SL2L366->SetBinContent(35,3.570643); h_SL2L366->SetBinContent(37,3.570643); h_SL2L366->SetBinContent(38,7.141286); h_SL2L366->SetBinContent(39,3.570643); h_SL2L366->SetBinContent(40,14.28257); h_SL2L366->SetBinContent(49,3.570643); h_SL2L366->SetBinContent(50,7.141286); h_SL2L366->SetBinContent(52,3.570643); h_SL2L366->SetBinContent(53,10.71193); h_SL2L366->SetBinContent(55,7.141286); h_SL2L366->SetBinContent(56,3.570643); h_SL2L366->SetMaximum(70569.83); 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,17942.48); h_SL2L467->SetBinContent(3,20270.54); h_SL2L467->SetBinContent(4,22023.73); h_SL2L467->SetBinContent(5,22295.09); h_SL2L467->SetBinContent(6,20324.1); h_SL2L467->SetBinContent(7,19474.29); h_SL2L467->SetBinContent(8,16931.99); h_SL2L467->SetBinContent(9,19620.68); h_SL2L467->SetBinContent(10,20574.04); h_SL2L467->SetBinContent(11,20645.46); h_SL2L467->SetBinContent(12,20841.84); h_SL2L467->SetBinContent(13,21181.05); h_SL2L467->SetBinContent(14,20756.15); h_SL2L467->SetBinContent(15,20927.54); h_SL2L467->SetBinContent(16,19602.83); h_SL2L467->SetBinContent(17,19702.81); h_SL2L467->SetBinContent(18,18499.5); h_SL2L467->SetBinContent(19,18924.41); h_SL2L467->SetBinContent(20,17489.01); h_SL2L467->SetBinContent(21,16753.46); h_SL2L467->SetBinContent(22,15532.3); h_SL2L467->SetBinContent(23,15153.81); h_SL2L467->SetBinContent(24,14768.18); h_SL2L467->SetBinContent(25,15182.37); h_SL2L467->SetBinContent(26,27376.12); h_SL2L467->SetBinContent(27,43933.19); h_SL2L467->SetBinContent(28,54962.91); h_SL2L467->SetBinContent(29,59551.18); h_SL2L467->SetBinContent(30,59429.78); h_SL2L467->SetBinContent(31,56726.8); h_SL2L467->SetBinContent(32,54720.1); h_SL2L467->SetBinContent(35,7.141286); h_SL2L467->SetBinContent(36,3.570643); h_SL2L467->SetBinContent(37,3.570643); h_SL2L467->SetBinContent(38,3.570643); h_SL2L467->SetBinContent(39,3.570643); h_SL2L467->SetBinContent(40,7.141286); h_SL2L467->SetBinContent(49,3.570643); h_SL2L467->SetBinContent(54,14.28257); h_SL2L467->SetBinContent(55,10.71193); h_SL2L467->SetBinContent(56,3.570643); h_SL2L467->SetMaximum(70569.83); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6821"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }