void RatesPerCell_Removing_noisy_cells_run_7279_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8240.469,67.5,74164.22); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7279",60,0,60); h_SL1L160->SetBinContent(1,34651.79); h_SL1L160->SetBinContent(2,32250); h_SL1L160->SetBinContent(3,31357.14); h_SL1L160->SetBinContent(4,30508.93); h_SL1L160->SetBinContent(5,26732.14); h_SL1L160->SetBinContent(6,28642.86); h_SL1L160->SetBinContent(7,27392.86); h_SL1L160->SetBinContent(8,28205.36); h_SL1L160->SetBinContent(9,27741.07); h_SL1L160->SetBinContent(10,28303.57); h_SL1L160->SetBinContent(11,29794.64); h_SL1L160->SetBinContent(12,28044.64); h_SL1L160->SetBinContent(13,27571.43); h_SL1L160->SetBinContent(14,40937.5); h_SL1L160->SetBinContent(15,40660.71); h_SL1L160->SetBinContent(16,23089.29); h_SL1L160->SetBinContent(17,21276.79); h_SL1L160->SetBinContent(18,20223.21); h_SL1L160->SetBinContent(19,21875); h_SL1L160->SetBinContent(20,22732.14); h_SL1L160->SetBinContent(21,25142.86); h_SL1L160->SetBinContent(22,25017.86); h_SL1L160->SetBinContent(23,23642.86); h_SL1L160->SetBinContent(24,20732.14); h_SL1L160->SetBinContent(25,22080.36); h_SL1L160->SetBinContent(26,22232.14); h_SL1L160->SetBinContent(27,20633.93); h_SL1L160->SetBinContent(28,19098.21); h_SL1L160->SetBinContent(29,19598.21); h_SL1L160->SetBinContent(30,19392.86); h_SL1L160->SetBinContent(31,18669.64); h_SL1L160->SetBinContent(32,18383.93); h_SL1L160->SetBinContent(33,37008.93); h_SL1L160->SetBinContent(34,37321.43); h_SL1L160->SetBinContent(35,35571.43); h_SL1L160->SetBinContent(36,34116.07); h_SL1L160->SetBinContent(37,33910.71); h_SL1L160->SetBinContent(38,33803.57); h_SL1L160->SetBinContent(39,31241.07); h_SL1L160->SetBinContent(41,16580.36); h_SL1L160->SetBinContent(42,17339.29); h_SL1L160->SetBinContent(43,16883.93); h_SL1L160->SetBinContent(44,15910.71); h_SL1L160->SetBinContent(45,14089.29); h_SL1L160->SetBinContent(46,13633.93); h_SL1L160->SetBinContent(47,13419.64); h_SL1L160->SetBinContent(48,13053.57); h_SL1L160->SetBinContent(49,13928.57); h_SL1L160->SetBinContent(50,14062.5); h_SL1L160->SetBinContent(51,13571.43); h_SL1L160->SetBinContent(52,12223.21); h_SL1L160->SetBinContent(53,12901.79); h_SL1L160->SetBinContent(54,12232.14); h_SL1L160->SetBinContent(55,12437.5); h_SL1L160->SetBinContent(56,14598.21); h_SL1L160->SetMaximum(65923.75); 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,40071.43); h_SL1L261->SetBinContent(2,36750); h_SL1L261->SetBinContent(3,36687.5); h_SL1L261->SetBinContent(4,36750); h_SL1L261->SetBinContent(5,35892.86); h_SL1L261->SetBinContent(6,40473.21); h_SL1L261->SetBinContent(7,39258.93); h_SL1L261->SetBinContent(8,39821.43); h_SL1L261->SetBinContent(9,39714.29); h_SL1L261->SetBinContent(10,39991.07); h_SL1L261->SetBinContent(11,40321.43); h_SL1L261->SetBinContent(12,40732.14); h_SL1L261->SetBinContent(13,40633.93); h_SL1L261->SetBinContent(14,39830.36); h_SL1L261->SetBinContent(15,39482.14); h_SL1L261->SetBinContent(16,38714.29); h_SL1L261->SetBinContent(17,35651.79); h_SL1L261->SetBinContent(18,33294.64); h_SL1L261->SetBinContent(19,34330.36); h_SL1L261->SetBinContent(20,38017.86); h_SL1L261->SetBinContent(21,38991.07); h_SL1L261->SetBinContent(22,40357.14); h_SL1L261->SetBinContent(23,40428.57); h_SL1L261->SetBinContent(24,41071.43); h_SL1L261->SetBinContent(25,41616.07); h_SL1L261->SetBinContent(26,39544.64); h_SL1L261->SetBinContent(27,36785.71); h_SL1L261->SetBinContent(28,36196.43); h_SL1L261->SetBinContent(29,36875); h_SL1L261->SetBinContent(30,38500); h_SL1L261->SetBinContent(31,37017.86); h_SL1L261->SetBinContent(32,36410.71); h_SL1L261->SetBinContent(33,36044.64); h_SL1L261->SetBinContent(34,36687.5); h_SL1L261->SetBinContent(35,35848.21); h_SL1L261->SetBinContent(36,34160.71); h_SL1L261->SetBinContent(37,35053.57); h_SL1L261->SetBinContent(38,33973.21); h_SL1L261->SetBinContent(39,31758.93); h_SL1L261->SetBinContent(40,30616.07); h_SL1L261->SetBinContent(41,29178.57); h_SL1L261->SetBinContent(42,32017.86); h_SL1L261->SetBinContent(43,32276.79); h_SL1L261->SetBinContent(44,31276.79); h_SL1L261->SetBinContent(45,30294.64); h_SL1L261->SetBinContent(46,27973.21); h_SL1L261->SetBinContent(47,27071.43); h_SL1L261->SetBinContent(48,24955.36); h_SL1L261->SetBinContent(49,26598.21); h_SL1L261->SetBinContent(50,27053.57); h_SL1L261->SetBinContent(51,26348.21); h_SL1L261->SetBinContent(52,23553.57); h_SL1L261->SetBinContent(53,23857.14); h_SL1L261->SetBinContent(54,22767.86); h_SL1L261->SetBinContent(55,23535.71); h_SL1L261->SetBinContent(56,24276.79); h_SL1L261->SetMaximum(57325.45); 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,37062.5); h_SL1L362->SetBinContent(2,36151.79); h_SL1L362->SetBinContent(3,35053.57); h_SL1L362->SetBinContent(4,36991.07); h_SL1L362->SetBinContent(5,37821.43); h_SL1L362->SetBinContent(6,38785.71); h_SL1L362->SetBinContent(7,37991.07); h_SL1L362->SetBinContent(8,40116.07); h_SL1L362->SetBinContent(9,39294.64); h_SL1L362->SetBinContent(10,39169.64); h_SL1L362->SetBinContent(11,39330.36); h_SL1L362->SetBinContent(12,39616.07); h_SL1L362->SetBinContent(13,39660.71); h_SL1L362->SetBinContent(14,38544.64); h_SL1L362->SetBinContent(15,37660.71); h_SL1L362->SetBinContent(16,35776.79); h_SL1L362->SetBinContent(17,32696.43); h_SL1L362->SetBinContent(18,31687.5); h_SL1L362->SetBinContent(19,34607.14); h_SL1L362->SetBinContent(20,37473.21); h_SL1L362->SetBinContent(21,40366.07); h_SL1L362->SetBinContent(22,39267.86); h_SL1L362->SetBinContent(23,38401.79); h_SL1L362->SetBinContent(24,40089.29); h_SL1L362->SetBinContent(25,39633.93); h_SL1L362->SetBinContent(26,37133.93); h_SL1L362->SetBinContent(27,36142.86); h_SL1L362->SetBinContent(28,36285.71); h_SL1L362->SetBinContent(29,37419.64); h_SL1L362->SetBinContent(30,36883.93); h_SL1L362->SetBinContent(31,35991.07); h_SL1L362->SetBinContent(32,35160.71); h_SL1L362->SetBinContent(33,35160.71); h_SL1L362->SetBinContent(34,35982.14); h_SL1L362->SetBinContent(35,34633.93); h_SL1L362->SetBinContent(36,32714.29); h_SL1L362->SetBinContent(37,34589.29); h_SL1L362->SetBinContent(38,32660.71); h_SL1L362->SetBinContent(39,31285.71); h_SL1L362->SetBinContent(40,29000); h_SL1L362->SetBinContent(41,30071.43); h_SL1L362->SetBinContent(42,30892.86); h_SL1L362->SetBinContent(43,30357.14); h_SL1L362->SetBinContent(44,29776.79); h_SL1L362->SetBinContent(45,27901.79); h_SL1L362->SetBinContent(46,27071.43); h_SL1L362->SetBinContent(47,24982.14); h_SL1L362->SetBinContent(48,25294.64); h_SL1L362->SetBinContent(49,27062.5); h_SL1L362->SetBinContent(50,26821.43); h_SL1L362->SetBinContent(51,25062.5); h_SL1L362->SetBinContent(52,23339.29); h_SL1L362->SetBinContent(53,23062.5); h_SL1L362->SetBinContent(54,22241.07); h_SL1L362->SetBinContent(55,22821.43); h_SL1L362->SetBinContent(56,22660.71); h_SL1L362->SetMaximum(57325.45); 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,28580.36); h_SL1L463->SetBinContent(3,24303.57); h_SL1L463->SetBinContent(4,25678.57); h_SL1L463->SetBinContent(5,22392.86); h_SL1L463->SetBinContent(6,24044.64); h_SL1L463->SetBinContent(7,24437.5); h_SL1L463->SetBinContent(8,25401.79); h_SL1L463->SetBinContent(9,29303.57); h_SL1L463->SetBinContent(10,27955.36); h_SL1L463->SetBinContent(11,29642.86); h_SL1L463->SetBinContent(12,30821.43); h_SL1L463->SetBinContent(13,29758.93); h_SL1L463->SetBinContent(14,31973.21); h_SL1L463->SetBinContent(15,49848.21); h_SL1L463->SetBinContent(16,33232.14); h_SL1L463->SetBinContent(17,24392.86); h_SL1L463->SetBinContent(18,21312.5); h_SL1L463->SetBinContent(19,21571.43); h_SL1L463->SetBinContent(20,21910.71); h_SL1L463->SetBinContent(21,24285.71); h_SL1L463->SetBinContent(22,22741.07); h_SL1L463->SetBinContent(23,23321.43); h_SL1L463->SetBinContent(24,23633.93); h_SL1L463->SetBinContent(25,21535.71); h_SL1L463->SetBinContent(26,22151.79); h_SL1L463->SetBinContent(27,20419.64); h_SL1L463->SetBinContent(28,19883.93); h_SL1L463->SetBinContent(29,18910.71); h_SL1L463->SetBinContent(30,21241.07); h_SL1L463->SetBinContent(31,19455.36); h_SL1L463->SetBinContent(32,18982.14); h_SL1L463->SetBinContent(33,19312.5); h_SL1L463->SetBinContent(34,22785.71); h_SL1L463->SetBinContent(35,21562.5); h_SL1L463->SetBinContent(36,19642.86); h_SL1L463->SetBinContent(37,44.64286); h_SL1L463->SetBinContent(41,16910.71); h_SL1L463->SetBinContent(42,17839.29); h_SL1L463->SetBinContent(43,18875); h_SL1L463->SetBinContent(44,18714.29); h_SL1L463->SetBinContent(45,17776.79); h_SL1L463->SetBinContent(46,17312.5); h_SL1L463->SetBinContent(47,15303.57); h_SL1L463->SetBinContent(48,15107.14); h_SL1L463->SetBinContent(49,15491.07); h_SL1L463->SetBinContent(50,16875); h_SL1L463->SetBinContent(51,14491.07); h_SL1L463->SetBinContent(52,13794.64); h_SL1L463->SetBinContent(53,13107.14); h_SL1L463->SetBinContent(54,12696.43); h_SL1L463->SetBinContent(55,17.85714); h_SL1L463->SetBinContent(56,12285.71); h_SL1L463->SetMaximum(57325.45); 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 7279"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }