void RatesPerCell_Removing_noisy_cells_run_6838_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:00:48 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-24123.98,67.5,217115.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6838",60,0,60); h_SL2L164->SetBinContent(1,47356.78); h_SL2L164->SetBinContent(2,58416.59); h_SL2L164->SetBinContent(3,71393.94); h_SL2L164->SetBinContent(4,73212.49); h_SL2L164->SetBinContent(5,71740.33); h_SL2L164->SetBinContent(6,66989.8); h_SL2L164->SetBinContent(7,60321.75); h_SL2L164->SetBinContent(8,57204.22); h_SL2L164->SetBinContent(9,64948.56); h_SL2L164->SetBinContent(10,67534.13); h_SL2L164->SetBinContent(11,66581.55); h_SL2L164->SetBinContent(12,66111.45); h_SL2L164->SetBinContent(13,65715.58); h_SL2L164->SetBinContent(14,63760.93); h_SL2L164->SetBinContent(15,63525.88); h_SL2L164->SetBinContent(16,61831.03); h_SL2L164->SetBinContent(17,59146.49); h_SL2L164->SetBinContent(18,57550.61); h_SL2L164->SetBinContent(19,56028.96); h_SL2L164->SetBinContent(20,51785.65); h_SL2L164->SetBinContent(21,47072.24); h_SL2L164->SetBinContent(22,44993.89); h_SL2L164->SetBinContent(23,43286.67); h_SL2L164->SetBinContent(24,40738.21); h_SL2L164->SetBinContent(25,41987.7); h_SL2L164->SetBinContent(26,56993.91); h_SL2L164->SetBinContent(27,70379.5); h_SL2L164->SetBinContent(28,74486.73); h_SL2L164->SetBinContent(29,76998.07); h_SL2L164->SetBinContent(30,74251.67); h_SL2L164->SetBinContent(31,69476.41); h_SL2L164->SetBinContent(32,70936.2); h_SL2L164->SetBinContent(33,70552.7); h_SL2L164->SetBinContent(34,50659.88); h_SL2L164->SetBinContent(36,25732); h_SL2L164->SetBinContent(37,28428.91); h_SL2L164->SetBinContent(38,27550.56); h_SL2L164->SetBinContent(39,26338.19); h_SL2L164->SetBinContent(40,63525.88); h_SL2L164->SetBinContent(41,145930.1); h_SL2L164->SetBinContent(42,28626.85); h_SL2L164->SetBinContent(43,27971.18); h_SL2L164->SetBinContent(44,28268.09); h_SL2L164->SetBinContent(45,22132); h_SL2L164->SetBinContent(46,20696.94); h_SL2L164->SetBinContent(47,22243.34); h_SL2L164->SetBinContent(48,21859.83); h_SL2L164->SetBinContent(49,23579.42); h_SL2L164->SetBinContent(50,22379.42); h_SL2L164->SetBinContent(51,23863.96); h_SL2L164->SetBinContent(52,27030.97); h_SL2L164->SetBinContent(53,29826.85); h_SL2L164->SetBinContent(54,33105.21); h_SL2L164->SetBinContent(55,32362.94); h_SL2L164->SetBinContent(56,27092.83); h_SL2L164->SetBinContent(57,39661.92); h_SL2L164->SetMaximum(192991.8); 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,38857.8); h_SL2L265->SetBinContent(2,55991.85); h_SL2L265->SetBinContent(3,61162.99); h_SL2L265->SetBinContent(4,72321.77); h_SL2L265->SetBinContent(5,68140.32); h_SL2L265->SetBinContent(6,66692.9); h_SL2L265->SetBinContent(7,60705.26); h_SL2L265->SetBinContent(8,53628.96); h_SL2L265->SetBinContent(9,59876.39); h_SL2L265->SetBinContent(10,62437.22); h_SL2L265->SetBinContent(11,64193.92); h_SL2L265->SetBinContent(12,61954.74); h_SL2L265->SetBinContent(13,62721.75); h_SL2L265->SetBinContent(14,63105.26); h_SL2L265->SetBinContent(15,62078.45); h_SL2L265->SetBinContent(16,58342.37); h_SL2L265->SetBinContent(17,59146.49); h_SL2L265->SetBinContent(18,57216.59); h_SL2L265->SetBinContent(19,57921.75); h_SL2L265->SetBinContent(20,52688.75); h_SL2L265->SetBinContent(21,49187.71); h_SL2L265->SetBinContent(22,44993.89); h_SL2L265->SetBinContent(23,41826.88); h_SL2L265->SetBinContent(24,40527.9); h_SL2L265->SetBinContent(25,38325.84); h_SL2L265->SetBinContent(26,47158.84); h_SL2L265->SetBinContent(27,63191.86); h_SL2L265->SetBinContent(28,73484.66); h_SL2L265->SetBinContent(29,75983.63); h_SL2L265->SetBinContent(30,76206.31); h_SL2L265->SetBinContent(31,68523.83); h_SL2L265->SetBinContent(32,69649.6); h_SL2L265->SetBinContent(33,69612.48); h_SL2L265->SetBinContent(34,62709.38); h_SL2L265->SetBinContent(35,36222.74); h_SL2L265->SetBinContent(36,25806.23); h_SL2L265->SetBinContent(37,24606.23); h_SL2L265->SetBinContent(38,25323.75); h_SL2L265->SetBinContent(39,25002.1); h_SL2L265->SetBinContent(40,25261.9); h_SL2L265->SetBinContent(41,23579.42); h_SL2L265->SetBinContent(42,24049.53); h_SL2L265->SetBinContent(43,24371.18); h_SL2L265->SetBinContent(44,23257.77); h_SL2L265->SetBinContent(45,22762.93); h_SL2L265->SetBinContent(46,20771.17); h_SL2L265->SetBinContent(47,21995.91); h_SL2L265->SetBinContent(48,21835.09); h_SL2L265->SetBinContent(49,20313.44); h_SL2L265->SetBinContent(50,23146.43); h_SL2L265->SetBinContent(51,20721.68); h_SL2L265->SetBinContent(52,24346.43); h_SL2L265->SetBinContent(53,25781.49); h_SL2L265->SetBinContent(54,29987.68); h_SL2L265->SetBinContent(55,31261.91); h_SL2L265->SetBinContent(56,28428.91); h_SL2L265->SetBinContent(57,27142.31); h_SL2L265->SetMaximum(167819.7); 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,47022.76); h_SL2L366->SetBinContent(2,55373.29); h_SL2L366->SetBinContent(3,66606.3); h_SL2L366->SetBinContent(4,68548.57); h_SL2L366->SetBinContent(5,65356.81); h_SL2L366->SetBinContent(6,58045.46); h_SL2L366->SetBinContent(7,55076.38); h_SL2L366->SetBinContent(8,57624.84); h_SL2L366->SetBinContent(9,62115.57); h_SL2L366->SetBinContent(10,62264.02); h_SL2L366->SetBinContent(11,61571.24); h_SL2L366->SetBinContent(12,61595.98); h_SL2L366->SetBinContent(13,60024.84); h_SL2L366->SetBinContent(14,59962.99); h_SL2L366->SetBinContent(15,61088.76); h_SL2L366->SetBinContent(16,56152.67); h_SL2L366->SetBinContent(17,53208.34); h_SL2L366->SetBinContent(18,54099.06); h_SL2L366->SetBinContent(19,51426.89); h_SL2L366->SetBinContent(20,47505.23); h_SL2L366->SetBinContent(21,45365.02); h_SL2L366->SetBinContent(22,40787.7); h_SL2L366->SetBinContent(23,39414.5); h_SL2L366->SetBinContent(24,36284.6); h_SL2L366->SetBinContent(25,40082.54); h_SL2L366->SetBinContent(26,55311.43); h_SL2L366->SetBinContent(27,67855.78); h_SL2L366->SetBinContent(28,72890.84); h_SL2L366->SetBinContent(29,74833.12); h_SL2L366->SetBinContent(30,72556.82); h_SL2L366->SetBinContent(31,68016.61); h_SL2L366->SetBinContent(32,69736.2); h_SL2L366->SetBinContent(33,67274.34); h_SL2L366->SetBinContent(34,48358.84); h_SL2L366->SetBinContent(35,28268.09); h_SL2L366->SetBinContent(36,23777.36); h_SL2L366->SetBinContent(37,24247.46); h_SL2L366->SetBinContent(38,25237.16); h_SL2L366->SetBinContent(39,23208.29); h_SL2L366->SetBinContent(40,22663.96); h_SL2L366->SetBinContent(41,23245.4); h_SL2L366->SetBinContent(42,21055.71); h_SL2L366->SetBinContent(43,22268.08); h_SL2L366->SetBinContent(44,21995.91); h_SL2L366->SetBinContent(45,20684.57); h_SL2L366->SetBinContent(46,20350.55); h_SL2L366->SetBinContent(47,20820.65); h_SL2L366->SetBinContent(48,20461.89); h_SL2L366->SetBinContent(49,20981.48); h_SL2L366->SetBinContent(50,20758.8); h_SL2L366->SetBinContent(51,21711.38); h_SL2L366->SetBinContent(52,24680.45); h_SL2L366->SetBinContent(53,26882.52); h_SL2L366->SetBinContent(54,28701.08); h_SL2L366->SetBinContent(55,30012.42); h_SL2L366->SetBinContent(56,24420.66); h_SL2L366->SetBinContent(57,26338.19); h_SL2L366->SetMaximum(167819.7); 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,53851.64); h_SL2L467->SetBinContent(3,57699.07); h_SL2L467->SetBinContent(4,64428.97); h_SL2L467->SetBinContent(5,62461.96); h_SL2L467->SetBinContent(6,57649.58); h_SL2L467->SetBinContent(7,56251.64); h_SL2L467->SetBinContent(8,48482.55); h_SL2L467->SetBinContent(9,58379.48); h_SL2L467->SetBinContent(10,59876.39); h_SL2L467->SetBinContent(11,59109.38); h_SL2L467->SetBinContent(12,59059.89); h_SL2L467->SetBinContent(13,57216.59); h_SL2L467->SetBinContent(14,58156.8); h_SL2L467->SetBinContent(15,58033.09); h_SL2L467->SetBinContent(16,54692.88); h_SL2L467->SetBinContent(17,54086.69); h_SL2L467->SetBinContent(18,50375.34); h_SL2L467->SetBinContent(19,51080.5); h_SL2L467->SetBinContent(20,48692.87); h_SL2L467->SetBinContent(21,44820.7); h_SL2L467->SetBinContent(22,41443.37); h_SL2L467->SetBinContent(23,38647.49); h_SL2L467->SetBinContent(24,36507.28); h_SL2L467->SetBinContent(25,35270.16); h_SL2L467->SetBinContent(26,45909.36); h_SL2L467->SetBinContent(27,61187.73); h_SL2L467->SetBinContent(28,70800.12); h_SL2L467->SetBinContent(29,73596); h_SL2L467->SetBinContent(30,74734.15); h_SL2L467->SetBinContent(31,68140.32); h_SL2L467->SetBinContent(32,67793.93); h_SL2L467->SetBinContent(33,67930.01); h_SL2L467->SetBinContent(34,59864.02); h_SL2L467->SetBinContent(35,34466.04); h_SL2L467->SetBinContent(36,24581.48); h_SL2L467->SetBinContent(37,24074.27); h_SL2L467->SetBinContent(38,22750.55); h_SL2L467->SetBinContent(39,23035.09); h_SL2L467->SetBinContent(40,21451.58); h_SL2L467->SetBinContent(41,21736.12); h_SL2L467->SetBinContent(42,21439.21); h_SL2L467->SetBinContent(43,21414.47); h_SL2L467->SetBinContent(44,21364.98); h_SL2L467->SetBinContent(45,21253.64); h_SL2L467->SetBinContent(46,20721.68); h_SL2L467->SetBinContent(47,19781.48); h_SL2L467->SetBinContent(48,19002.09); h_SL2L467->SetBinContent(49,18989.72); h_SL2L467->SetBinContent(50,21476.32); h_SL2L467->SetBinContent(51,19707.25); h_SL2L467->SetBinContent(52,21983.54); h_SL2L467->SetBinContent(53,25360.87); h_SL2L467->SetBinContent(54,27538.19); h_SL2L467->SetBinContent(55,28354.69); h_SL2L467->SetBinContent(56,27389.74); h_SL2L467->SetBinContent(57,24655.71); h_SL2L467->SetMaximum(167819.7); 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 6838"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }