void RatesPerCell_Removing_noisy_cells_run_7445_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:11:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11419.5,67.5,102775.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 7445",60,0,60); h_SL1L160->SetBinContent(1,42407.14); h_SL1L160->SetBinContent(2,41792.86); h_SL1L160->SetBinContent(3,40685.71); h_SL1L160->SetBinContent(4,37621.43); h_SL1L160->SetBinContent(5,30271.43); h_SL1L160->SetBinContent(6,31271.43); h_SL1L160->SetBinContent(7,29157.14); h_SL1L160->SetBinContent(8,31185.71); h_SL1L160->SetBinContent(9,29392.86); h_SL1L160->SetBinContent(10,29771.43); h_SL1L160->SetBinContent(11,29300); h_SL1L160->SetBinContent(12,28328.57); h_SL1L160->SetBinContent(13,29285.71); h_SL1L160->SetBinContent(14,44235.71); h_SL1L160->SetBinContent(15,43892.86); h_SL1L160->SetBinContent(16,26200); h_SL1L160->SetBinContent(17,28450); h_SL1L160->SetBinContent(18,30278.57); h_SL1L160->SetBinContent(19,30907.14); h_SL1L160->SetBinContent(20,29785.71); h_SL1L160->SetBinContent(21,26050); h_SL1L160->SetBinContent(22,25392.86); h_SL1L160->SetBinContent(23,25928.57); h_SL1L160->SetBinContent(24,22850); h_SL1L160->SetBinContent(25,21271.43); h_SL1L160->SetBinContent(26,22085.71); h_SL1L160->SetBinContent(27,21035.71); h_SL1L160->SetBinContent(28,22207.14); h_SL1L160->SetBinContent(29,22235.71); h_SL1L160->SetBinContent(30,21107.14); h_SL1L160->SetBinContent(31,20650); h_SL1L160->SetBinContent(32,19400); h_SL1L160->SetBinContent(33,63700); h_SL1L160->SetBinContent(34,63350); h_SL1L160->SetBinContent(35,62314.29); h_SL1L160->SetBinContent(36,62550); h_SL1L160->SetBinContent(37,58235.71); h_SL1L160->SetBinContent(38,57957.14); h_SL1L160->SetBinContent(39,63300); h_SL1L160->SetBinContent(41,19514.29); h_SL1L160->SetBinContent(42,19400); h_SL1L160->SetBinContent(43,19900); h_SL1L160->SetBinContent(44,18350); h_SL1L160->SetBinContent(45,17921.43); h_SL1L160->SetBinContent(46,17307.14); h_SL1L160->SetBinContent(47,17407.14); h_SL1L160->SetBinContent(48,17828.57); h_SL1L160->SetBinContent(49,18650); h_SL1L160->SetBinContent(50,20107.14); h_SL1L160->SetBinContent(51,21221.43); h_SL1L160->SetBinContent(52,21514.29); h_SL1L160->SetBinContent(53,21392.86); h_SL1L160->SetBinContent(54,21135.71); h_SL1L160->SetBinContent(55,21150); h_SL1L160->SetBinContent(56,23928.57); h_SL1L160->SetMaximum(91356); 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,56164.29); h_SL1L261->SetBinContent(2,55914.29); h_SL1L261->SetBinContent(3,58107.14); h_SL1L261->SetBinContent(4,59214.29); h_SL1L261->SetBinContent(5,53785.71); h_SL1L261->SetBinContent(6,58021.43); h_SL1L261->SetBinContent(7,55928.57); h_SL1L261->SetBinContent(8,57300); h_SL1L261->SetBinContent(9,55957.14); h_SL1L261->SetBinContent(10,55207.14); h_SL1L261->SetBinContent(11,55985.71); h_SL1L261->SetBinContent(12,55550); h_SL1L261->SetBinContent(13,57164.29); h_SL1L261->SetBinContent(14,55985.71); h_SL1L261->SetBinContent(15,59664.29); h_SL1L261->SetBinContent(16,56600); h_SL1L261->SetBinContent(17,63292.86); h_SL1L261->SetBinContent(18,67971.43); h_SL1L261->SetBinContent(19,68550); h_SL1L261->SetBinContent(20,69078.57); h_SL1L261->SetBinContent(21,62535.71); h_SL1L261->SetBinContent(22,58050); h_SL1L261->SetBinContent(23,59442.86); h_SL1L261->SetBinContent(24,60257.14); h_SL1L261->SetBinContent(25,60414.29); h_SL1L261->SetBinContent(26,54285.71); h_SL1L261->SetBinContent(27,54442.86); h_SL1L261->SetBinContent(28,57250); h_SL1L261->SetBinContent(29,62128.57); h_SL1L261->SetBinContent(30,63292.86); h_SL1L261->SetBinContent(31,62964.29); h_SL1L261->SetBinContent(32,60757.14); h_SL1L261->SetBinContent(33,63850); h_SL1L261->SetBinContent(34,63442.86); h_SL1L261->SetBinContent(35,61228.57); h_SL1L261->SetBinContent(36,62142.86); h_SL1L261->SetBinContent(37,55914.29); h_SL1L261->SetBinContent(38,57192.86); h_SL1L261->SetBinContent(39,63157.14); h_SL1L261->SetBinContent(40,62078.57); h_SL1L261->SetBinContent(41,62342.86); h_SL1L261->SetBinContent(42,63171.43); h_SL1L261->SetBinContent(43,61264.29); h_SL1L261->SetBinContent(44,58592.86); h_SL1L261->SetBinContent(45,60200); h_SL1L261->SetBinContent(46,60600); h_SL1L261->SetBinContent(47,60714.29); h_SL1L261->SetBinContent(48,60707.14); h_SL1L261->SetBinContent(49,64257.14); h_SL1L261->SetBinContent(50,64492.86); h_SL1L261->SetBinContent(51,64442.86); h_SL1L261->SetBinContent(52,62828.57); h_SL1L261->SetBinContent(53,61728.57); h_SL1L261->SetBinContent(54,60335.71); h_SL1L261->SetBinContent(55,61785.71); h_SL1L261->SetBinContent(56,60185.71); h_SL1L261->SetMaximum(79440.36); 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,52628.57); h_SL1L362->SetBinContent(2,55542.86); h_SL1L362->SetBinContent(3,57164.29); h_SL1L362->SetBinContent(4,57750); h_SL1L362->SetBinContent(5,55150); h_SL1L362->SetBinContent(6,54978.57); h_SL1L362->SetBinContent(7,54535.71); h_SL1L362->SetBinContent(8,56528.57); h_SL1L362->SetBinContent(9,51378.57); h_SL1L362->SetBinContent(10,54842.86); h_SL1L362->SetBinContent(11,53221.43); h_SL1L362->SetBinContent(12,55600); h_SL1L362->SetBinContent(13,54814.29); h_SL1L362->SetBinContent(14,53942.86); h_SL1L362->SetBinContent(15,56428.57); h_SL1L362->SetBinContent(16,55992.86); h_SL1L362->SetBinContent(17,63300); h_SL1L362->SetBinContent(18,66728.57); h_SL1L362->SetBinContent(19,66578.57); h_SL1L362->SetBinContent(20,67785.71); h_SL1L362->SetBinContent(21,58671.43); h_SL1L362->SetBinContent(22,56192.86); h_SL1L362->SetBinContent(23,58064.29); h_SL1L362->SetBinContent(24,59071.43); h_SL1L362->SetBinContent(25,56421.43); h_SL1L362->SetBinContent(26,52607.14); h_SL1L362->SetBinContent(27,55150); h_SL1L362->SetBinContent(28,60807.14); h_SL1L362->SetBinContent(29,60571.43); h_SL1L362->SetBinContent(30,59450); h_SL1L362->SetBinContent(31,59728.57); h_SL1L362->SetBinContent(32,59471.43); h_SL1L362->SetBinContent(33,61778.57); h_SL1L362->SetBinContent(34,62435.71); h_SL1L362->SetBinContent(35,58785.71); h_SL1L362->SetBinContent(36,61721.43); h_SL1L362->SetBinContent(37,56335.71); h_SL1L362->SetBinContent(38,55035.71); h_SL1L362->SetBinContent(39,61135.71); h_SL1L362->SetBinContent(40,61971.43); h_SL1L362->SetBinContent(41,60907.14); h_SL1L362->SetBinContent(42,61850); h_SL1L362->SetBinContent(43,58257.14); h_SL1L362->SetBinContent(44,58171.43); h_SL1L362->SetBinContent(45,57107.14); h_SL1L362->SetBinContent(46,59785.71); h_SL1L362->SetBinContent(47,59000); h_SL1L362->SetBinContent(48,59642.86); h_SL1L362->SetBinContent(49,62678.57); h_SL1L362->SetBinContent(50,63121.43); h_SL1L362->SetBinContent(51,61578.57); h_SL1L362->SetBinContent(52,62342.86); h_SL1L362->SetBinContent(53,59314.29); h_SL1L362->SetBinContent(54,58757.14); h_SL1L362->SetBinContent(55,59700); h_SL1L362->SetBinContent(56,58400); h_SL1L362->SetMaximum(79440.36); 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,35671.43); h_SL1L463->SetBinContent(3,30907.14); h_SL1L463->SetBinContent(4,28678.57); h_SL1L463->SetBinContent(5,25864.29); h_SL1L463->SetBinContent(6,26128.57); h_SL1L463->SetBinContent(7,25700); h_SL1L463->SetBinContent(8,27150); h_SL1L463->SetBinContent(9,28614.29); h_SL1L463->SetBinContent(10,30821.43); h_SL1L463->SetBinContent(11,34271.43); h_SL1L463->SetBinContent(12,35207.14); h_SL1L463->SetBinContent(13,34735.71); h_SL1L463->SetBinContent(14,35942.86); h_SL1L463->SetBinContent(15,60900); h_SL1L463->SetBinContent(16,42042.86); h_SL1L463->SetBinContent(17,33771.43); h_SL1L463->SetBinContent(18,35057.14); h_SL1L463->SetBinContent(19,33857.14); h_SL1L463->SetBinContent(20,32457.14); h_SL1L463->SetBinContent(21,29071.43); h_SL1L463->SetBinContent(22,27250); h_SL1L463->SetBinContent(23,27514.29); h_SL1L463->SetBinContent(24,27400); h_SL1L463->SetBinContent(25,24878.57); h_SL1L463->SetBinContent(26,24078.57); h_SL1L463->SetBinContent(27,23857.14); h_SL1L463->SetBinContent(28,24750); h_SL1L463->SetBinContent(29,23407.14); h_SL1L463->SetBinContent(30,23792.86); h_SL1L463->SetBinContent(31,23142.86); h_SL1L463->SetBinContent(32,22800); h_SL1L463->SetBinContent(33,20828.57); h_SL1L463->SetBinContent(34,23392.86); h_SL1L463->SetBinContent(35,23285.71); h_SL1L463->SetBinContent(36,21335.71); h_SL1L463->SetBinContent(37,3685.714); h_SL1L463->SetBinContent(38,21.42857); h_SL1L463->SetBinContent(41,19557.14); h_SL1L463->SetBinContent(42,19114.29); h_SL1L463->SetBinContent(43,19921.43); h_SL1L463->SetBinContent(44,18471.43); h_SL1L463->SetBinContent(45,17714.29); h_SL1L463->SetBinContent(46,18578.57); h_SL1L463->SetBinContent(47,16950); h_SL1L463->SetBinContent(48,17528.57); h_SL1L463->SetBinContent(49,17471.43); h_SL1L463->SetBinContent(50,17814.29); h_SL1L463->SetBinContent(51,18607.14); h_SL1L463->SetBinContent(52,19071.43); h_SL1L463->SetBinContent(53,18700); h_SL1L463->SetBinContent(54,17442.86); h_SL1L463->SetBinContent(56,20471.43); h_SL1L463->SetMaximum(79440.36); 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 7445"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }