void RatesPerCell_Removing_noisy_cells_run_7565_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:33 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15624.33,67.5,140619); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7565",60,0,60); h_SL2L164->SetBinContent(1,52728.57); h_SL2L164->SetBinContent(2,68707.14); h_SL2L164->SetBinContent(3,82992.86); h_SL2L164->SetBinContent(4,87935.71); h_SL2L164->SetBinContent(5,84900); h_SL2L164->SetBinContent(6,80885.71); h_SL2L164->SetBinContent(7,74228.57); h_SL2L164->SetBinContent(8,72107.14); h_SL2L164->SetBinContent(9,76892.86); h_SL2L164->SetBinContent(10,78600); h_SL2L164->SetBinContent(11,82300); h_SL2L164->SetBinContent(12,80964.28); h_SL2L164->SetBinContent(13,82078.57); h_SL2L164->SetBinContent(14,80807.14); h_SL2L164->SetBinContent(15,81100); h_SL2L164->SetBinContent(16,79907.14); h_SL2L164->SetBinContent(17,79735.71); h_SL2L164->SetBinContent(18,77364.28); h_SL2L164->SetBinContent(19,77835.71); h_SL2L164->SetBinContent(20,74442.86); h_SL2L164->SetBinContent(21,72207.14); h_SL2L164->SetBinContent(22,68364.28); h_SL2L164->SetBinContent(23,64064.29); h_SL2L164->SetBinContent(24,60792.86); h_SL2L164->SetBinContent(25,58400); h_SL2L164->SetBinContent(26,57071.43); h_SL2L164->SetBinContent(27,57035.71); h_SL2L164->SetBinContent(28,56578.57); h_SL2L164->SetBinContent(29,56728.57); h_SL2L164->SetBinContent(30,53321.43); h_SL2L164->SetBinContent(31,51685.71); h_SL2L164->SetBinContent(32,55364.29); h_SL2L164->SetBinContent(33,56507.14); h_SL2L164->SetBinContent(34,58335.71); h_SL2L164->SetBinContent(36,56521.43); h_SL2L164->SetBinContent(37,64842.86); h_SL2L164->SetBinContent(38,59592.86); h_SL2L164->SetBinContent(39,61614.29); h_SL2L164->SetBinContent(40,81785.71); h_SL2L164->SetBinContent(41,94514.28); h_SL2L164->SetBinContent(42,65471.43); h_SL2L164->SetBinContent(43,66064.28); h_SL2L164->SetBinContent(44,62257.14); h_SL2L164->SetBinContent(45,53650); h_SL2L164->SetBinContent(46,51335.71); h_SL2L164->SetBinContent(47,51257.14); h_SL2L164->SetBinContent(48,49585.71); h_SL2L164->SetBinContent(49,48321.43); h_SL2L164->SetBinContent(50,48964.29); h_SL2L164->SetBinContent(51,51828.57); h_SL2L164->SetBinContent(52,57178.57); h_SL2L164->SetBinContent(53,64378.57); h_SL2L164->SetBinContent(54,67607.14); h_SL2L164->SetBinContent(55,65892.86); h_SL2L164->SetBinContent(56,55057.14); h_SL2L164->SetBinContent(57,44364.29); h_SL2L164->SetMaximum(124994.6); 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,43771.43); h_SL2L265->SetBinContent(2,64014.29); h_SL2L265->SetBinContent(3,72207.14); h_SL2L265->SetBinContent(4,83578.57); h_SL2L265->SetBinContent(5,82814.28); h_SL2L265->SetBinContent(6,81500); h_SL2L265->SetBinContent(7,76350); h_SL2L265->SetBinContent(8,66314.28); h_SL2L265->SetBinContent(9,74078.57); h_SL2L265->SetBinContent(10,73171.43); h_SL2L265->SetBinContent(11,78807.14); h_SL2L265->SetBinContent(12,78785.71); h_SL2L265->SetBinContent(13,78371.43); h_SL2L265->SetBinContent(14,78621.43); h_SL2L265->SetBinContent(15,78407.14); h_SL2L265->SetBinContent(16,78064.28); h_SL2L265->SetBinContent(17,77385.71); h_SL2L265->SetBinContent(18,75214.28); h_SL2L265->SetBinContent(19,75778.57); h_SL2L265->SetBinContent(20,71664.28); h_SL2L265->SetBinContent(21,71007.14); h_SL2L265->SetBinContent(22,67257.14); h_SL2L265->SetBinContent(23,64042.86); h_SL2L265->SetBinContent(24,60300); h_SL2L265->SetBinContent(25,56764.29); h_SL2L265->SetBinContent(26,55550); h_SL2L265->SetBinContent(27,53921.43); h_SL2L265->SetBinContent(28,55571.43); h_SL2L265->SetBinContent(29,54421.43); h_SL2L265->SetBinContent(30,52642.86); h_SL2L265->SetBinContent(31,49900); h_SL2L265->SetBinContent(32,51950); h_SL2L265->SetBinContent(33,53557.14); h_SL2L265->SetBinContent(34,55228.57); h_SL2L265->SetBinContent(35,53200); h_SL2L265->SetBinContent(36,54428.57); h_SL2L265->SetBinContent(37,56414.29); h_SL2L265->SetBinContent(38,57185.71); h_SL2L265->SetBinContent(39,56850); h_SL2L265->SetBinContent(40,58664.29); h_SL2L265->SetBinContent(41,55814.29); h_SL2L265->SetBinContent(42,56207.14); h_SL2L265->SetBinContent(43,55678.57); h_SL2L265->SetBinContent(44,55328.57); h_SL2L265->SetBinContent(45,53057.14); h_SL2L265->SetBinContent(46,52071.43); h_SL2L265->SetBinContent(47,48785.71); h_SL2L265->SetBinContent(48,47778.57); h_SL2L265->SetBinContent(49,46935.71); h_SL2L265->SetBinContent(50,48114.29); h_SL2L265->SetBinContent(51,46714.29); h_SL2L265->SetBinContent(52,52064.29); h_SL2L265->SetBinContent(53,58650); h_SL2L265->SetBinContent(54,63307.14); h_SL2L265->SetBinContent(55,64371.43); h_SL2L265->SetBinContent(56,57807.14); h_SL2L265->SetBinContent(57,50771.43); h_SL2L265->SetMaximum(108691.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,50221.43); h_SL2L366->SetBinContent(2,62814.29); h_SL2L366->SetBinContent(3,77178.57); h_SL2L366->SetBinContent(4,79950); h_SL2L366->SetBinContent(5,77907.14); h_SL2L366->SetBinContent(6,75242.86); h_SL2L366->SetBinContent(7,68614.28); h_SL2L366->SetBinContent(8,66842.86); h_SL2L366->SetBinContent(9,72450); h_SL2L366->SetBinContent(10,72728.57); h_SL2L366->SetBinContent(11,76950); h_SL2L366->SetBinContent(12,77550); h_SL2L366->SetBinContent(13,75671.43); h_SL2L366->SetBinContent(14,75442.86); h_SL2L366->SetBinContent(15,76200); h_SL2L366->SetBinContent(16,74050); h_SL2L366->SetBinContent(17,73550); h_SL2L366->SetBinContent(18,71928.57); h_SL2L366->SetBinContent(19,71100); h_SL2L366->SetBinContent(20,68107.14); h_SL2L366->SetBinContent(21,66735.71); h_SL2L366->SetBinContent(22,63764.29); h_SL2L366->SetBinContent(23,59464.29); h_SL2L366->SetBinContent(24,56964.29); h_SL2L366->SetBinContent(25,54828.57); h_SL2L366->SetBinContent(26,52592.86); h_SL2L366->SetBinContent(27,52800); h_SL2L366->SetBinContent(28,52014.29); h_SL2L366->SetBinContent(29,51835.71); h_SL2L366->SetBinContent(30,49528.57); h_SL2L366->SetBinContent(31,48514.29); h_SL2L366->SetBinContent(32,52357.14); h_SL2L366->SetBinContent(33,52628.57); h_SL2L366->SetBinContent(34,53450); h_SL2L366->SetBinContent(35,51292.86); h_SL2L366->SetBinContent(36,53750); h_SL2L366->SetBinContent(37,54264.29); h_SL2L366->SetBinContent(38,55221.43); h_SL2L366->SetBinContent(39,53700); h_SL2L366->SetBinContent(40,54135.71); h_SL2L366->SetBinContent(41,53742.86); h_SL2L366->SetBinContent(42,54885.71); h_SL2L366->SetBinContent(43,53050); h_SL2L366->SetBinContent(44,52485.71); h_SL2L366->SetBinContent(45,49764.29); h_SL2L366->SetBinContent(46,47807.14); h_SL2L366->SetBinContent(47,48100); h_SL2L366->SetBinContent(48,45792.86); h_SL2L366->SetBinContent(49,46971.43); h_SL2L366->SetBinContent(50,45364.29); h_SL2L366->SetBinContent(51,47321.43); h_SL2L366->SetBinContent(52,52878.57); h_SL2L366->SetBinContent(53,57850); h_SL2L366->SetBinContent(54,60592.86); h_SL2L366->SetBinContent(55,62614.29); h_SL2L366->SetBinContent(56,51142.86); h_SL2L366->SetBinContent(57,47778.57); h_SL2L366->SetMaximum(108691.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,58992.86); h_SL2L467->SetBinContent(3,68971.43); h_SL2L467->SetBinContent(4,77507.14); h_SL2L467->SetBinContent(5,78350); h_SL2L467->SetBinContent(6,73835.71); h_SL2L467->SetBinContent(7,69771.43); h_SL2L467->SetBinContent(8,63014.29); h_SL2L467->SetBinContent(9,68364.28); h_SL2L467->SetBinContent(10,68878.57); h_SL2L467->SetBinContent(11,73321.43); h_SL2L467->SetBinContent(12,71657.14); h_SL2L467->SetBinContent(13,72850); h_SL2L467->SetBinContent(14,73057.14); h_SL2L467->SetBinContent(15,73642.86); h_SL2L467->SetBinContent(16,72157.14); h_SL2L467->SetBinContent(17,71092.86); h_SL2L467->SetBinContent(18,69707.14); h_SL2L467->SetBinContent(19,69907.14); h_SL2L467->SetBinContent(20,67792.86); h_SL2L467->SetBinContent(21,65207.14); h_SL2L467->SetBinContent(22,62657.14); h_SL2L467->SetBinContent(23,59828.57); h_SL2L467->SetBinContent(24,55728.57); h_SL2L467->SetBinContent(25,54171.43); h_SL2L467->SetBinContent(26,50728.57); h_SL2L467->SetBinContent(27,50500); h_SL2L467->SetBinContent(28,51557.14); h_SL2L467->SetBinContent(29,50007.14); h_SL2L467->SetBinContent(30,50242.86); h_SL2L467->SetBinContent(31,45878.57); h_SL2L467->SetBinContent(32,49178.57); h_SL2L467->SetBinContent(33,50171.43); h_SL2L467->SetBinContent(34,50857.14); h_SL2L467->SetBinContent(35,50714.29); h_SL2L467->SetBinContent(36,51157.14); h_SL2L467->SetBinContent(37,51957.14); h_SL2L467->SetBinContent(38,53628.57); h_SL2L467->SetBinContent(39,52828.57); h_SL2L467->SetBinContent(40,52778.57); h_SL2L467->SetBinContent(41,52171.43); h_SL2L467->SetBinContent(42,52142.86); h_SL2L467->SetBinContent(43,52692.86); h_SL2L467->SetBinContent(44,50564.29); h_SL2L467->SetBinContent(45,49457.14); h_SL2L467->SetBinContent(46,47728.57); h_SL2L467->SetBinContent(47,46778.57); h_SL2L467->SetBinContent(48,44957.14); h_SL2L467->SetBinContent(49,45385.71); h_SL2L467->SetBinContent(50,45592.86); h_SL2L467->SetBinContent(51,43221.43); h_SL2L467->SetBinContent(52,49792.86); h_SL2L467->SetBinContent(53,53335.71); h_SL2L467->SetBinContent(54,58821.43); h_SL2L467->SetBinContent(55,59185.71); h_SL2L467->SetBinContent(56,53621.43); h_SL2L467->SetBinContent(57,47500); h_SL2L467->SetMaximum(108691.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 7565"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }