void RatesPerCell_Removing_noisy_cells_run_6271_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:26 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-38840.68,67.5,349566.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6271",60,0,60); h_SL1L160->SetBinContent(1,150358.5); h_SL1L160->SetBinContent(2,154916.6); h_SL1L160->SetBinContent(3,157398.9); h_SL1L160->SetBinContent(4,150761); h_SL1L160->SetBinContent(5,132777.2); h_SL1L160->SetBinContent(6,136352.7); h_SL1L160->SetBinContent(7,136431.6); h_SL1L160->SetBinContent(8,145784.6); h_SL1L160->SetBinContent(9,140839.7); h_SL1L160->SetBinContent(10,143014.2); h_SL1L160->SetBinContent(11,144746.7); h_SL1L160->SetBinContent(12,135476.5); h_SL1L160->SetBinContent(13,132023.4); h_SL1L160->SetBinContent(14,121869.3); h_SL1L160->SetBinContent(15,108100.3); h_SL1L160->SetBinContent(16,107358.3); h_SL1L160->SetBinContent(17,107090); h_SL1L160->SetBinContent(18,109154); h_SL1L160->SetBinContent(19,111742.8); h_SL1L160->SetBinContent(20,108384.4); h_SL1L160->SetBinContent(21,111640.2); h_SL1L160->SetBinContent(22,109371); h_SL1L160->SetBinContent(23,99477.34); h_SL1L160->SetBinContent(24,89114.05); h_SL1L160->SetBinContent(25,84457.27); h_SL1L160->SetBinContent(26,88454.99); h_SL1L160->SetBinContent(27,84701.95); h_SL1L160->SetBinContent(28,89721.79); h_SL1L160->SetBinContent(29,92267.23); h_SL1L160->SetBinContent(30,88454.99); h_SL1L160->SetBinContent(31,89532.37); h_SL1L160->SetBinContent(32,82748.48); h_SL1L160->SetBinContent(33,86402.86); h_SL1L160->SetBinContent(34,84915.05); h_SL1L160->SetBinContent(35,85313.65); h_SL1L160->SetBinContent(36,81840.8); h_SL1L160->SetBinContent(37,81335.66); h_SL1L160->SetBinContent(38,89279.8); h_SL1L160->SetBinContent(39,86379.18); h_SL1L160->SetBinContent(40,81734.24); h_SL1L160->SetBinContent(41,85854.3); h_SL1L160->SetBinContent(42,88155.06); h_SL1L160->SetBinContent(43,87255.28); h_SL1L160->SetBinContent(44,89662.59); h_SL1L160->SetBinContent(45,84942.68); h_SL1L160->SetBinContent(46,78360.05); h_SL1L160->SetBinContent(47,77764.15); h_SL1L160->SetBinContent(48,80147.78); h_SL1L160->SetBinContent(49,85739.86); h_SL1L160->SetBinContent(50,92677.66); h_SL1L160->SetBinContent(51,94998.15); h_SL1L160->SetBinContent(52,92476.39); h_SL1L160->SetBinContent(53,91580.55); h_SL1L160->SetBinContent(54,91801.55); h_SL1L160->SetBinContent(55,93451.16); h_SL1L160->SetBinContent(56,105460.1); h_SL1L160->SetBinContent(57,137512.9); h_SL1L160->SetBinContent(58,158728.8); h_SL1L160->SetBinContent(59,170473.4); h_SL1L160->SetMaximum(310725.4); 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,183141.4); h_SL1L261->SetBinContent(2,190497.5); h_SL1L261->SetBinContent(3,196578.9); h_SL1L261->SetBinContent(4,201610.6); h_SL1L261->SetBinContent(5,204310); h_SL1L261->SetBinContent(6,215016.6); h_SL1L261->SetBinContent(7,216196.6); h_SL1L261->SetBinContent(8,226161.3); h_SL1L261->SetBinContent(9,226595.4); h_SL1L261->SetBinContent(10,219298.5); h_SL1L261->SetBinContent(11,232720.2); h_SL1L261->SetBinContent(12,234953.9); h_SL1L261->SetBinContent(13,234358); h_SL1L261->SetBinContent(14,234914.4); h_SL1L261->SetBinContent(15,234156.7); h_SL1L261->SetBinContent(16,215869); h_SL1L261->SetBinContent(17,213161.8); h_SL1L261->SetBinContent(18,226252); h_SL1L261->SetBinContent(19,226177.1); h_SL1L261->SetBinContent(20,223679); h_SL1L261->SetBinContent(21,228035.8); h_SL1L261->SetBinContent(22,223761.8); h_SL1L261->SetBinContent(23,219002.5); h_SL1L261->SetBinContent(24,210572.9); h_SL1L261->SetBinContent(25,210348); h_SL1L261->SetBinContent(26,194151.9); h_SL1L261->SetBinContent(27,193777); h_SL1L261->SetBinContent(28,210569); h_SL1L261->SetBinContent(29,224626.1); h_SL1L261->SetBinContent(30,230455); h_SL1L261->SetBinContent(31,232108.5); h_SL1L261->SetBinContent(32,233166.2); h_SL1L261->SetBinContent(33,233848.9); h_SL1L261->SetBinContent(34,227566.2); h_SL1L261->SetBinContent(35,212423.8); h_SL1L261->SetBinContent(36,210924.2); h_SL1L261->SetBinContent(37,200699); h_SL1L261->SetBinContent(38,207100.1); h_SL1L261->SetBinContent(39,211093.8); h_SL1L261->SetBinContent(40,213738); h_SL1L261->SetBinContent(41,214203.6); h_SL1L261->SetBinContent(42,221196.7); h_SL1L261->SetBinContent(43,232787.3); h_SL1L261->SetBinContent(44,234571.1); h_SL1L261->SetBinContent(45,226832.2); h_SL1L261->SetBinContent(46,223327.8); h_SL1L261->SetBinContent(47,220727); h_SL1L261->SetBinContent(48,227021.6); h_SL1L261->SetBinContent(49,231962.5); h_SL1L261->SetBinContent(50,234243.5); h_SL1L261->SetBinContent(51,226050.8); h_SL1L261->SetBinContent(52,228485.7); h_SL1L261->SetBinContent(53,232053.3); h_SL1L261->SetBinContent(54,227755.6); h_SL1L261->SetBinContent(55,231062.7); h_SL1L261->SetBinContent(56,226378.3); h_SL1L261->SetBinContent(57,226512.5); h_SL1L261->SetBinContent(58,231713.9); h_SL1L261->SetBinContent(59,232767.6); h_SL1L261->SetMaximum(270197); 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,178796.4); h_SL1L362->SetBinContent(2,189132); h_SL1L362->SetBinContent(3,193998); h_SL1L362->SetBinContent(4,198800.8); h_SL1L362->SetBinContent(5,204755.9); h_SL1L362->SetBinContent(6,206018.8); h_SL1L362->SetBinContent(7,214606.2); h_SL1L362->SetBinContent(8,222937); h_SL1L362->SetBinContent(9,212254.1); h_SL1L362->SetBinContent(10,220458.7); h_SL1L362->SetBinContent(11,229835.4); h_SL1L362->SetBinContent(12,230498.4); h_SL1L362->SetBinContent(13,225289.1); h_SL1L362->SetBinContent(14,230589.2); h_SL1L362->SetBinContent(15,213801.1); h_SL1L362->SetBinContent(16,207617.1); h_SL1L362->SetBinContent(17,211287.2); h_SL1L362->SetBinContent(18,220782.3); h_SL1L362->SetBinContent(19,216942.4); h_SL1L362->SetBinContent(20,221054.6); h_SL1L362->SetBinContent(21,218974.8); h_SL1L362->SetBinContent(22,212711.9); h_SL1L362->SetBinContent(23,206989.6); h_SL1L362->SetBinContent(24,206370); h_SL1L362->SetBinContent(25,194337.4); h_SL1L362->SetBinContent(26,186322.2); h_SL1L362->SetBinContent(27,196634.2); h_SL1L362->SetBinContent(28,214254.9); h_SL1L362->SetBinContent(29,222313.5); h_SL1L362->SetBinContent(30,223943.4); h_SL1L362->SetBinContent(31,224641.9); h_SL1L362->SetBinContent(32,226832.2); h_SL1L362->SetBinContent(33,222751.6); h_SL1L362->SetBinContent(34,213224.9); h_SL1L362->SetBinContent(35,204759.8); h_SL1L362->SetBinContent(36,200521.4); h_SL1L362->SetBinContent(37,195612.1); h_SL1L362->SetBinContent(38,201646.1); h_SL1L362->SetBinContent(39,207822.3); h_SL1L362->SetBinContent(40,206168.7); h_SL1L362->SetBinContent(41,211630.6); h_SL1L362->SetBinContent(42,222195.1); h_SL1L362->SetBinContent(43,226188.9); h_SL1L362->SetBinContent(44,222191.2); h_SL1L362->SetBinContent(45,214724.5); h_SL1L362->SetBinContent(46,215229.7); h_SL1L362->SetBinContent(47,216168.9); h_SL1L362->SetBinContent(48,221670.2); h_SL1L362->SetBinContent(49,226500.7); h_SL1L362->SetBinContent(50,226342.8); h_SL1L362->SetBinContent(51,217084.5); h_SL1L362->SetBinContent(52,223150.2); h_SL1L362->SetBinContent(53,221319); h_SL1L362->SetBinContent(54,221413.7); h_SL1L362->SetBinContent(55,220569.2); h_SL1L362->SetBinContent(56,217021.4); h_SL1L362->SetBinContent(57,223371.2); h_SL1L362->SetBinContent(58,223485.6); h_SL1L362->SetBinContent(59,223635.6); h_SL1L362->SetMaximum(270197); 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,137039.3); h_SL1L463->SetBinContent(3,128870.2); h_SL1L463->SetBinContent(4,122200.8); h_SL1L463->SetBinContent(5,114876.3); h_SL1L463->SetBinContent(6,112078.2); h_SL1L463->SetBinContent(7,108917.2); h_SL1L463->SetBinContent(8,120638); h_SL1L463->SetBinContent(9,129020.2); h_SL1L463->SetBinContent(10,149036.4); h_SL1L463->SetBinContent(11,166886.1); h_SL1L463->SetBinContent(12,174782.9); h_SL1L463->SetBinContent(13,174226.4); h_SL1L463->SetBinContent(14,178097.9); h_SL1L463->SetBinContent(15,165804.8); h_SL1L463->SetBinContent(16,150705.8); h_SL1L463->SetBinContent(17,139971.5); h_SL1L463->SetBinContent(18,141996); h_SL1L463->SetBinContent(19,137023.5); h_SL1L463->SetBinContent(20,132205); h_SL1L463->SetBinContent(21,130235.7); h_SL1L463->SetBinContent(22,128538.8); h_SL1L463->SetBinContent(23,123432.1); h_SL1L463->SetBinContent(24,123254.5); h_SL1L463->SetBinContent(25,109966.9); h_SL1L463->SetBinContent(26,108933); h_SL1L463->SetBinContent(27,108877.7); h_SL1L463->SetBinContent(28,115511.6); h_SL1L463->SetBinContent(29,112299.2); h_SL1L463->SetBinContent(30,115416.9); h_SL1L463->SetBinContent(31,110294.5); h_SL1L463->SetBinContent(32,104840.5); h_SL1L463->SetBinContent(33,93758.98); h_SL1L463->SetBinContent(34,90542.65); h_SL1L463->SetBinContent(35,87661.77); h_SL1L463->SetBinContent(36,75869.87); h_SL1L463->SetBinContent(37,66157.73); h_SL1L463->SetBinContent(38,71730.08); h_SL1L463->SetBinContent(39,80234.61); h_SL1L463->SetBinContent(40,69456.94); h_SL1L463->SetBinContent(41,67688.95); h_SL1L463->SetBinContent(42,72641.7); h_SL1L463->SetBinContent(43,74500.46); h_SL1L463->SetBinContent(44,71789.27); h_SL1L463->SetBinContent(45,62108.71); h_SL1L463->SetBinContent(46,66122.22); h_SL1L463->SetBinContent(47,62590.18); h_SL1L463->SetBinContent(48,62274.46); h_SL1L463->SetBinContent(49,60660.38); h_SL1L463->SetBinContent(50,67874.43); h_SL1L463->SetBinContent(51,66982.54); h_SL1L463->SetBinContent(52,70838.19); h_SL1L463->SetBinContent(53,70676.38); h_SL1L463->SetBinContent(54,73600.68); h_SL1L463->SetBinContent(56,86580.45); h_SL1L463->SetBinContent(57,103664.5); h_SL1L463->SetBinContent(58,139892.6); h_SL1L463->SetBinContent(59,152971); h_SL1L463->SetMaximum(270197); 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 6271"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }