void RatesPerCell_Removing_noisy_cells_run_6582_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:34:50 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15758.88,67.5,141829.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6582",60,0,60); h_SL2L164->SetBinContent(1,62293.88); h_SL2L164->SetBinContent(2,77591.98); h_SL2L164->SetBinContent(3,93167.95); h_SL2L164->SetBinContent(4,95328.15); h_SL2L164->SetBinContent(5,93306.16); h_SL2L164->SetBinContent(6,86006.23); h_SL2L164->SetBinContent(7,75634.12); h_SL2L164->SetBinContent(8,75082.67); h_SL2L164->SetBinContent(9,85769.69); h_SL2L164->SetBinContent(10,86771.41); h_SL2L164->SetBinContent(11,86707.3); h_SL2L164->SetBinContent(12,83257.52); h_SL2L164->SetBinContent(13,84009.89); h_SL2L164->SetBinContent(14,82679); h_SL2L164->SetBinContent(15,80364.91); h_SL2L164->SetBinContent(16,77177.33); h_SL2L164->SetBinContent(17,74940.18); h_SL2L164->SetBinContent(18,74106.59); h_SL2L164->SetBinContent(19,71070.05); h_SL2L164->SetBinContent(20,64954.23); h_SL2L164->SetBinContent(21,60612.46); h_SL2L164->SetBinContent(22,54449.62); h_SL2L164->SetBinContent(23,52089.92); h_SL2L164->SetBinContent(24,48640.16); h_SL2L164->SetBinContent(25,44141.64); h_SL2L164->SetBinContent(26,39462.15); h_SL2L164->SetBinContent(27,37408.82); h_SL2L164->SetBinContent(28,34097.27); h_SL2L164->SetBinContent(29,33266.53); h_SL2L164->SetBinContent(30,30872.64); h_SL2L164->SetBinContent(31,29212.59); h_SL2L164->SetBinContent(32,29806.79); h_SL2L164->SetBinContent(33,30299.82); h_SL2L164->SetBinContent(34,31039.36); h_SL2L164->SetBinContent(36,30509.28); h_SL2L164->SetBinContent(37,35224.39); h_SL2L164->SetBinContent(38,33721.09); h_SL2L164->SetBinContent(39,34231.21); h_SL2L164->SetBinContent(40,52877.91); h_SL2L164->SetBinContent(41,91034.82); h_SL2L164->SetBinContent(42,39456.45); h_SL2L164->SetBinContent(43,39829.78); h_SL2L164->SetBinContent(44,39249.84); h_SL2L164->SetBinContent(45,28296.36); h_SL2L164->SetBinContent(46,26483.84); h_SL2L164->SetBinContent(47,27593.87); h_SL2L164->SetBinContent(48,28210.86); h_SL2L164->SetBinContent(49,30151.62); h_SL2L164->SetBinContent(50,29164.14); h_SL2L164->SetBinContent(51,30998.04); h_SL2L164->SetBinContent(52,34999.25); h_SL2L164->SetBinContent(53,38842.3); h_SL2L164->SetBinContent(54,41898.79); h_SL2L164->SetBinContent(55,41236.2); h_SL2L164->SetBinContent(56,36132.08); h_SL2L164->SetBinContent(57,30902.56); h_SL2L164->SetMaximum(126071); 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,51140.92); h_SL2L265->SetBinContent(2,74163.59); h_SL2L265->SetBinContent(3,81021.8); h_SL2L265->SetBinContent(4,92576.6); h_SL2L265->SetBinContent(5,91133.14); h_SL2L265->SetBinContent(6,86336.81); h_SL2L265->SetBinContent(7,79042.57); h_SL2L265->SetBinContent(8,68971.12); h_SL2L265->SetBinContent(9,79262.01); h_SL2L265->SetBinContent(10,82099.05); h_SL2L265->SetBinContent(11,84186.59); h_SL2L265->SetBinContent(12,81350.96); h_SL2L265->SetBinContent(13,80823.73); h_SL2L265->SetBinContent(14,80463.23); h_SL2L265->SetBinContent(15,79061.09); h_SL2L265->SetBinContent(16,76544.66); h_SL2L265->SetBinContent(17,73506.7); h_SL2L265->SetBinContent(18,71647.16); h_SL2L265->SetBinContent(19,70183.75); h_SL2L265->SetBinContent(20,64806.04); h_SL2L265->SetBinContent(21,61121.16); h_SL2L265->SetBinContent(22,54217.35); h_SL2L265->SetBinContent(23,51333.28); h_SL2L265->SetBinContent(24,48618.78); h_SL2L265->SetBinContent(25,44480.77); h_SL2L265->SetBinContent(26,39731.46); h_SL2L265->SetBinContent(27,36417.06); h_SL2L265->SetBinContent(28,34289.64); h_SL2L265->SetBinContent(29,32484.24); h_SL2L265->SetBinContent(30,31445.46); h_SL2L265->SetBinContent(31,27566.79); h_SL2L265->SetBinContent(32,29055.85); h_SL2L265->SetBinContent(33,28739.51); h_SL2L265->SetBinContent(34,29872.34); h_SL2L265->SetBinContent(35,30128.83); h_SL2L265->SetBinContent(36,29692.79); h_SL2L265->SetBinContent(37,30010.56); h_SL2L265->SetBinContent(38,30963.84); h_SL2L265->SetBinContent(39,31707.65); h_SL2L265->SetBinContent(40,32327.5); h_SL2L265->SetBinContent(41,30929.64); h_SL2L265->SetBinContent(42,30157.32); h_SL2L265->SetBinContent(43,29138.5); h_SL2L265->SetBinContent(44,29279.56); h_SL2L265->SetBinContent(45,27682.21); h_SL2L265->SetBinContent(46,26321.4); h_SL2L265->SetBinContent(47,25842.62); h_SL2L265->SetBinContent(48,26453.92); h_SL2L265->SetBinContent(49,27485.57); h_SL2L265->SetBinContent(50,29139.92); h_SL2L265->SetBinContent(51,27380.12); h_SL2L265->SetBinContent(52,31753.25); h_SL2L265->SetBinContent(53,34865.31); h_SL2L265->SetBinContent(54,38568.71); h_SL2L265->SetBinContent(55,41152.12); h_SL2L265->SetBinContent(56,36610.86); h_SL2L265->SetBinContent(57,35431.01); h_SL2L265->SetMaximum(109627.4); 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,59562.28); h_SL2L366->SetBinContent(2,71530.31); h_SL2L366->SetBinContent(3,88474.21); h_SL2L366->SetBinContent(4,88204.9); h_SL2L366->SetBinContent(5,85098.54); h_SL2L366->SetBinContent(6,79006.95); h_SL2L366->SetBinContent(7,70417.44); h_SL2L366->SetBinContent(8,70802.17); h_SL2L366->SetBinContent(9,78697.73); h_SL2L366->SetBinContent(10,81043.18); h_SL2L366->SetBinContent(11,79505.67); h_SL2L366->SetBinContent(12,78301.6); h_SL2L366->SetBinContent(13,77864.15); h_SL2L366->SetBinContent(14,77668.93); h_SL2L366->SetBinContent(15,74418.66); h_SL2L366->SetBinContent(16,71721.25); h_SL2L366->SetBinContent(17,69619.48); h_SL2L366->SetBinContent(18,68968.28); h_SL2L366->SetBinContent(19,64904.36); h_SL2L366->SetBinContent(20,60043.91); h_SL2L366->SetBinContent(21,55445.64); h_SL2L366->SetBinContent(22,50660.71); h_SL2L366->SetBinContent(23,48221.23); h_SL2L366->SetBinContent(24,44931.05); h_SL2L366->SetBinContent(25,40632.02); h_SL2L366->SetBinContent(26,36499.71); h_SL2L366->SetBinContent(27,34100.12); h_SL2L366->SetBinContent(28,31320.07); h_SL2L366->SetBinContent(29,30778.6); h_SL2L366->SetBinContent(30,27995.7); h_SL2L366->SetBinContent(31,27298.9); h_SL2L366->SetBinContent(32,27605.27); h_SL2L366->SetBinContent(33,27799.06); h_SL2L366->SetBinContent(34,28787.96); h_SL2L366->SetBinContent(35,28629.79); h_SL2L366->SetBinContent(36,28381.86); h_SL2L366->SetBinContent(37,29118.55); h_SL2L366->SetBinContent(38,29645.77); h_SL2L366->SetBinContent(39,29017.38); h_SL2L366->SetBinContent(40,30237.12); h_SL2L366->SetBinContent(41,28595.6); h_SL2L366->SetBinContent(42,27679.36); h_SL2L366->SetBinContent(43,28359.06); h_SL2L366->SetBinContent(44,27243.33); h_SL2L366->SetBinContent(45,26104.81); h_SL2L366->SetBinContent(46,25157.23); h_SL2L366->SetBinContent(47,25269.8); h_SL2L366->SetBinContent(48,26207.4); h_SL2L366->SetBinContent(49,27777.68); h_SL2L366->SetBinContent(50,27240.48); h_SL2L366->SetBinContent(51,28139.62); h_SL2L366->SetBinContent(52,31865.82); h_SL2L366->SetBinContent(53,34749.89); h_SL2L366->SetBinContent(54,38156.91); h_SL2L366->SetBinContent(55,38839.45); h_SL2L366->SetBinContent(56,32971.57); h_SL2L366->SetBinContent(57,32834.78); h_SL2L366->SetMaximum(109627.4); 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,68335.61); h_SL2L467->SetBinContent(3,76892.34); h_SL2L467->SetBinContent(4,84589.84); h_SL2L467->SetBinContent(5,84153.81); h_SL2L467->SetBinContent(6,77838.5); h_SL2L467->SetBinContent(7,71808.17); h_SL2L467->SetBinContent(8,64377.14); h_SL2L467->SetBinContent(9,75152.49); h_SL2L467->SetBinContent(10,76795.45); h_SL2L467->SetBinContent(11,77091.84); h_SL2L467->SetBinContent(12,74713.62); h_SL2L467->SetBinContent(13,75927.66); h_SL2L467->SetBinContent(14,74663.74); h_SL2L467->SetBinContent(15,72906.8); h_SL2L467->SetBinContent(16,70111.08); h_SL2L467->SetBinContent(17,67795.55); h_SL2L467->SetBinContent(18,65967.37); h_SL2L467->SetBinContent(19,65465.79); h_SL2L467->SetBinContent(20,59948.44); h_SL2L467->SetBinContent(21,57112.82); h_SL2L467->SetBinContent(22,50626.52); h_SL2L467->SetBinContent(23,47229.47); h_SL2L467->SetBinContent(24,44886.88); h_SL2L467->SetBinContent(25,41498.38); h_SL2L467->SetBinContent(26,36997.01); h_SL2L467->SetBinContent(27,33979); h_SL2L467->SetBinContent(28,31794.57); h_SL2L467->SetBinContent(29,29742.67); h_SL2L467->SetBinContent(30,29007.4); h_SL2L467->SetBinContent(31,25403.74); h_SL2L467->SetBinContent(32,27050.96); h_SL2L467->SetBinContent(33,26376.97); h_SL2L467->SetBinContent(34,27710.71); h_SL2L467->SetBinContent(35,27809.03); h_SL2L467->SetBinContent(36,27113.66); h_SL2L467->SetBinContent(37,27811.88); h_SL2L467->SetBinContent(38,28502.97); h_SL2L467->SetBinContent(39,28109.69); h_SL2L467->SetBinContent(40,27655.14); h_SL2L467->SetBinContent(41,27226.23); h_SL2L467->SetBinContent(42,27267.56); h_SL2L467->SetBinContent(43,27049.54); h_SL2L467->SetBinContent(44,26592.14); h_SL2L467->SetBinContent(45,25799.87); h_SL2L467->SetBinContent(46,24548.78); h_SL2L467->SetBinContent(47,24289.44); h_SL2L467->SetBinContent(48,24484.66); h_SL2L467->SetBinContent(49,25660.23); h_SL2L467->SetBinContent(50,27162.11); h_SL2L467->SetBinContent(51,25443.64); h_SL2L467->SetBinContent(52,29122.82); h_SL2L467->SetBinContent(53,31697.68); h_SL2L467->SetBinContent(54,34762.71); h_SL2L467->SetBinContent(55,36850.24); h_SL2L467->SetBinContent(56,34366.58); h_SL2L467->SetBinContent(57,32430.1); h_SL2L467->SetMaximum(109627.4); 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 6582"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }