void RatesPerCell_Removing_noisy_cells_run_7571_SL2() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 21:51:11 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-24774.31,67.5,222968.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7571",60,0,60); h_SL2L164->SetBinContent(1,96135.71); h_SL2L164->SetBinContent(2,120500); h_SL2L164->SetBinContent(3,145314.3); h_SL2L164->SetBinContent(4,149864.3); h_SL2L164->SetBinContent(5,148978.6); h_SL2L164->SetBinContent(6,139535.7); h_SL2L164->SetBinContent(7,127442.9); h_SL2L164->SetBinContent(8,122207.1); h_SL2L164->SetBinContent(9,134914.3); h_SL2L164->SetBinContent(10,137892.9); h_SL2L164->SetBinContent(11,140971.4); h_SL2L164->SetBinContent(12,141614.3); h_SL2L164->SetBinContent(13,140328.6); h_SL2L164->SetBinContent(14,139314.3); h_SL2L164->SetBinContent(15,138800); h_SL2L164->SetBinContent(16,137592.9); h_SL2L164->SetBinContent(17,134714.3); h_SL2L164->SetBinContent(18,130450); h_SL2L164->SetBinContent(19,130250); h_SL2L164->SetBinContent(20,125742.9); h_SL2L164->SetBinContent(21,120921.4); h_SL2L164->SetBinContent(22,114221.4); h_SL2L164->SetBinContent(23,105228.6); h_SL2L164->SetBinContent(24,101107.1); h_SL2L164->SetBinContent(25,94814.28); h_SL2L164->SetBinContent(26,89135.71); h_SL2L164->SetBinContent(27,89085.71); h_SL2L164->SetBinContent(28,87864.28); h_SL2L164->SetBinContent(29,89757.14); h_SL2L164->SetBinContent(30,85071.43); h_SL2L164->SetBinContent(31,83657.14); h_SL2L164->SetBinContent(32,88642.86); h_SL2L164->SetBinContent(33,91864.28); h_SL2L164->SetBinContent(34,93100); h_SL2L164->SetBinContent(36,90578.57); h_SL2L164->SetBinContent(37,101150); h_SL2L164->SetBinContent(38,97685.71); h_SL2L164->SetBinContent(39,98285.71); h_SL2L164->SetBinContent(40,98221.43); h_SL2L164->SetBinContent(41,120578.6); h_SL2L164->SetBinContent(42,102778.6); h_SL2L164->SetBinContent(43,101864.3); h_SL2L164->SetBinContent(44,98250); h_SL2L164->SetBinContent(45,87842.86); h_SL2L164->SetBinContent(46,84307.14); h_SL2L164->SetBinContent(47,80192.86); h_SL2L164->SetBinContent(48,77707.14); h_SL2L164->SetBinContent(49,79221.43); h_SL2L164->SetBinContent(50,77828.57); h_SL2L164->SetBinContent(51,84921.43); h_SL2L164->SetBinContent(52,98535.71); h_SL2L164->SetBinContent(53,110921.4); h_SL2L164->SetBinContent(54,115121.4); h_SL2L164->SetBinContent(55,115978.6); h_SL2L164->SetBinContent(56,98250); h_SL2L164->SetBinContent(57,80442.86); h_SL2L164->SetMaximum(198194.4); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,79335.71); h_SL2L265->SetBinContent(2,115028.6); h_SL2L265->SetBinContent(3,127392.9); h_SL2L265->SetBinContent(4,146357.1); h_SL2L265->SetBinContent(5,146321.4); h_SL2L265->SetBinContent(6,139250); h_SL2L265->SetBinContent(7,132628.6); h_SL2L265->SetBinContent(8,113821.4); h_SL2L265->SetBinContent(9,126150); h_SL2L265->SetBinContent(10,130257.1); h_SL2L265->SetBinContent(11,135892.9); h_SL2L265->SetBinContent(12,138592.9); h_SL2L265->SetBinContent(13,135321.4); h_SL2L265->SetBinContent(14,135371.4); h_SL2L265->SetBinContent(15,135307.1); h_SL2L265->SetBinContent(16,133435.7); h_SL2L265->SetBinContent(17,133014.3); h_SL2L265->SetBinContent(18,130435.7); h_SL2L265->SetBinContent(19,123985.7); h_SL2L265->SetBinContent(20,123085.7); h_SL2L265->SetBinContent(21,120878.6); h_SL2L265->SetBinContent(22,112428.6); h_SL2L265->SetBinContent(23,104307.1); h_SL2L265->SetBinContent(24,97007.14); h_SL2L265->SetBinContent(25,92821.43); h_SL2L265->SetBinContent(26,88850); h_SL2L265->SetBinContent(27,83778.57); h_SL2L265->SetBinContent(28,86442.86); h_SL2L265->SetBinContent(29,86528.57); h_SL2L265->SetBinContent(30,84721.43); h_SL2L265->SetBinContent(31,78264.28); h_SL2L265->SetBinContent(32,84764.28); h_SL2L265->SetBinContent(33,86600); h_SL2L265->SetBinContent(34,89142.86); h_SL2L265->SetBinContent(35,89700); h_SL2L265->SetBinContent(36,88457.14); h_SL2L265->SetBinContent(37,91285.71); h_SL2L265->SetBinContent(38,92800); h_SL2L265->SetBinContent(39,93971.43); h_SL2L265->SetBinContent(40,93464.28); h_SL2L265->SetBinContent(41,91707.14); h_SL2L265->SetBinContent(42,89728.57); h_SL2L265->SetBinContent(43,89564.28); h_SL2L265->SetBinContent(44,90257.14); h_SL2L265->SetBinContent(45,86764.28); h_SL2L265->SetBinContent(46,82350); h_SL2L265->SetBinContent(47,79307.14); h_SL2L265->SetBinContent(48,76685.71); h_SL2L265->SetBinContent(49,76128.57); h_SL2L265->SetBinContent(50,78150); h_SL2L265->SetBinContent(51,75035.71); h_SL2L265->SetBinContent(52,87978.57); h_SL2L265->SetBinContent(53,98178.57); h_SL2L265->SetBinContent(54,107892.9); h_SL2L265->SetBinContent(55,113671.4); h_SL2L265->SetBinContent(56,99635.71); h_SL2L265->SetBinContent(57,92050); h_SL2L265->SetMaximum(172343.9); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,91828.57); h_SL2L366->SetBinContent(2,112607.1); h_SL2L366->SetBinContent(3,139364.3); h_SL2L366->SetBinContent(4,140878.6); h_SL2L366->SetBinContent(5,138428.6); h_SL2L366->SetBinContent(6,131707.1); h_SL2L366->SetBinContent(7,114992.9); h_SL2L366->SetBinContent(8,115578.6); h_SL2L366->SetBinContent(9,125628.6); h_SL2L366->SetBinContent(10,128321.4); h_SL2L366->SetBinContent(11,131785.7); h_SL2L366->SetBinContent(12,131257.1); h_SL2L366->SetBinContent(13,131928.6); h_SL2L366->SetBinContent(14,131921.4); h_SL2L366->SetBinContent(15,128428.6); h_SL2L366->SetBinContent(16,127292.9); h_SL2L366->SetBinContent(17,125128.6); h_SL2L366->SetBinContent(18,122707.1); h_SL2L366->SetBinContent(19,119685.7); h_SL2L366->SetBinContent(20,115614.3); h_SL2L366->SetBinContent(21,110914.3); h_SL2L366->SetBinContent(22,106107.1); h_SL2L366->SetBinContent(23,97378.57); h_SL2L366->SetBinContent(24,91278.57); h_SL2L366->SetBinContent(25,87242.86); h_SL2L366->SetBinContent(26,83928.57); h_SL2L366->SetBinContent(27,82928.57); h_SL2L366->SetBinContent(28,82550); h_SL2L366->SetBinContent(29,83542.86); h_SL2L366->SetBinContent(30,78378.57); h_SL2L366->SetBinContent(31,77021.43); h_SL2L366->SetBinContent(32,83214.28); h_SL2L366->SetBinContent(33,84807.14); h_SL2L366->SetBinContent(34,86421.43); h_SL2L366->SetBinContent(35,84071.43); h_SL2L366->SetBinContent(36,86771.43); h_SL2L366->SetBinContent(37,88471.43); h_SL2L366->SetBinContent(38,88850); h_SL2L366->SetBinContent(39,90078.57); h_SL2L366->SetBinContent(40,88907.14); h_SL2L366->SetBinContent(41,88271.43); h_SL2L366->SetBinContent(42,86342.86); h_SL2L366->SetBinContent(43,86400); h_SL2L366->SetBinContent(44,85535.71); h_SL2L366->SetBinContent(45,80828.57); h_SL2L366->SetBinContent(46,78035.71); h_SL2L366->SetBinContent(47,75007.14); h_SL2L366->SetBinContent(48,74242.86); h_SL2L366->SetBinContent(49,74435.71); h_SL2L366->SetBinContent(50,73078.57); h_SL2L366->SetBinContent(51,76664.28); h_SL2L366->SetBinContent(52,88464.28); h_SL2L366->SetBinContent(53,101178.6); h_SL2L366->SetBinContent(54,107350); h_SL2L366->SetBinContent(55,110657.1); h_SL2L366->SetBinContent(56,90435.71); h_SL2L366->SetBinContent(57,87292.86); h_SL2L366->SetMaximum(172343.9); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,106000); h_SL2L467->SetBinContent(3,119942.9); h_SL2L467->SetBinContent(4,134700); h_SL2L467->SetBinContent(5,135292.9); h_SL2L467->SetBinContent(6,128421.4); h_SL2L467->SetBinContent(7,121250); h_SL2L467->SetBinContent(8,105964.3); h_SL2L467->SetBinContent(9,118642.9); h_SL2L467->SetBinContent(10,121157.1); h_SL2L467->SetBinContent(11,126642.9); h_SL2L467->SetBinContent(12,126785.7); h_SL2L467->SetBinContent(13,126592.9); h_SL2L467->SetBinContent(14,127078.6); h_SL2L467->SetBinContent(15,125250); h_SL2L467->SetBinContent(16,122935.7); h_SL2L467->SetBinContent(17,119564.3); h_SL2L467->SetBinContent(18,119571.4); h_SL2L467->SetBinContent(19,118392.9); h_SL2L467->SetBinContent(20,115771.4); h_SL2L467->SetBinContent(21,110507.1); h_SL2L467->SetBinContent(22,104478.6); h_SL2L467->SetBinContent(23,97057.14); h_SL2L467->SetBinContent(24,92107.14); h_SL2L467->SetBinContent(25,88350); h_SL2L467->SetBinContent(26,83592.86); h_SL2L467->SetBinContent(27,80335.71); h_SL2L467->SetBinContent(28,80585.71); h_SL2L467->SetBinContent(29,80021.43); h_SL2L467->SetBinContent(30,79100); h_SL2L467->SetBinContent(31,73885.71); h_SL2L467->SetBinContent(32,79485.71); h_SL2L467->SetBinContent(33,81142.86); h_SL2L467->SetBinContent(34,81814.28); h_SL2L467->SetBinContent(35,82721.43); h_SL2L467->SetBinContent(36,83442.86); h_SL2L467->SetBinContent(37,84464.28); h_SL2L467->SetBinContent(38,86357.14); h_SL2L467->SetBinContent(39,85814.28); h_SL2L467->SetBinContent(40,85557.14); h_SL2L467->SetBinContent(41,83242.86); h_SL2L467->SetBinContent(42,83971.43); h_SL2L467->SetBinContent(43,82442.86); h_SL2L467->SetBinContent(44,83185.71); h_SL2L467->SetBinContent(45,80792.86); h_SL2L467->SetBinContent(46,76464.28); h_SL2L467->SetBinContent(47,74314.28); h_SL2L467->SetBinContent(48,70564.28); h_SL2L467->SetBinContent(49,70435.71); h_SL2L467->SetBinContent(50,73085.71); h_SL2L467->SetBinContent(51,69950); h_SL2L467->SetBinContent(52,81785.71); h_SL2L467->SetBinContent(53,90635.71); h_SL2L467->SetBinContent(54,101185.7); h_SL2L467->SetBinContent(55,104957.1); h_SL2L467->SetBinContent(56,96542.86); h_SL2L467->SetBinContent(57,86721.43); h_SL2L467->SetMaximum(172343.9); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7571"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }