void RatesPerCell_Removing_noisy_cells_run_6621_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:53:31 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-22096.53,67.5,198868.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 6621",60,0,60); h_SL1L160->SetBinContent(1,68104.19); h_SL1L160->SetBinContent(2,64807.55); h_SL1L160->SetBinContent(3,65557.64); h_SL1L160->SetBinContent(4,63697.42); h_SL1L160->SetBinContent(5,59249.4); h_SL1L160->SetBinContent(6,62369.77); h_SL1L160->SetBinContent(7,59178.14); h_SL1L160->SetBinContent(8,58874.36); h_SL1L160->SetBinContent(9,53061.18); h_SL1L160->SetBinContent(10,48823.19); h_SL1L160->SetBinContent(11,47188); h_SL1L160->SetBinContent(12,48706.93); h_SL1L160->SetBinContent(13,51624.77); h_SL1L160->SetBinContent(14,50222.1); h_SL1L160->SetBinContent(15,49824.55); h_SL1L160->SetBinContent(16,47424.28); h_SL1L160->SetBinContent(17,48466.9); h_SL1L160->SetBinContent(18,50229.6); h_SL1L160->SetBinContent(19,53323.71); h_SL1L160->SetBinContent(20,50237.11); h_SL1L160->SetBinContent(21,55138.93); h_SL1L160->SetBinContent(22,54220.07); h_SL1L160->SetBinContent(23,53923.79); h_SL1L160->SetBinContent(24,48976.96); h_SL1L160->SetBinContent(25,50664.65); h_SL1L160->SetBinContent(26,49708.29); h_SL1L160->SetBinContent(27,49089.47); h_SL1L160->SetBinContent(28,48984.46); h_SL1L160->SetBinContent(29,47799.32); h_SL1L160->SetBinContent(30,48189.37); h_SL1L160->SetBinContent(31,46936.72); h_SL1L160->SetBinContent(32,44536.44); h_SL1L160->SetBinContent(33,57632.96); h_SL1L160->SetBinContent(34,71408.32); h_SL1L160->SetBinContent(35,75046.24); h_SL1L160->SetBinContent(36,73069.77); h_SL1L160->SetBinContent(37,81872.04); h_SL1L160->SetBinContent(38,83387.22); h_SL1L160->SetBinContent(39,62137.24); h_SL1L160->SetBinContent(40,43276.29); h_SL1L160->SetBinContent(41,41487.34); h_SL1L160->SetBinContent(42,42244.92); h_SL1L160->SetBinContent(43,42229.92); h_SL1L160->SetBinContent(44,41581.09); h_SL1L160->SetBinContent(45,37388.11); h_SL1L160->SetBinContent(46,36199.22); h_SL1L160->SetBinContent(47,34826.56); h_SL1L160->SetBinContent(48,32917.59); h_SL1L160->SetBinContent(49,33555.16); h_SL1L160->SetBinContent(50,35415.38); h_SL1L160->SetBinContent(51,32925.09); h_SL1L160->SetBinContent(52,32381.27); h_SL1L160->SetBinContent(53,33513.91); h_SL1L160->SetBinContent(54,33082.61); h_SL1L160->SetBinContent(55,34819.06); h_SL1L160->SetBinContent(56,36154.21); h_SL1L160->SetBinContent(57,40433.46); h_SL1L160->SetBinContent(58,43325.05); h_SL1L160->SetBinContent(59,45822.84); h_SL1L160->SetMaximum(176772.2); 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,74588.7); h_SL1L261->SetBinContent(2,69465.59); h_SL1L261->SetBinContent(3,70684.48); h_SL1L261->SetBinContent(4,70324.45); h_SL1L261->SetBinContent(5,69439.34); h_SL1L261->SetBinContent(6,76336.4); h_SL1L261->SetBinContent(7,73324.8); h_SL1L261->SetBinContent(8,73527.32); h_SL1L261->SetBinContent(9,70875.76); h_SL1L261->SetBinContent(10,62257.25); h_SL1L261->SetBinContent(11,60010.74); h_SL1L261->SetBinContent(12,61739.7); h_SL1L261->SetBinContent(13,65017.58); h_SL1L261->SetBinContent(14,68730.51); h_SL1L261->SetBinContent(15,69304.33); h_SL1L261->SetBinContent(16,68854.27); h_SL1L261->SetBinContent(17,66754.03); h_SL1L261->SetBinContent(18,68284.2); h_SL1L261->SetBinContent(19,72555.95); h_SL1L261->SetBinContent(20,72717.23); h_SL1L261->SetBinContent(21,74007.38); h_SL1L261->SetBinContent(22,76733.95); h_SL1L261->SetBinContent(23,78076.6); h_SL1L261->SetBinContent(24,78755.43); h_SL1L261->SetBinContent(25,78759.18); h_SL1L261->SetBinContent(26,76621.43); h_SL1L261->SetBinContent(27,73459.81); h_SL1L261->SetBinContent(28,75455.04); h_SL1L261->SetBinContent(29,75826.34); h_SL1L261->SetBinContent(30,74989.98); h_SL1L261->SetBinContent(31,74206.15); h_SL1L261->SetBinContent(32,75653.81); h_SL1L261->SetBinContent(33,81286.97); h_SL1L261->SetBinContent(34,109362.7); h_SL1L261->SetBinContent(35,120325.3); h_SL1L261->SetBinContent(36,129191.3); h_SL1L261->SetBinContent(37,133665.6); h_SL1L261->SetBinContent(38,130939); h_SL1L261->SetBinContent(39,116518.6); h_SL1L261->SetBinContent(40,76501.41); h_SL1L261->SetBinContent(41,66037.7); h_SL1L261->SetBinContent(42,63217.37); h_SL1L261->SetBinContent(43,60922.1); h_SL1L261->SetBinContent(44,61117.12); h_SL1L261->SetBinContent(45,60858.34); h_SL1L261->SetBinContent(46,60254.52); h_SL1L261->SetBinContent(47,60813.34); h_SL1L261->SetBinContent(48,61195.88); h_SL1L261->SetBinContent(49,65332.61); h_SL1L261->SetBinContent(50,57359.18); h_SL1L261->SetBinContent(51,55150.18); h_SL1L261->SetBinContent(52,52389.86); h_SL1L261->SetBinContent(53,54696.38); h_SL1L261->SetBinContent(54,55333.95); h_SL1L261->SetBinContent(55,55517.72); h_SL1L261->SetBinContent(56,59515.68); h_SL1L261->SetBinContent(57,54516.35); h_SL1L261->SetBinContent(58,53469.98); h_SL1L261->SetBinContent(59,51125.96); h_SL1L261->SetMaximum(153715.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,69533.1); h_SL1L362->SetBinContent(2,66529); h_SL1L362->SetBinContent(3,68858.02); h_SL1L362->SetBinContent(4,66787.78); h_SL1L362->SetBinContent(5,72379.69); h_SL1L362->SetBinContent(6,72158.41); h_SL1L362->SetBinContent(7,70695.73); h_SL1L362->SetBinContent(8,70046.91); h_SL1L362->SetBinContent(9,64781.3); h_SL1L362->SetBinContent(10,58604.33); h_SL1L362->SetBinContent(11,58353.05); h_SL1L362->SetBinContent(12,60944.6); h_SL1L362->SetBinContent(13,65010.07); h_SL1L362->SetBinContent(14,67747.89); h_SL1L362->SetBinContent(15,67335.34); h_SL1L362->SetBinContent(16,64199.98); h_SL1L362->SetBinContent(17,65415.12); h_SL1L362->SetBinContent(18,67995.42); h_SL1L362->SetBinContent(19,70193.18); h_SL1L362->SetBinContent(20,69769.38); h_SL1L362->SetBinContent(21,75237.52); h_SL1L362->SetBinContent(22,74224.9); h_SL1L362->SetBinContent(23,75597.56); h_SL1L362->SetBinContent(24,76265.14); h_SL1L362->SetBinContent(25,76493.91); h_SL1L362->SetBinContent(26,69859.39); h_SL1L362->SetBinContent(27,70935.77); h_SL1L362->SetBinContent(28,72604.71); h_SL1L362->SetBinContent(29,71839.62); h_SL1L362->SetBinContent(30,72402.19); h_SL1L362->SetBinContent(31,71659.6); h_SL1L362->SetBinContent(32,72705.97); h_SL1L362->SetBinContent(33,94818.55); h_SL1L362->SetBinContent(34,112663.1); h_SL1L362->SetBinContent(35,123183.1); h_SL1L362->SetBinContent(36,129536.3); h_SL1L362->SetBinContent(37,132930.5); h_SL1L362->SetBinContent(38,123111.8); h_SL1L362->SetBinContent(39,95609.89); h_SL1L362->SetBinContent(40,66937.8); h_SL1L362->SetBinContent(41,62193.5); h_SL1L362->SetBinContent(42,61060.86); h_SL1L362->SetBinContent(43,59976.99); h_SL1L362->SetBinContent(44,58536.82); h_SL1L362->SetBinContent(45,57464.2); h_SL1L362->SetBinContent(46,57197.91); h_SL1L362->SetBinContent(47,58908.11); h_SL1L362->SetBinContent(48,56474.08); h_SL1L362->SetBinContent(49,55521.47); h_SL1L362->SetBinContent(50,55135.18); h_SL1L362->SetBinContent(51,51699.77); h_SL1L362->SetBinContent(52,51782.29); h_SL1L362->SetBinContent(53,55258.94); h_SL1L362->SetBinContent(54,53124.94); h_SL1L362->SetBinContent(55,54707.62); h_SL1L362->SetBinContent(56,56601.59); h_SL1L362->SetBinContent(57,53049.93); h_SL1L362->SetBinContent(58,50664.65); h_SL1L362->SetBinContent(59,49899.57); h_SL1L362->SetMaximum(153715.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,64781.3); h_SL1L463->SetBinContent(3,65212.6); h_SL1L463->SetBinContent(4,64616.28); h_SL1L463->SetBinContent(5,62561.04); h_SL1L463->SetBinContent(6,65358.87); h_SL1L463->SetBinContent(7,63547.41); h_SL1L463->SetBinContent(8,64327.5); h_SL1L463->SetBinContent(9,63247.37); h_SL1L463->SetBinContent(10,58131.77); h_SL1L463->SetBinContent(11,55333.95); h_SL1L463->SetBinContent(12,57299.18); h_SL1L463->SetBinContent(13,60787.08); h_SL1L463->SetBinContent(14,63521.15); h_SL1L463->SetBinContent(15,63517.4); h_SL1L463->SetBinContent(16,63483.65); h_SL1L463->SetBinContent(17,60547.05); h_SL1L463->SetBinContent(18,61312.14); h_SL1L463->SetBinContent(19,64259.99); h_SL1L463->SetBinContent(20,63671.17); h_SL1L463->SetBinContent(21,66075.2); h_SL1L463->SetBinContent(22,66378.98); h_SL1L463->SetBinContent(23,66727.77); h_SL1L463->SetBinContent(24,67414.1); h_SL1L463->SetBinContent(25,65778.91); h_SL1L463->SetBinContent(26,65175.09); h_SL1L463->SetBinContent(27,62189.75); h_SL1L463->SetBinContent(28,62294.76); h_SL1L463->SetBinContent(29,63832.44); h_SL1L463->SetBinContent(30,64818.8); h_SL1L463->SetBinContent(31,63123.61); h_SL1L463->SetBinContent(32,63059.85); h_SL1L463->SetBinContent(33,66123.95); h_SL1L463->SetBinContent(34,94514.77); h_SL1L463->SetBinContent(35,106422.4); h_SL1L463->SetBinContent(36,113004.4); h_SL1L463->SetBinContent(37,115277.2); h_SL1L463->SetBinContent(38,113053.2); h_SL1L463->SetBinContent(39,102998.2); h_SL1L463->SetBinContent(40,62159.74); h_SL1L463->SetBinContent(41,52562.38); h_SL1L463->SetBinContent(42,51549.76); h_SL1L463->SetBinContent(43,50953.44); h_SL1L463->SetBinContent(44,50619.65); h_SL1L463->SetBinContent(45,46404.16); h_SL1L463->SetBinContent(46,48463.15); h_SL1L463->SetBinContent(47,47604.3); h_SL1L463->SetBinContent(48,46981.72); h_SL1L463->SetBinContent(49,43925.12); h_SL1L463->SetBinContent(50,44626.45); h_SL1L463->SetBinContent(51,41191.05); h_SL1L463->SetBinContent(52,39012.05); h_SL1L463->SetBinContent(53,39705.88); h_SL1L463->SetBinContent(54,41532.34); h_SL1L463->SetBinContent(55,3.750437); h_SL1L463->SetBinContent(56,43445.06); h_SL1L463->SetBinContent(57,43913.87); h_SL1L463->SetBinContent(58,48088.1); h_SL1L463->SetBinContent(59,46839.21); h_SL1L463->SetMaximum(153715.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.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("SL1, run 6621"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }