void RatesPerCell_Removing_noisy_cells_run_6722_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12850.39,67.5,115653.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6722",60,0,60); h_SL2L164->SetBinContent(1,47690.3); h_SL2L164->SetBinContent(2,59939.29); h_SL2L164->SetBinContent(3,72748.23); h_SL2L164->SetBinContent(4,74000.05); h_SL2L164->SetBinContent(5,71754.85); h_SL2L164->SetBinContent(6,66685.66); h_SL2L164->SetBinContent(7,60041.59); h_SL2L164->SetBinContent(8,57702.16); h_SL2L164->SetBinContent(9,67132.54); h_SL2L164->SetBinContent(10,67942.86); h_SL2L164->SetBinContent(11,67899.79); h_SL2L164->SetBinContent(12,66664.12); h_SL2L164->SetBinContent(13,65697.66); h_SL2L164->SetBinContent(14,66101.48); h_SL2L164->SetBinContent(15,64042.03); h_SL2L164->SetBinContent(16,62970.58); h_SL2L164->SetBinContent(17,60426.55); h_SL2L164->SetBinContent(18,59853.14); h_SL2L164->SetBinContent(19,57454.49); h_SL2L164->SetBinContent(20,53734.03); h_SL2L164->SetBinContent(21,49243.63); h_SL2L164->SetBinContent(22,45504.32); h_SL2L164->SetBinContent(23,43781.39); h_SL2L164->SetBinContent(24,41490.43); h_SL2L164->SetBinContent(25,42782.62); h_SL2L164->SetBinContent(26,58089.82); h_SL2L164->SetBinContent(27,69862.32); h_SL2L164->SetBinContent(28,75321.87); h_SL2L164->SetBinContent(29,77733.98); h_SL2L164->SetBinContent(30,74786.14); h_SL2L164->SetBinContent(31,69786.94); h_SL2L164->SetBinContent(32,70653.79); h_SL2L164->SetBinContent(33,69797.71); h_SL2L164->SetBinContent(34,50794.27); h_SL2L164->SetBinContent(36,26183.23); h_SL2L164->SetBinContent(37,27962.7); h_SL2L164->SetBinContent(38,27572.34); h_SL2L164->SetBinContent(39,26982.78); h_SL2L164->SetBinContent(40,62273.33); h_SL2L164->SetBinContent(41,56899.93); h_SL2L164->SetBinContent(42,27890.01); h_SL2L164->SetBinContent(43,28151.14); h_SL2L164->SetBinContent(44,28245.36); h_SL2L164->SetBinContent(45,22608.14); h_SL2L164->SetBinContent(46,21953.96); h_SL2L164->SetBinContent(47,22492.38); h_SL2L164->SetBinContent(48,22422.38); h_SL2L164->SetBinContent(49,24336.46); h_SL2L164->SetBinContent(50,22869.27); h_SL2L164->SetBinContent(51,25380.98); h_SL2L164->SetBinContent(52,26716.26); h_SL2L164->SetBinContent(53,29935.99); h_SL2L164->SetBinContent(54,32280.8); h_SL2L164->SetBinContent(55,31879.68); h_SL2L164->SetBinContent(56,27348.9); h_SL2L164->SetBinContent(57,23962.26); h_SL2L164->SetMaximum(102803.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,39363.68); h_SL2L265->SetBinContent(2,57109.91); h_SL2L265->SetBinContent(3,62362.17); h_SL2L265->SetBinContent(4,71493.72); h_SL2L265->SetBinContent(5,70764.16); h_SL2L265->SetBinContent(6,67425.98); h_SL2L265->SetBinContent(7,60892.29); h_SL2L265->SetBinContent(8,53728.65); h_SL2L265->SetBinContent(9,62216.79); h_SL2L265->SetBinContent(10,64650.44); h_SL2L265->SetBinContent(11,65972.25); h_SL2L265->SetBinContent(12,63942.42); h_SL2L265->SetBinContent(13,63517.07); h_SL2L265->SetBinContent(14,64478.14); h_SL2L265->SetBinContent(15,62615.22); h_SL2L265->SetBinContent(16,61681.07); h_SL2L265->SetBinContent(17,58571.71); h_SL2L265->SetBinContent(18,57578.33); h_SL2L265->SetBinContent(19,57026.45); h_SL2L265->SetBinContent(20,53074.47); h_SL2L265->SetBinContent(21,49768.59); h_SL2L265->SetBinContent(22,45251.27); h_SL2L265->SetBinContent(23,42804.16); h_SL2L265->SetBinContent(24,40550.89); h_SL2L265->SetBinContent(25,38838.72); h_SL2L265->SetBinContent(26,49205.94); h_SL2L265->SetBinContent(27,63247.86); h_SL2L265->SetBinContent(28,72255.58); h_SL2L265->SetBinContent(29,75451.09); h_SL2L265->SetBinContent(30,75663.77); h_SL2L265->SetBinContent(31,69743.87); h_SL2L265->SetBinContent(32,68990.08); h_SL2L265->SetBinContent(33,70255.36); h_SL2L265->SetBinContent(34,62709.45); h_SL2L265->SetBinContent(35,37670.36); h_SL2L265->SetBinContent(36,27308.52); h_SL2L265->SetBinContent(37,25852.1); h_SL2L265->SetBinContent(38,25881.71); h_SL2L265->SetBinContent(39,26495.51); h_SL2L265->SetBinContent(40,25954.4); h_SL2L265->SetBinContent(41,25445.59); h_SL2L265->SetBinContent(42,24745.65); h_SL2L265->SetBinContent(43,23335); h_SL2L265->SetBinContent(44,23948.79); h_SL2L265->SetBinContent(45,23020.03); h_SL2L265->SetBinContent(46,21625.53); h_SL2L265->SetBinContent(47,21399.39); h_SL2L265->SetBinContent(48,21501.69); h_SL2L265->SetBinContent(49,22233.94); h_SL2L265->SetBinContent(50,23205.78); h_SL2L265->SetBinContent(51,22212.4); h_SL2L265->SetBinContent(52,25456.36); h_SL2L265->SetBinContent(53,27604.65); h_SL2L265->SetBinContent(54,29343.73); h_SL2L265->SetBinContent(55,31292.8); h_SL2L265->SetBinContent(56,28132.3); h_SL2L265->SetBinContent(57,26718.95); h_SL2L265->SetMaximum(89394.07); 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,45671.23); h_SL2L366->SetBinContent(2,54711.26); h_SL2L366->SetBinContent(3,68085.54); h_SL2L366->SetBinContent(4,68233.6); h_SL2L366->SetBinContent(5,65985.71); h_SL2L366->SetBinContent(6,61664.92); h_SL2L366->SetBinContent(7,55050.46); h_SL2L366->SetBinContent(8,55072); h_SL2L366->SetBinContent(9,62523.69); h_SL2L366->SetBinContent(10,63140.18); h_SL2L366->SetBinContent(11,63185.95); h_SL2L366->SetBinContent(12,61745.68); h_SL2L366->SetBinContent(13,61681.07); h_SL2L366->SetBinContent(14,60458.86); h_SL2L366->SetBinContent(15,60763.07); h_SL2L366->SetBinContent(16,57874.46); h_SL2L366->SetBinContent(17,55874.24); h_SL2L366->SetBinContent(18,54689.72); h_SL2L366->SetBinContent(19,51989.56); h_SL2L366->SetBinContent(20,48619.07); h_SL2L366->SetBinContent(21,45859.68); h_SL2L366->SetBinContent(22,41509.27); h_SL2L366->SetBinContent(23,39226.38); h_SL2L366->SetBinContent(24,37928.8); h_SL2L366->SetBinContent(25,40497.05); h_SL2L366->SetBinContent(26,54412.44); h_SL2L366->SetBinContent(27,67622.5); h_SL2L366->SetBinContent(28,73550.48); h_SL2L366->SetBinContent(29,75198.03); h_SL2L366->SetBinContent(30,72495.18); h_SL2L366->SetBinContent(31,68198.61); h_SL2L366->SetBinContent(32,69391.2); h_SL2L366->SetBinContent(33,67762.49); h_SL2L366->SetBinContent(34,49149.41); h_SL2L366->SetBinContent(35,29623.71); h_SL2L366->SetBinContent(36,25241); h_SL2L366->SetBinContent(37,25249.07); h_SL2L366->SetBinContent(38,25049.86); h_SL2L366->SetBinContent(39,23757.66); h_SL2L366->SetBinContent(40,24080.71); h_SL2L366->SetBinContent(41,23329.62); h_SL2L366->SetBinContent(42,22277.01); h_SL2L366->SetBinContent(43,22675.44); h_SL2L366->SetBinContent(44,22064.33); h_SL2L366->SetBinContent(45,21237.87); h_SL2L366->SetBinContent(46,20096.42); h_SL2L366->SetBinContent(47,20599.84); h_SL2L366->SetBinContent(48,21313.24); h_SL2L366->SetBinContent(49,22355.08); h_SL2L366->SetBinContent(50,21881.27); h_SL2L366->SetBinContent(51,22430.46); h_SL2L366->SetBinContent(52,24958.33); h_SL2L366->SetBinContent(53,27332.75); h_SL2L366->SetBinContent(54,29093.37); h_SL2L366->SetBinContent(55,30156.74); h_SL2L366->SetBinContent(56,25079.47); h_SL2L366->SetBinContent(57,25335.22); h_SL2L366->SetMaximum(89394.07); 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,52379.91); h_SL2L467->SetBinContent(3,59785.84); h_SL2L467->SetBinContent(4,65614.2); h_SL2L467->SetBinContent(5,65116.17); h_SL2L467->SetBinContent(6,61600.3); h_SL2L467->SetBinContent(7,56407.27); h_SL2L467->SetBinContent(8,50051.26); h_SL2L467->SetBinContent(9,58978.21); h_SL2L467->SetBinContent(10,59898.91); h_SL2L467->SetBinContent(11,60186.96); h_SL2L467->SetBinContent(12,59594.7); h_SL2L467->SetBinContent(13,59664.7); h_SL2L467->SetBinContent(14,59613.55); h_SL2L467->SetBinContent(15,57766.78); h_SL2L467->SetBinContent(16,55586.19); h_SL2L467->SetBinContent(17,53909.02); h_SL2L467->SetBinContent(18,53424.44); h_SL2L467->SetBinContent(19,52382.61); h_SL2L467->SetBinContent(20,48600.22); h_SL2L467->SetBinContent(21,46091.2); h_SL2L467->SetBinContent(22,41641.18); h_SL2L467->SetBinContent(23,38919.48); h_SL2L467->SetBinContent(24,37546.52); h_SL2L467->SetBinContent(25,36160.09); h_SL2L467->SetBinContent(26,46080.43); h_SL2L467->SetBinContent(27,60927.29); h_SL2L467->SetBinContent(28,69792.32); h_SL2L467->SetBinContent(29,73537.02); h_SL2L467->SetBinContent(30,74691.92); h_SL2L467->SetBinContent(31,68279.37); h_SL2L467->SetBinContent(32,67805.56); h_SL2L467->SetBinContent(33,68400.52); h_SL2L467->SetBinContent(34,61148.04); h_SL2L467->SetBinContent(35,35723.98); h_SL2L467->SetBinContent(36,25235.61); h_SL2L467->SetBinContent(37,23542.29); h_SL2L467->SetBinContent(38,23717.28); h_SL2L467->SetBinContent(39,23687.66); h_SL2L467->SetBinContent(40,22906.96); h_SL2L467->SetBinContent(41,22758.89); h_SL2L467->SetBinContent(42,22699.67); h_SL2L467->SetBinContent(43,21857.04); h_SL2L467->SetBinContent(44,21784.36); h_SL2L467->SetBinContent(45,21146.33); h_SL2L467->SetBinContent(46,20117.96); h_SL2L467->SetBinContent(47,19749.14); h_SL2L467->SetBinContent(48,19474.55); h_SL2L467->SetBinContent(49,20922.89); h_SL2L467->SetBinContent(50,21396.7); h_SL2L467->SetBinContent(51,20287.56); h_SL2L467->SetBinContent(52,22985.03); h_SL2L467->SetBinContent(53,24489.9); h_SL2L467->SetBinContent(54,27542.73); h_SL2L467->SetBinContent(55,28444.58); h_SL2L467->SetBinContent(56,26732.41); h_SL2L467->SetBinContent(57,24164.16); h_SL2L467->SetMaximum(89394.07); 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 6722"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }