void RatesPerCell_Removing_noisy_cells_run_6624_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:52:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-22738.38,67.5,204645.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6624",60,0,60); h_SL3L168->SetBinContent(1,34839.72); h_SL3L168->SetBinContent(2,23843.9); h_SL3L168->SetBinContent(4,41074.61); h_SL3L168->SetBinContent(5,42461.7); h_SL3L168->SetBinContent(6,45398.4); h_SL3L168->SetBinContent(7,43907.63); h_SL3L168->SetBinContent(8,44151.42); h_SL3L168->SetBinContent(9,42072.19); h_SL3L168->SetBinContent(10,38998.18); h_SL3L168->SetBinContent(11,36705.98); h_SL3L168->SetBinContent(12,37263.62); h_SL3L168->SetBinContent(13,39138.29); h_SL3L168->SetBinContent(14,41621.04); h_SL3L168->SetBinContent(15,42330); h_SL3L168->SetBinContent(16,42394.45); h_SL3L168->SetBinContent(17,40617.85); h_SL3L168->SetBinContent(18,41867.63); h_SL3L168->SetBinContent(19,42374.83); h_SL3L168->SetBinContent(20,43983.29); h_SL3L168->SetBinContent(21,44703.46); h_SL3L168->SetBinContent(22,46788.29); h_SL3L168->SetBinContent(23,47155.38); h_SL3L168->SetBinContent(24,47906.37); h_SL3L168->SetBinContent(25,47990.43); h_SL3L168->SetBinContent(26,47561.7); h_SL3L168->SetBinContent(27,46104.55); h_SL3L168->SetBinContent(28,45583.35); h_SL3L168->SetBinContent(29,45490.88); h_SL3L168->SetBinContent(30,46763.07); h_SL3L168->SetBinContent(31,45869.17); h_SL3L168->SetBinContent(32,46376.37); h_SL3L168->SetBinContent(33,48786.26); h_SL3L168->SetBinContent(34,71691.42); h_SL3L168->SetBinContent(35,89104.27); h_SL3L168->SetBinContent(36,95311.14); h_SL3L168->SetBinContent(37,103709.3); h_SL3L168->SetBinContent(38,107923.8); h_SL3L168->SetBinContent(39,99214.6); h_SL3L168->SetBinContent(40,73361.53); h_SL3L168->SetBinContent(41,44535.32); h_SL3L168->SetBinContent(42,39482.96); h_SL3L168->SetBinContent(43,37260.82); h_SL3L168->SetBinContent(44,38003.4); h_SL3L168->SetBinContent(45,36854.5); h_SL3L168->SetBinContent(46,36249.23); h_SL3L168->SetBinContent(47,35467.41); h_SL3L168->SetBinContent(48,35912.96); h_SL3L168->SetBinContent(49,42170.27); h_SL3L168->SetBinContent(50,35565.49); h_SL3L168->SetBinContent(51,34321.31); h_SL3L168->SetBinContent(52,34741.64); h_SL3L168->SetBinContent(53,32808.13); h_SL3L168->SetBinContent(54,31622.8); h_SL3L168->SetBinContent(55,31746.1); h_SL3L168->SetBinContent(56,32407.41); h_SL3L168->SetBinContent(57,32085.16); h_SL3L168->SetBinContent(58,25177.74); h_SL3L168->SetBinContent(59,21008.07); h_SL3L168->SetMaximum(181907); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,35859.72); h_SL3L269->SetBinContent(2,25485.99); h_SL3L269->SetBinContent(4,33620.77); h_SL3L269->SetBinContent(5,39735.16); h_SL3L269->SetBinContent(6,43260.32); h_SL3L269->SetBinContent(7,42842.8); h_SL3L269->SetBinContent(8,42018.95); h_SL3L269->SetBinContent(9,41550.98); h_SL3L269->SetBinContent(10,38872.08); h_SL3L269->SetBinContent(11,35209.61); h_SL3L269->SetBinContent(12,34909.78); h_SL3L269->SetBinContent(13,36504.23); h_SL3L269->SetBinContent(14,38255.6); h_SL3L269->SetBinContent(15,40357.25); h_SL3L269->SetBinContent(16,40295.6); h_SL3L269->SetBinContent(17,39166.31); h_SL3L269->SetBinContent(18,38594.66); h_SL3L269->SetBinContent(19,40326.42); h_SL3L269->SetBinContent(20,41071.81); h_SL3L269->SetBinContent(21,42229.12); h_SL3L269->SetBinContent(22,42767.14); h_SL3L269->SetBinContent(23,45059.34); h_SL3L269->SetBinContent(24,45300.32); h_SL3L269->SetBinContent(25,45807.52); h_SL3L269->SetBinContent(26,45956.04); h_SL3L269->SetBinContent(27,45317.14); h_SL3L269->SetBinContent(28,43109); h_SL3L269->SetBinContent(29,42949.28); h_SL3L269->SetBinContent(30,44056.15); h_SL3L269->SetBinContent(31,44075.77); h_SL3L269->SetBinContent(32,43389.23); h_SL3L269->SetBinContent(33,45737.47); h_SL3L269->SetBinContent(34,54640.05); h_SL3L269->SetBinContent(35,82126.8); h_SL3L269->SetBinContent(36,89659.11); h_SL3L269->SetBinContent(37,97205.43); h_SL3L269->SetBinContent(38,104793.8); h_SL3L269->SetBinContent(39,102756.6); h_SL3L269->SetBinContent(40,89034.22); h_SL3L269->SetBinContent(41,51899.5); h_SL3L269->SetBinContent(42,41052.19); h_SL3L269->SetBinContent(43,36501.43); h_SL3L269->SetBinContent(44,36885.32); h_SL3L269->SetBinContent(45,35164.78); h_SL3L269->SetBinContent(46,34385.77); h_SL3L269->SetBinContent(47,34161.59); h_SL3L269->SetBinContent(48,33830.93); h_SL3L269->SetBinContent(49,36011.04); h_SL3L269->SetBinContent(50,33898.18); h_SL3L269->SetBinContent(51,33424.61); h_SL3L269->SetBinContent(52,33519.89); h_SL3L269->SetBinContent(53,35344.12); h_SL3L269->SetBinContent(54,30922.25); h_SL3L269->SetBinContent(55,30087.19); h_SL3L269->SetBinContent(56,31440.66); h_SL3L269->SetBinContent(57,30011.54); h_SL3L269->SetBinContent(58,27531.59); h_SL3L269->SetBinContent(59,22779.06); h_SL3L269->SetMaximum(158181); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,29863.02); h_SL3L370->SetBinContent(2,22829.5); h_SL3L370->SetBinContent(3,27346.64); h_SL3L370->SetBinContent(4,37361.7); h_SL3L370->SetBinContent(5,39418.51); h_SL3L370->SetBinContent(6,41593.02); h_SL3L370->SetBinContent(7,40435.71); h_SL3L370->SetBinContent(8,39754.77); h_SL3L370->SetBinContent(9,37143.13); h_SL3L370->SetBinContent(10,34467.03); h_SL3L370->SetBinContent(11,34018.68); h_SL3L370->SetBinContent(12,34396.97); h_SL3L370->SetBinContent(13,36153.95); h_SL3L370->SetBinContent(14,37852.08); h_SL3L370->SetBinContent(15,37448.57); h_SL3L370->SetBinContent(16,37448.57); h_SL3L370->SetBinContent(17,36826.48); h_SL3L370->SetBinContent(18,37106.7); h_SL3L370->SetBinContent(19,38583.46); h_SL3L370->SetBinContent(20,39771.59); h_SL3L370->SetBinContent(21,40738.35); h_SL3L370->SetBinContent(22,42321.59); h_SL3L370->SetBinContent(23,42666.26); h_SL3L370->SetBinContent(24,42898.84); h_SL3L370->SetBinContent(25,43338.79); h_SL3L370->SetBinContent(26,43792.74); h_SL3L370->SetBinContent(27,41660.27); h_SL3L370->SetBinContent(28,41514.55); h_SL3L370->SetBinContent(29,41332.41); h_SL3L370->SetBinContent(30,42105.82); h_SL3L370->SetBinContent(31,42024.55); h_SL3L370->SetBinContent(32,42512.14); h_SL3L370->SetBinContent(33,44358.79); h_SL3L370->SetBinContent(34,67900.05); h_SL3L370->SetBinContent(35,83413.01); h_SL3L370->SetBinContent(36,90959.33); h_SL3L370->SetBinContent(37,100088.9); h_SL3L370->SetBinContent(38,102947.1); h_SL3L370->SetBinContent(39,95793.12); h_SL3L370->SetBinContent(40,69884); h_SL3L370->SetBinContent(41,42304.77); h_SL3L370->SetBinContent(42,36689.17); h_SL3L370->SetBinContent(43,34699.61); h_SL3L370->SetBinContent(44,34354.94); h_SL3L370->SetBinContent(45,8322.526); h_SL3L370->SetBinContent(46,33511.48); h_SL3L370->SetBinContent(47,32480.27); h_SL3L370->SetBinContent(48,32651.21); h_SL3L370->SetBinContent(49,32373.79); h_SL3L370->SetBinContent(50,32611.97); h_SL3L370->SetBinContent(51,31255.71); h_SL3L370->SetBinContent(52,30594.39); h_SL3L370->SetBinContent(53,30633.62); h_SL3L370->SetBinContent(54,29039.17); h_SL3L370->SetBinContent(55,29170.88); h_SL3L370->SetBinContent(56,29453.9); h_SL3L370->SetBinContent(57,28658.07); h_SL3L370->SetBinContent(58,23530.05); h_SL3L370->SetBinContent(59,20366.37); h_SL3L370->SetMaximum(158181); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,23569.28); h_SL3L471->SetBinContent(3,25040.44); h_SL3L471->SetBinContent(4,31126.81); h_SL3L471->SetBinContent(5,36313.68); h_SL3L471->SetBinContent(6,137548.7); h_SL3L471->SetBinContent(7,39155.11); h_SL3L471->SetBinContent(8,37955.77); h_SL3L471->SetBinContent(9,37036.64); h_SL3L471->SetBinContent(10,35271.26); h_SL3L471->SetBinContent(11,31715.27); h_SL3L471->SetBinContent(12,32314.94); h_SL3L471->SetBinContent(13,32855.77); h_SL3L471->SetBinContent(14,35136.75); h_SL3L471->SetBinContent(15,35400.16); h_SL3L471->SetBinContent(16,36459.39); h_SL3L471->SetBinContent(17,36431.37); h_SL3L471->SetBinContent(18,34668.79); h_SL3L471->SetBinContent(19,36173.57); h_SL3L471->SetBinContent(20,38342.47); h_SL3L471->SetBinContent(21,38235.98); h_SL3L471->SetBinContent(22,39048.62); h_SL3L471->SetBinContent(23,39990.16); h_SL3L471->SetBinContent(24,40794.39); h_SL3L471->SetBinContent(25,41203.51); h_SL3L471->SetBinContent(26,41133.46); h_SL3L471->SetBinContent(27,41573.4); h_SL3L471->SetBinContent(28,39306.42); h_SL3L471->SetBinContent(29,39611.86); h_SL3L471->SetBinContent(30,39864.06); h_SL3L471->SetBinContent(31,39805.21); h_SL3L471->SetBinContent(32,39990.16); h_SL3L471->SetBinContent(33,41789.17); h_SL3L471->SetBinContent(34,50537.63); h_SL3L471->SetBinContent(35,78060.81); h_SL3L471->SetBinContent(36,85478.23); h_SL3L471->SetBinContent(37,93666.25); h_SL3L471->SetBinContent(38,101176.1); h_SL3L471->SetBinContent(39,98208.62); h_SL3L471->SetBinContent(40,85035.48); h_SL3L471->SetBinContent(41,48912.36); h_SL3L471->SetBinContent(42,37681.15); h_SL3L471->SetBinContent(43,33791.7); h_SL3L471->SetBinContent(44,32435.44); h_SL3L471->SetBinContent(45,32051.54); h_SL3L471->SetBinContent(46,32174.83); h_SL3L471->SetBinContent(47,31516.31); h_SL3L471->SetBinContent(48,30437.47); h_SL3L471->SetBinContent(49,30325.38); h_SL3L471->SetBinContent(50,30905.44); h_SL3L471->SetBinContent(51,30824.17); h_SL3L471->SetBinContent(52,29291.37); h_SL3L471->SetBinContent(53,29215.71); h_SL3L471->SetBinContent(54,28487.14); h_SL3L471->SetBinContent(55,27453.13); h_SL3L471->SetBinContent(56,28680.49); h_SL3L471->SetBinContent(57,27960.33); h_SL3L471->SetBinContent(58,25783.02); h_SL3L471->SetBinContent(59,21366.76); h_SL3L471->SetMaximum(158181); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6624"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }