void RatesPerCell_Removing_noisy_cells_run_7320_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:40:06 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13384.85,67.5,120463.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7320",60,0,60); h_SL1L160->SetBinContent(1,37568.75); h_SL1L160->SetBinContent(2,38775.77); h_SL1L160->SetBinContent(3,39555.25); h_SL1L160->SetBinContent(4,38251.39); h_SL1L160->SetBinContent(5,35164.16); h_SL1L160->SetBinContent(6,36198.75); h_SL1L160->SetBinContent(7,34892.52); h_SL1L160->SetBinContent(8,36364.09); h_SL1L160->SetBinContent(9,35372.02); h_SL1L160->SetBinContent(10,34816.93); h_SL1L160->SetBinContent(11,35112.19); h_SL1L160->SetBinContent(12,33444.57); h_SL1L160->SetBinContent(13,51840.38); h_SL1L160->SetBinContent(14,60693.43); h_SL1L160->SetBinContent(15,58924.23); h_SL1L160->SetBinContent(16,29318.03); h_SL1L160->SetBinContent(17,29251.89); h_SL1L160->SetBinContent(18,30685.67); h_SL1L160->SetBinContent(19,31316.34); h_SL1L160->SetBinContent(20,30083.34); h_SL1L160->SetBinContent(21,31557.28); h_SL1L160->SetBinContent(22,30742.36); h_SL1L160->SetBinContent(23,30043.19); h_SL1L160->SetBinContent(24,27352.79); h_SL1L160->SetBinContent(25,26490.63); h_SL1L160->SetBinContent(26,26339.46); h_SL1L160->SetBinContent(27,25063.94); h_SL1L160->SetBinContent(28,25557.61); h_SL1L160->SetBinContent(29,25593.04); h_SL1L160->SetBinContent(30,25035.6); h_SL1L160->SetBinContent(31,24036.44); h_SL1L160->SetBinContent(32,23391.59); h_SL1L160->SetBinContent(33,44409.3); h_SL1L160->SetBinContent(34,45408.46); h_SL1L160->SetBinContent(35,44924.24); h_SL1L160->SetBinContent(36,44595.91); h_SL1L160->SetBinContent(37,45980.09); h_SL1L160->SetBinContent(38,46683.98); h_SL1L160->SetBinContent(39,45382.48); h_SL1L160->SetBinContent(40,2.362072); h_SL1L160->SetBinContent(41,24617.51); h_SL1L160->SetBinContent(42,24742.7); h_SL1L160->SetBinContent(43,24768.68); h_SL1L160->SetBinContent(44,24303.35); h_SL1L160->SetBinContent(45,23493.16); h_SL1L160->SetBinContent(46,23136.49); h_SL1L160->SetBinContent(47,23323.09); h_SL1L160->SetBinContent(48,23540.4); h_SL1L160->SetBinContent(49,24924.58); h_SL1L160->SetBinContent(50,25940.27); h_SL1L160->SetBinContent(51,27048.08); h_SL1L160->SetBinContent(52,27118.94); h_SL1L160->SetBinContent(53,27362.24); h_SL1L160->SetBinContent(54,27853.55); h_SL1L160->SetBinContent(55,29925.08); h_SL1L160->SetBinContent(56,34795.68); h_SL1L160->SetMaximum(107078.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,38808.84); h_SL1L261->SetBinContent(2,41936.22); h_SL1L261->SetBinContent(3,45266.74); h_SL1L261->SetBinContent(4,43658.17); h_SL1L261->SetBinContent(5,44144.75); h_SL1L261->SetBinContent(6,45250.2); h_SL1L261->SetBinContent(7,43799.89); h_SL1L261->SetBinContent(8,45876.15); h_SL1L261->SetBinContent(9,54025.3); h_SL1L261->SetBinContent(10,43554.24); h_SL1L261->SetBinContent(11,44284.12); h_SL1L261->SetBinContent(12,43750.29); h_SL1L261->SetBinContent(13,44121.13); h_SL1L261->SetBinContent(14,46882.39); h_SL1L261->SetBinContent(15,46627.29); h_SL1L261->SetBinContent(16,43096); h_SL1L261->SetBinContent(17,41175.63); h_SL1L261->SetBinContent(18,43145.6); h_SL1L261->SetBinContent(19,44385.69); h_SL1L261->SetBinContent(20,44373.88); h_SL1L261->SetBinContent(21,45519.48); h_SL1L261->SetBinContent(22,45911.59); h_SL1L261->SetBinContent(23,45399.02); h_SL1L261->SetBinContent(24,45011.64); h_SL1L261->SetBinContent(25,45658.84); h_SL1L261->SetBinContent(26,42385.01); h_SL1L261->SetBinContent(27,41553.56); h_SL1L261->SetBinContent(28,42458.23); h_SL1L261->SetBinContent(29,45061.24); h_SL1L261->SetBinContent(30,44815.58); h_SL1L261->SetBinContent(31,44973.84); h_SL1L261->SetBinContent(32,44140.03); h_SL1L261->SetBinContent(33,43781); h_SL1L261->SetBinContent(34,44936.05); h_SL1L261->SetBinContent(35,43958.15); h_SL1L261->SetBinContent(36,43903.82); h_SL1L261->SetBinContent(37,44806.13); h_SL1L261->SetBinContent(38,45254.93); h_SL1L261->SetBinContent(39,45068.32); h_SL1L261->SetBinContent(40,45573.81); h_SL1L261->SetBinContent(41,46908.38); h_SL1L261->SetBinContent(42,46124.17); h_SL1L261->SetBinContent(43,46719.41); h_SL1L261->SetBinContent(44,46759.57); h_SL1L261->SetBinContent(45,46932); h_SL1L261->SetBinContent(46,49825.54); h_SL1L261->SetBinContent(47,50494); h_SL1L261->SetBinContent(48,51290.02); h_SL1L261->SetBinContent(49,58898.25); h_SL1L261->SetBinContent(50,50923.9); h_SL1L261->SetBinContent(51,52737.97); h_SL1L261->SetBinContent(52,54242.61); h_SL1L261->SetBinContent(53,55929.13); h_SL1L261->SetBinContent(54,57369.99); h_SL1L261->SetBinContent(55,58921.88); h_SL1L261->SetBinContent(56,61092.62); h_SL1L261->SetMaximum(93112.15); 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,39160.79); h_SL1L362->SetBinContent(2,40334.73); h_SL1L362->SetBinContent(3,42569.25); h_SL1L362->SetBinContent(4,42517.29); h_SL1L362->SetBinContent(5,43710.13); h_SL1L362->SetBinContent(6,43325.12); h_SL1L362->SetBinContent(7,43121.98); h_SL1L362->SetBinContent(8,44628.98); h_SL1L362->SetBinContent(9,42980.25); h_SL1L362->SetBinContent(10,42935.38); h_SL1L362->SetBinContent(11,42999.15); h_SL1L362->SetBinContent(12,43178.67); h_SL1L362->SetBinContent(13,42640.11); h_SL1L362->SetBinContent(14,48004.38); h_SL1L362->SetBinContent(15,57232.99); h_SL1L362->SetBinContent(16,42453.51); h_SL1L362->SetBinContent(17,41088.23); h_SL1L362->SetBinContent(18,42725.15); h_SL1L362->SetBinContent(19,43962.88); h_SL1L362->SetBinContent(20,43875.48); h_SL1L362->SetBinContent(21,44962.03); h_SL1L362->SetBinContent(22,44338.45); h_SL1L362->SetBinContent(23,44548.67); h_SL1L362->SetBinContent(24,44033.74); h_SL1L362->SetBinContent(25,43932.17); h_SL1L362->SetBinContent(26,40549.68); h_SL1L362->SetBinContent(27,40622.91); h_SL1L362->SetBinContent(28,42933.01); h_SL1L362->SetBinContent(29,43707.77); h_SL1L362->SetBinContent(30,43197.56); h_SL1L362->SetBinContent(31,43362.91); h_SL1L362->SetBinContent(32,43414.88); h_SL1L362->SetBinContent(33,43318.03); h_SL1L362->SetBinContent(34,43393.62); h_SL1L362->SetBinContent(35,43384.17); h_SL1L362->SetBinContent(36,42770.03); h_SL1L362->SetBinContent(37,44522.69); h_SL1L362->SetBinContent(38,44158.93); h_SL1L362->SetBinContent(39,43738.48); h_SL1L362->SetBinContent(40,45153.36); h_SL1L362->SetBinContent(41,45573.81); h_SL1L362->SetBinContent(42,46216.29); h_SL1L362->SetBinContent(43,46339.12); h_SL1L362->SetBinContent(44,45330.52); h_SL1L362->SetBinContent(45,47291.04); h_SL1L362->SetBinContent(46,49414.54); h_SL1L362->SetBinContent(47,50220); h_SL1L362->SetBinContent(48,51011.3); h_SL1L362->SetBinContent(49,51445.92); h_SL1L362->SetBinContent(50,50524.71); h_SL1L362->SetBinContent(51,53021.42); h_SL1L362->SetBinContent(52,53949.71); h_SL1L362->SetBinContent(53,56564.53); h_SL1L362->SetBinContent(54,57025.13); h_SL1L362->SetBinContent(55,58860.46); h_SL1L362->SetBinContent(56,62124.84); h_SL1L362->SetMaximum(93112.15); 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,34368.14); h_SL1L463->SetBinContent(3,34115.4); h_SL1L463->SetBinContent(4,32939.09); h_SL1L463->SetBinContent(5,30272.31); h_SL1L463->SetBinContent(6,30040.83); h_SL1L463->SetBinContent(7,29499.91); h_SL1L463->SetBinContent(8,31524.21); h_SL1L463->SetBinContent(9,33831.95); h_SL1L463->SetBinContent(10,34346.88); h_SL1L463->SetBinContent(11,35549.18); h_SL1L463->SetBinContent(12,36605.02); h_SL1L463->SetBinContent(13,37337.27); h_SL1L463->SetBinContent(14,80967.09); h_SL1L463->SetBinContent(15,64531.79); h_SL1L463->SetBinContent(16,62285.46); h_SL1L463->SetBinContent(17,31937.57); h_SL1L463->SetBinContent(18,32110); h_SL1L463->SetBinContent(19,31928.12); h_SL1L463->SetBinContent(20,33066.64); h_SL1L463->SetBinContent(21,33076.09); h_SL1L463->SetBinContent(22,32384); h_SL1L463->SetBinContent(23,31613.96); h_SL1L463->SetBinContent(24,31729.71); h_SL1L463->SetBinContent(25,29237.72); h_SL1L463->SetBinContent(26,28224.39); h_SL1L463->SetBinContent(27,27532.3); h_SL1L463->SetBinContent(28,27300.82); h_SL1L463->SetBinContent(29,26859.12); h_SL1L463->SetBinContent(30,28238.56); h_SL1L463->SetBinContent(31,27163.82); h_SL1L463->SetBinContent(32,26426.86); h_SL1L463->SetBinContent(33,25059.22); h_SL1L463->SetBinContent(34,27867.72); h_SL1L463->SetBinContent(35,28354.31); h_SL1L463->SetBinContent(36,25264.72); h_SL1L463->SetBinContent(37,18.89657); h_SL1L463->SetBinContent(38,16.5345); h_SL1L463->SetBinContent(39,7.086215); h_SL1L463->SetBinContent(40,4.724143); h_SL1L463->SetBinContent(41,23727.01); h_SL1L463->SetBinContent(42,26611.1); h_SL1L463->SetBinContent(43,25978.06); h_SL1L463->SetBinContent(44,26549.68); h_SL1L463->SetBinContent(45,24296.27); h_SL1L463->SetBinContent(46,26079.63); h_SL1L463->SetBinContent(47,23658.51); h_SL1L463->SetBinContent(48,23176.65); h_SL1L463->SetBinContent(49,22238.9); h_SL1L463->SetBinContent(50,24123.84); h_SL1L463->SetBinContent(51,23072.71); h_SL1L463->SetBinContent(52,24466.34); h_SL1L463->SetBinContent(53,24078.96); h_SL1L463->SetBinContent(54,24078.96); h_SL1L463->SetBinContent(55,14.17243); h_SL1L463->SetBinContent(56,29610.93); h_SL1L463->SetMaximum(93112.15); 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 7320"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }