void RatesPerCell_Removing_noisy_cells_run_6534_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:40:59 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19013.1,67.5,171117.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6534",60,0,60); h_SL1L160->SetBinContent(1,46057.32); h_SL1L160->SetBinContent(2,45196.02); h_SL1L160->SetBinContent(3,43740.72); h_SL1L160->SetBinContent(4,43510.54); h_SL1L160->SetBinContent(5,38164.54); h_SL1L160->SetBinContent(6,39798.04); h_SL1L160->SetBinContent(7,36204.34); h_SL1L160->SetBinContent(8,33731.81); h_SL1L160->SetBinContent(9,30331.15); h_SL1L160->SetBinContent(10,29878.23); h_SL1L160->SetBinContent(11,30954.86); h_SL1L160->SetBinContent(12,33382.83); h_SL1L160->SetBinContent(13,33026.43); h_SL1L160->SetBinContent(14,30680.13); h_SL1L160->SetBinContent(15,31355.81); h_SL1L160->SetBinContent(16,29195.13); h_SL1L160->SetBinContent(17,29655.48); h_SL1L160->SetBinContent(18,30717.26); h_SL1L160->SetBinContent(19,32796.26); h_SL1L160->SetBinContent(20,30323.73); h_SL1L160->SetBinContent(21,33382.83); h_SL1L160->SetBinContent(22,33598.16); h_SL1L160->SetBinContent(23,33204.63); h_SL1L160->SetBinContent(24,30880.61); h_SL1L160->SetBinContent(25,30071.28); h_SL1L160->SetBinContent(26,31444.91); h_SL1L160->SetBinContent(27,30219.78); h_SL1L160->SetBinContent(28,30427.68); h_SL1L160->SetBinContent(29,29870.8); h_SL1L160->SetBinContent(30,31608.26); h_SL1L160->SetBinContent(31,29737.15); h_SL1L160->SetBinContent(32,28289.28); h_SL1L160->SetBinContent(33,39768.34); h_SL1L160->SetBinContent(34,50942.98); h_SL1L160->SetBinContent(35,52531.93); h_SL1L160->SetBinContent(36,50638.55); h_SL1L160->SetBinContent(37,58405.11); h_SL1L160->SetBinContent(38,60432.14); h_SL1L160->SetBinContent(39,44037.72); h_SL1L160->SetBinContent(40,27279.48); h_SL1L160->SetBinContent(41,26485); h_SL1L160->SetBinContent(42,27947.73); h_SL1L160->SetBinContent(43,27828.93); h_SL1L160->SetBinContent(44,25972.68); h_SL1L160->SetBinContent(45,23433.32); h_SL1L160->SetBinContent(46,23017.52); h_SL1L160->SetBinContent(47,21480.55); h_SL1L160->SetBinContent(48,19713.39); h_SL1L160->SetBinContent(49,20945.95); h_SL1L160->SetBinContent(50,22401.25); h_SL1L160->SetBinContent(51,20441.04); h_SL1L160->SetBinContent(52,19876.74); h_SL1L160->SetBinContent(53,20448.47); h_SL1L160->SetBinContent(54,20530.14); h_SL1L160->SetBinContent(55,21242.95); h_SL1L160->SetBinContent(56,21651.32); h_SL1L160->SetBinContent(57,25363.82); h_SL1L160->SetBinContent(58,26833.98); h_SL1L160->SetBinContent(59,29455); h_SL1L160->SetMaximum(152104.8); 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,55086.13); h_SL1L261->SetBinContent(2,52665.58); h_SL1L261->SetBinContent(3,53905.55); h_SL1L261->SetBinContent(4,56637.96); h_SL1L261->SetBinContent(5,56392.93); h_SL1L261->SetBinContent(6,58085.83); h_SL1L261->SetBinContent(7,54024.35); h_SL1L261->SetBinContent(8,52220.08); h_SL1L261->SetBinContent(9,46480.55); h_SL1L261->SetBinContent(10,43599.64); h_SL1L261->SetBinContent(11,44654); h_SL1L261->SetBinContent(12,48626.38); h_SL1L261->SetBinContent(13,50452.93); h_SL1L261->SetBinContent(14,52472.53); h_SL1L261->SetBinContent(15,51856.25); h_SL1L261->SetBinContent(16,50794.48); h_SL1L261->SetBinContent(17,50259.88); h_SL1L261->SetBinContent(18,51321.65); h_SL1L261->SetBinContent(19,54113.45); h_SL1L261->SetBinContent(20,53370.95); h_SL1L261->SetBinContent(21,56838.43); h_SL1L261->SetBinContent(22,57677.46); h_SL1L261->SetBinContent(23,58650.13); h_SL1L261->SetBinContent(24,59266.41); h_SL1L261->SetBinContent(25,59036.23); h_SL1L261->SetBinContent(26,56689.93); h_SL1L261->SetBinContent(27,54915.36); h_SL1L261->SetBinContent(28,58226.91); h_SL1L261->SetBinContent(29,57053.76); h_SL1L261->SetBinContent(30,56407.78); h_SL1L261->SetBinContent(31,58167.51); h_SL1L261->SetBinContent(32,57536.38); h_SL1L261->SetBinContent(33,66364.72); h_SL1L261->SetBinContent(34,96963.17); h_SL1L261->SetBinContent(35,104455); h_SL1L261->SetBinContent(36,109103.1); h_SL1L261->SetBinContent(37,115013.4); h_SL1L261->SetBinContent(38,114515.9); h_SL1L261->SetBinContent(39,100928.1); h_SL1L261->SetBinContent(40,63810.51); h_SL1L261->SetBinContent(41,52346.3); h_SL1L261->SetBinContent(42,48388.77); h_SL1L261->SetBinContent(43,47742.8); h_SL1L261->SetBinContent(44,46384.02); h_SL1L261->SetBinContent(45,46465.7); h_SL1L261->SetBinContent(46,45240.57); h_SL1L261->SetBinContent(47,47148.8); h_SL1L261->SetBinContent(48,46124.14); h_SL1L261->SetBinContent(49,58568.46); h_SL1L261->SetBinContent(50,44163.95); h_SL1L261->SetBinContent(51,41646.87); h_SL1L261->SetBinContent(52,40547.96); h_SL1L261->SetBinContent(53,40733.59); h_SL1L261->SetBinContent(54,41839.92); h_SL1L261->SetBinContent(55,40800.41); h_SL1L261->SetBinContent(56,47089.4); h_SL1L261->SetBinContent(57,41045.44); h_SL1L261->SetBinContent(58,39649.54); h_SL1L261->SetBinContent(59,37162.16); h_SL1L261->SetMaximum(132265.4); 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,51655.78); h_SL1L362->SetBinContent(2,52049.3); h_SL1L362->SetBinContent(3,55004.45); h_SL1L362->SetBinContent(4,53512.03); h_SL1L362->SetBinContent(5,54128.3); h_SL1L362->SetBinContent(6,55828.63); h_SL1L362->SetBinContent(7,51574.1); h_SL1L362->SetBinContent(8,47972.97); h_SL1L362->SetBinContent(9,43844.67); h_SL1L362->SetBinContent(10,43391.74); h_SL1L362->SetBinContent(11,43607.07); h_SL1L362->SetBinContent(12,48722.9); h_SL1L362->SetBinContent(13,50668.25); h_SL1L362->SetBinContent(14,50393.52); h_SL1L362->SetBinContent(15,50081.68); h_SL1L362->SetBinContent(16,47133.95); h_SL1L362->SetBinContent(17,48381.35); h_SL1L362->SetBinContent(18,51113.75); h_SL1L362->SetBinContent(19,52212.65); h_SL1L362->SetBinContent(20,53140.78); h_SL1L362->SetBinContent(21,55219.78); h_SL1L362->SetBinContent(22,55279.18); h_SL1L362->SetBinContent(23,56534.01); h_SL1L362->SetBinContent(24,57885.36); h_SL1L362->SetBinContent(25,56972.08); h_SL1L362->SetBinContent(26,52197.8); h_SL1L362->SetBinContent(27,53385.8); h_SL1L362->SetBinContent(28,54573.8); h_SL1L362->SetBinContent(29,56006.83); h_SL1L362->SetBinContent(30,54469.86); h_SL1L362->SetBinContent(31,55865.75); h_SL1L362->SetBinContent(32,56081.08); h_SL1L362->SetBinContent(33,81623.11); h_SL1L362->SetBinContent(34,100868.7); h_SL1L362->SetBinContent(35,106333.5); h_SL1L362->SetBinContent(36,111308.3); h_SL1L362->SetBinContent(37,113788.2); h_SL1L362->SetBinContent(38,107269.1); h_SL1L362->SetBinContent(39,83724.38); h_SL1L362->SetBinContent(40,54195.13); h_SL1L362->SetBinContent(41,48396.2); h_SL1L362->SetBinContent(42,46733); h_SL1L362->SetBinContent(43,45478.17); h_SL1L362->SetBinContent(44,44594.59); h_SL1L362->SetBinContent(45,44297.59); h_SL1L362->SetBinContent(46,45255.42); h_SL1L362->SetBinContent(47,45953.37); h_SL1L362->SetBinContent(48,43970.89); h_SL1L362->SetBinContent(49,41973.57); h_SL1L362->SetBinContent(50,42389.37); h_SL1L362->SetBinContent(51,39463.91); h_SL1L362->SetBinContent(52,39345.11); h_SL1L362->SetBinContent(53,43748.14); h_SL1L362->SetBinContent(54,39256.02); h_SL1L362->SetBinContent(55,40570.24); h_SL1L362->SetBinContent(56,44735.67); h_SL1L362->SetBinContent(57,40451.44); h_SL1L362->SetBinContent(58,38119.99); h_SL1L362->SetBinContent(59,37050.79); h_SL1L362->SetMaximum(132265.4); 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,40525.69); h_SL1L463->SetBinContent(3,38907.04); h_SL1L463->SetBinContent(4,36939.41); h_SL1L463->SetBinContent(5,34749.04); h_SL1L463->SetBinContent(6,34333.23); h_SL1L463->SetBinContent(7,34214.43); h_SL1L463->SetBinContent(8,33212.06); h_SL1L463->SetBinContent(9,32759.13); h_SL1L463->SetBinContent(10,31526.58); h_SL1L463->SetBinContent(11,33917.43); h_SL1L463->SetBinContent(12,35409.86); h_SL1L463->SetBinContent(13,37266.11); h_SL1L463->SetBinContent(14,38951.59); h_SL1L463->SetBinContent(15,38045.74); h_SL1L463->SetBinContent(16,36634.98); h_SL1L463->SetBinContent(17,32402.73); h_SL1L463->SetBinContent(18,31786.46); h_SL1L463->SetBinContent(19,33353.13); h_SL1L463->SetBinContent(20,31905.26); h_SL1L463->SetBinContent(21,31534.01); h_SL1L463->SetBinContent(22,32491.83); h_SL1L463->SetBinContent(23,32558.66); h_SL1L463->SetBinContent(24,33412.53); h_SL1L463->SetBinContent(25,29855.96); h_SL1L463->SetBinContent(26,32120.58); h_SL1L463->SetBinContent(27,30063.86); h_SL1L463->SetBinContent(28,29789.13); h_SL1L463->SetBinContent(29,30160.38); h_SL1L463->SetBinContent(30,31251.86); h_SL1L463->SetBinContent(31,32031.48); h_SL1L463->SetBinContent(32,30672.71); h_SL1L463->SetBinContent(33,32610.63); h_SL1L463->SetBinContent(34,56712.21); h_SL1L463->SetBinContent(35,75690.52); h_SL1L463->SetBinContent(36,77027.02); h_SL1L463->SetBinContent(37,77717.55); h_SL1L463->SetBinContent(38,77524.5); h_SL1L463->SetBinContent(39,69958.42); h_SL1L463->SetBinContent(40,36441.94); h_SL1L463->SetBinContent(41,30078.71); h_SL1L463->SetBinContent(42,29143.15); h_SL1L463->SetBinContent(43,29477.28); h_SL1L463->SetBinContent(44,28771.9); h_SL1L463->SetBinContent(45,25133.65); h_SL1L463->SetBinContent(46,27472.53); h_SL1L463->SetBinContent(47,25950.4); h_SL1L463->SetBinContent(48,27034.45); h_SL1L463->SetBinContent(49,24547.07); h_SL1L463->SetBinContent(50,24658.45); h_SL1L463->SetBinContent(51,21027.62); h_SL1L463->SetBinContent(52,19943.57); h_SL1L463->SetBinContent(53,18911.49); h_SL1L463->SetBinContent(54,19178.79); h_SL1L463->SetBinContent(55,44.55005); h_SL1L463->SetBinContent(56,18785.27); h_SL1L463->SetBinContent(57,19906.45); h_SL1L463->SetBinContent(58,23812); h_SL1L463->SetBinContent(59,25163.35); h_SL1L463->SetMaximum(132265.4); 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 6534"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }