void RatesPerCell_Removing_noisy_cells_run_7385_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 21:52:34 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-20772.02,67.5,186948.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7385",60,0,60); h_SL1L160->SetBinContent(1,85389.28); h_SL1L160->SetBinContent(2,84821.43); h_SL1L160->SetBinContent(3,82985.71); h_SL1L160->SetBinContent(4,75271.43); h_SL1L160->SetBinContent(5,57210.71); h_SL1L160->SetBinContent(6,57600); h_SL1L160->SetBinContent(7,58532.14); h_SL1L160->SetBinContent(8,57892.86); h_SL1L160->SetBinContent(9,52078.57); h_SL1L160->SetBinContent(10,49721.43); h_SL1L160->SetBinContent(11,47275); h_SL1L160->SetBinContent(12,42553.57); h_SL1L160->SetBinContent(13,41528.57); h_SL1L160->SetBinContent(14,64785.71); h_SL1L160->SetBinContent(15,63075); h_SL1L160->SetBinContent(16,40053.57); h_SL1L160->SetBinContent(17,43989.29); h_SL1L160->SetBinContent(18,45610.71); h_SL1L160->SetBinContent(19,47100); h_SL1L160->SetBinContent(20,46007.14); h_SL1L160->SetBinContent(21,43450); h_SL1L160->SetBinContent(22,41510.71); h_SL1L160->SetBinContent(23,39014.29); h_SL1L160->SetBinContent(24,34785.71); h_SL1L160->SetBinContent(25,32714.29); h_SL1L160->SetBinContent(26,34771.43); h_SL1L160->SetBinContent(27,33214.29); h_SL1L160->SetBinContent(28,33464.29); h_SL1L160->SetBinContent(29,33889.29); h_SL1L160->SetBinContent(30,31632.14); h_SL1L160->SetBinContent(31,30760.71); h_SL1L160->SetBinContent(32,29296.43); h_SL1L160->SetBinContent(33,111089.3); h_SL1L160->SetBinContent(34,112878.6); h_SL1L160->SetBinContent(35,112103.6); h_SL1L160->SetBinContent(36,112457.1); h_SL1L160->SetBinContent(37,104114.3); h_SL1L160->SetBinContent(38,103292.9); h_SL1L160->SetBinContent(39,101328.6); h_SL1L160->SetBinContent(41,29325); h_SL1L160->SetBinContent(42,31257.14); h_SL1L160->SetBinContent(43,29635.71); h_SL1L160->SetBinContent(44,29296.43); h_SL1L160->SetBinContent(45,27989.29); h_SL1L160->SetBinContent(46,27967.86); h_SL1L160->SetBinContent(47,27953.57); h_SL1L160->SetBinContent(48,28567.86); h_SL1L160->SetBinContent(49,32950); h_SL1L160->SetBinContent(50,35710.71); h_SL1L160->SetBinContent(51,37639.29); h_SL1L160->SetBinContent(52,37646.43); h_SL1L160->SetBinContent(53,34167.86); h_SL1L160->SetBinContent(54,34935.71); h_SL1L160->SetBinContent(55,36875); h_SL1L160->SetBinContent(56,42439.29); h_SL1L160->SetMaximum(166176.1); 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,117139.3); h_SL1L261->SetBinContent(2,120160.7); h_SL1L261->SetBinContent(3,123796.4); h_SL1L261->SetBinContent(4,125653.6); h_SL1L261->SetBinContent(5,116364.3); h_SL1L261->SetBinContent(6,117442.9); h_SL1L261->SetBinContent(7,120546.4); h_SL1L261->SetBinContent(8,120582.1); h_SL1L261->SetBinContent(9,110632.1); h_SL1L261->SetBinContent(10,102628.6); h_SL1L261->SetBinContent(11,99896.43); h_SL1L261->SetBinContent(12,87214.28); h_SL1L261->SetBinContent(13,85435.71); h_SL1L261->SetBinContent(14,84389.28); h_SL1L261->SetBinContent(15,90900); h_SL1L261->SetBinContent(16,90285.71); h_SL1L261->SetBinContent(17,103375); h_SL1L261->SetBinContent(18,109378.6); h_SL1L261->SetBinContent(19,111267.9); h_SL1L261->SetBinContent(20,114889.3); h_SL1L261->SetBinContent(21,112896.4); h_SL1L261->SetBinContent(22,112353.6); h_SL1L261->SetBinContent(23,109403.6); h_SL1L261->SetBinContent(24,111000); h_SL1L261->SetBinContent(25,112667.9); h_SL1L261->SetBinContent(26,102321.4); h_SL1L261->SetBinContent(27,100121.4); h_SL1L261->SetBinContent(28,106028.6); h_SL1L261->SetBinContent(29,109903.6); h_SL1L261->SetBinContent(30,108335.7); h_SL1L261->SetBinContent(31,107510.7); h_SL1L261->SetBinContent(32,104657.1); h_SL1L261->SetBinContent(33,108792.9); h_SL1L261->SetBinContent(34,108046.4); h_SL1L261->SetBinContent(35,107332.1); h_SL1L261->SetBinContent(36,107310.7); h_SL1L261->SetBinContent(37,102650); h_SL1L261->SetBinContent(38,103607.1); h_SL1L261->SetBinContent(39,101896.4); h_SL1L261->SetBinContent(40,101100); h_SL1L261->SetBinContent(41,102721.4); h_SL1L261->SetBinContent(42,105453.6); h_SL1L261->SetBinContent(43,109025); h_SL1L261->SetBinContent(44,108289.3); h_SL1L261->SetBinContent(45,107546.4); h_SL1L261->SetBinContent(46,107953.6); h_SL1L261->SetBinContent(47,110210.7); h_SL1L261->SetBinContent(48,112403.6); h_SL1L261->SetBinContent(49,125535.7); h_SL1L261->SetBinContent(50,123571.4); h_SL1L261->SetBinContent(51,124467.9); h_SL1L261->SetBinContent(52,124117.9); h_SL1L261->SetBinContent(53,107360.7); h_SL1L261->SetBinContent(54,107178.6); h_SL1L261->SetBinContent(55,108792.9); h_SL1L261->SetBinContent(56,108153.6); h_SL1L261->SetMaximum(144501.6); 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,115064.3); h_SL1L362->SetBinContent(2,118953.6); h_SL1L362->SetBinContent(3,120696.4); h_SL1L362->SetBinContent(4,119035.7); h_SL1L362->SetBinContent(5,113942.9); h_SL1L362->SetBinContent(6,112925); h_SL1L362->SetBinContent(7,115375); h_SL1L362->SetBinContent(8,114046.4); h_SL1L362->SetBinContent(9,100796.4); h_SL1L362->SetBinContent(10,97942.86); h_SL1L362->SetBinContent(11,90667.86); h_SL1L362->SetBinContent(12,84528.57); h_SL1L362->SetBinContent(13,81696.43); h_SL1L362->SetBinContent(14,85192.86); h_SL1L362->SetBinContent(15,87092.86); h_SL1L362->SetBinContent(16,91350); h_SL1L362->SetBinContent(17,102892.9); h_SL1L362->SetBinContent(18,107521.4); h_SL1L362->SetBinContent(19,109850); h_SL1L362->SetBinContent(20,114900); h_SL1L362->SetBinContent(21,110210.7); h_SL1L362->SetBinContent(22,107785.7); h_SL1L362->SetBinContent(23,107871.4); h_SL1L362->SetBinContent(24,109417.9); h_SL1L362->SetBinContent(25,104139.3); h_SL1L362->SetBinContent(26,96975); h_SL1L362->SetBinContent(27,97978.57); h_SL1L362->SetBinContent(28,106189.3); h_SL1L362->SetBinContent(29,105375); h_SL1L362->SetBinContent(30,104635.7); h_SL1L362->SetBinContent(31,102714.3); h_SL1L362->SetBinContent(32,97928.57); h_SL1L362->SetBinContent(33,104696.4); h_SL1L362->SetBinContent(34,106517.9); h_SL1L362->SetBinContent(35,103360.7); h_SL1L362->SetBinContent(36,107332.1); h_SL1L362->SetBinContent(37,99042.86); h_SL1L362->SetBinContent(38,98892.86); h_SL1L362->SetBinContent(39,99328.57); h_SL1L362->SetBinContent(40,97853.57); h_SL1L362->SetBinContent(41,101825); h_SL1L362->SetBinContent(42,105721.4); h_SL1L362->SetBinContent(43,105392.9); h_SL1L362->SetBinContent(44,104303.6); h_SL1L362->SetBinContent(45,105703.6); h_SL1L362->SetBinContent(46,104414.3); h_SL1L362->SetBinContent(47,108946.4); h_SL1L362->SetBinContent(48,107746.4); h_SL1L362->SetBinContent(49,122139.3); h_SL1L362->SetBinContent(50,121496.4); h_SL1L362->SetBinContent(51,120367.9); h_SL1L362->SetBinContent(52,124842.9); h_SL1L362->SetBinContent(53,103857.1); h_SL1L362->SetBinContent(54,104471.4); h_SL1L362->SetBinContent(55,104378.6); h_SL1L362->SetBinContent(56,103064.3); h_SL1L362->SetMaximum(144501.6); 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,72328.57); h_SL1L463->SetBinContent(3,64600); h_SL1L463->SetBinContent(4,57325); h_SL1L463->SetBinContent(5,47410.71); h_SL1L463->SetBinContent(6,46903.57); h_SL1L463->SetBinContent(7,46796.43); h_SL1L463->SetBinContent(8,50735.71); h_SL1L463->SetBinContent(9,52417.86); h_SL1L463->SetBinContent(10,54128.57); h_SL1L463->SetBinContent(11,56342.86); h_SL1L463->SetBinContent(12,53592.86); h_SL1L463->SetBinContent(13,51492.86); h_SL1L463->SetBinContent(14,52521.43); h_SL1L463->SetBinContent(15,92585.71); h_SL1L463->SetBinContent(16,61542.86); h_SL1L463->SetBinContent(17,53460.71); h_SL1L463->SetBinContent(18,53314.29); h_SL1L463->SetBinContent(19,51628.57); h_SL1L463->SetBinContent(20,51607.14); h_SL1L463->SetBinContent(21,51353.57); h_SL1L463->SetBinContent(22,49782.14); h_SL1L463->SetBinContent(23,47689.29); h_SL1L463->SetBinContent(24,47767.86); h_SL1L463->SetBinContent(25,40985.71); h_SL1L463->SetBinContent(26,40121.43); h_SL1L463->SetBinContent(27,38007.14); h_SL1L463->SetBinContent(28,38803.57); h_SL1L463->SetBinContent(29,36521.43); h_SL1L463->SetBinContent(30,37435.71); h_SL1L463->SetBinContent(31,37021.43); h_SL1L463->SetBinContent(32,34982.14); h_SL1L463->SetBinContent(33,33735.71); h_SL1L463->SetBinContent(34,35964.29); h_SL1L463->SetBinContent(35,36714.29); h_SL1L463->SetBinContent(36,33082.14); h_SL1L463->SetBinContent(37,92.85714); h_SL1L463->SetBinContent(41,27775); h_SL1L463->SetBinContent(42,30475); h_SL1L463->SetBinContent(43,30932.14); h_SL1L463->SetBinContent(44,29721.43); h_SL1L463->SetBinContent(45,26200); h_SL1L463->SetBinContent(46,28264.29); h_SL1L463->SetBinContent(47,26567.86); h_SL1L463->SetBinContent(48,26407.14); h_SL1L463->SetBinContent(49,27771.43); h_SL1L463->SetBinContent(50,28885.71); h_SL1L463->SetBinContent(51,30028.57); h_SL1L463->SetBinContent(52,30100); h_SL1L463->SetBinContent(53,29185.71); h_SL1L463->SetBinContent(54,28435.71); h_SL1L463->SetBinContent(56,34346.43); h_SL1L463->SetMaximum(144501.6); 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 7385"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }