void RatesPerCell_Removing_noisy_cells_run_6727_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:03:13 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12905.01,67.5,116145.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6727",60,0,60); h_SL2L164->SetBinContent(1,48036.36); h_SL2L164->SetBinContent(2,60224.06); h_SL2L164->SetBinContent(3,72227.48); h_SL2L164->SetBinContent(4,74501.16); h_SL2L164->SetBinContent(5,72973.09); h_SL2L164->SetBinContent(6,67147.15); h_SL2L164->SetBinContent(7,59512.47); h_SL2L164->SetBinContent(8,58721.5); h_SL2L164->SetBinContent(9,66889.16); h_SL2L164->SetBinContent(10,68048.68); h_SL2L164->SetBinContent(11,68360.53); h_SL2L164->SetBinContent(12,66500.77); h_SL2L164->SetBinContent(13,65925.26); h_SL2L164->SetBinContent(14,65414.96); h_SL2L164->SetBinContent(15,64703.37); h_SL2L164->SetBinContent(16,62029.96); h_SL2L164->SetBinContent(17,60187.2); h_SL2L164->SetBinContent(18,59946.23); h_SL2L164->SetBinContent(19,57383.38); h_SL2L164->SetBinContent(20,52597.89); h_SL2L164->SetBinContent(21,48498.47); h_SL2L164->SetBinContent(22,44625.85); h_SL2L164->SetBinContent(23,43792.36); h_SL2L164->SetBinContent(24,41467.65); h_SL2L164->SetBinContent(25,43154.48); h_SL2L164->SetBinContent(26,57783.12); h_SL2L164->SetBinContent(27,69778.03); h_SL2L164->SetBinContent(28,75391.34); h_SL2L164->SetBinContent(29,78064.76); h_SL2L164->SetBinContent(30,74518.16); h_SL2L164->SetBinContent(31,71067.96); h_SL2L164->SetBinContent(32,70929.05); h_SL2L164->SetBinContent(33,70126.73); h_SL2L164->SetBinContent(34,50528.33); h_SL2L164->SetBinContent(36,26558.35); h_SL2L164->SetBinContent(37,27839.77); h_SL2L164->SetBinContent(38,27550.6); h_SL2L164->SetBinContent(39,26748.29); h_SL2L164->SetBinContent(40,60266.58); h_SL2L164->SetBinContent(41,53210.25); h_SL2L164->SetBinContent(42,27587.46); h_SL2L164->SetBinContent(43,27496.73); h_SL2L164->SetBinContent(44,26691.59); h_SL2L164->SetBinContent(45,23227.21); h_SL2L164->SetBinContent(46,21852.24); h_SL2L164->SetBinContent(47,23040.1); h_SL2L164->SetBinContent(48,22521.3); h_SL2L164->SetBinContent(49,23808.39); h_SL2L164->SetBinContent(50,23207.37); h_SL2L164->SetBinContent(51,24568.17); h_SL2L164->SetBinContent(52,27559.11); h_SL2L164->SetBinContent(53,29319.64); h_SL2L164->SetBinContent(54,31916.51); h_SL2L164->SetBinContent(55,32500.52); h_SL2L164->SetBinContent(56,27275.6); h_SL2L164->SetBinContent(57,23380.3); h_SL2L164->SetMaximum(103240.1); 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,39528.5); h_SL2L265->SetBinContent(2,57184.93); h_SL2L265->SetBinContent(3,62812.42); h_SL2L265->SetBinContent(4,72434.44); h_SL2L265->SetBinContent(5,70597.35); h_SL2L265->SetBinContent(6,67220.86); h_SL2L265->SetBinContent(7,60961.16); h_SL2L265->SetBinContent(8,54528.53); h_SL2L265->SetBinContent(9,61947.74); h_SL2L265->SetBinContent(10,64788.42); h_SL2L265->SetBinContent(11,66631.17); h_SL2L265->SetBinContent(12,64252.6); h_SL2L265->SetBinContent(13,64555.95); h_SL2L265->SetBinContent(14,64530.43); h_SL2L265->SetBinContent(15,62670.67); h_SL2L265->SetBinContent(16,61908.05); h_SL2L265->SetBinContent(17,58741.35); h_SL2L265->SetBinContent(18,58126.15); h_SL2L265->SetBinContent(19,57400.39); h_SL2L265->SetBinContent(20,52830.36); h_SL2L265->SetBinContent(21,49618.3); h_SL2L265->SetBinContent(22,45093.62); h_SL2L265->SetBinContent(23,42400.37); h_SL2L265->SetBinContent(24,41376.93); h_SL2L265->SetBinContent(25,38989.86); h_SL2L265->SetBinContent(26,48501.3); h_SL2L265->SetBinContent(27,62996.7); h_SL2L265->SetBinContent(28,72496.8); h_SL2L265->SetBinContent(29,76182.31); h_SL2L265->SetBinContent(30,76264.53); h_SL2L265->SetBinContent(31,69976.48); h_SL2L265->SetBinContent(32,70140.91); h_SL2L265->SetBinContent(33,69613.6); h_SL2L265->SetBinContent(34,62571.45); h_SL2L265->SetBinContent(35,37328.54); h_SL2L265->SetBinContent(36,27947.5); h_SL2L265->SetBinContent(37,26337.22); h_SL2L265->SetBinContent(38,26028.2); h_SL2L265->SetBinContent(39,25690.84); h_SL2L265->SetBinContent(40,26079.23); h_SL2L265->SetBinContent(41,25149.35); h_SL2L265->SetBinContent(42,24137.25); h_SL2L265->SetBinContent(43,23930.29); h_SL2L265->SetBinContent(44,23805.55); h_SL2L265->SetBinContent(45,22895.52); h_SL2L265->SetBinContent(46,21361.78); h_SL2L265->SetBinContent(47,21273.89); h_SL2L265->SetBinContent(48,21877.75); h_SL2L265->SetBinContent(49,22178.26); h_SL2L265->SetBinContent(50,23607.11); h_SL2L265->SetBinContent(51,21730.33); h_SL2L265->SetBinContent(52,25387.49); h_SL2L265->SetBinContent(53,27542.1); h_SL2L265->SetBinContent(54,29367.84); h_SL2L265->SetBinContent(55,31638.68); h_SL2L265->SetBinContent(56,28741.3); h_SL2L265->SetBinContent(57,27380.5); h_SL2L265->SetMaximum(89774.47); 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,45552.89); h_SL2L366->SetBinContent(2,55166.41); h_SL2L366->SetBinContent(3,68678.05); h_SL2L366->SetBinContent(4,68638.36); h_SL2L366->SetBinContent(5,66200.25); h_SL2L366->SetBinContent(6,61638.73); h_SL2L366->SetBinContent(7,54554.04); h_SL2L366->SetBinContent(8,55688.05); h_SL2L366->SetBinContent(9,62185.88); h_SL2L366->SetBinContent(10,63232); h_SL2L366->SetBinContent(11,63436.12); h_SL2L366->SetBinContent(12,62398.51); h_SL2L366->SetBinContent(13,62089.49); h_SL2L366->SetBinContent(14,61341.05); h_SL2L366->SetBinContent(15,60538.74); h_SL2L366->SetBinContent(16,57777.45); h_SL2L366->SetBinContent(17,55503.77); h_SL2L366->SetBinContent(18,55730.57); h_SL2L366->SetBinContent(19,52960.77); h_SL2L366->SetBinContent(20,48416.25); h_SL2L366->SetBinContent(21,45890.26); h_SL2L366->SetBinContent(22,41827.7); h_SL2L366->SetBinContent(23,39922.57); h_SL2L366->SetBinContent(24,38139.35); h_SL2L366->SetBinContent(25,39990.61); h_SL2L366->SetBinContent(26,55702.22); h_SL2L366->SetBinContent(27,67561.05); h_SL2L366->SetBinContent(28,73228.23); h_SL2L366->SetBinContent(29,75088); h_SL2L366->SetBinContent(30,72530.82); h_SL2L366->SetBinContent(31,69778.03); h_SL2L366->SetBinContent(32,69157.16); h_SL2L366->SetBinContent(33,67847.39); h_SL2L366->SetBinContent(34,48317.03); h_SL2L366->SetBinContent(35,29055.99); h_SL2L366->SetBinContent(36,25138.01); h_SL2L366->SetBinContent(37,25157.85); h_SL2L366->SetBinContent(38,25520.73); h_SL2L366->SetBinContent(39,24157.1); h_SL2L366->SetBinContent(40,23998.34); h_SL2L366->SetBinContent(41,23663.8); h_SL2L366->SetBinContent(42,23065.62); h_SL2L366->SetBinContent(43,22529.8); h_SL2L366->SetBinContent(44,22110.22); h_SL2L366->SetBinContent(45,21401.47); h_SL2L366->SetBinContent(46,20516.95); h_SL2L366->SetBinContent(47,20959.21); h_SL2L366->SetBinContent(48,21044.26); h_SL2L366->SetBinContent(49,22405.06); h_SL2L366->SetBinContent(50,21770.02); h_SL2L366->SetBinContent(51,21934.45); h_SL2L366->SetBinContent(52,25282.59); h_SL2L366->SetBinContent(53,27006.28); h_SL2L366->SetBinContent(54,29554.95); h_SL2L366->SetBinContent(55,29713.71); h_SL2L366->SetBinContent(56,25398.83); h_SL2L366->SetBinContent(57,25404.5); h_SL2L366->SetMaximum(89774.47); 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,53150.71); h_SL2L467->SetBinContent(3,60496.22); h_SL2L467->SetBinContent(4,65619.08); h_SL2L467->SetBinContent(5,65636.09); h_SL2L467->SetBinContent(6,60379.98); h_SL2L467->SetBinContent(7,55676.71); h_SL2L467->SetBinContent(8,49604.12); h_SL2L467->SetBinContent(9,57947.55); h_SL2L467->SetBinContent(10,59787.46); h_SL2L467->SetBinContent(11,60839.25); h_SL2L467->SetBinContent(12,59716.59); h_SL2L467->SetBinContent(13,59640.05); h_SL2L467->SetBinContent(14,59379.23); h_SL2L467->SetBinContent(15,58503.21); h_SL2L467->SetBinContent(16,56104.79); h_SL2L467->SetBinContent(17,54032.4); h_SL2L467->SetBinContent(18,54111.78); h_SL2L467->SetBinContent(19,52286.04); h_SL2L467->SetBinContent(20,48773.46); h_SL2L467->SetBinContent(21,45833.56); h_SL2L467->SetBinContent(22,41870.22); h_SL2L467->SetBinContent(23,39018.2); h_SL2L467->SetBinContent(24,37566.68); h_SL2L467->SetBinContent(25,36571.59); h_SL2L467->SetBinContent(26,46530.97); h_SL2L467->SetBinContent(27,61015.02); h_SL2L467->SetBinContent(28,70328.02); h_SL2L467->SetBinContent(29,73531.58); h_SL2L467->SetBinContent(30,74240.34); h_SL2L467->SetBinContent(31,68397.38); h_SL2L467->SetBinContent(32,69236.55); h_SL2L467->SetBinContent(33,68383.21); h_SL2L467->SetBinContent(34,60708.84); h_SL2L467->SetBinContent(35,35565.16); h_SL2L467->SetBinContent(36,25523.57); h_SL2L467->SetBinContent(37,24449.1); h_SL2L467->SetBinContent(38,24494.46); h_SL2L467->SetBinContent(39,23941.63); h_SL2L467->SetBinContent(40,23516.38); h_SL2L467->SetBinContent(41,22821.81); h_SL2L467->SetBinContent(42,22680.06); h_SL2L467->SetBinContent(43,21846.56); h_SL2L467->SetBinContent(44,21906.1); h_SL2L467->SetBinContent(45,20998.9); h_SL2L467->SetBinContent(46,19765.67); h_SL2L467->SetBinContent(47,19657.94); h_SL2L467->SetBinContent(48,19992.47); h_SL2L467->SetBinContent(49,20766.43); h_SL2L467->SetBinContent(50,21682.13); h_SL2L467->SetBinContent(51,19910.26); h_SL2L467->SetBinContent(52,23091.13); h_SL2L467->SetBinContent(53,24882.86); h_SL2L467->SetBinContent(54,27230.24); h_SL2L467->SetBinContent(55,28746.97); h_SL2L467->SetBinContent(56,26694.43); h_SL2L467->SetBinContent(57,24423.59); h_SL2L467->SetMaximum(89774.47); 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 6727"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }