void RatesPerCell_Removing_noisy_cells_run_6724_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:00:57 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12814.74,67.5,115332.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 6724",60,0,60); h_SL2L164->SetBinContent(1,48677.84); h_SL2L164->SetBinContent(2,60115.27); h_SL2L164->SetBinContent(3,73061.8); h_SL2L164->SetBinContent(4,74232.55); h_SL2L164->SetBinContent(5,72433.82); h_SL2L164->SetBinContent(6,66954.85); h_SL2L164->SetBinContent(7,60234.54); h_SL2L164->SetBinContent(8,58769.27); h_SL2L164->SetBinContent(9,66847.76); h_SL2L164->SetBinContent(10,67835.97); h_SL2L164->SetBinContent(11,67514.68); h_SL2L164->SetBinContent(12,66397.46); h_SL2L164->SetBinContent(13,66889.13); h_SL2L164->SetBinContent(14,65769.48); h_SL2L164->SetBinContent(15,64163.04); h_SL2L164->SetBinContent(16,62897.35); h_SL2L164->SetBinContent(17,60278.35); h_SL2L164->SetBinContent(18,59487.3); h_SL2L164->SetBinContent(19,57415.95); h_SL2L164->SetBinContent(20,52961.71); h_SL2L164->SetBinContent(21,48641.33); h_SL2L164->SetBinContent(22,45516.06); h_SL2L164->SetBinContent(23,43452.02); h_SL2L164->SetBinContent(24,41151.87); h_SL2L164->SetBinContent(25,42782.66); h_SL2L164->SetBinContent(26,57501.14); h_SL2L164->SetBinContent(27,69096.78); h_SL2L164->SetBinContent(28,74914.08); h_SL2L164->SetBinContent(29,77518.48); h_SL2L164->SetBinContent(30,74152.23); h_SL2L164->SetBinContent(31,71669.54); h_SL2L164->SetBinContent(32,71457.78); h_SL2L164->SetBinContent(33,70155.58); h_SL2L164->SetBinContent(34,50654.26); h_SL2L164->SetBinContent(36,26542.92); h_SL2L164->SetBinContent(37,28550.98); h_SL2L164->SetBinContent(38,27436.2); h_SL2L164->SetBinContent(39,27056.5); h_SL2L164->SetBinContent(40,56223.29); h_SL2L164->SetBinContent(41,55943.38); h_SL2L164->SetBinContent(42,28541.25); h_SL2L164->SetBinContent(43,29003.71); h_SL2L164->SetBinContent(44,27966.82); h_SL2L164->SetBinContent(45,22558.44); h_SL2L164->SetBinContent(46,22057.03); h_SL2L164->SetBinContent(47,22497.59); h_SL2L164->SetBinContent(48,22753.16); h_SL2L164->SetBinContent(49,24162.46); h_SL2L164->SetBinContent(50,23274.04); h_SL2L164->SetBinContent(51,24391.25); h_SL2L164->SetBinContent(52,27282.86); h_SL2L164->SetBinContent(53,29770.42); h_SL2L164->SetBinContent(54,32204.44); h_SL2L164->SetBinContent(55,31892.88); h_SL2L164->SetBinContent(56,27983.86); h_SL2L164->SetBinContent(57,24201.4); h_SL2L164->SetMaximum(102517.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,39616.01); h_SL2L265->SetBinContent(2,57058.15); h_SL2L265->SetBinContent(3,62371.61); h_SL2L265->SetBinContent(4,72207.45); h_SL2L265->SetBinContent(5,70080.12); h_SL2L265->SetBinContent(6,66957.29); h_SL2L265->SetBinContent(7,61500.23); h_SL2L265->SetBinContent(8,53750.33); h_SL2L265->SetBinContent(9,61758.23); h_SL2L265->SetBinContent(10,63547.23); h_SL2L265->SetBinContent(11,66373.12); h_SL2L265->SetBinContent(12,63951.28); h_SL2L265->SetBinContent(13,65272.95); h_SL2L265->SetBinContent(14,64201.98); h_SL2L265->SetBinContent(15,63043.39); h_SL2L265->SetBinContent(16,61232.48); h_SL2L265->SetBinContent(17,58625.66); h_SL2L265->SetBinContent(18,57617.98); h_SL2L265->SetBinContent(19,57174.98); h_SL2L265->SetBinContent(20,52891.12); h_SL2L265->SetBinContent(21,49335.03); h_SL2L265->SetBinContent(22,45253.18); h_SL2L265->SetBinContent(23,42047.59); h_SL2L265->SetBinContent(24,40623.69); h_SL2L265->SetBinContent(25,39555.16); h_SL2L265->SetBinContent(26,48857.96); h_SL2L265->SetBinContent(27,62403.25); h_SL2L265->SetBinContent(28,71640.33); h_SL2L265->SetBinContent(29,76357.45); h_SL2L265->SetBinContent(30,75220.77); h_SL2L265->SetBinContent(31,70223.73); h_SL2L265->SetBinContent(32,71009.92); h_SL2L265->SetBinContent(33,69705.29); h_SL2L265->SetBinContent(34,62573.63); h_SL2L265->SetBinContent(35,36941.03); h_SL2L265->SetBinContent(36,27553.04); h_SL2L265->SetBinContent(37,26348.2); h_SL2L265->SetBinContent(38,26041.51); h_SL2L265->SetBinContent(39,26039.08); h_SL2L265->SetBinContent(40,25914.95); h_SL2L265->SetBinContent(41,24936.47); h_SL2L265->SetBinContent(42,24678.47); h_SL2L265->SetBinContent(43,23846.03); h_SL2L265->SetBinContent(44,23777.88); h_SL2L265->SetBinContent(45,22792.11); h_SL2L265->SetBinContent(46,21443.66); h_SL2L265->SetBinContent(47,21533.72); h_SL2L265->SetBinContent(48,21433.93); h_SL2L265->SetBinContent(49,22826.18); h_SL2L265->SetBinContent(50,23310.55); h_SL2L265->SetBinContent(51,21896.39); h_SL2L265->SetBinContent(52,25111.72); h_SL2L265->SetBinContent(53,27699.08); h_SL2L265->SetBinContent(54,29454); h_SL2L265->SetBinContent(55,31544.82); h_SL2L265->SetBinContent(56,28217.52); h_SL2L265->SetBinContent(57,27148.99); h_SL2L265->SetMaximum(89146.25); 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,44588.7); h_SL2L366->SetBinContent(2,55018.45); h_SL2L366->SetBinContent(3,67587.7); h_SL2L366->SetBinContent(4,68196.2); h_SL2L366->SetBinContent(5,65973.95); h_SL2L366->SetBinContent(6,60616.68); h_SL2L366->SetBinContent(7,55366.51); h_SL2L366->SetBinContent(8,55084.17); h_SL2L366->SetBinContent(9,60918.5); h_SL2L366->SetBinContent(10,63152.92); h_SL2L366->SetBinContent(11,63666.5); h_SL2L366->SetBinContent(12,61806.91); h_SL2L366->SetBinContent(13,62043.01); h_SL2L366->SetBinContent(14,61643.84); h_SL2L366->SetBinContent(15,58995.63); h_SL2L366->SetBinContent(16,57868.68); h_SL2L366->SetBinContent(17,55982.32); h_SL2L366->SetBinContent(18,55127.98); h_SL2L366->SetBinContent(19,52684.23); h_SL2L366->SetBinContent(20,48741.13); h_SL2L366->SetBinContent(21,45696.18); h_SL2L366->SetBinContent(22,41400.14); h_SL2L366->SetBinContent(23,40041.96); h_SL2L366->SetBinContent(24,38340.59); h_SL2L366->SetBinContent(25,39623.31); h_SL2L366->SetBinContent(26,54646.04); h_SL2L366->SetBinContent(27,67049.78); h_SL2L366->SetBinContent(28,72952.27); h_SL2L366->SetBinContent(29,75086.89); h_SL2L366->SetBinContent(30,72463.02); h_SL2L366->SetBinContent(31,69865.93); h_SL2L366->SetBinContent(32,69364.52); h_SL2L366->SetBinContent(33,68020.95); h_SL2L366->SetBinContent(34,48882.3); h_SL2L366->SetBinContent(35,28850.37); h_SL2L366->SetBinContent(36,25430.58); h_SL2L366->SetBinContent(37,25501.16); h_SL2L366->SetBinContent(38,24809.9); h_SL2L366->SetBinContent(39,24228.17); h_SL2L366->SetBinContent(40,24656.56); h_SL2L366->SetBinContent(41,23093.92); h_SL2L366->SetBinContent(42,23166.94); h_SL2L366->SetBinContent(43,22738.56); h_SL2L366->SetBinContent(44,22042.43); h_SL2L366->SetBinContent(45,20961.73); h_SL2L366->SetBinContent(46,20521.17); h_SL2L366->SetBinContent(47,20774.31); h_SL2L366->SetBinContent(48,21192.96); h_SL2L366->SetBinContent(49,22388.06); h_SL2L366->SetBinContent(50,21745.48); h_SL2L366->SetBinContent(51,22375.89); h_SL2L366->SetBinContent(52,25092.25); h_SL2L366->SetBinContent(53,27886.5); h_SL2L366->SetBinContent(54,29592.74); h_SL2L366->SetBinContent(55,30060.07); h_SL2L366->SetBinContent(56,25776.21); h_SL2L366->SetBinContent(57,24909.7); h_SL2L366->SetMaximum(89146.25); 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,52835.14); h_SL2L467->SetBinContent(3,59148.97); h_SL2L467->SetBinContent(4,65910.66); h_SL2L467->SetBinContent(5,65285.12); h_SL2L467->SetBinContent(6,60592.34); h_SL2L467->SetBinContent(7,55381.12); h_SL2L467->SetBinContent(8,49924.06); h_SL2L467->SetBinContent(9,58360.35); h_SL2L467->SetBinContent(10,59655.25); h_SL2L467->SetBinContent(11,60804.1); h_SL2L467->SetBinContent(12,59492.17); h_SL2L467->SetBinContent(13,59684.45); h_SL2L467->SetBinContent(14,59823.19); h_SL2L467->SetBinContent(15,58051.23); h_SL2L467->SetBinContent(16,56693.05); h_SL2L467->SetBinContent(17,54877.28); h_SL2L467->SetBinContent(18,52874.08); h_SL2L467->SetBinContent(19,52986.05); h_SL2L467->SetBinContent(20,48453.91); h_SL2L467->SetBinContent(21,46394.74); h_SL2L467->SetBinContent(22,41380.67); h_SL2L467->SetBinContent(23,38859.03); h_SL2L467->SetBinContent(24,37561.7); h_SL2L467->SetBinContent(25,36777.95); h_SL2L467->SetBinContent(26,45893.33); h_SL2L467->SetBinContent(27,60329.47); h_SL2L467->SetBinContent(28,69697.98); h_SL2L467->SetBinContent(29,73903.96); h_SL2L467->SetBinContent(30,74013.49); h_SL2L467->SetBinContent(31,69396.17); h_SL2L467->SetBinContent(32,69145.47); h_SL2L467->SetBinContent(33,67602.3); h_SL2L467->SetBinContent(34,61286.04); h_SL2L467->SetBinContent(35,34962.18); h_SL2L467->SetBinContent(36,25372.16); h_SL2L467->SetBinContent(37,24152.72); h_SL2L467->SetBinContent(38,24160.02); h_SL2L467->SetBinContent(39,23695.12); h_SL2L467->SetBinContent(40,23220.49); h_SL2L467->SetBinContent(41,22412.4); h_SL2L467->SetBinContent(42,22414.83); h_SL2L467->SetBinContent(43,22001.05); h_SL2L467->SetBinContent(44,22005.92); h_SL2L467->SetBinContent(45,20973.9); h_SL2L467->SetBinContent(46,20131.73); h_SL2L467->SetBinContent(47,19430.73); h_SL2L467->SetBinContent(48,20185.28); h_SL2L467->SetBinContent(49,21136.98); h_SL2L467->SetBinContent(50,21820.93); h_SL2L467->SetBinContent(51,20784.04); h_SL2L467->SetBinContent(52,23191.28); h_SL2L467->SetBinContent(53,24766.09); h_SL2L467->SetBinContent(54,26693.83); h_SL2L467->SetBinContent(55,28672.68); h_SL2L467->SetBinContent(56,26336.03); h_SL2L467->SetBinContent(57,24994.89); h_SL2L467->SetMaximum(89146.25); 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 6724"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }