void RatesPerCell_Removing_noisy_cells_run_6272_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-38508.62,67.5,346577.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6272",60,0,60); h_SL1L160->SetBinContent(1,126794.9); h_SL1L160->SetBinContent(2,130795.7); h_SL1L160->SetBinContent(3,130620.2); h_SL1L160->SetBinContent(4,121107.9); h_SL1L160->SetBinContent(5,101732.3); h_SL1L160->SetBinContent(6,107333.5); h_SL1L160->SetBinContent(7,105153.4); h_SL1L160->SetBinContent(8,111403.8); h_SL1L160->SetBinContent(9,107202.9); h_SL1L160->SetBinContent(10,110787.3); h_SL1L160->SetBinContent(11,111652.8); h_SL1L160->SetBinContent(12,102491.6); h_SL1L160->SetBinContent(13,102463.1); h_SL1L160->SetBinContent(14,91048.34); h_SL1L160->SetBinContent(15,83173.16); h_SL1L160->SetBinContent(16,80315.4); h_SL1L160->SetBinContent(17,80148.02); h_SL1L160->SetBinContent(18,82385.23); h_SL1L160->SetBinContent(19,84712.27); h_SL1L160->SetBinContent(20,81711.62); h_SL1L160->SetBinContent(21,83663.06); h_SL1L160->SetBinContent(22,80654.25); h_SL1L160->SetBinContent(23,75371.47); h_SL1L160->SetBinContent(24,66712.45); h_SL1L160->SetBinContent(25,63605.65); h_SL1L160->SetBinContent(26,66524.65); h_SL1L160->SetBinContent(27,63577.07); h_SL1L160->SetBinContent(28,67320.74); h_SL1L160->SetBinContent(29,69141.54); h_SL1L160->SetBinContent(30,66304.2); h_SL1L160->SetBinContent(31,66741.02); h_SL1L160->SetBinContent(32,61364.34); h_SL1L160->SetBinContent(33,63842.43); h_SL1L160->SetBinContent(34,63817.94); h_SL1L160->SetBinContent(35,63103.5); h_SL1L160->SetBinContent(36,60837.7); h_SL1L160->SetBinContent(37,61552.14); h_SL1L160->SetBinContent(38,67610.6); h_SL1L160->SetBinContent(39,65230.49); h_SL1L160->SetBinContent(40,60119.18); h_SL1L160->SetBinContent(41,62670.75); h_SL1L160->SetBinContent(42,64246.6); h_SL1L160->SetBinContent(43,64381.32); h_SL1L160->SetBinContent(44,66794.09); h_SL1L160->SetBinContent(45,62474.79); h_SL1L160->SetBinContent(46,58506.58); h_SL1L160->SetBinContent(47,57718.66); h_SL1L160->SetBinContent(48,59367.99); h_SL1L160->SetBinContent(49,65189.66); h_SL1L160->SetBinContent(50,67753.48); h_SL1L160->SetBinContent(51,70774.55); h_SL1L160->SetBinContent(52,70158.09); h_SL1L160->SetBinContent(53,70117.27); h_SL1L160->SetBinContent(54,68447.52); h_SL1L160->SetBinContent(55,71027.66); h_SL1L160->SetBinContent(56,80666.49); h_SL1L160->SetBinContent(57,107737.7); h_SL1L160->SetBinContent(58,126415.2); h_SL1L160->SetBinContent(59,139030.2); h_SL1L160->SetMaximum(308068.9); 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,179369.6); h_SL1L261->SetBinContent(2,188163.3); h_SL1L261->SetBinContent(3,193046); h_SL1L261->SetBinContent(4,199741.3); h_SL1L261->SetBinContent(5,201590.7); h_SL1L261->SetBinContent(6,211303); h_SL1L261->SetBinContent(7,212695.2); h_SL1L261->SetBinContent(8,221317.4); h_SL1L261->SetBinContent(9,220256); h_SL1L261->SetBinContent(10,216055.1); h_SL1L261->SetBinContent(11,227800.5); h_SL1L261->SetBinContent(12,231091); h_SL1L261->SetBinContent(13,230245.9); h_SL1L261->SetBinContent(14,232944.5); h_SL1L261->SetBinContent(15,227923); h_SL1L261->SetBinContent(16,210939.7); h_SL1L261->SetBinContent(17,208343.2); h_SL1L261->SetBinContent(18,220656.1); h_SL1L261->SetBinContent(19,222301.3); h_SL1L261->SetBinContent(20,219476.2); h_SL1L261->SetBinContent(21,222423.8); h_SL1L261->SetBinContent(22,219639.5); h_SL1L261->SetBinContent(23,215859.1); h_SL1L261->SetBinContent(24,207730.8); h_SL1L261->SetBinContent(25,206457.1); h_SL1L261->SetBinContent(26,188751.2); h_SL1L261->SetBinContent(27,191102.7); h_SL1L261->SetBinContent(28,204248.4); h_SL1L261->SetBinContent(29,217908.5); h_SL1L261->SetBinContent(30,225171.3); h_SL1L261->SetBinContent(31,229221.2); h_SL1L261->SetBinContent(32,227314.7); h_SL1L261->SetBinContent(33,229062); h_SL1L261->SetBinContent(34,221705.3); h_SL1L261->SetBinContent(35,208808.6); h_SL1L261->SetBinContent(36,206575.5); h_SL1L261->SetBinContent(37,197953.2); h_SL1L261->SetBinContent(38,203811.6); h_SL1L261->SetBinContent(39,208351.4); h_SL1L261->SetBinContent(40,209265.8); h_SL1L261->SetBinContent(41,211405.1); h_SL1L261->SetBinContent(42,217671.8); h_SL1L261->SetBinContent(43,229290.6); h_SL1L261->SetBinContent(44,230286.7); h_SL1L261->SetBinContent(45,220643.8); h_SL1L261->SetBinContent(46,218190.2); h_SL1L261->SetBinContent(47,216312.3); h_SL1L261->SetBinContent(48,217418.6); h_SL1L261->SetBinContent(49,226641); h_SL1L261->SetBinContent(50,230294.9); h_SL1L261->SetBinContent(51,222962.7); h_SL1L261->SetBinContent(52,224522.2); h_SL1L261->SetBinContent(53,228743.5); h_SL1L261->SetBinContent(54,221652.2); h_SL1L261->SetBinContent(55,224387.5); h_SL1L261->SetBinContent(56,221672.6); h_SL1L261->SetBinContent(57,222085); h_SL1L261->SetBinContent(58,227037); h_SL1L261->SetBinContent(59,225734.7); h_SL1L261->SetMaximum(267886.1); 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,175789.2); h_SL1L362->SetBinContent(2,188289.9); h_SL1L362->SetBinContent(3,191621.2); h_SL1L362->SetBinContent(4,195989.5); h_SL1L362->SetBinContent(5,202991); h_SL1L362->SetBinContent(6,204085.1); h_SL1L362->SetBinContent(7,209347.5); h_SL1L362->SetBinContent(8,216389.8); h_SL1L362->SetBinContent(9,207820.6); h_SL1L362->SetBinContent(10,219574.2); h_SL1L362->SetBinContent(11,225126.4); h_SL1L362->SetBinContent(12,227988.3); h_SL1L362->SetBinContent(13,222395.2); h_SL1L362->SetBinContent(14,225832.7); h_SL1L362->SetBinContent(15,208286); h_SL1L362->SetBinContent(16,202215.3); h_SL1L362->SetBinContent(17,206110.1); h_SL1L362->SetBinContent(18,216361.3); h_SL1L362->SetBinContent(19,214565); h_SL1L362->SetBinContent(20,214295.5); h_SL1L362->SetBinContent(21,215908.1); h_SL1L362->SetBinContent(22,208633); h_SL1L362->SetBinContent(23,204256.6); h_SL1L362->SetBinContent(24,201607); h_SL1L362->SetBinContent(25,189747.3); h_SL1L362->SetBinContent(26,183725.6); h_SL1L362->SetBinContent(27,194389.1); h_SL1L362->SetBinContent(28,210135.4); h_SL1L362->SetBinContent(29,218218.8); h_SL1L362->SetBinContent(30,220656.1); h_SL1L362->SetBinContent(31,222174.8); h_SL1L362->SetBinContent(32,220109); h_SL1L362->SetBinContent(33,219643.6); h_SL1L362->SetBinContent(34,209919); h_SL1L362->SetBinContent(35,200521.1); h_SL1L362->SetBinContent(36,197798); h_SL1L362->SetBinContent(37,192960.3); h_SL1L362->SetBinContent(38,197863.4); h_SL1L362->SetBinContent(39,206567.3); h_SL1L362->SetBinContent(40,201721.3); h_SL1L362->SetBinContent(41,208661.6); h_SL1L362->SetBinContent(42,220354); h_SL1L362->SetBinContent(43,224546.7); h_SL1L362->SetBinContent(44,218133.1); h_SL1L362->SetBinContent(45,215479.4); h_SL1L362->SetBinContent(46,210290.6); h_SL1L362->SetBinContent(47,211478.6); h_SL1L362->SetBinContent(48,215736.6); h_SL1L362->SetBinContent(49,222280.9); h_SL1L362->SetBinContent(50,220341.7); h_SL1L362->SetBinContent(51,213299.4); h_SL1L362->SetBinContent(52,219223.1); h_SL1L362->SetBinContent(53,215875.4); h_SL1L362->SetBinContent(54,213634.1); h_SL1L362->SetBinContent(55,216826.7); h_SL1L362->SetBinContent(56,211948.1); h_SL1L362->SetBinContent(57,218908.8); h_SL1L362->SetBinContent(58,221178.6); h_SL1L362->SetBinContent(59,219076.1); h_SL1L362->SetMaximum(267886.1); 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,111612); h_SL1L463->SetBinContent(3,102789.7); h_SL1L463->SetBinContent(4,98229.49); h_SL1L463->SetBinContent(5,89741.94); h_SL1L463->SetBinContent(6,88537.59); h_SL1L463->SetBinContent(7,86186.06); h_SL1L463->SetBinContent(8,94959.39); h_SL1L463->SetBinContent(9,102495.7); h_SL1L463->SetBinContent(10,120565); h_SL1L463->SetBinContent(11,139422.1); h_SL1L463->SetBinContent(12,145158); h_SL1L463->SetBinContent(13,145247.9); h_SL1L463->SetBinContent(14,148207.7); h_SL1L463->SetBinContent(15,139164.9); h_SL1L463->SetBinContent(16,124002.4); h_SL1L463->SetBinContent(17,111567.1); h_SL1L463->SetBinContent(18,113049); h_SL1L463->SetBinContent(19,108982.8); h_SL1L463->SetBinContent(20,103949.1); h_SL1L463->SetBinContent(21,102369.2); h_SL1L463->SetBinContent(22,99576.72); h_SL1L463->SetBinContent(23,97016.98); h_SL1L463->SetBinContent(24,95563.61); h_SL1L463->SetBinContent(25,84606.12); h_SL1L463->SetBinContent(26,85300.16); h_SL1L463->SetBinContent(27,85634.92); h_SL1L463->SetBinContent(28,88790.7); h_SL1L463->SetBinContent(29,84920.48); h_SL1L463->SetBinContent(30,86361.61); h_SL1L463->SetBinContent(31,84332.59); h_SL1L463->SetBinContent(32,78747.71); h_SL1L463->SetBinContent(33,70292.81); h_SL1L463->SetBinContent(34,68868.02); h_SL1L463->SetBinContent(35,68790.45); h_SL1L463->SetBinContent(36,57559.44); h_SL1L463->SetBinContent(37,48381.93); h_SL1L463->SetBinContent(38,53632.05); h_SL1L463->SetBinContent(39,61025.5); h_SL1L463->SetBinContent(40,51207.04); h_SL1L463->SetBinContent(41,49545.45); h_SL1L463->SetBinContent(42,53203.39); h_SL1L463->SetBinContent(43,56036.66); h_SL1L463->SetBinContent(44,53942.32); h_SL1L463->SetBinContent(45,46120.22); h_SL1L463->SetBinContent(46,47010.21); h_SL1L463->SetBinContent(47,46385.58); h_SL1L463->SetBinContent(48,46022.24); h_SL1L463->SetBinContent(49,46054.9); h_SL1L463->SetBinContent(50,49578.11); h_SL1L463->SetBinContent(51,50223.15); h_SL1L463->SetBinContent(52,52697.16); h_SL1L463->SetBinContent(53,52901.28); h_SL1L463->SetBinContent(54,54844.56); h_SL1L463->SetBinContent(56,65357.05); h_SL1L463->SetBinContent(57,80490.95); h_SL1L463->SetBinContent(58,112195.8); h_SL1L463->SetBinContent(59,127582.8); h_SL1L463->SetMaximum(267886.1); 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 6272"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }