void RatesPerCell_Removing_noisy_cells_run_7445_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:34:23 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15319.73,67.5,137877.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 7445",60,0,60); h_SL2L164->SetBinContent(1,45778.57); h_SL2L164->SetBinContent(2,59100); h_SL2L164->SetBinContent(3,71435.71); h_SL2L164->SetBinContent(4,72514.28); h_SL2L164->SetBinContent(5,72250); h_SL2L164->SetBinContent(6,68128.57); h_SL2L164->SetBinContent(7,62442.86); h_SL2L164->SetBinContent(8,59921.43); h_SL2L164->SetBinContent(9,66371.43); h_SL2L164->SetBinContent(10,69250); h_SL2L164->SetBinContent(11,67707.14); h_SL2L164->SetBinContent(12,70900); h_SL2L164->SetBinContent(13,69642.86); h_SL2L164->SetBinContent(14,68721.43); h_SL2L164->SetBinContent(15,67164.28); h_SL2L164->SetBinContent(16,67571.43); h_SL2L164->SetBinContent(17,66214.28); h_SL2L164->SetBinContent(18,64314.29); h_SL2L164->SetBinContent(19,63278.57); h_SL2L164->SetBinContent(20,60914.29); h_SL2L164->SetBinContent(21,59878.57); h_SL2L164->SetBinContent(22,56828.57); h_SL2L164->SetBinContent(23,51514.29); h_SL2L164->SetBinContent(24,48871.43); h_SL2L164->SetBinContent(25,46235.71); h_SL2L164->SetBinContent(26,44128.57); h_SL2L164->SetBinContent(27,44707.14); h_SL2L164->SetBinContent(28,44621.43); h_SL2L164->SetBinContent(29,44078.57); h_SL2L164->SetBinContent(30,41992.86); h_SL2L164->SetBinContent(31,40485.71); h_SL2L164->SetBinContent(32,42264.29); h_SL2L164->SetBinContent(33,44207.14); h_SL2L164->SetBinContent(34,45114.29); h_SL2L164->SetBinContent(36,44907.14); h_SL2L164->SetBinContent(37,51871.43); h_SL2L164->SetBinContent(38,49421.43); h_SL2L164->SetBinContent(39,50100); h_SL2L164->SetBinContent(40,72928.57); h_SL2L164->SetBinContent(41,92671.43); h_SL2L164->SetBinContent(42,51592.86); h_SL2L164->SetBinContent(43,53542.86); h_SL2L164->SetBinContent(44,51814.29); h_SL2L164->SetBinContent(45,43371.43); h_SL2L164->SetBinContent(46,40321.43); h_SL2L164->SetBinContent(47,39614.29); h_SL2L164->SetBinContent(48,39021.43); h_SL2L164->SetBinContent(49,40635.71); h_SL2L164->SetBinContent(50,37950); h_SL2L164->SetBinContent(51,42457.14); h_SL2L164->SetBinContent(52,49228.57); h_SL2L164->SetBinContent(53,54800); h_SL2L164->SetBinContent(54,56628.57); h_SL2L164->SetBinContent(55,56507.14); h_SL2L164->SetBinContent(56,49242.86); h_SL2L164->SetBinContent(57,39292.86); h_SL2L164->SetMaximum(122557.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,36514.29); h_SL2L265->SetBinContent(2,55464.29); h_SL2L265->SetBinContent(3,60092.86); h_SL2L265->SetBinContent(4,71392.86); h_SL2L265->SetBinContent(5,71692.86); h_SL2L265->SetBinContent(6,67571.43); h_SL2L265->SetBinContent(7,63442.86); h_SL2L265->SetBinContent(8,56150); h_SL2L265->SetBinContent(9,61485.71); h_SL2L265->SetBinContent(10,65164.29); h_SL2L265->SetBinContent(11,68078.57); h_SL2L265->SetBinContent(12,68407.14); h_SL2L265->SetBinContent(13,67792.86); h_SL2L265->SetBinContent(14,67092.86); h_SL2L265->SetBinContent(15,66957.14); h_SL2L265->SetBinContent(16,65328.57); h_SL2L265->SetBinContent(17,64528.57); h_SL2L265->SetBinContent(18,64335.71); h_SL2L265->SetBinContent(19,61835.71); h_SL2L265->SetBinContent(20,59157.14); h_SL2L265->SetBinContent(21,58157.14); h_SL2L265->SetBinContent(22,55250); h_SL2L265->SetBinContent(23,52314.29); h_SL2L265->SetBinContent(24,48292.86); h_SL2L265->SetBinContent(25,45685.71); h_SL2L265->SetBinContent(26,43100); h_SL2L265->SetBinContent(27,42785.71); h_SL2L265->SetBinContent(28,42492.86); h_SL2L265->SetBinContent(29,42350); h_SL2L265->SetBinContent(30,41557.14); h_SL2L265->SetBinContent(31,37850); h_SL2L265->SetBinContent(32,41557.14); h_SL2L265->SetBinContent(33,43535.71); h_SL2L265->SetBinContent(34,43571.43); h_SL2L265->SetBinContent(35,42592.86); h_SL2L265->SetBinContent(36,41857.14); h_SL2L265->SetBinContent(37,45871.43); h_SL2L265->SetBinContent(38,46300); h_SL2L265->SetBinContent(39,46157.14); h_SL2L265->SetBinContent(40,46085.71); h_SL2L265->SetBinContent(41,45385.71); h_SL2L265->SetBinContent(42,44892.86); h_SL2L265->SetBinContent(43,42828.57); h_SL2L265->SetBinContent(44,43978.57); h_SL2L265->SetBinContent(45,41635.71); h_SL2L265->SetBinContent(46,40828.57); h_SL2L265->SetBinContent(47,38964.29); h_SL2L265->SetBinContent(48,38778.57); h_SL2L265->SetBinContent(49,38271.43); h_SL2L265->SetBinContent(50,38471.43); h_SL2L265->SetBinContent(51,37500); h_SL2L265->SetBinContent(52,44200); h_SL2L265->SetBinContent(53,48850); h_SL2L265->SetBinContent(54,52507.14); h_SL2L265->SetBinContent(55,56964.29); h_SL2L265->SetBinContent(56,50564.29); h_SL2L265->SetBinContent(57,45721.43); h_SL2L265->SetMaximum(106572.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,43642.86); h_SL2L366->SetBinContent(2,54535.71); h_SL2L366->SetBinContent(3,66321.43); h_SL2L366->SetBinContent(4,69535.71); h_SL2L366->SetBinContent(5,67714.28); h_SL2L366->SetBinContent(6,63107.14); h_SL2L366->SetBinContent(7,57371.43); h_SL2L366->SetBinContent(8,56957.14); h_SL2L366->SetBinContent(9,62407.14); h_SL2L366->SetBinContent(10,64728.57); h_SL2L366->SetBinContent(11,65235.71); h_SL2L366->SetBinContent(12,66607.14); h_SL2L366->SetBinContent(13,65050); h_SL2L366->SetBinContent(14,64035.71); h_SL2L366->SetBinContent(15,64400); h_SL2L366->SetBinContent(16,62092.86); h_SL2L366->SetBinContent(17,61257.14); h_SL2L366->SetBinContent(18,61435.71); h_SL2L366->SetBinContent(19,59207.14); h_SL2L366->SetBinContent(20,56442.86); h_SL2L366->SetBinContent(21,54514.29); h_SL2L366->SetBinContent(22,50628.57); h_SL2L366->SetBinContent(23,48150); h_SL2L366->SetBinContent(24,46192.86); h_SL2L366->SetBinContent(25,43442.86); h_SL2L366->SetBinContent(26,42150); h_SL2L366->SetBinContent(27,41450); h_SL2L366->SetBinContent(28,40250); h_SL2L366->SetBinContent(29,40500); h_SL2L366->SetBinContent(30,40107.14); h_SL2L366->SetBinContent(31,38471.43); h_SL2L366->SetBinContent(32,39978.57); h_SL2L366->SetBinContent(33,42278.57); h_SL2L366->SetBinContent(34,42935.71); h_SL2L366->SetBinContent(35,40542.86); h_SL2L366->SetBinContent(36,42650); h_SL2L366->SetBinContent(37,43128.57); h_SL2L366->SetBinContent(38,43814.29); h_SL2L366->SetBinContent(39,43228.57); h_SL2L366->SetBinContent(40,43871.43); h_SL2L366->SetBinContent(41,42350); h_SL2L366->SetBinContent(42,42485.71); h_SL2L366->SetBinContent(43,42128.57); h_SL2L366->SetBinContent(44,41428.57); h_SL2L366->SetBinContent(45,39042.86); h_SL2L366->SetBinContent(46,38578.57); h_SL2L366->SetBinContent(47,37907.14); h_SL2L366->SetBinContent(48,37050); h_SL2L366->SetBinContent(49,37714.29); h_SL2L366->SetBinContent(50,35950); h_SL2L366->SetBinContent(51,39507.14); h_SL2L366->SetBinContent(52,44671.43); h_SL2L366->SetBinContent(53,50464.29); h_SL2L366->SetBinContent(54,53571.43); h_SL2L366->SetBinContent(55,54078.57); h_SL2L366->SetBinContent(56,44421.43); h_SL2L366->SetBinContent(57,41764.29); h_SL2L366->SetMaximum(106572.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,51728.57); h_SL2L467->SetBinContent(3,59107.14); h_SL2L467->SetBinContent(4,65500); h_SL2L467->SetBinContent(5,66850); h_SL2L467->SetBinContent(6,61042.86); h_SL2L467->SetBinContent(7,59664.29); h_SL2L467->SetBinContent(8,51842.86); h_SL2L467->SetBinContent(9,59685.71); h_SL2L467->SetBinContent(10,62192.86); h_SL2L467->SetBinContent(11,63478.57); h_SL2L467->SetBinContent(12,64714.29); h_SL2L467->SetBinContent(13,64392.86); h_SL2L467->SetBinContent(14,64014.29); h_SL2L467->SetBinContent(15,61821.43); h_SL2L467->SetBinContent(16,61914.29); h_SL2L467->SetBinContent(17,59692.86); h_SL2L467->SetBinContent(18,58735.71); h_SL2L467->SetBinContent(19,58614.29); h_SL2L467->SetBinContent(20,55742.86); h_SL2L467->SetBinContent(21,54707.14); h_SL2L467->SetBinContent(22,51957.14); h_SL2L467->SetBinContent(23,48742.86); h_SL2L467->SetBinContent(24,44550); h_SL2L467->SetBinContent(25,42728.57); h_SL2L467->SetBinContent(26,40507.14); h_SL2L467->SetBinContent(27,40514.29); h_SL2L467->SetBinContent(28,38785.71); h_SL2L467->SetBinContent(29,39885.71); h_SL2L467->SetBinContent(30,40550); h_SL2L467->SetBinContent(31,37592.86); h_SL2L467->SetBinContent(32,39250); h_SL2L467->SetBinContent(33,40142.86); h_SL2L467->SetBinContent(34,42007.14); h_SL2L467->SetBinContent(35,41128.57); h_SL2L467->SetBinContent(36,40492.86); h_SL2L467->SetBinContent(37,41785.71); h_SL2L467->SetBinContent(38,42285.71); h_SL2L467->SetBinContent(39,43064.29); h_SL2L467->SetBinContent(40,42621.43); h_SL2L467->SetBinContent(41,41321.43); h_SL2L467->SetBinContent(42,41264.29); h_SL2L467->SetBinContent(43,41478.57); h_SL2L467->SetBinContent(44,41657.14); h_SL2L467->SetBinContent(45,40400); h_SL2L467->SetBinContent(46,38392.86); h_SL2L467->SetBinContent(47,37614.29); h_SL2L467->SetBinContent(48,35557.14); h_SL2L467->SetBinContent(49,36664.29); h_SL2L467->SetBinContent(50,37092.86); h_SL2L467->SetBinContent(51,34850); h_SL2L467->SetBinContent(52,39621.43); h_SL2L467->SetBinContent(53,46407.14); h_SL2L467->SetBinContent(54,50200); h_SL2L467->SetBinContent(55,51971.43); h_SL2L467->SetBinContent(56,48142.86); h_SL2L467->SetBinContent(57,41735.71); h_SL2L467->SetMaximum(106572.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.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 7445"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }