void RatesPerCell_Removing_noisy_cells_run_7545_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:37:46 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6606.463,67.5,59458.16); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7545",60,0,60); h_SL1L160->SetBinContent(1,23621.43); h_SL1L160->SetBinContent(2,24385.71); h_SL1L160->SetBinContent(3,23450); h_SL1L160->SetBinContent(4,21792.86); h_SL1L160->SetBinContent(5,19178.57); h_SL1L160->SetBinContent(6,20478.57); h_SL1L160->SetBinContent(7,19585.71); h_SL1L160->SetBinContent(8,20650); h_SL1L160->SetBinContent(9,21250); h_SL1L160->SetBinContent(10,20771.43); h_SL1L160->SetBinContent(11,20842.86); h_SL1L160->SetBinContent(12,20657.14); h_SL1L160->SetBinContent(13,20800); h_SL1L160->SetBinContent(14,31821.43); h_SL1L160->SetBinContent(15,29721.43); h_SL1L160->SetBinContent(16,18228.57); h_SL1L160->SetBinContent(17,17242.86); h_SL1L160->SetBinContent(18,17878.57); h_SL1L160->SetBinContent(19,18185.71); h_SL1L160->SetBinContent(20,18135.71); h_SL1L160->SetBinContent(21,17707.14); h_SL1L160->SetBinContent(22,17585.71); h_SL1L160->SetBinContent(23,16407.14); h_SL1L160->SetBinContent(24,15200); h_SL1L160->SetBinContent(25,14128.57); h_SL1L160->SetBinContent(26,15478.57); h_SL1L160->SetBinContent(27,15014.29); h_SL1L160->SetBinContent(28,14964.29); h_SL1L160->SetBinContent(29,16485.71); h_SL1L160->SetBinContent(30,15121.43); h_SL1L160->SetBinContent(31,13714.29); h_SL1L160->SetBinContent(32,13742.86); h_SL1L160->SetBinContent(33,33985.71); h_SL1L160->SetBinContent(34,35907.14); h_SL1L160->SetBinContent(35,33114.29); h_SL1L160->SetBinContent(36,34221.43); h_SL1L160->SetBinContent(37,36235.71); h_SL1L160->SetBinContent(38,36707.14); h_SL1L160->SetBinContent(39,35757.14); h_SL1L160->SetBinContent(41,13350); h_SL1L160->SetBinContent(42,13157.14); h_SL1L160->SetBinContent(43,12721.43); h_SL1L160->SetBinContent(44,12942.86); h_SL1L160->SetBinContent(45,12514.29); h_SL1L160->SetBinContent(46,10964.29); h_SL1L160->SetBinContent(47,11864.29); h_SL1L160->SetBinContent(48,11378.57); h_SL1L160->SetBinContent(49,12300); h_SL1L160->SetBinContent(50,13185.71); h_SL1L160->SetBinContent(51,13064.29); h_SL1L160->SetBinContent(52,12678.57); h_SL1L160->SetBinContent(53,12664.29); h_SL1L160->SetBinContent(54,13171.43); h_SL1L160->SetBinContent(55,13071.43); h_SL1L160->SetBinContent(56,14285.71); h_SL1L160->SetMaximum(52851.7); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,28021.43); h_SL1L261->SetBinContent(2,29478.57); h_SL1L261->SetBinContent(3,30892.86); h_SL1L261->SetBinContent(4,32200); h_SL1L261->SetBinContent(5,31064.29); h_SL1L261->SetBinContent(6,33107.14); h_SL1L261->SetBinContent(7,34057.14); h_SL1L261->SetBinContent(8,34007.14); h_SL1L261->SetBinContent(9,35178.57); h_SL1L261->SetBinContent(10,34100); h_SL1L261->SetBinContent(11,34607.14); h_SL1L261->SetBinContent(12,34264.29); h_SL1L261->SetBinContent(13,34350); h_SL1L261->SetBinContent(14,34671.43); h_SL1L261->SetBinContent(15,35700); h_SL1L261->SetBinContent(16,34435.71); h_SL1L261->SetBinContent(17,35450); h_SL1L261->SetBinContent(18,36342.86); h_SL1L261->SetBinContent(19,38150); h_SL1L261->SetBinContent(20,36614.29); h_SL1L261->SetBinContent(21,38100); h_SL1L261->SetBinContent(22,37057.14); h_SL1L261->SetBinContent(23,36278.57); h_SL1L261->SetBinContent(24,34707.14); h_SL1L261->SetBinContent(25,35628.57); h_SL1L261->SetBinContent(26,33092.86); h_SL1L261->SetBinContent(27,33150); h_SL1L261->SetBinContent(28,34621.43); h_SL1L261->SetBinContent(29,37742.86); h_SL1L261->SetBinContent(30,36692.86); h_SL1L261->SetBinContent(31,35907.14); h_SL1L261->SetBinContent(32,35200); h_SL1L261->SetBinContent(33,35292.86); h_SL1L261->SetBinContent(34,35150); h_SL1L261->SetBinContent(35,34442.86); h_SL1L261->SetBinContent(36,35078.57); h_SL1L261->SetBinContent(37,36778.57); h_SL1L261->SetBinContent(38,37064.29); h_SL1L261->SetBinContent(39,36264.29); h_SL1L261->SetBinContent(40,35342.86); h_SL1L261->SetBinContent(41,36078.57); h_SL1L261->SetBinContent(42,35921.43); h_SL1L261->SetBinContent(43,35400); h_SL1L261->SetBinContent(44,34535.71); h_SL1L261->SetBinContent(45,34235.71); h_SL1L261->SetBinContent(46,35242.86); h_SL1L261->SetBinContent(47,35021.43); h_SL1L261->SetBinContent(48,34514.29); h_SL1L261->SetBinContent(49,35428.57); h_SL1L261->SetBinContent(50,35307.14); h_SL1L261->SetBinContent(51,34935.71); h_SL1L261->SetBinContent(52,34578.57); h_SL1L261->SetBinContent(53,35092.86); h_SL1L261->SetBinContent(54,35164.29); h_SL1L261->SetBinContent(55,34785.71); h_SL1L261->SetBinContent(56,34007.14); h_SL1L261->SetMaximum(45958.93); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,27878.57); h_SL1L362->SetBinContent(2,29507.14); h_SL1L362->SetBinContent(3,29942.86); h_SL1L362->SetBinContent(4,31314.29); h_SL1L362->SetBinContent(5,32278.57); h_SL1L362->SetBinContent(6,32221.43); h_SL1L362->SetBinContent(7,32542.86); h_SL1L362->SetBinContent(8,35100); h_SL1L362->SetBinContent(9,33285.71); h_SL1L362->SetBinContent(10,33564.29); h_SL1L362->SetBinContent(11,33664.29); h_SL1L362->SetBinContent(12,35328.57); h_SL1L362->SetBinContent(13,33242.86); h_SL1L362->SetBinContent(14,35035.71); h_SL1L362->SetBinContent(15,33692.86); h_SL1L362->SetBinContent(16,34092.86); h_SL1L362->SetBinContent(17,35628.57); h_SL1L362->SetBinContent(18,36464.29); h_SL1L362->SetBinContent(19,36621.43); h_SL1L362->SetBinContent(20,36364.29); h_SL1L362->SetBinContent(21,36064.29); h_SL1L362->SetBinContent(22,34964.29); h_SL1L362->SetBinContent(23,34107.14); h_SL1L362->SetBinContent(24,34250); h_SL1L362->SetBinContent(25,34164.29); h_SL1L362->SetBinContent(26,31914.29); h_SL1L362->SetBinContent(27,32557.14); h_SL1L362->SetBinContent(28,35092.86); h_SL1L362->SetBinContent(29,36550); h_SL1L362->SetBinContent(30,35428.57); h_SL1L362->SetBinContent(31,34707.14); h_SL1L362->SetBinContent(32,33842.86); h_SL1L362->SetBinContent(33,34907.14); h_SL1L362->SetBinContent(34,34700); h_SL1L362->SetBinContent(35,34071.43); h_SL1L362->SetBinContent(36,35607.14); h_SL1L362->SetBinContent(37,35307.14); h_SL1L362->SetBinContent(38,35985.71); h_SL1L362->SetBinContent(39,34650); h_SL1L362->SetBinContent(40,34600); h_SL1L362->SetBinContent(41,34707.14); h_SL1L362->SetBinContent(42,35178.57); h_SL1L362->SetBinContent(43,33457.14); h_SL1L362->SetBinContent(44,34000); h_SL1L362->SetBinContent(45,34364.29); h_SL1L362->SetBinContent(46,34028.57); h_SL1L362->SetBinContent(47,33242.86); h_SL1L362->SetBinContent(48,34242.86); h_SL1L362->SetBinContent(49,34864.29); h_SL1L362->SetBinContent(50,33535.71); h_SL1L362->SetBinContent(51,33835.71); h_SL1L362->SetBinContent(52,34114.29); h_SL1L362->SetBinContent(53,34764.29); h_SL1L362->SetBinContent(54,33850); h_SL1L362->SetBinContent(55,32714.29); h_SL1L362->SetBinContent(56,33457.14); h_SL1L362->SetMaximum(45958.93); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,19207.14); h_SL1L463->SetBinContent(3,19000); h_SL1L463->SetBinContent(4,17735.71); h_SL1L463->SetBinContent(5,17257.14); h_SL1L463->SetBinContent(6,17314.29); h_SL1L463->SetBinContent(7,18321.43); h_SL1L463->SetBinContent(8,18592.86); h_SL1L463->SetBinContent(9,19035.71); h_SL1L463->SetBinContent(10,20935.71); h_SL1L463->SetBinContent(11,23042.86); h_SL1L463->SetBinContent(12,24007.14); h_SL1L463->SetBinContent(13,23750); h_SL1L463->SetBinContent(14,24678.57); h_SL1L463->SetBinContent(15,39964.29); h_SL1L463->SetBinContent(16,28421.43); h_SL1L463->SetBinContent(17,21614.29); h_SL1L463->SetBinContent(18,22228.57); h_SL1L463->SetBinContent(19,20828.57); h_SL1L463->SetBinContent(20,20071.43); h_SL1L463->SetBinContent(21,19292.86); h_SL1L463->SetBinContent(22,19171.43); h_SL1L463->SetBinContent(23,18278.57); h_SL1L463->SetBinContent(24,18007.14); h_SL1L463->SetBinContent(25,15821.43); h_SL1L463->SetBinContent(26,16678.57); h_SL1L463->SetBinContent(27,16157.14); h_SL1L463->SetBinContent(28,16771.43); h_SL1L463->SetBinContent(29,16378.57); h_SL1L463->SetBinContent(30,16664.29); h_SL1L463->SetBinContent(31,15957.14); h_SL1L463->SetBinContent(32,15535.71); h_SL1L463->SetBinContent(33,14271.43); h_SL1L463->SetBinContent(34,15721.43); h_SL1L463->SetBinContent(35,16485.71); h_SL1L463->SetBinContent(36,14600); h_SL1L463->SetBinContent(37,2207.143); h_SL1L463->SetBinContent(38,28.57143); h_SL1L463->SetBinContent(41,12842.86); h_SL1L463->SetBinContent(42,13557.14); h_SL1L463->SetBinContent(43,13657.14); h_SL1L463->SetBinContent(44,12778.57); h_SL1L463->SetBinContent(45,12300); h_SL1L463->SetBinContent(46,12621.43); h_SL1L463->SetBinContent(47,12471.43); h_SL1L463->SetBinContent(48,11242.86); h_SL1L463->SetBinContent(49,12135.71); h_SL1L463->SetBinContent(50,11935.71); h_SL1L463->SetBinContent(51,12635.71); h_SL1L463->SetBinContent(52,12578.57); h_SL1L463->SetBinContent(53,13192.86); h_SL1L463->SetBinContent(54,12292.86); h_SL1L463->SetBinContent(56,13585.71); h_SL1L463->SetMaximum(45958.93); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 7545"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }