void RatesPerCell_Removing_noisy_cells_run_7381_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:18:52 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13518.97,67.5,121670.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7381",60,0,60); h_SL1L160->SetBinContent(1,10578.57); h_SL1L160->SetBinContent(2,10578.57); h_SL1L160->SetBinContent(3,10057.14); h_SL1L160->SetBinContent(4,8535.714); h_SL1L160->SetBinContent(5,6471.429); h_SL1L160->SetBinContent(6,7064.286); h_SL1L160->SetBinContent(7,6785.714); h_SL1L160->SetBinContent(8,7242.857); h_SL1L160->SetBinContent(9,6621.429); h_SL1L160->SetBinContent(10,6357.143); h_SL1L160->SetBinContent(11,6800); h_SL1L160->SetBinContent(12,6314.286); h_SL1L160->SetBinContent(13,9828.571); h_SL1L160->SetBinContent(14,10464.29); h_SL1L160->SetBinContent(15,10178.57); h_SL1L160->SetBinContent(16,5685.714); h_SL1L160->SetBinContent(17,4850); h_SL1L160->SetBinContent(18,4807.143); h_SL1L160->SetBinContent(19,5321.429); h_SL1L160->SetBinContent(20,5192.857); h_SL1L160->SetBinContent(21,4971.429); h_SL1L160->SetBinContent(22,4957.143); h_SL1L160->SetBinContent(23,4528.571); h_SL1L160->SetBinContent(24,3871.428); h_SL1L160->SetBinContent(25,3635.714); h_SL1L160->SetBinContent(26,4021.428); h_SL1L160->SetBinContent(27,3942.857); h_SL1L160->SetBinContent(28,3964.286); h_SL1L160->SetBinContent(29,4371.429); h_SL1L160->SetBinContent(30,3957.143); h_SL1L160->SetBinContent(31,3835.714); h_SL1L160->SetBinContent(32,3842.857); h_SL1L160->SetBinContent(33,18192.86); h_SL1L160->SetBinContent(34,19364.29); h_SL1L160->SetBinContent(35,18700); h_SL1L160->SetBinContent(36,18678.57); h_SL1L160->SetBinContent(37,19107.14); h_SL1L160->SetBinContent(38,19650); h_SL1L160->SetBinContent(39,19678.57); h_SL1L160->SetBinContent(40,14.28571); h_SL1L160->SetBinContent(41,3578.571); h_SL1L160->SetBinContent(42,4121.429); h_SL1L160->SetBinContent(43,3964.286); h_SL1L160->SetBinContent(44,3935.714); h_SL1L160->SetBinContent(45,3200); h_SL1L160->SetBinContent(46,3257.143); h_SL1L160->SetBinContent(47,3264.286); h_SL1L160->SetBinContent(48,3300); h_SL1L160->SetBinContent(49,3664.286); h_SL1L160->SetBinContent(50,3871.428); h_SL1L160->SetBinContent(51,3742.857); h_SL1L160->SetBinContent(52,3928.571); h_SL1L160->SetBinContent(53,4007.143); h_SL1L160->SetBinContent(54,3764.286); h_SL1L160->SetBinContent(55,4157.143); h_SL1L160->SetBinContent(56,4607.143); h_SL1L160->SetMaximum(108151.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,42178.57); h_SL1L261->SetBinContent(2,46414.29); h_SL1L261->SetBinContent(3,47850); h_SL1L261->SetBinContent(4,47357.14); h_SL1L261->SetBinContent(5,46542.86); h_SL1L261->SetBinContent(6,48664.29); h_SL1L261->SetBinContent(7,45550); h_SL1L261->SetBinContent(8,45435.71); h_SL1L261->SetBinContent(9,61371.43); h_SL1L261->SetBinContent(10,42378.57); h_SL1L261->SetBinContent(11,42642.86); h_SL1L261->SetBinContent(12,38692.86); h_SL1L261->SetBinContent(13,37207.14); h_SL1L261->SetBinContent(14,37507.14); h_SL1L261->SetBinContent(15,39735.71); h_SL1L261->SetBinContent(16,38321.43); h_SL1L261->SetBinContent(17,40071.43); h_SL1L261->SetBinContent(18,42957.14); h_SL1L261->SetBinContent(19,44550); h_SL1L261->SetBinContent(20,45992.86); h_SL1L261->SetBinContent(21,47892.86); h_SL1L261->SetBinContent(22,47771.43); h_SL1L261->SetBinContent(23,45542.86); h_SL1L261->SetBinContent(24,46242.86); h_SL1L261->SetBinContent(25,47621.43); h_SL1L261->SetBinContent(26,43600); h_SL1L261->SetBinContent(27,43964.29); h_SL1L261->SetBinContent(28,45785.71); h_SL1L261->SetBinContent(29,46385.71); h_SL1L261->SetBinContent(30,46450); h_SL1L261->SetBinContent(31,45950); h_SL1L261->SetBinContent(32,46414.29); h_SL1L261->SetBinContent(33,45392.86); h_SL1L261->SetBinContent(34,44942.86); h_SL1L261->SetBinContent(35,44064.29); h_SL1L261->SetBinContent(36,45242.86); h_SL1L261->SetBinContent(37,45257.14); h_SL1L261->SetBinContent(38,47071.43); h_SL1L261->SetBinContent(39,47250); h_SL1L261->SetBinContent(40,47378.57); h_SL1L261->SetBinContent(41,48335.71); h_SL1L261->SetBinContent(42,50271.43); h_SL1L261->SetBinContent(43,50600); h_SL1L261->SetBinContent(44,50228.57); h_SL1L261->SetBinContent(45,50450); h_SL1L261->SetBinContent(46,52300); h_SL1L261->SetBinContent(47,53728.57); h_SL1L261->SetBinContent(48,54700); h_SL1L261->SetBinContent(49,81778.57); h_SL1L261->SetBinContent(50,53635.71); h_SL1L261->SetBinContent(51,55564.29); h_SL1L261->SetBinContent(52,58235.71); h_SL1L261->SetBinContent(53,59264.29); h_SL1L261->SetBinContent(54,59385.71); h_SL1L261->SetBinContent(55,61857.14); h_SL1L261->SetBinContent(56,62878.57); h_SL1L261->SetMaximum(94045.36); 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,42271.43); h_SL1L362->SetBinContent(2,44192.86); h_SL1L362->SetBinContent(3,45692.86); h_SL1L362->SetBinContent(4,45278.57); h_SL1L362->SetBinContent(5,46264.29); h_SL1L362->SetBinContent(6,45142.86); h_SL1L362->SetBinContent(7,44792.86); h_SL1L362->SetBinContent(8,44864.29); h_SL1L362->SetBinContent(9,42585.71); h_SL1L362->SetBinContent(10,41321.43); h_SL1L362->SetBinContent(11,39328.57); h_SL1L362->SetBinContent(12,37614.29); h_SL1L362->SetBinContent(13,36235.71); h_SL1L362->SetBinContent(14,37778.57); h_SL1L362->SetBinContent(15,41200); h_SL1L362->SetBinContent(16,38285.71); h_SL1L362->SetBinContent(17,40135.71); h_SL1L362->SetBinContent(18,42621.43); h_SL1L362->SetBinContent(19,43064.29); h_SL1L362->SetBinContent(20,45435.71); h_SL1L362->SetBinContent(21,47178.57); h_SL1L362->SetBinContent(22,44900); h_SL1L362->SetBinContent(23,45200); h_SL1L362->SetBinContent(24,45457.14); h_SL1L362->SetBinContent(25,45271.43); h_SL1L362->SetBinContent(26,41650); h_SL1L362->SetBinContent(27,41950); h_SL1L362->SetBinContent(28,45250); h_SL1L362->SetBinContent(29,44700); h_SL1L362->SetBinContent(30,45485.71); h_SL1L362->SetBinContent(31,44250); h_SL1L362->SetBinContent(32,42964.29); h_SL1L362->SetBinContent(33,43907.14); h_SL1L362->SetBinContent(34,44271.43); h_SL1L362->SetBinContent(35,43678.57); h_SL1L362->SetBinContent(36,43721.43); h_SL1L362->SetBinContent(37,45964.29); h_SL1L362->SetBinContent(38,46035.71); h_SL1L362->SetBinContent(39,45757.14); h_SL1L362->SetBinContent(40,46335.71); h_SL1L362->SetBinContent(41,48528.57); h_SL1L362->SetBinContent(42,49478.57); h_SL1L362->SetBinContent(43,49328.57); h_SL1L362->SetBinContent(44,48535.71); h_SL1L362->SetBinContent(45,50457.14); h_SL1L362->SetBinContent(46,51707.14); h_SL1L362->SetBinContent(47,54157.14); h_SL1L362->SetBinContent(48,53578.57); h_SL1L362->SetBinContent(49,54457.14); h_SL1L362->SetBinContent(50,54307.14); h_SL1L362->SetBinContent(51,56192.86); h_SL1L362->SetBinContent(52,56621.43); h_SL1L362->SetBinContent(53,68692.86); h_SL1L362->SetBinContent(54,58971.43); h_SL1L362->SetBinContent(55,60328.57); h_SL1L362->SetBinContent(56,74742.86); h_SL1L362->SetMaximum(94045.36); 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,39085.71); h_SL1L463->SetBinContent(3,37778.57); h_SL1L463->SetBinContent(4,35921.43); h_SL1L463->SetBinContent(5,35507.14); h_SL1L463->SetBinContent(6,35135.71); h_SL1L463->SetBinContent(7,35271.43); h_SL1L463->SetBinContent(8,35742.86); h_SL1L463->SetBinContent(9,36050); h_SL1L463->SetBinContent(10,35742.86); h_SL1L463->SetBinContent(11,36100); h_SL1L463->SetBinContent(12,34135.71); h_SL1L463->SetBinContent(13,33042.86); h_SL1L463->SetBinContent(14,39907.14); h_SL1L463->SetBinContent(15,38850); h_SL1L463->SetBinContent(16,37585.71); h_SL1L463->SetBinContent(17,33050); h_SL1L463->SetBinContent(18,35571.43); h_SL1L463->SetBinContent(19,35442.86); h_SL1L463->SetBinContent(20,35671.43); h_SL1L463->SetBinContent(21,37435.71); h_SL1L463->SetBinContent(22,36407.14); h_SL1L463->SetBinContent(23,35371.43); h_SL1L463->SetBinContent(24,36207.14); h_SL1L463->SetBinContent(25,32607.14); h_SL1L463->SetBinContent(26,31000); h_SL1L463->SetBinContent(27,31428.57); h_SL1L463->SetBinContent(28,32014.29); h_SL1L463->SetBinContent(29,31864.29); h_SL1L463->SetBinContent(30,33671.43); h_SL1L463->SetBinContent(31,31664.29); h_SL1L463->SetBinContent(32,29978.57); h_SL1L463->SetBinContent(33,28714.29); h_SL1L463->SetBinContent(34,31978.57); h_SL1L463->SetBinContent(35,32621.43); h_SL1L463->SetBinContent(36,30135.71); h_SL1L463->SetBinContent(37,50); h_SL1L463->SetBinContent(40,14.28571); h_SL1L463->SetBinContent(41,27485.71); h_SL1L463->SetBinContent(42,32735.71); h_SL1L463->SetBinContent(43,33328.57); h_SL1L463->SetBinContent(44,32014.29); h_SL1L463->SetBinContent(45,28700); h_SL1L463->SetBinContent(46,31385.71); h_SL1L463->SetBinContent(47,29535.71); h_SL1L463->SetBinContent(48,28950); h_SL1L463->SetBinContent(49,28164.29); h_SL1L463->SetBinContent(50,30871.43); h_SL1L463->SetBinContent(51,30371.43); h_SL1L463->SetBinContent(52,31850); h_SL1L463->SetBinContent(53,31671.43); h_SL1L463->SetBinContent(54,30685.71); h_SL1L463->SetBinContent(55,21.42857); h_SL1L463->SetBinContent(56,37135.71); h_SL1L463->SetMaximum(94045.36); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 7381"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }