void RatesPerCell_Removing_noisy_cells_run_6095_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:12:50 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6457.394,67.5,58116.54); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6095",60,0,60); h_SL1L160->SetBinContent(1,22273.91); h_SL1L160->SetBinContent(2,23427.99); h_SL1L160->SetBinContent(3,24025.41); h_SL1L160->SetBinContent(4,22820.4); h_SL1L160->SetBinContent(5,20444.34); h_SL1L160->SetBinContent(6,21136.79); h_SL1L160->SetBinContent(7,21401.55); h_SL1L160->SetBinContent(8,22800.04); h_SL1L160->SetBinContent(9,21469.44); h_SL1L160->SetBinContent(10,22579.4); h_SL1L160->SetBinContent(11,23458.54); h_SL1L160->SetBinContent(12,22243.36); h_SL1L160->SetBinContent(13,22331.61); h_SL1L160->SetBinContent(14,21530.54); h_SL1L160->SetBinContent(15,20020.04); h_SL1L160->SetBinContent(16,19269.88); h_SL1L160->SetBinContent(17,18750.54); h_SL1L160->SetBinContent(18,20199.94); h_SL1L160->SetBinContent(19,20892.39); h_SL1L160->SetBinContent(20,20166); h_SL1L160->SetBinContent(21,21567.88); h_SL1L160->SetBinContent(22,21421.92); h_SL1L160->SetBinContent(23,20009.86); h_SL1L160->SetBinContent(24,18156.53); h_SL1L160->SetBinContent(25,18020.75); h_SL1L160->SetBinContent(26,17732.23); h_SL1L160->SetBinContent(27,18322.85); h_SL1L160->SetBinContent(28,17969.84); h_SL1L160->SetBinContent(29,17789.93); h_SL1L160->SetBinContent(30,18743.75); h_SL1L160->SetBinContent(31,17803.51); h_SL1L160->SetBinContent(32,17178.95); h_SL1L160->SetBinContent(33,18183.68); h_SL1L160->SetBinContent(34,19201.99); h_SL1L160->SetBinContent(35,19127.32); h_SL1L160->SetBinContent(36,18346.61); h_SL1L160->SetBinContent(37,18533.3); h_SL1L160->SetBinContent(38,18614.77); h_SL1L160->SetBinContent(39,18197.26); h_SL1L160->SetBinContent(40,17032.99); h_SL1L160->SetBinContent(41,18580.82); h_SL1L160->SetBinContent(42,18692.84); h_SL1L160->SetBinContent(43,19409.05); h_SL1L160->SetBinContent(44,18757.33); h_SL1L160->SetBinContent(45,18170.1); h_SL1L160->SetBinContent(46,17223.07); h_SL1L160->SetBinContent(47,17358.85); h_SL1L160->SetBinContent(48,16252.28); h_SL1L160->SetBinContent(49,18485.78); h_SL1L160->SetBinContent(50,18899.89); h_SL1L160->SetBinContent(51,19208.78); h_SL1L160->SetBinContent(52,18740.36); h_SL1L160->SetBinContent(53,19103.56); h_SL1L160->SetBinContent(54,18665.68); h_SL1L160->SetBinContent(55,18977.96); h_SL1L160->SetBinContent(56,20502.04); h_SL1L160->SetBinContent(57,24874); h_SL1L160->SetBinContent(58,28570.48); h_SL1L160->SetBinContent(59,31004.25); h_SL1L160->SetMaximum(51659.15); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,25681.86); h_SL1L261->SetBinContent(2,27165.21); h_SL1L261->SetBinContent(3,28383.79); h_SL1L261->SetBinContent(4,28845.42); h_SL1L261->SetBinContent(5,29687.23); h_SL1L261->SetBinContent(6,29860.34); h_SL1L261->SetBinContent(7,30192.99); h_SL1L261->SetBinContent(8,32083.66); h_SL1L261->SetBinContent(9,32569.05); h_SL1L261->SetBinContent(10,31781.56); h_SL1L261->SetBinContent(11,35223.46); h_SL1L261->SetBinContent(12,36034.71); h_SL1L261->SetBinContent(13,36533.69); h_SL1L261->SetBinContent(14,36072.05); h_SL1L261->SetBinContent(15,35559.5); h_SL1L261->SetBinContent(16,32104.02); h_SL1L261->SetBinContent(17,31832.47); h_SL1L261->SetBinContent(18,33991.3); h_SL1L261->SetBinContent(19,35403.36); h_SL1L261->SetBinContent(20,35233.64); h_SL1L261->SetBinContent(21,36326.63); h_SL1L261->SetBinContent(22,36014.35); h_SL1L261->SetBinContent(23,35990.59); h_SL1L261->SetBinContent(24,35712.25); h_SL1L261->SetBinContent(25,34955.3); h_SL1L261->SetBinContent(26,32375.57); h_SL1L261->SetBinContent(27,32212.64); h_SL1L261->SetBinContent(28,33607.73); h_SL1L261->SetBinContent(29,33926.8); h_SL1L261->SetBinContent(30,34503.85); h_SL1L261->SetBinContent(31,33753.69); h_SL1L261->SetBinContent(32,33567); h_SL1L261->SetBinContent(33,35094.47); h_SL1L261->SetBinContent(34,36377.55); h_SL1L261->SetBinContent(35,37280.45); h_SL1L261->SetBinContent(36,37562.18); h_SL1L261->SetBinContent(37,37429.8); h_SL1L261->SetBinContent(38,35848.02); h_SL1L261->SetBinContent(39,33936.99); h_SL1L261->SetBinContent(40,34917.96); h_SL1L261->SetBinContent(41,34079.55); h_SL1L261->SetBinContent(42,35831.05); h_SL1L261->SetBinContent(43,37412.83); h_SL1L261->SetBinContent(44,37266.87); h_SL1L261->SetBinContent(45,35725.82); h_SL1L261->SetBinContent(46,35783.53); h_SL1L261->SetBinContent(47,36055.08); h_SL1L261->SetBinContent(48,37107.34); h_SL1L261->SetBinContent(49,37307.61); h_SL1L261->SetBinContent(50,37660.62); h_SL1L261->SetBinContent(51,38244.45); h_SL1L261->SetBinContent(52,37755.66); h_SL1L261->SetBinContent(53,37504.48); h_SL1L261->SetBinContent(54,37585.95); h_SL1L261->SetBinContent(55,38213.9); h_SL1L261->SetBinContent(56,37809.97); h_SL1L261->SetBinContent(57,38383.62); h_SL1L261->SetBinContent(58,39062.5); h_SL1L261->SetBinContent(59,38027.21); h_SL1L261->SetMaximum(44921.88); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,24480.25); h_SL1L362->SetBinContent(2,26689.99); h_SL1L362->SetBinContent(3,27901.79); h_SL1L362->SetBinContent(4,28217.46); h_SL1L362->SetBinContent(5,29076.24); h_SL1L362->SetBinContent(6,29985.93); h_SL1L362->SetBinContent(7,30719.12); h_SL1L362->SetBinContent(8,32117.6); h_SL1L362->SetBinContent(9,31414.96); h_SL1L362->SetBinContent(10,33030.69); h_SL1L362->SetBinContent(11,35233.64); h_SL1L362->SetBinContent(12,36004.16); h_SL1L362->SetBinContent(13,35057.13); h_SL1L362->SetBinContent(14,34707.51); h_SL1L362->SetBinContent(15,32579.24); h_SL1L362->SetBinContent(16,30977.09); h_SL1L362->SetBinContent(17,31774.77); h_SL1L362->SetBinContent(18,34527.61); h_SL1L362->SetBinContent(19,33943.78); h_SL1L362->SetBinContent(20,34704.12); h_SL1L362->SetBinContent(21,34765.21); h_SL1L362->SetBinContent(22,35094.47); h_SL1L362->SetBinContent(23,35824.26); h_SL1L362->SetBinContent(24,33733.32); h_SL1L362->SetBinContent(25,33037.48); h_SL1L362->SetBinContent(26,30596.92); h_SL1L362->SetBinContent(27,31452.3); h_SL1L362->SetBinContent(28,32711.62); h_SL1L362->SetBinContent(29,32667.49); h_SL1L362->SetBinContent(30,32429.88); h_SL1L362->SetBinContent(31,32827.03); h_SL1L362->SetBinContent(32,33322.61); h_SL1L362->SetBinContent(33,34469.91); h_SL1L362->SetBinContent(34,35610.42); h_SL1L362->SetBinContent(35,36771.29); h_SL1L362->SetBinContent(36,35919.3); h_SL1L362->SetBinContent(37,35471.25); h_SL1L362->SetBinContent(38,33193.62); h_SL1L362->SetBinContent(39,34028.64); h_SL1L362->SetBinContent(40,32949.22); h_SL1L362->SetBinContent(41,34038.82); h_SL1L362->SetBinContent(42,35929.49); h_SL1L362->SetBinContent(43,36499.74); h_SL1L362->SetBinContent(44,35559.5); h_SL1L362->SetBinContent(45,35471.25); h_SL1L362->SetBinContent(46,34853.47); h_SL1L362->SetBinContent(47,34880.62); h_SL1L362->SetBinContent(48,35447.49); h_SL1L362->SetBinContent(49,36292.69); h_SL1L362->SetBinContent(50,36934.22); h_SL1L362->SetBinContent(51,36255.35); h_SL1L362->SetBinContent(52,36832.39); h_SL1L362->SetBinContent(53,36557.45); h_SL1L362->SetBinContent(54,36357.18); h_SL1L362->SetBinContent(55,36957.98); h_SL1L362->SetBinContent(56,35573.08); h_SL1L362->SetBinContent(57,38176.57); h_SL1L362->SetBinContent(58,37314.39); h_SL1L362->SetBinContent(59,37229.54); h_SL1L362->SetMaximum(44921.88); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,20936.52); h_SL1L463->SetBinContent(3,20495.25); h_SL1L463->SetBinContent(4,19426.02); h_SL1L463->SetBinContent(5,17793.33); h_SL1L463->SetBinContent(6,18153.13); h_SL1L463->SetBinContent(7,18271.94); h_SL1L463->SetBinContent(8,19670.42); h_SL1L463->SetBinContent(9,21255.59); h_SL1L463->SetBinContent(10,23132.68); h_SL1L463->SetBinContent(11,25973.78); h_SL1L463->SetBinContent(12,27328.13); h_SL1L463->SetBinContent(13,27032.82); h_SL1L463->SetBinContent(14,28563.69); h_SL1L463->SetBinContent(15,26058.64); h_SL1L463->SetBinContent(16,24242.65); h_SL1L463->SetBinContent(17,22165.29); h_SL1L463->SetBinContent(18,23058.01); h_SL1L463->SetBinContent(19,22199.23); h_SL1L463->SetBinContent(20,22301.06); h_SL1L463->SetBinContent(21,21998.96); h_SL1L463->SetBinContent(22,21815.67); h_SL1L463->SetBinContent(23,21371); h_SL1L463->SetBinContent(24,21306.51); h_SL1L463->SetBinContent(25,19473.54); h_SL1L463->SetBinContent(26,19605.93); h_SL1L463->SetBinContent(27,18954.21); h_SL1L463->SetBinContent(28,20091.32); h_SL1L463->SetBinContent(29,19218.97); h_SL1L463->SetBinContent(30,19714.54); h_SL1L463->SetBinContent(31,19884.26); h_SL1L463->SetBinContent(32,19476.94); h_SL1L463->SetBinContent(33,19093.38); h_SL1L463->SetBinContent(34,21829.24); h_SL1L463->SetBinContent(35,22331.61); h_SL1L463->SetBinContent(36,20950.1); h_SL1L463->SetBinContent(37,19368.32); h_SL1L463->SetBinContent(38,19354.74); h_SL1L463->SetBinContent(39,20189.76); h_SL1L463->SetBinContent(40,18747.15); h_SL1L463->SetBinContent(41,18971.18); h_SL1L463->SetBinContent(42,20681.94); h_SL1L463->SetBinContent(43,21177.52); h_SL1L463->SetBinContent(44,21544.12); h_SL1L463->SetBinContent(45,19931.79); h_SL1L463->SetBinContent(46,20525.8); h_SL1L463->SetBinContent(47,18360.19); h_SL1L463->SetBinContent(48,18550.27); h_SL1L463->SetBinContent(49,18574.04); h_SL1L463->SetBinContent(50,18906.68); h_SL1L463->SetBinContent(51,17345.27); h_SL1L463->SetBinContent(52,17528.57); h_SL1L463->SetBinContent(53,16805.56); h_SL1L463->SetBinContent(54,17138.21); h_SL1L463->SetBinContent(56,17145); h_SL1L463->SetBinContent(57,20030.22); h_SL1L463->SetBinContent(58,25773.51); h_SL1L463->SetBinContent(59,27935.73); h_SL1L463->SetMaximum(44921.88); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6095"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }