void RatesPerCell_Removing_noisy_cells_run_6831_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:38 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-30340.74,67.5,273066.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6831",60,0,60); h_SL2L164->SetBinContent(1,48255.1); h_SL2L164->SetBinContent(2,60765.3); h_SL2L164->SetBinContent(3,73678.57); h_SL2L164->SetBinContent(4,76918.37); h_SL2L164->SetBinContent(5,74183.67); h_SL2L164->SetBinContent(6,66750); h_SL2L164->SetBinContent(7,61428.57); h_SL2L164->SetBinContent(8,59209.18); h_SL2L164->SetBinContent(9,67469.39); h_SL2L164->SetBinContent(10,68321.43); h_SL2L164->SetBinContent(11,68163.27); h_SL2L164->SetBinContent(12,68739.8); h_SL2L164->SetBinContent(13,67464.28); h_SL2L164->SetBinContent(14,66846.94); h_SL2L164->SetBinContent(15,64525.51); h_SL2L164->SetBinContent(16,63362.25); h_SL2L164->SetBinContent(17,60500); h_SL2L164->SetBinContent(18,61392.86); h_SL2L164->SetBinContent(19,58525.51); h_SL2L164->SetBinContent(20,54076.53); h_SL2L164->SetBinContent(21,50551.02); h_SL2L164->SetBinContent(22,45357.14); h_SL2L164->SetBinContent(23,44510.2); h_SL2L164->SetBinContent(24,40673.47); h_SL2L164->SetBinContent(25,42484.7); h_SL2L164->SetBinContent(26,59025.51); h_SL2L164->SetBinContent(27,71551.02); h_SL2L164->SetBinContent(28,77933.67); h_SL2L164->SetBinContent(29,80602.04); h_SL2L164->SetBinContent(30,76331.63); h_SL2L164->SetBinContent(31,73673.47); h_SL2L164->SetBinContent(32,71352.04); h_SL2L164->SetBinContent(33,71811.23); h_SL2L164->SetBinContent(34,51219.39); h_SL2L164->SetBinContent(35,5.102041); h_SL2L164->SetBinContent(36,27877.55); h_SL2L164->SetBinContent(37,29413.27); h_SL2L164->SetBinContent(38,29377.55); h_SL2L164->SetBinContent(39,29693.88); h_SL2L164->SetBinContent(40,113862.2); h_SL2L164->SetBinContent(41,183535.7); h_SL2L164->SetBinContent(42,30229.59); h_SL2L164->SetBinContent(43,29535.71); h_SL2L164->SetBinContent(44,30005.1); h_SL2L164->SetBinContent(45,24158.16); h_SL2L164->SetBinContent(46,22413.27); h_SL2L164->SetBinContent(47,22775.51); h_SL2L164->SetBinContent(48,22846.94); h_SL2L164->SetBinContent(49,23780.61); h_SL2L164->SetBinContent(50,22994.9); h_SL2L164->SetBinContent(51,25392.86); h_SL2L164->SetBinContent(52,29112.24); h_SL2L164->SetBinContent(53,31602.04); h_SL2L164->SetBinContent(54,32438.78); h_SL2L164->SetBinContent(55,33663.27); h_SL2L164->SetBinContent(56,28744.9); h_SL2L164->SetBinContent(57,174581.6); h_SL2L164->SetMaximum(242725.9); 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,40897.96); h_SL2L265->SetBinContent(2,58959.18); h_SL2L265->SetBinContent(3,64091.84); h_SL2L265->SetBinContent(4,73964.28); h_SL2L265->SetBinContent(5,72755.1); h_SL2L265->SetBinContent(6,67229.59); h_SL2L265->SetBinContent(7,63076.53); h_SL2L265->SetBinContent(8,56081.63); h_SL2L265->SetBinContent(9,63556.12); h_SL2L265->SetBinContent(10,65535.71); h_SL2L265->SetBinContent(11,67765.3); h_SL2L265->SetBinContent(12,66234.7); h_SL2L265->SetBinContent(13,65724.49); h_SL2L265->SetBinContent(14,64739.8); h_SL2L265->SetBinContent(15,64392.86); h_SL2L265->SetBinContent(16,62938.77); h_SL2L265->SetBinContent(17,60214.29); h_SL2L265->SetBinContent(18,57780.61); h_SL2L265->SetBinContent(19,57739.8); h_SL2L265->SetBinContent(20,53443.88); h_SL2L265->SetBinContent(21,50709.18); h_SL2L265->SetBinContent(22,45816.32); h_SL2L265->SetBinContent(23,43137.75); h_SL2L265->SetBinContent(24,40943.88); h_SL2L265->SetBinContent(25,39153.06); h_SL2L265->SetBinContent(26,49403.06); h_SL2L265->SetBinContent(27,64076.53); h_SL2L265->SetBinContent(28,74892.86); h_SL2L265->SetBinContent(29,77775.51); h_SL2L265->SetBinContent(30,76204.08); h_SL2L265->SetBinContent(31,71081.63); h_SL2L265->SetBinContent(32,70770.41); h_SL2L265->SetBinContent(33,70372.45); h_SL2L265->SetBinContent(34,63505.1); h_SL2L265->SetBinContent(35,37505.1); h_SL2L265->SetBinContent(36,28076.53); h_SL2L265->SetBinContent(37,25964.29); h_SL2L265->SetBinContent(38,26954.08); h_SL2L265->SetBinContent(39,26846.94); h_SL2L265->SetBinContent(40,28392.86); h_SL2L265->SetBinContent(41,26704.08); h_SL2L265->SetBinContent(42,25357.14); h_SL2L265->SetBinContent(43,24005.1); h_SL2L265->SetBinContent(44,25295.92); h_SL2L265->SetBinContent(45,22826.53); h_SL2L265->SetBinContent(46,22188.78); h_SL2L265->SetBinContent(47,21862.24); h_SL2L265->SetBinContent(48,22545.92); h_SL2L265->SetBinContent(49,23122.45); h_SL2L265->SetBinContent(50,22413.27); h_SL2L265->SetBinContent(51,22326.53); h_SL2L265->SetBinContent(52,25918.37); h_SL2L265->SetBinContent(53,28147.96); h_SL2L265->SetBinContent(54,30005.1); h_SL2L265->SetBinContent(55,32994.9); h_SL2L265->SetBinContent(56,28841.84); h_SL2L265->SetBinContent(57,27474.49); h_SL2L265->SetMaximum(211066.1); 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,66653.06); h_SL2L366->SetBinContent(2,55551.02); h_SL2L366->SetBinContent(3,68545.91); h_SL2L366->SetBinContent(4,71790.81); h_SL2L366->SetBinContent(5,68433.67); h_SL2L366->SetBinContent(6,61571.43); h_SL2L366->SetBinContent(7,55903.06); h_SL2L366->SetBinContent(8,55642.86); h_SL2L366->SetBinContent(9,63188.77); h_SL2L366->SetBinContent(10,64438.77); h_SL2L366->SetBinContent(11,63683.67); h_SL2L366->SetBinContent(12,62168.37); h_SL2L366->SetBinContent(13,62678.57); h_SL2L366->SetBinContent(14,62448.98); h_SL2L366->SetBinContent(15,61438.77); h_SL2L366->SetBinContent(16,58561.22); h_SL2L366->SetBinContent(17,55367.35); h_SL2L366->SetBinContent(18,56423.47); h_SL2L366->SetBinContent(19,53566.32); h_SL2L366->SetBinContent(20,50132.65); h_SL2L366->SetBinContent(21,45739.8); h_SL2L366->SetBinContent(22,42295.92); h_SL2L366->SetBinContent(23,40137.75); h_SL2L366->SetBinContent(24,38290.82); h_SL2L366->SetBinContent(25,40561.22); h_SL2L366->SetBinContent(26,56040.82); h_SL2L366->SetBinContent(27,68382.66); h_SL2L366->SetBinContent(28,75469.39); h_SL2L366->SetBinContent(29,76158.16); h_SL2L366->SetBinContent(30,73183.67); h_SL2L366->SetBinContent(31,70489.8); h_SL2L366->SetBinContent(32,69525.51); h_SL2L366->SetBinContent(33,68841.84); h_SL2L366->SetBinContent(34,49331.63); h_SL2L366->SetBinContent(35,29015.31); h_SL2L366->SetBinContent(36,25836.73); h_SL2L366->SetBinContent(37,25306.12); h_SL2L366->SetBinContent(38,25000); h_SL2L366->SetBinContent(39,25224.49); h_SL2L366->SetBinContent(40,24897.96); h_SL2L366->SetBinContent(41,24091.84); h_SL2L366->SetBinContent(42,22285.71); h_SL2L366->SetBinContent(43,23525.51); h_SL2L366->SetBinContent(44,22719.39); h_SL2L366->SetBinContent(45,21688.78); h_SL2L366->SetBinContent(46,21086.73); h_SL2L366->SetBinContent(47,22816.33); h_SL2L366->SetBinContent(48,20948.98); h_SL2L366->SetBinContent(49,21153.06); h_SL2L366->SetBinContent(50,21806.12); h_SL2L366->SetBinContent(51,22918.37); h_SL2L366->SetBinContent(52,26244.9); h_SL2L366->SetBinContent(53,27234.69); h_SL2L366->SetBinContent(54,30326.53); h_SL2L366->SetBinContent(55,31239.79); h_SL2L366->SetBinContent(56,26153.06); h_SL2L366->SetBinContent(57,47882.65); h_SL2L366->SetMaximum(211066.1); 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,53811.22); h_SL2L467->SetBinContent(3,59280.61); h_SL2L467->SetBinContent(4,67295.91); h_SL2L467->SetBinContent(5,65846.94); h_SL2L467->SetBinContent(6,60826.53); h_SL2L467->SetBinContent(7,57617.35); h_SL2L467->SetBinContent(8,50566.32); h_SL2L467->SetBinContent(9,59081.63); h_SL2L467->SetBinContent(10,59668.37); h_SL2L467->SetBinContent(11,62280.61); h_SL2L467->SetBinContent(12,60443.88); h_SL2L467->SetBinContent(13,61642.86); h_SL2L467->SetBinContent(14,61178.57); h_SL2L467->SetBinContent(15,60056.12); h_SL2L467->SetBinContent(16,57734.69); h_SL2L467->SetBinContent(17,54668.37); h_SL2L467->SetBinContent(18,54045.92); h_SL2L467->SetBinContent(19,53122.45); h_SL2L467->SetBinContent(20,48959.18); h_SL2L467->SetBinContent(21,45943.88); h_SL2L467->SetBinContent(22,42260.2); h_SL2L467->SetBinContent(23,40540.82); h_SL2L467->SetBinContent(24,37795.92); h_SL2L467->SetBinContent(25,34918.37); h_SL2L467->SetBinContent(26,46882.65); h_SL2L467->SetBinContent(27,61454.08); h_SL2L467->SetBinContent(28,71821.43); h_SL2L467->SetBinContent(29,75826.53); h_SL2L467->SetBinContent(30,75000); h_SL2L467->SetBinContent(31,70994.9); h_SL2L467->SetBinContent(32,68836.73); h_SL2L467->SetBinContent(33,69142.86); h_SL2L467->SetBinContent(34,62010.2); h_SL2L467->SetBinContent(35,36301.02); h_SL2L467->SetBinContent(36,24994.9); h_SL2L467->SetBinContent(37,24571.43); h_SL2L467->SetBinContent(38,24377.55); h_SL2L467->SetBinContent(39,24163.27); h_SL2L467->SetBinContent(40,23795.92); h_SL2L467->SetBinContent(41,23341.84); h_SL2L467->SetBinContent(42,22872.45); h_SL2L467->SetBinContent(43,22673.47); h_SL2L467->SetBinContent(44,22265.31); h_SL2L467->SetBinContent(45,21183.67); h_SL2L467->SetBinContent(46,20127.55); h_SL2L467->SetBinContent(47,21903.06); h_SL2L467->SetBinContent(48,20632.65); h_SL2L467->SetBinContent(49,20918.37); h_SL2L467->SetBinContent(50,21887.76); h_SL2L467->SetBinContent(51,20663.27); h_SL2L467->SetBinContent(52,23525.51); h_SL2L467->SetBinContent(53,25168.37); h_SL2L467->SetBinContent(54,27596.94); h_SL2L467->SetBinContent(55,29954.08); h_SL2L467->SetBinContent(56,27096.94); h_SL2L467->SetBinContent(57,25653.06); h_SL2L467->SetMaximum(211066.1); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6831"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }