void RatesPerCell_Removing_noisy_cells_run_6729_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18975.15,67.5,170776.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6729",60,0,60); h_SL1L160->SetBinContent(1,50872.67); h_SL1L160->SetBinContent(2,48744.21); h_SL1L160->SetBinContent(3,48438.71); h_SL1L160->SetBinContent(4,46478.03); h_SL1L160->SetBinContent(5,42559.16); h_SL1L160->SetBinContent(6,44562.41); h_SL1L160->SetBinContent(7,42884.69); h_SL1L160->SetBinContent(8,42408.91); h_SL1L160->SetBinContent(9,39704.52); h_SL1L160->SetBinContent(10,36544.38); h_SL1L160->SetBinContent(11,35194.69); h_SL1L160->SetBinContent(12,36208.84); h_SL1L160->SetBinContent(13,37373.23); h_SL1L160->SetBinContent(14,36236.38); h_SL1L160->SetBinContent(15,35169.65); h_SL1L160->SetBinContent(16,34082.88); h_SL1L160->SetBinContent(17,34623.76); h_SL1L160->SetBinContent(18,35825.71); h_SL1L160->SetBinContent(19,37350.7); h_SL1L160->SetBinContent(20,36156.25); h_SL1L160->SetBinContent(21,38530.11); h_SL1L160->SetBinContent(22,38409.91); h_SL1L160->SetBinContent(23,36975.09); h_SL1L160->SetBinContent(24,34415.93); h_SL1L160->SetBinContent(25,35132.09); h_SL1L160->SetBinContent(26,34678.85); h_SL1L160->SetBinContent(27,32971.08); h_SL1L160->SetBinContent(28,33416.8); h_SL1L160->SetBinContent(29,32643.04); h_SL1L160->SetBinContent(30,32299.99); h_SL1L160->SetBinContent(31,30236.63); h_SL1L160->SetBinContent(32,29583.07); h_SL1L160->SetBinContent(33,38627.77); h_SL1L160->SetBinContent(34,45656.69); h_SL1L160->SetBinContent(35,47071.49); h_SL1L160->SetBinContent(36,45641.67); h_SL1L160->SetBinContent(37,48816.83); h_SL1L160->SetBinContent(38,49425.32); h_SL1L160->SetBinContent(39,39927.38); h_SL1L160->SetBinContent(40,28729.19); h_SL1L160->SetBinContent(41,28005.51); h_SL1L160->SetBinContent(42,27975.46); h_SL1L160->SetBinContent(43,27584.82); h_SL1L160->SetBinContent(44,26936.27); h_SL1L160->SetBinContent(45,26032.3); h_SL1L160->SetBinContent(46,24602.48); h_SL1L160->SetBinContent(47,24206.84); h_SL1L160->SetBinContent(48,22128.46); h_SL1L160->SetBinContent(49,23928.88); h_SL1L160->SetBinContent(50,24424.69); h_SL1L160->SetBinContent(51,23913.86); h_SL1L160->SetBinContent(52,23320.39); h_SL1L160->SetBinContent(53,24251.91); h_SL1L160->SetBinContent(54,23726.05); h_SL1L160->SetBinContent(55,24572.43); h_SL1L160->SetBinContent(56,26137.47); h_SL1L160->SetBinContent(57,29618.13); h_SL1L160->SetBinContent(58,31108.05); h_SL1L160->SetBinContent(59,33411.79); h_SL1L160->SetMaximum(151801.1); 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,57636.16); h_SL1L261->SetBinContent(2,55620.38); h_SL1L261->SetBinContent(3,55562.79); h_SL1L261->SetBinContent(4,55597.85); h_SL1L261->SetBinContent(5,54563.66); h_SL1L261->SetBinContent(6,59596.84); h_SL1L261->SetBinContent(7,57781.39); h_SL1L261->SetBinContent(8,58004.26); h_SL1L261->SetBinContent(9,55790.66); h_SL1L261->SetBinContent(10,49442.84); h_SL1L261->SetBinContent(11,48075.62); h_SL1L261->SetBinContent(12,49237.51); h_SL1L261->SetBinContent(13,51170.65); h_SL1L261->SetBinContent(14,53972.71); h_SL1L261->SetBinContent(15,54688.87); h_SL1L261->SetBinContent(16,53622.14); h_SL1L261->SetBinContent(17,52991.11); h_SL1L261->SetBinContent(18,54168.02); h_SL1L261->SetBinContent(19,56371.6); h_SL1L261->SetBinContent(20,57340.68); h_SL1L261->SetBinContent(21,58840.62); h_SL1L261->SetBinContent(22,60418.18); h_SL1L261->SetBinContent(23,60368.1); h_SL1L261->SetBinContent(24,61825.46); h_SL1L261->SetBinContent(25,61790.41); h_SL1L261->SetBinContent(26,59549.27); h_SL1L261->SetBinContent(27,56932.52); h_SL1L261->SetBinContent(28,56178.79); h_SL1L261->SetBinContent(29,59937.4); h_SL1L261->SetBinContent(30,58888.19); h_SL1L261->SetBinContent(31,58046.82); h_SL1L261->SetBinContent(32,57155.38); h_SL1L261->SetBinContent(33,66891.2); h_SL1L261->SetBinContent(34,98372.35); h_SL1L261->SetBinContent(35,108413.7); h_SL1L261->SetBinContent(36,111824.2); h_SL1L261->SetBinContent(37,114784); h_SL1L261->SetBinContent(38,112144.7); h_SL1L261->SetBinContent(39,100313); h_SL1L261->SetBinContent(40,64464.75); h_SL1L261->SetBinContent(41,52948.54); h_SL1L261->SetBinContent(42,49430.32); h_SL1L261->SetBinContent(43,48353.57); h_SL1L261->SetBinContent(44,47507.2); h_SL1L261->SetBinContent(45,47624.89); h_SL1L261->SetBinContent(46,48363.59); h_SL1L261->SetBinContent(47,48581.45); h_SL1L261->SetBinContent(48,46452.98); h_SL1L261->SetBinContent(49,45208.46); h_SL1L261->SetBinContent(50,45328.66); h_SL1L261->SetBinContent(51,43691); h_SL1L261->SetBinContent(52,41830.47); h_SL1L261->SetBinContent(53,43731.06); h_SL1L261->SetBinContent(54,43250.28); h_SL1L261->SetBinContent(55,43540.75); h_SL1L261->SetBinContent(56,43751.09); h_SL1L261->SetBinContent(57,42709.4); h_SL1L261->SetBinContent(58,41565.04); h_SL1L261->SetBinContent(59,40027.54); h_SL1L261->SetMaximum(132001.6); 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,39263.8); h_SL1L362->SetBinContent(2,38126.96); h_SL1L362->SetBinContent(3,39394.02); h_SL1L362->SetBinContent(4,38660.32); h_SL1L362->SetBinContent(5,39544.26); h_SL1L362->SetBinContent(6,41592.59); h_SL1L362->SetBinContent(7,39414.05); h_SL1L362->SetBinContent(8,39859.77); h_SL1L362->SetBinContent(9,36298.98); h_SL1L362->SetBinContent(10,33569.55); h_SL1L362->SetBinContent(11,33972.71); h_SL1L362->SetBinContent(12,34556.15); h_SL1L362->SetBinContent(13,37606.11); h_SL1L362->SetBinContent(14,36802.3); h_SL1L362->SetBinContent(15,38327.28); h_SL1L362->SetBinContent(16,35918.37); h_SL1L362->SetBinContent(17,35995.99); h_SL1L362->SetBinContent(18,38069.36); h_SL1L362->SetBinContent(19,38462.5); h_SL1L362->SetBinContent(20,39178.66); h_SL1L362->SetBinContent(21,41898.09); h_SL1L362->SetBinContent(22,40037.56); h_SL1L362->SetBinContent(23,41299.61); h_SL1L362->SetBinContent(24,40608.49); h_SL1L362->SetBinContent(25,40092.65); h_SL1L362->SetBinContent(26,36409.16); h_SL1L362->SetBinContent(27,38878.18); h_SL1L362->SetBinContent(28,38099.41); h_SL1L362->SetBinContent(29,39461.62); h_SL1L362->SetBinContent(30,38116.94); h_SL1L362->SetBinContent(31,37611.12); h_SL1L362->SetBinContent(32,36637.04); h_SL1L362->SetBinContent(33,48008.01); h_SL1L362->SetBinContent(34,60921.5); h_SL1L362->SetBinContent(35,62068.36); h_SL1L362->SetBinContent(36,61607.61); h_SL1L362->SetBinContent(37,64372.11); h_SL1L362->SetBinContent(38,57991.73); h_SL1L362->SetBinContent(39,50612.25); h_SL1L362->SetBinContent(40,33819.96); h_SL1L362->SetBinContent(41,32918.49); h_SL1L362->SetBinContent(42,33592.09); h_SL1L362->SetBinContent(43,33113.81); h_SL1L362->SetBinContent(44,33176.41); h_SL1L362->SetBinContent(45,31483.66); h_SL1L362->SetBinContent(46,32447.73); h_SL1L362->SetBinContent(47,32305); h_SL1L362->SetBinContent(48,29275.07); h_SL1L362->SetBinContent(49,31095.53); h_SL1L362->SetBinContent(50,29698.26); h_SL1L362->SetBinContent(51,29685.74); h_SL1L362->SetBinContent(52,28331.04); h_SL1L362->SetBinContent(53,29342.68); h_SL1L362->SetBinContent(54,28704.14); h_SL1L362->SetBinContent(55,28906.97); h_SL1L362->SetBinContent(56,29230); h_SL1L362->SetBinContent(57,29262.55); h_SL1L362->SetBinContent(58,27537.25); h_SL1L362->SetBinContent(59,26938.78); h_SL1L362->SetMaximum(132001.6); 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,43112.56); h_SL1L463->SetBinContent(3,41908.1); h_SL1L463->SetBinContent(4,39223.74); h_SL1L463->SetBinContent(5,36326.53); h_SL1L463->SetBinContent(6,37899.09); h_SL1L463->SetBinContent(7,37120.32); h_SL1L463->SetBinContent(8,38775.51); h_SL1L463->SetBinContent(9,39511.71); h_SL1L463->SetBinContent(10,37773.88); h_SL1L463->SetBinContent(11,39416.55); h_SL1L463->SetBinContent(12,38845.62); h_SL1L463->SetBinContent(13,39964.94); h_SL1L463->SetBinContent(14,42691.88); h_SL1L463->SetBinContent(15,41712.78); h_SL1L463->SetBinContent(16,39939.9); h_SL1L463->SetBinContent(17,37205.46); h_SL1L463->SetBinContent(18,36707.15); h_SL1L463->SetBinContent(19,38437.46); h_SL1L463->SetBinContent(20,36990.11); h_SL1L463->SetBinContent(21,37368.22); h_SL1L463->SetBinContent(22,38367.35); h_SL1L463->SetBinContent(23,37796.42); h_SL1L463->SetBinContent(24,37949.17); h_SL1L463->SetBinContent(25,35510.2); h_SL1L463->SetBinContent(26,36524.35); h_SL1L463->SetBinContent(27,34596.22); h_SL1L463->SetBinContent(28,34698.89); h_SL1L463->SetBinContent(29,33737.32); h_SL1L463->SetBinContent(30,34488.54); h_SL1L463->SetBinContent(31,33048.7); h_SL1L463->SetBinContent(32,31859.27); h_SL1L463->SetBinContent(33,32535.37); h_SL1L463->SetBinContent(34,46175.04); h_SL1L463->SetBinContent(35,51789.16); h_SL1L463->SetBinContent(36,51275.82); h_SL1L463->SetBinContent(37,45964.69); h_SL1L463->SetBinContent(38,48423.69); h_SL1L463->SetBinContent(39,47076.5); h_SL1L463->SetBinContent(40,28135.72); h_SL1L463->SetBinContent(41,24472.27); h_SL1L463->SetBinContent(42,24066.61); h_SL1L463->SetBinContent(43,24139.23); h_SL1L463->SetBinContent(44,24259.42); h_SL1L463->SetBinContent(45,21342.18); h_SL1L463->SetBinContent(46,22406.41); h_SL1L463->SetBinContent(47,20851.38); h_SL1L463->SetBinContent(48,20593.46); h_SL1L463->SetBinContent(49,19251.28); h_SL1L463->SetBinContent(50,19681.98); h_SL1L463->SetBinContent(51,20252.91); h_SL1L463->SetBinContent(52,19742.08); h_SL1L463->SetBinContent(53,19927.38); h_SL1L463->SetBinContent(54,20095.15); h_SL1L463->SetBinContent(55,65.1058); h_SL1L463->SetBinContent(56,21993.24); h_SL1L463->SetBinContent(57,23966.45); h_SL1L463->SetBinContent(58,28333.54); h_SL1L463->SetBinContent(59,28831.85); h_SL1L463->SetMaximum(132001.6); 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 6729"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }