void RatesPerCell_Removing_noisy_cells_run_7449_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:33:18 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-28149.13,67.5,253342.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7449",60,0,60); h_SL1L160->SetBinContent(1,99264.28); h_SL1L160->SetBinContent(2,96771.43); h_SL1L160->SetBinContent(3,93350); h_SL1L160->SetBinContent(4,82392.86); h_SL1L160->SetBinContent(5,63142.86); h_SL1L160->SetBinContent(6,64435.71); h_SL1L160->SetBinContent(7,67828.57); h_SL1L160->SetBinContent(8,70635.71); h_SL1L160->SetBinContent(9,62507.14); h_SL1L160->SetBinContent(10,63271.43); h_SL1L160->SetBinContent(11,63578.57); h_SL1L160->SetBinContent(12,60971.43); h_SL1L160->SetBinContent(13,60435.71); h_SL1L160->SetBinContent(14,91928.57); h_SL1L160->SetBinContent(15,90350); h_SL1L160->SetBinContent(16,58114.29); h_SL1L160->SetBinContent(17,58528.57); h_SL1L160->SetBinContent(18,58492.86); h_SL1L160->SetBinContent(19,60164.29); h_SL1L160->SetBinContent(20,59035.71); h_SL1L160->SetBinContent(21,58078.57); h_SL1L160->SetBinContent(22,55707.14); h_SL1L160->SetBinContent(23,45771.43); h_SL1L160->SetBinContent(24,40707.14); h_SL1L160->SetBinContent(25,38478.57); h_SL1L160->SetBinContent(26,40664.29); h_SL1L160->SetBinContent(27,43635.71); h_SL1L160->SetBinContent(28,45885.71); h_SL1L160->SetBinContent(29,41592.86); h_SL1L160->SetBinContent(30,37835.71); h_SL1L160->SetBinContent(31,37821.43); h_SL1L160->SetBinContent(32,34714.29); h_SL1L160->SetBinContent(33,144878.6); h_SL1L160->SetBinContent(34,150714.3); h_SL1L160->SetBinContent(35,143721.4); h_SL1L160->SetBinContent(36,148014.3); h_SL1L160->SetBinContent(37,148857.1); h_SL1L160->SetBinContent(38,151735.7); h_SL1L160->SetBinContent(39,147607.1); h_SL1L160->SetBinContent(41,35642.86); h_SL1L160->SetBinContent(42,36757.14); h_SL1L160->SetBinContent(43,35050); h_SL1L160->SetBinContent(44,34142.86); h_SL1L160->SetBinContent(45,33714.29); h_SL1L160->SetBinContent(46,31935.71); h_SL1L160->SetBinContent(47,32057.14); h_SL1L160->SetBinContent(48,33964.29); h_SL1L160->SetBinContent(49,36950); h_SL1L160->SetBinContent(50,39635.71); h_SL1L160->SetBinContent(51,39950); h_SL1L160->SetBinContent(52,40507.14); h_SL1L160->SetBinContent(53,40414.29); h_SL1L160->SetBinContent(54,41014.29); h_SL1L160->SetBinContent(55,42792.86); h_SL1L160->SetBinContent(56,50521.43); h_SL1L160->SetMaximum(225193); 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,144764.3); h_SL1L261->SetBinContent(2,145271.4); h_SL1L261->SetBinContent(3,146614.3); h_SL1L261->SetBinContent(4,151200); h_SL1L261->SetBinContent(5,141492.9); h_SL1L261->SetBinContent(6,144907.1); h_SL1L261->SetBinContent(7,150828.6); h_SL1L261->SetBinContent(8,153857.1); h_SL1L261->SetBinContent(9,149128.6); h_SL1L261->SetBinContent(10,142992.9); h_SL1L261->SetBinContent(11,149071.4); h_SL1L261->SetBinContent(12,150100); h_SL1L261->SetBinContent(13,147871.4); h_SL1L261->SetBinContent(14,148485.7); h_SL1L261->SetBinContent(15,157450); h_SL1L261->SetBinContent(16,154135.7); h_SL1L261->SetBinContent(17,157771.4); h_SL1L261->SetBinContent(18,165407.1); h_SL1L261->SetBinContent(19,169614.3); h_SL1L261->SetBinContent(20,170242.9); h_SL1L261->SetBinContent(21,170278.6); h_SL1L261->SetBinContent(22,160750); h_SL1L261->SetBinContent(23,145421.4); h_SL1L261->SetBinContent(24,148021.4); h_SL1L261->SetBinContent(25,146728.6); h_SL1L261->SetBinContent(26,133757.1); h_SL1L261->SetBinContent(27,144471.4); h_SL1L261->SetBinContent(28,152857.1); h_SL1L261->SetBinContent(29,154228.6); h_SL1L261->SetBinContent(30,155464.3); h_SL1L261->SetBinContent(31,151700); h_SL1L261->SetBinContent(32,151907.1); h_SL1L261->SetBinContent(33,151092.9); h_SL1L261->SetBinContent(34,149542.9); h_SL1L261->SetBinContent(35,146657.1); h_SL1L261->SetBinContent(36,145300); h_SL1L261->SetBinContent(37,145221.4); h_SL1L261->SetBinContent(38,151628.6); h_SL1L261->SetBinContent(39,149385.7); h_SL1L261->SetBinContent(40,145228.6); h_SL1L261->SetBinContent(41,155321.4); h_SL1L261->SetBinContent(42,160492.9); h_SL1L261->SetBinContent(43,151142.9); h_SL1L261->SetBinContent(44,142714.3); h_SL1L261->SetBinContent(45,143371.4); h_SL1L261->SetBinContent(46,143878.6); h_SL1L261->SetBinContent(47,148357.1); h_SL1L261->SetBinContent(48,153007.1); h_SL1L261->SetBinContent(49,159035.7); h_SL1L261->SetBinContent(50,158171.4); h_SL1L261->SetBinContent(51,158292.9); h_SL1L261->SetBinContent(52,156850); h_SL1L261->SetBinContent(53,151835.7); h_SL1L261->SetBinContent(54,149000); h_SL1L261->SetBinContent(55,152150); h_SL1L261->SetBinContent(56,150314.3); h_SL1L261->SetMaximum(195820.3); 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,137785.7); h_SL1L362->SetBinContent(2,141364.3); h_SL1L362->SetBinContent(3,145200); h_SL1L362->SetBinContent(4,142057.1); h_SL1L362->SetBinContent(5,138735.7); h_SL1L362->SetBinContent(6,138778.6); h_SL1L362->SetBinContent(7,148735.7); h_SL1L362->SetBinContent(8,151142.9); h_SL1L362->SetBinContent(9,140521.4); h_SL1L362->SetBinContent(10,142850); h_SL1L362->SetBinContent(11,145864.3); h_SL1L362->SetBinContent(12,146578.6); h_SL1L362->SetBinContent(13,143357.1); h_SL1L362->SetBinContent(14,143750); h_SL1L362->SetBinContent(15,150850); h_SL1L362->SetBinContent(16,149478.6); h_SL1L362->SetBinContent(17,155535.7); h_SL1L362->SetBinContent(18,165114.3); h_SL1L362->SetBinContent(19,162864.3); h_SL1L362->SetBinContent(20,164814.3); h_SL1L362->SetBinContent(21,158357.1); h_SL1L362->SetBinContent(22,152907.1); h_SL1L362->SetBinContent(23,144521.4); h_SL1L362->SetBinContent(24,143128.6); h_SL1L362->SetBinContent(25,136335.7); h_SL1L362->SetBinContent(26,129450); h_SL1L362->SetBinContent(27,144907.1); h_SL1L362->SetBinContent(28,156514.3); h_SL1L362->SetBinContent(29,147957.1); h_SL1L362->SetBinContent(30,147371.4); h_SL1L362->SetBinContent(31,146150); h_SL1L362->SetBinContent(32,141392.9); h_SL1L362->SetBinContent(33,144621.4); h_SL1L362->SetBinContent(34,145121.4); h_SL1L362->SetBinContent(35,141685.7); h_SL1L362->SetBinContent(36,144864.3); h_SL1L362->SetBinContent(37,145392.9); h_SL1L362->SetBinContent(38,147478.6); h_SL1L362->SetBinContent(39,145728.6); h_SL1L362->SetBinContent(40,142042.9); h_SL1L362->SetBinContent(41,153464.3); h_SL1L362->SetBinContent(42,157364.3); h_SL1L362->SetBinContent(43,141364.3); h_SL1L362->SetBinContent(44,136350); h_SL1L362->SetBinContent(45,138178.6); h_SL1L362->SetBinContent(46,141585.7); h_SL1L362->SetBinContent(47,144707.1); h_SL1L362->SetBinContent(48,147907.1); h_SL1L362->SetBinContent(49,153750); h_SL1L362->SetBinContent(50,154214.3); h_SL1L362->SetBinContent(51,151128.6); h_SL1L362->SetBinContent(52,151842.9); h_SL1L362->SetBinContent(53,146250); h_SL1L362->SetBinContent(54,146814.3); h_SL1L362->SetBinContent(55,145871.4); h_SL1L362->SetBinContent(56,142392.9); h_SL1L362->SetMaximum(195820.3); 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,79878.57); h_SL1L463->SetBinContent(3,69678.57); h_SL1L463->SetBinContent(4,63950); h_SL1L463->SetBinContent(5,54842.86); h_SL1L463->SetBinContent(6,53878.57); h_SL1L463->SetBinContent(7,56785.71); h_SL1L463->SetBinContent(8,59742.86); h_SL1L463->SetBinContent(9,63292.86); h_SL1L463->SetBinContent(10,71028.57); h_SL1L463->SetBinContent(11,80071.43); h_SL1L463->SetBinContent(12,82778.57); h_SL1L463->SetBinContent(13,82221.43); h_SL1L463->SetBinContent(14,84285.71); h_SL1L463->SetBinContent(15,137057.1); h_SL1L463->SetBinContent(16,95007.14); h_SL1L463->SetBinContent(17,74178.57); h_SL1L463->SetBinContent(18,72821.43); h_SL1L463->SetBinContent(19,71314.28); h_SL1L463->SetBinContent(20,69285.71); h_SL1L463->SetBinContent(21,67585.71); h_SL1L463->SetBinContent(22,63242.86); h_SL1L463->SetBinContent(23,57314.29); h_SL1L463->SetBinContent(24,57000); h_SL1L463->SetBinContent(25,49400); h_SL1L463->SetBinContent(26,49121.43); h_SL1L463->SetBinContent(27,50557.14); h_SL1L463->SetBinContent(28,50607.14); h_SL1L463->SetBinContent(29,45714.29); h_SL1L463->SetBinContent(30,48685.71); h_SL1L463->SetBinContent(31,45635.71); h_SL1L463->SetBinContent(32,44071.43); h_SL1L463->SetBinContent(33,39921.43); h_SL1L463->SetBinContent(34,44157.14); h_SL1L463->SetBinContent(35,42971.43); h_SL1L463->SetBinContent(36,38400); h_SL1L463->SetBinContent(37,4292.857); h_SL1L463->SetBinContent(38,14.28571); h_SL1L463->SetBinContent(39,7.142857); h_SL1L463->SetBinContent(41,33292.86); h_SL1L463->SetBinContent(42,35028.57); h_SL1L463->SetBinContent(43,35078.57); h_SL1L463->SetBinContent(44,34107.14); h_SL1L463->SetBinContent(45,31292.86); h_SL1L463->SetBinContent(46,32357.14); h_SL1L463->SetBinContent(47,31242.86); h_SL1L463->SetBinContent(48,30107.14); h_SL1L463->SetBinContent(49,29914.29); h_SL1L463->SetBinContent(50,32114.29); h_SL1L463->SetBinContent(51,33335.71); h_SL1L463->SetBinContent(52,33792.86); h_SL1L463->SetBinContent(53,34107.14); h_SL1L463->SetBinContent(54,33542.86); h_SL1L463->SetBinContent(56,39564.29); h_SL1L463->SetMaximum(195820.3); 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 7449"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }