void RatesPerCell_Removing_noisy_cells_run_7834_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Mar 22 18:53:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-61728.84,67.5,555559.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 7834",60,0,60); h_SL1L160->SetBinContent(1,45328.57); h_SL1L160->SetBinContent(2,45828.57); h_SL1L160->SetBinContent(3,45892.86); h_SL1L160->SetBinContent(4,43057.14); h_SL1L160->SetBinContent(5,33485.71); h_SL1L160->SetBinContent(6,35178.57); h_SL1L160->SetBinContent(7,35757.14); h_SL1L160->SetBinContent(8,37885.71); h_SL1L160->SetBinContent(9,32764.29); h_SL1L160->SetBinContent(10,32485.71); h_SL1L160->SetBinContent(11,34114.29); h_SL1L160->SetBinContent(12,32964.29); h_SL1L160->SetBinContent(13,53821.43); h_SL1L160->SetBinContent(14,59050); h_SL1L160->SetBinContent(15,58992.86); h_SL1L160->SetBinContent(16,30414.29); h_SL1L160->SetBinContent(17,31885.71); h_SL1L160->SetBinContent(18,33778.57); h_SL1L160->SetBinContent(19,34028.57); h_SL1L160->SetBinContent(20,32928.57); h_SL1L160->SetBinContent(21,30264.29); h_SL1L160->SetBinContent(22,28921.43); h_SL1L160->SetBinContent(23,26707.14); h_SL1L160->SetBinContent(24,23471.43); h_SL1L160->SetBinContent(25,23592.86); h_SL1L160->SetBinContent(26,25564.29); h_SL1L160->SetBinContent(27,22978.57); h_SL1L160->SetBinContent(28,24235.71); h_SL1L160->SetBinContent(29,26950); h_SL1L160->SetBinContent(30,23314.29); h_SL1L160->SetBinContent(31,21885.71); h_SL1L160->SetBinContent(32,21585.71); h_SL1L160->SetBinContent(33,58157.14); h_SL1L160->SetBinContent(34,61292.86); h_SL1L160->SetBinContent(35,58828.57); h_SL1L160->SetBinContent(36,59885.71); h_SL1L160->SetBinContent(37,57292.86); h_SL1L160->SetBinContent(38,56671.43); h_SL1L160->SetBinContent(39,59778.57); h_SL1L160->SetBinContent(41,22164.29); h_SL1L160->SetBinContent(42,22564.29); h_SL1L160->SetBinContent(43,21578.57); h_SL1L160->SetBinContent(44,20242.86); h_SL1L160->SetBinContent(45,20407.14); h_SL1L160->SetBinContent(46,19592.86); h_SL1L160->SetBinContent(47,19685.71); h_SL1L160->SetBinContent(48,20192.86); h_SL1L160->SetBinContent(49,22971.43); h_SL1L160->SetBinContent(50,23757.14); h_SL1L160->SetBinContent(51,24821.43); h_SL1L160->SetBinContent(52,24771.43); h_SL1L160->SetBinContent(53,23428.57); h_SL1L160->SetBinContent(54,24471.43); h_SL1L160->SetBinContent(55,25007.14); h_SL1L160->SetBinContent(56,28685.71); h_SL1L160->SetMaximum(493830.7); 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,53428.57); h_SL1L261->SetBinContent(2,52142.86); h_SL1L261->SetBinContent(3,53221.43); h_SL1L261->SetBinContent(4,54292.86); h_SL1L261->SetBinContent(5,49264.29); h_SL1L261->SetBinContent(6,52407.14); h_SL1L261->SetBinContent(7,52742.86); h_SL1L261->SetBinContent(8,55278.57); h_SL1L261->SetBinContent(9,138542.9); h_SL1L261->SetBinContent(10,50321.43); h_SL1L261->SetBinContent(11,51850); h_SL1L261->SetBinContent(12,53607.14); h_SL1L261->SetBinContent(13,55192.86); h_SL1L261->SetBinContent(14,58021.43); h_SL1L261->SetBinContent(15,63885.71); h_SL1L261->SetBinContent(16,55678.57); h_SL1L261->SetBinContent(17,60114.29); h_SL1L261->SetBinContent(18,63157.14); h_SL1L261->SetBinContent(19,62585.71); h_SL1L261->SetBinContent(20,64028.57); h_SL1L261->SetBinContent(21,57064.29); h_SL1L261->SetBinContent(22,54285.71); h_SL1L261->SetBinContent(23,53557.14); h_SL1L261->SetBinContent(24,54357.14); h_SL1L261->SetBinContent(25,55314.29); h_SL1L261->SetBinContent(26,52421.43); h_SL1L261->SetBinContent(27,50500); h_SL1L261->SetBinContent(28,53835.71); h_SL1L261->SetBinContent(29,56021.43); h_SL1L261->SetBinContent(30,56021.43); h_SL1L261->SetBinContent(31,57435.71); h_SL1L261->SetBinContent(32,59328.57); h_SL1L261->SetBinContent(33,58521.43); h_SL1L261->SetBinContent(34,59907.14); h_SL1L261->SetBinContent(35,57807.14); h_SL1L261->SetBinContent(36,58214.29); h_SL1L261->SetBinContent(37,55414.29); h_SL1L261->SetBinContent(38,57378.57); h_SL1L261->SetBinContent(39,60892.86); h_SL1L261->SetBinContent(40,59685.71); h_SL1L261->SetBinContent(41,59035.71); h_SL1L261->SetBinContent(42,57742.86); h_SL1L261->SetBinContent(43,57921.43); h_SL1L261->SetBinContent(44,54428.57); h_SL1L261->SetBinContent(45,55814.29); h_SL1L261->SetBinContent(46,55735.71); h_SL1L261->SetBinContent(47,55757.14); h_SL1L261->SetBinContent(48,56692.86); h_SL1L261->SetBinContent(49,373407.1); h_SL1L261->SetBinContent(50,59657.14); h_SL1L261->SetBinContent(51,60485.71); h_SL1L261->SetBinContent(52,60285.71); h_SL1L261->SetBinContent(53,57371.43); h_SL1L261->SetBinContent(54,56228.57); h_SL1L261->SetBinContent(55,55600); h_SL1L261->SetBinContent(56,56000); h_SL1L261->SetMaximum(429418.2); 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,50850); h_SL1L362->SetBinContent(2,51750); h_SL1L362->SetBinContent(3,53228.57); h_SL1L362->SetBinContent(4,54207.14); h_SL1L362->SetBinContent(5,50928.57); h_SL1L362->SetBinContent(6,50678.57); h_SL1L362->SetBinContent(7,52914.29); h_SL1L362->SetBinContent(8,52942.86); h_SL1L362->SetBinContent(9,49092.86); h_SL1L362->SetBinContent(10,52464.29); h_SL1L362->SetBinContent(11,51064.29); h_SL1L362->SetBinContent(12,54128.57); h_SL1L362->SetBinContent(13,51714.29); h_SL1L362->SetBinContent(14,62771.43); h_SL1L362->SetBinContent(15,73357.14); h_SL1L362->SetBinContent(16,57521.43); h_SL1L362->SetBinContent(17,59900); h_SL1L362->SetBinContent(18,62842.86); h_SL1L362->SetBinContent(19,60842.86); h_SL1L362->SetBinContent(20,64242.86); h_SL1L362->SetBinContent(21,54500); h_SL1L362->SetBinContent(22,53421.43); h_SL1L362->SetBinContent(23,53107.14); h_SL1L362->SetBinContent(24,54585.71); h_SL1L362->SetBinContent(25,52307.14); h_SL1L362->SetBinContent(26,49842.86); h_SL1L362->SetBinContent(27,50085.71); h_SL1L362->SetBinContent(28,55264.29); h_SL1L362->SetBinContent(29,55107.14); h_SL1L362->SetBinContent(30,53507.14); h_SL1L362->SetBinContent(31,56171.43); h_SL1L362->SetBinContent(32,54100); h_SL1L362->SetBinContent(33,58185.71); h_SL1L362->SetBinContent(34,58657.14); h_SL1L362->SetBinContent(35,56321.43); h_SL1L362->SetBinContent(36,58850); h_SL1L362->SetBinContent(37,56171.43); h_SL1L362->SetBinContent(38,55407.14); h_SL1L362->SetBinContent(39,58571.43); h_SL1L362->SetBinContent(40,58242.86); h_SL1L362->SetBinContent(41,56878.57); h_SL1L362->SetBinContent(42,56950); h_SL1L362->SetBinContent(43,54200); h_SL1L362->SetBinContent(44,53364.29); h_SL1L362->SetBinContent(45,55250); h_SL1L362->SetBinContent(46,55100); h_SL1L362->SetBinContent(47,54721.43); h_SL1L362->SetBinContent(48,55742.86); h_SL1L362->SetBinContent(49,61528.57); h_SL1L362->SetBinContent(50,59992.86); h_SL1L362->SetBinContent(51,57528.57); h_SL1L362->SetBinContent(52,59150); h_SL1L362->SetBinContent(53,115342.9); h_SL1L362->SetBinContent(54,53142.86); h_SL1L362->SetBinContent(55,53428.57); h_SL1L362->SetBinContent(56,110485.7); h_SL1L362->SetMaximum(429418.2); 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,38135.71); h_SL1L463->SetBinContent(3,35314.29); h_SL1L463->SetBinContent(4,33135.71); h_SL1L463->SetBinContent(5,29250); h_SL1L463->SetBinContent(6,28171.43); h_SL1L463->SetBinContent(7,28321.43); h_SL1L463->SetBinContent(8,31178.57); h_SL1L463->SetBinContent(9,31435.71); h_SL1L463->SetBinContent(10,33735.71); h_SL1L463->SetBinContent(11,37407.14); h_SL1L463->SetBinContent(12,38657.14); h_SL1L463->SetBinContent(13,40214.29); h_SL1L463->SetBinContent(14,78850); h_SL1L463->SetBinContent(15,71157.14); h_SL1L463->SetBinContent(16,67678.57); h_SL1L463->SetBinContent(17,37428.57); h_SL1L463->SetBinContent(18,38728.57); h_SL1L463->SetBinContent(19,37450); h_SL1L463->SetBinContent(20,37057.14); h_SL1L463->SetBinContent(21,32400); h_SL1L463->SetBinContent(22,31350); h_SL1L463->SetBinContent(23,29435.71); h_SL1L463->SetBinContent(24,30428.57); h_SL1L463->SetBinContent(25,27014.29); h_SL1L463->SetBinContent(26,26721.43); h_SL1L463->SetBinContent(27,25464.29); h_SL1L463->SetBinContent(28,26335.71); h_SL1L463->SetBinContent(29,25435.71); h_SL1L463->SetBinContent(30,26007.14); h_SL1L463->SetBinContent(31,26364.29); h_SL1L463->SetBinContent(32,24028.57); h_SL1L463->SetBinContent(33,23457.14); h_SL1L463->SetBinContent(34,27607.14); h_SL1L463->SetBinContent(35,30292.86); h_SL1L463->SetBinContent(36,23878.57); h_SL1L463->SetBinContent(37,14.28571); h_SL1L463->SetBinContent(41,19707.14); h_SL1L463->SetBinContent(42,22350); h_SL1L463->SetBinContent(43,23521.43); h_SL1L463->SetBinContent(44,21528.57); h_SL1L463->SetBinContent(45,19857.14); h_SL1L463->SetBinContent(46,20092.86); h_SL1L463->SetBinContent(47,20321.43); h_SL1L463->SetBinContent(48,18850); h_SL1L463->SetBinContent(49,19400); h_SL1L463->SetBinContent(50,20800); h_SL1L463->SetBinContent(51,19507.14); h_SL1L463->SetBinContent(52,21678.57); h_SL1L463->SetBinContent(53,21078.57); h_SL1L463->SetBinContent(54,19950); h_SL1L463->SetBinContent(55,7.142857); h_SL1L463->SetBinContent(56,23964.29); h_SL1L463->SetMaximum(429418.2); 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 7834"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }