void RatesPerCell_Removing_noisy_cells_run_7449_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:09:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-29504.69,67.5,265542.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7449",60,0,60); h_SL2L164->SetBinContent(1,116457.1); h_SL2L164->SetBinContent(2,147028.6); h_SL2L164->SetBinContent(3,176000); h_SL2L164->SetBinContent(4,178478.6); h_SL2L164->SetBinContent(5,176692.9); h_SL2L164->SetBinContent(6,165871.4); h_SL2L164->SetBinContent(7,148821.4); h_SL2L164->SetBinContent(8,142385.7); h_SL2L164->SetBinContent(9,159392.9); h_SL2L164->SetBinContent(10,163071.4); h_SL2L164->SetBinContent(11,167935.7); h_SL2L164->SetBinContent(12,165771.4); h_SL2L164->SetBinContent(13,166350); h_SL2L164->SetBinContent(14,165721.4); h_SL2L164->SetBinContent(15,160385.7); h_SL2L164->SetBinContent(16,162014.3); h_SL2L164->SetBinContent(17,152542.9); h_SL2L164->SetBinContent(18,153592.9); h_SL2L164->SetBinContent(19,151121.4); h_SL2L164->SetBinContent(20,143250); h_SL2L164->SetBinContent(21,138550); h_SL2L164->SetBinContent(22,129964.3); h_SL2L164->SetBinContent(23,118978.6); h_SL2L164->SetBinContent(24,108271.4); h_SL2L164->SetBinContent(25,102278.6); h_SL2L164->SetBinContent(26,97800); h_SL2L164->SetBinContent(27,95892.86); h_SL2L164->SetBinContent(28,97107.14); h_SL2L164->SetBinContent(29,99564.28); h_SL2L164->SetBinContent(30,92992.86); h_SL2L164->SetBinContent(31,92707.14); h_SL2L164->SetBinContent(32,100985.7); h_SL2L164->SetBinContent(33,103121.4); h_SL2L164->SetBinContent(34,103871.4); h_SL2L164->SetBinContent(36,103828.6); h_SL2L164->SetBinContent(37,113357.1); h_SL2L164->SetBinContent(38,110821.4); h_SL2L164->SetBinContent(39,111978.6); h_SL2L164->SetBinContent(40,110464.3); h_SL2L164->SetBinContent(41,143028.6); h_SL2L164->SetBinContent(42,112635.7); h_SL2L164->SetBinContent(43,112628.6); h_SL2L164->SetBinContent(44,111335.7); h_SL2L164->SetBinContent(45,97478.57); h_SL2L164->SetBinContent(46,91821.43); h_SL2L164->SetBinContent(47,88421.43); h_SL2L164->SetBinContent(48,86214.28); h_SL2L164->SetBinContent(49,88735.71); h_SL2L164->SetBinContent(50,88207.14); h_SL2L164->SetBinContent(51,97507.14); h_SL2L164->SetBinContent(52,113921.4); h_SL2L164->SetBinContent(53,130414.3); h_SL2L164->SetBinContent(54,139450); h_SL2L164->SetBinContent(55,142035.7); h_SL2L164->SetBinContent(56,122614.3); h_SL2L164->SetBinContent(57,102321.4); h_SL2L164->SetMaximum(236037.5); 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,95507.14); h_SL2L265->SetBinContent(2,139107.1); h_SL2L265->SetBinContent(3,152200); h_SL2L265->SetBinContent(4,173200); h_SL2L265->SetBinContent(5,171557.1); h_SL2L265->SetBinContent(6,163507.1); h_SL2L265->SetBinContent(7,153492.9); h_SL2L265->SetBinContent(8,131478.6); h_SL2L265->SetBinContent(9,149914.3); h_SL2L265->SetBinContent(10,155650); h_SL2L265->SetBinContent(11,159292.9); h_SL2L265->SetBinContent(12,161878.6); h_SL2L265->SetBinContent(13,159892.9); h_SL2L265->SetBinContent(14,158235.7); h_SL2L265->SetBinContent(15,154600); h_SL2L265->SetBinContent(16,154892.9); h_SL2L265->SetBinContent(17,148692.9); h_SL2L265->SetBinContent(18,148321.4); h_SL2L265->SetBinContent(19,147021.4); h_SL2L265->SetBinContent(20,140871.4); h_SL2L265->SetBinContent(21,137900); h_SL2L265->SetBinContent(22,127828.6); h_SL2L265->SetBinContent(23,119335.7); h_SL2L265->SetBinContent(24,109600); h_SL2L265->SetBinContent(25,102392.9); h_SL2L265->SetBinContent(26,96050); h_SL2L265->SetBinContent(27,93485.71); h_SL2L265->SetBinContent(28,97214.28); h_SL2L265->SetBinContent(29,93185.71); h_SL2L265->SetBinContent(30,94171.43); h_SL2L265->SetBinContent(31,85871.43); h_SL2L265->SetBinContent(32,95150); h_SL2L265->SetBinContent(33,96728.57); h_SL2L265->SetBinContent(34,99842.86); h_SL2L265->SetBinContent(35,98371.43); h_SL2L265->SetBinContent(36,99464.28); h_SL2L265->SetBinContent(37,101978.6); h_SL2L265->SetBinContent(38,105992.9); h_SL2L265->SetBinContent(39,106678.6); h_SL2L265->SetBinContent(40,105328.6); h_SL2L265->SetBinContent(41,102907.1); h_SL2L265->SetBinContent(42,102164.3); h_SL2L265->SetBinContent(43,101935.7); h_SL2L265->SetBinContent(44,100457.1); h_SL2L265->SetBinContent(45,95607.14); h_SL2L265->SetBinContent(46,92657.14); h_SL2L265->SetBinContent(47,87535.71); h_SL2L265->SetBinContent(48,84200); h_SL2L265->SetBinContent(49,84985.71); h_SL2L265->SetBinContent(50,88128.57); h_SL2L265->SetBinContent(51,82835.71); h_SL2L265->SetBinContent(52,101350); h_SL2L265->SetBinContent(53,117264.3); h_SL2L265->SetBinContent(54,128942.9); h_SL2L265->SetBinContent(55,136457.1); h_SL2L265->SetBinContent(56,124257.1); h_SL2L265->SetBinContent(57,117371.4); h_SL2L265->SetMaximum(205250.3); 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,110771.4); h_SL2L366->SetBinContent(2,134935.7); h_SL2L366->SetBinContent(3,167392.9); h_SL2L366->SetBinContent(4,165578.6); h_SL2L366->SetBinContent(5,162471.4); h_SL2L366->SetBinContent(6,153207.1); h_SL2L366->SetBinContent(7,137785.7); h_SL2L366->SetBinContent(8,137514.3); h_SL2L366->SetBinContent(9,149271.4); h_SL2L366->SetBinContent(10,151964.3); h_SL2L366->SetBinContent(11,157035.7); h_SL2L366->SetBinContent(12,154785.7); h_SL2L366->SetBinContent(13,153192.9); h_SL2L366->SetBinContent(14,153621.4); h_SL2L366->SetBinContent(15,150564.3); h_SL2L366->SetBinContent(16,148442.9); h_SL2L366->SetBinContent(17,144335.7); h_SL2L366->SetBinContent(18,140650); h_SL2L366->SetBinContent(19,140607.1); h_SL2L366->SetBinContent(20,133914.3); h_SL2L366->SetBinContent(21,127757.1); h_SL2L366->SetBinContent(22,119557.1); h_SL2L366->SetBinContent(23,108614.3); h_SL2L366->SetBinContent(24,100500); h_SL2L366->SetBinContent(25,94107.14); h_SL2L366->SetBinContent(26,89757.14); h_SL2L366->SetBinContent(27,89971.43); h_SL2L366->SetBinContent(28,90157.14); h_SL2L366->SetBinContent(29,90792.86); h_SL2L366->SetBinContent(30,87335.71); h_SL2L366->SetBinContent(31,88485.71); h_SL2L366->SetBinContent(32,93492.86); h_SL2L366->SetBinContent(33,97028.57); h_SL2L366->SetBinContent(34,95928.57); h_SL2L366->SetBinContent(35,96642.86); h_SL2L366->SetBinContent(36,96992.86); h_SL2L366->SetBinContent(37,99007.14); h_SL2L366->SetBinContent(38,101464.3); h_SL2L366->SetBinContent(39,100921.4); h_SL2L366->SetBinContent(40,100335.7); h_SL2L366->SetBinContent(41,98571.43); h_SL2L366->SetBinContent(42,98178.57); h_SL2L366->SetBinContent(43,98142.86); h_SL2L366->SetBinContent(44,94192.86); h_SL2L366->SetBinContent(45,92000); h_SL2L366->SetBinContent(46,85578.57); h_SL2L366->SetBinContent(47,83971.43); h_SL2L366->SetBinContent(48,80014.28); h_SL2L366->SetBinContent(49,82678.57); h_SL2L366->SetBinContent(50,81721.43); h_SL2L366->SetBinContent(51,88828.57); h_SL2L366->SetBinContent(52,103021.4); h_SL2L366->SetBinContent(53,117300); h_SL2L366->SetBinContent(54,129378.6); h_SL2L366->SetBinContent(55,133507.1); h_SL2L366->SetBinContent(56,109378.6); h_SL2L366->SetBinContent(57,105635.7); h_SL2L366->SetMaximum(205250.3); 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,127592.9); h_SL2L467->SetBinContent(3,146885.7); h_SL2L467->SetBinContent(4,159771.4); h_SL2L467->SetBinContent(5,160100); h_SL2L467->SetBinContent(6,149935.7); h_SL2L467->SetBinContent(7,143607.1); h_SL2L467->SetBinContent(8,125028.6); h_SL2L467->SetBinContent(9,142157.1); h_SL2L467->SetBinContent(10,146621.4); h_SL2L467->SetBinContent(11,150042.9); h_SL2L467->SetBinContent(12,148664.3); h_SL2L467->SetBinContent(13,148707.1); h_SL2L467->SetBinContent(14,147092.9); h_SL2L467->SetBinContent(15,146535.7); h_SL2L467->SetBinContent(16,144435.7); h_SL2L467->SetBinContent(17,140178.6); h_SL2L467->SetBinContent(18,139050); h_SL2L467->SetBinContent(19,136407.1); h_SL2L467->SetBinContent(20,131350); h_SL2L467->SetBinContent(21,128750); h_SL2L467->SetBinContent(22,118407.1); h_SL2L467->SetBinContent(23,110121.4); h_SL2L467->SetBinContent(24,101628.6); h_SL2L467->SetBinContent(25,95871.43); h_SL2L467->SetBinContent(26,90471.43); h_SL2L467->SetBinContent(27,86071.43); h_SL2L467->SetBinContent(28,87500); h_SL2L467->SetBinContent(29,86971.43); h_SL2L467->SetBinContent(30,88978.57); h_SL2L467->SetBinContent(31,79742.86); h_SL2L467->SetBinContent(32,88407.14); h_SL2L467->SetBinContent(33,90664.28); h_SL2L467->SetBinContent(34,91735.71); h_SL2L467->SetBinContent(35,92985.71); h_SL2L467->SetBinContent(36,93428.57); h_SL2L467->SetBinContent(37,98307.14); h_SL2L467->SetBinContent(38,97485.71); h_SL2L467->SetBinContent(39,97671.43); h_SL2L467->SetBinContent(40,98614.28); h_SL2L467->SetBinContent(41,96864.28); h_SL2L467->SetBinContent(42,96714.28); h_SL2L467->SetBinContent(43,95785.71); h_SL2L467->SetBinContent(44,92364.28); h_SL2L467->SetBinContent(45,90700); h_SL2L467->SetBinContent(46,86171.43); h_SL2L467->SetBinContent(47,82535.71); h_SL2L467->SetBinContent(48,79757.14); h_SL2L467->SetBinContent(49,77950); h_SL2L467->SetBinContent(50,81171.43); h_SL2L467->SetBinContent(51,78864.28); h_SL2L467->SetBinContent(52,90857.14); h_SL2L467->SetBinContent(53,107450); h_SL2L467->SetBinContent(54,119635.7); h_SL2L467->SetBinContent(55,127150); h_SL2L467->SetBinContent(56,117800); h_SL2L467->SetBinContent(57,105857.1); h_SL2L467->SetMaximum(205250.3); 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.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("SL2, run 7449"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }