void RatesPerCell_Removing_noisy_cells_run_7389_SL3() { //=========Macro generated from canvas: c/c //========= (Mon Jan 21 13:17:21 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-17927.35,67.5,161346.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7389",60,0,60); h_SL3L168->SetBinContent(1,58873.32); h_SL3L168->SetBinContent(2,72429); h_SL3L168->SetBinContent(4,108445.5); h_SL3L168->SetBinContent(5,100016.5); h_SL3L168->SetBinContent(6,98855.02); h_SL3L168->SetBinContent(7,96073.56); h_SL3L168->SetBinContent(8,89233.42); h_SL3L168->SetBinContent(9,80853.46); h_SL3L168->SetBinContent(10,76598.95); h_SL3L168->SetBinContent(11,69999.12); h_SL3L168->SetBinContent(12,69380.53); h_SL3L168->SetBinContent(13,60457.63); h_SL3L168->SetBinContent(14,65535.45); h_SL3L168->SetBinContent(15,63127.83); h_SL3L168->SetBinContent(16,65072.62); h_SL3L168->SetBinContent(17,76047.11); h_SL3L168->SetBinContent(18,78824.12); h_SL3L168->SetBinContent(19,80377.27); h_SL3L168->SetBinContent(20,82807.16); h_SL3L168->SetBinContent(21,74930.09); h_SL3L168->SetBinContent(22,74115.67); h_SL3L168->SetBinContent(23,73813.05); h_SL3L168->SetBinContent(24,72224.29); h_SL3L168->SetBinContent(25,60675.7); h_SL3L168->SetBinContent(26,59620.97); h_SL3L168->SetBinContent(27,61294.29); h_SL3L168->SetBinContent(28,64209.25); h_SL3L168->SetBinContent(29,48281.55); h_SL3L168->SetBinContent(30,48423.96); h_SL3L168->SetBinContent(31,45335.44); h_SL3L168->SetBinContent(32,42638.54); h_SL3L168->SetBinContent(33,51285.52); h_SL3L168->SetBinContent(34,50711.43); h_SL3L168->SetBinContent(35,47934.43); h_SL3L168->SetBinContent(36,48953.55); h_SL3L168->SetBinContent(37,44423.12); h_SL3L168->SetBinContent(38,43755.57); h_SL3L168->SetBinContent(39,43466.3); h_SL3L168->SetBinContent(40,42398.22); h_SL3L168->SetBinContent(41,38321.73); h_SL3L168->SetBinContent(42,38935.87); h_SL3L168->SetBinContent(43,39122.79); h_SL3L168->SetBinContent(44,39323.05); h_SL3L168->SetBinContent(45,34939.48); h_SL3L168->SetBinContent(46,35072.99); h_SL3L168->SetBinContent(47,34619.06); h_SL3L168->SetBinContent(48,34690.27); h_SL3L168->SetBinContent(49,31241.27); h_SL3L168->SetBinContent(50,30582.62); h_SL3L168->SetBinContent(51,29737.06); h_SL3L168->SetBinContent(52,29950.67); h_SL3L168->SetBinContent(53,24952.96); h_SL3L168->SetBinContent(54,24249.81); h_SL3L168->SetBinContent(55,24191.95); h_SL3L168->SetBinContent(56,24009.49); h_SL3L168->SetBinContent(57,18077.21); h_SL3L168->SetBinContent(58,16403.89); h_SL3L168->SetBinContent(59,15113.3); h_SL3L168->SetMaximum(143418.8); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,11245.96); h_SL3L269->SetBinContent(2,12447.55); h_SL3L269->SetBinContent(4,19492.41); h_SL3L269->SetBinContent(5,17609.93); h_SL3L269->SetBinContent(6,16893.42); h_SL3L269->SetBinContent(7,16390.54); h_SL3L269->SetBinContent(8,15909.9); h_SL3L269->SetBinContent(9,12469.8); h_SL3L269->SetBinContent(10,11593.09); h_SL3L269->SetBinContent(11,10881.04); h_SL3L269->SetBinContent(12,10062.18); h_SL3L269->SetBinContent(13,8135.19); h_SL3L269->SetBinContent(14,8353.256); h_SL3L269->SetBinContent(15,8090.687); h_SL3L269->SetBinContent(16,8308.752); h_SL3L269->SetBinContent(17,8268.699); h_SL3L269->SetBinContent(18,8682.579); h_SL3L269->SetBinContent(19,9185.466); h_SL3L269->SetBinContent(20,9154.313); h_SL3L269->SetBinContent(21,7614.502); h_SL3L269->SetBinContent(22,7765.813); h_SL3L269->SetBinContent(23,7449.84); h_SL3L269->SetBinContent(24,7587.8); h_SL3L269->SetBinContent(25,5665.261); h_SL3L269->SetBinContent(26,5331.486); h_SL3L269->SetBinContent(27,5202.427); h_SL3L269->SetBinContent(28,5335.937); h_SL3L269->SetBinContent(29,3689.317); h_SL3L269->SetBinContent(30,3622.562); h_SL3L269->SetBinContent(31,3560.258); h_SL3L269->SetBinContent(32,3480.152); h_SL3L269->SetBinContent(33,3506.854); h_SL3L269->SetBinContent(34,3569.159); h_SL3L269->SetBinContent(35,3279.888); h_SL3L269->SetBinContent(36,3324.391); h_SL3L269->SetBinContent(37,2754.75); h_SL3L269->SetBinContent(38,2701.346); h_SL3L269->SetBinContent(39,2674.644); h_SL3L269->SetBinContent(40,2723.597); h_SL3L269->SetBinContent(41,1931.44); h_SL3L269->SetBinContent(42,2020.447); h_SL3L269->SetBinContent(43,2087.201); h_SL3L269->SetBinContent(44,2145.055); h_SL3L269->SetBinContent(45,1700.023); h_SL3L269->SetBinContent(46,1584.315); h_SL3L269->SetBinContent(47,1504.209); h_SL3L269->SetBinContent(48,1748.977); h_SL3L269->SetBinContent(49,1179.335); h_SL3L269->SetBinContent(50,974.6207); h_SL3L269->SetBinContent(51,1117.031); h_SL3L269->SetBinContent(52,1143.733); h_SL3L269->SetBinContent(53,885.6142); h_SL3L269->SetBinContent(54,854.4619); h_SL3L269->SetBinContent(55,876.7136); h_SL3L269->SetBinContent(56,974.6207); h_SL3L269->SetBinContent(57,649.7471); h_SL3L269->SetBinContent(58,409.4297); h_SL3L269->SetBinContent(59,356.0258); h_SL3L269->SetMaximum(124712.3); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,302.6219); h_SL3L370->SetBinContent(2,378.2774); h_SL3L370->SetBinContent(3,404.9794); h_SL3L370->SetBinContent(4,582.9922); h_SL3L370->SetBinContent(5,378.2774); h_SL3L370->SetBinContent(6,422.7806); h_SL3L370->SetBinContent(7,329.3239); h_SL3L370->SetBinContent(8,293.7213); h_SL3L370->SetBinContent(9,271.4697); h_SL3L370->SetBinContent(10,289.271); h_SL3L370->SetBinContent(11,200.2645); h_SL3L370->SetBinContent(12,191.3639); h_SL3L370->SetBinContent(13,195.8142); h_SL3L370->SetBinContent(14,178.0129); h_SL3L370->SetBinContent(15,222.5161); h_SL3L370->SetBinContent(16,164.6619); h_SL3L370->SetBinContent(17,155.7613); h_SL3L370->SetBinContent(18,146.8606); h_SL3L370->SetBinContent(19,209.1652); h_SL3L370->SetBinContent(20,120.1587); h_SL3L370->SetBinContent(21,89.00645); h_SL3L370->SetBinContent(22,89.00645); h_SL3L370->SetBinContent(23,62.30452); h_SL3L370->SetBinContent(24,66.75484); h_SL3L370->SetBinContent(25,71.20516); h_SL3L370->SetBinContent(26,40.0529); h_SL3L370->SetBinContent(27,80.1058); h_SL3L370->SetBinContent(28,71.20516); h_SL3L370->SetBinContent(29,44.50323); h_SL3L370->SetBinContent(30,53.40387); h_SL3L370->SetBinContent(31,62.30452); h_SL3L370->SetBinContent(32,26.70193); h_SL3L370->SetBinContent(33,40.0529); h_SL3L370->SetBinContent(34,22.25161); h_SL3L370->SetBinContent(35,22.25161); h_SL3L370->SetBinContent(36,40.0529); h_SL3L370->SetBinContent(37,26.70193); h_SL3L370->SetBinContent(38,26.70193); h_SL3L370->SetBinContent(39,22.25161); h_SL3L370->SetBinContent(40,13.35097); h_SL3L370->SetBinContent(41,8.900645); h_SL3L370->SetBinContent(42,8.900645); h_SL3L370->SetBinContent(43,26.70193); h_SL3L370->SetBinContent(44,22.25161); h_SL3L370->SetBinContent(45,4.450323); h_SL3L370->SetBinContent(46,8.900645); h_SL3L370->SetBinContent(47,8.900645); h_SL3L370->SetBinContent(48,22.25161); h_SL3L370->SetBinContent(49,4.450323); h_SL3L370->SetBinContent(50,4.450323); h_SL3L370->SetBinContent(51,4.450323); h_SL3L370->SetBinContent(52,13.35097); h_SL3L370->SetBinContent(54,4.450323); h_SL3L370->SetMaximum(124712.3); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetMaximum(124712.3); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 7389"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }