void RatesPerCell_Removing_noisy_cells_run_7744_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:18:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8082.488,67.5,72742.39); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7744",60,0,60); h_SL1L160->SetBinContent(1,264.2857); h_SL1L160->SetBinContent(2,264.2857); h_SL1L160->SetBinContent(3,235.7143); h_SL1L160->SetBinContent(4,264.2857); h_SL1L160->SetBinContent(6,221.4286); h_SL1L160->SetBinContent(7,292.8571); h_SL1L160->SetBinContent(9,385.7143); h_SL1L160->SetBinContent(10,571.4286); h_SL1L160->SetBinContent(11,528.5714); h_SL1L160->SetBinContent(12,692.8571); h_SL1L160->SetBinContent(13,678.5714); h_SL1L160->SetBinContent(14,1035.714); h_SL1L160->SetBinContent(15,3878.571); h_SL1L160->SetBinContent(16,6821.429); h_SL1L160->SetBinContent(17,9321.429); h_SL1L160->SetBinContent(18,9992.857); h_SL1L160->SetBinContent(19,10564.29); h_SL1L160->SetBinContent(20,10735.71); h_SL1L160->SetBinContent(21,5871.429); h_SL1L160->SetBinContent(22,10314.29); h_SL1L160->SetBinContent(23,35.71429); h_SL1L160->SetBinContent(24,10000); h_SL1L160->SetBinContent(25,10421.43); h_SL1L160->SetBinContent(26,10800); h_SL1L160->SetBinContent(27,10050); h_SL1L160->SetBinContent(28,9892.857); h_SL1L160->SetBinContent(29,10278.57); h_SL1L160->SetBinContent(30,9864.285); h_SL1L160->SetBinContent(31,9492.857); h_SL1L160->SetBinContent(32,9600); h_SL1L160->SetBinContent(33,9550); h_SL1L160->SetBinContent(34,10207.14); h_SL1L160->SetBinContent(35,10000); h_SL1L160->SetBinContent(36,9814.285); h_SL1L160->SetBinContent(37,9707.143); h_SL1L160->SetBinContent(38,9221.429); h_SL1L160->SetBinContent(39,8778.571); h_SL1L160->SetBinContent(40,8750); h_SL1L160->SetBinContent(41,8057.143); h_SL1L160->SetBinContent(42,7671.429); h_SL1L160->SetBinContent(43,7785.714); h_SL1L160->SetBinContent(44,6521.429); h_SL1L160->SetBinContent(45,6721.429); h_SL1L160->SetBinContent(46,5528.571); h_SL1L160->SetBinContent(47,4992.857); h_SL1L160->SetBinContent(48,4050); h_SL1L160->SetBinContent(49,2935.714); h_SL1L160->SetMaximum(64659.9); 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,7.142857); h_SL1L261->SetBinContent(2,7.142857); h_SL1L261->SetBinContent(9,200); h_SL1L261->SetBinContent(10,192.8571); h_SL1L261->SetBinContent(11,257.1429); h_SL1L261->SetBinContent(12,192.8571); h_SL1L261->SetBinContent(13,192.8571); h_SL1L261->SetBinContent(14,328.5714); h_SL1L261->SetBinContent(15,478.5714); h_SL1L261->SetBinContent(16,1507.143); h_SL1L261->SetBinContent(17,2635.714); h_SL1L261->SetBinContent(18,4300); h_SL1L261->SetBinContent(19,4614.286); h_SL1L261->SetBinContent(20,4328.571); h_SL1L261->SetBinContent(21,3578.571); h_SL1L261->SetBinContent(22,7314.286); h_SL1L261->SetBinContent(23,3285.714); h_SL1L261->SetBinContent(24,2571.428); h_SL1L261->SetBinContent(25,4214.286); h_SL1L261->SetBinContent(26,4478.571); h_SL1L261->SetBinContent(27,4578.571); h_SL1L261->SetBinContent(28,4200); h_SL1L261->SetBinContent(29,4057.143); h_SL1L261->SetBinContent(30,4264.286); h_SL1L261->SetBinContent(31,3450); h_SL1L261->SetBinContent(32,3785.714); h_SL1L261->SetBinContent(33,3578.571); h_SL1L261->SetBinContent(34,4278.571); h_SL1L261->SetBinContent(35,4285.714); h_SL1L261->SetBinContent(36,4050); h_SL1L261->SetBinContent(37,3492.857); h_SL1L261->SetBinContent(38,4257.143); h_SL1L261->SetBinContent(39,3635.714); h_SL1L261->SetBinContent(40,3357.143); h_SL1L261->SetBinContent(41,3314.286); h_SL1L261->SetBinContent(42,2964.286); h_SL1L261->SetBinContent(43,3042.857); h_SL1L261->SetBinContent(44,2900); h_SL1L261->SetBinContent(45,3064.286); h_SL1L261->SetBinContent(46,3357.143); h_SL1L261->SetBinContent(47,3000); h_SL1L261->SetBinContent(48,2007.143); h_SL1L261->SetBinContent(49,2900); h_SL1L261->SetMaximum(56226.78); 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,235.7143); h_SL1L362->SetBinContent(2,221.4286); h_SL1L362->SetBinContent(3,214.2857); h_SL1L362->SetBinContent(4,235.7143); h_SL1L362->SetBinContent(5,228.5714); h_SL1L362->SetBinContent(6,271.4286); h_SL1L362->SetBinContent(7,292.8571); h_SL1L362->SetBinContent(8,292.8571); h_SL1L362->SetBinContent(9,400); h_SL1L362->SetBinContent(10,421.4286); h_SL1L362->SetBinContent(11,48892.86); h_SL1L362->SetBinContent(12,671.4286); h_SL1L362->SetBinContent(13,750); h_SL1L362->SetBinContent(14,950); h_SL1L362->SetBinContent(15,3257.143); h_SL1L362->SetBinContent(16,7207.143); h_SL1L362->SetBinContent(17,9928.571); h_SL1L362->SetBinContent(18,10678.57); h_SL1L362->SetBinContent(19,11014.29); h_SL1L362->SetBinContent(20,10807.14); h_SL1L362->SetBinContent(21,6778.571); h_SL1L362->SetBinContent(22,7442.857); h_SL1L362->SetBinContent(23,9957.143); h_SL1L362->SetBinContent(24,10471.43); h_SL1L362->SetBinContent(25,10500); h_SL1L362->SetBinContent(26,10950); h_SL1L362->SetBinContent(27,11328.57); h_SL1L362->SetBinContent(28,11242.86); h_SL1L362->SetBinContent(29,10478.57); h_SL1L362->SetBinContent(30,10164.29); h_SL1L362->SetBinContent(31,10285.71); h_SL1L362->SetBinContent(32,10171.43); h_SL1L362->SetBinContent(33,9614.285); h_SL1L362->SetBinContent(34,10407.14); h_SL1L362->SetBinContent(35,10257.14); h_SL1L362->SetBinContent(36,10042.86); h_SL1L362->SetBinContent(37,9864.285); h_SL1L362->SetBinContent(38,9892.857); h_SL1L362->SetBinContent(39,9678.571); h_SL1L362->SetBinContent(40,9178.571); h_SL1L362->SetBinContent(41,8785.714); h_SL1L362->SetBinContent(42,8978.571); h_SL1L362->SetBinContent(43,8557.143); h_SL1L362->SetBinContent(44,6642.857); h_SL1L362->SetBinContent(45,6528.571); h_SL1L362->SetBinContent(46,6185.714); h_SL1L362->SetBinContent(47,5771.429); h_SL1L362->SetBinContent(48,3821.428); h_SL1L362->SetBinContent(49,3550); h_SL1L362->SetMaximum(56226.78); 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,207.1429); h_SL1L463->SetBinContent(3,128.5714); h_SL1L463->SetBinContent(4,221.4286); h_SL1L463->SetBinContent(5,157.1429); h_SL1L463->SetBinContent(6,271.4286); h_SL1L463->SetBinContent(7,264.2857); h_SL1L463->SetBinContent(8,264.2857); h_SL1L463->SetBinContent(9,321.4286); h_SL1L463->SetBinContent(10,407.1429); h_SL1L463->SetBinContent(11,514.2857); h_SL1L463->SetBinContent(12,564.2857); h_SL1L463->SetBinContent(13,635.7143); h_SL1L463->SetBinContent(14,814.2857); h_SL1L463->SetBinContent(15,1400); h_SL1L463->SetBinContent(16,5600); h_SL1L463->SetBinContent(17,8614.285); h_SL1L463->SetBinContent(18,10528.57); h_SL1L463->SetBinContent(19,11135.71); h_SL1L463->SetBinContent(20,10842.86); h_SL1L463->SetBinContent(21,9857.143); h_SL1L463->SetBinContent(22,6357.143); h_SL1L463->SetBinContent(23,10550); h_SL1L463->SetBinContent(24,10492.86); h_SL1L463->SetBinContent(25,10450); h_SL1L463->SetBinContent(26,10914.29); h_SL1L463->SetBinContent(27,11764.29); h_SL1L463->SetBinContent(28,10821.43); h_SL1L463->SetBinContent(29,10578.57); h_SL1L463->SetBinContent(30,10707.14); h_SL1L463->SetBinContent(31,9700); h_SL1L463->SetBinContent(32,10128.57); h_SL1L463->SetBinContent(33,9535.714); h_SL1L463->SetBinContent(34,10435.71); h_SL1L463->SetBinContent(35,10414.29); h_SL1L463->SetBinContent(36,10350); h_SL1L463->SetBinContent(37,9871.429); h_SL1L463->SetBinContent(38,10021.43); h_SL1L463->SetBinContent(39,9392.857); h_SL1L463->SetBinContent(40,9192.857); h_SL1L463->SetBinContent(41,8157.143); h_SL1L463->SetBinContent(42,8150); h_SL1L463->SetBinContent(43,8207.143); h_SL1L463->SetBinContent(44,7071.429); h_SL1L463->SetBinContent(45,6328.571); h_SL1L463->SetBinContent(46,6714.286); h_SL1L463->SetBinContent(47,5914.286); h_SL1L463->SetBinContent(48,5478.571); h_SL1L463->SetBinContent(49,42.85714); h_SL1L463->SetMaximum(56226.78); 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 7744"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }