void RatesPerCell_Removing_noisy_cells_run_7061_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:08:00 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3596.769,67.5,32370.92); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7061",60,0,60); h_SL2L164->SetBinContent(1,247.2527); h_SL2L164->SetBinContent(2,192.3077); h_SL2L164->SetBinContent(3,164.8352); h_SL2L164->SetBinContent(4,247.2527); h_SL2L164->SetBinContent(5,412.0879); h_SL2L164->SetBinContent(6,302.1978); h_SL2L164->SetBinContent(7,521.978); h_SL2L164->SetBinContent(8,467.033); h_SL2L164->SetBinContent(9,302.1978); h_SL2L164->SetBinContent(10,467.033); h_SL2L164->SetBinContent(11,247.2527); h_SL2L164->SetBinContent(12,192.3077); h_SL2L164->SetBinContent(13,302.1978); h_SL2L164->SetBinContent(14,549.4506); h_SL2L164->SetBinContent(15,467.033); h_SL2L164->SetBinContent(16,412.0879); h_SL2L164->SetBinContent(17,659.3406); h_SL2L164->SetBinContent(18,741.7582); h_SL2L164->SetBinContent(19,824.1758); h_SL2L164->SetBinContent(20,659.3406); h_SL2L164->SetBinContent(21,989.011); h_SL2L164->SetBinContent(22,2197.802); h_SL2L164->SetBinContent(23,1950.549); h_SL2L164->SetBinContent(24,1840.659); h_SL2L164->SetBinContent(25,3076.923); h_SL2L164->SetBinContent(26,3928.571); h_SL2L164->SetBinContent(27,4697.802); h_SL2L164->SetBinContent(28,5879.121); h_SL2L164->SetBinContent(29,8241.758); h_SL2L164->SetBinContent(30,8076.923); h_SL2L164->SetBinContent(31,7967.033); h_SL2L164->SetBinContent(32,9478.021); h_SL2L164->SetBinContent(33,9917.582); h_SL2L164->SetBinContent(34,10631.87); h_SL2L164->SetBinContent(35,54.94505); h_SL2L164->SetBinContent(36,12445.05); h_SL2L164->SetBinContent(37,13873.63); h_SL2L164->SetBinContent(38,15109.89); h_SL2L164->SetBinContent(39,15302.2); h_SL2L164->SetBinContent(40,15027.47); h_SL2L164->SetBinContent(41,17939.56); h_SL2L164->SetBinContent(42,19505.49); h_SL2L164->SetBinContent(43,19532.97); h_SL2L164->SetBinContent(44,18379.12); h_SL2L164->SetBinContent(45,20274.72); h_SL2L164->SetBinContent(46,19835.16); h_SL2L164->SetBinContent(47,19752.75); h_SL2L164->SetBinContent(48,20302.2); h_SL2L164->SetBinContent(49,20439.56); h_SL2L164->SetBinContent(50,20109.89); h_SL2L164->SetBinContent(51,20054.95); h_SL2L164->SetBinContent(52,20329.67); h_SL2L164->SetBinContent(53,19478.02); h_SL2L164->SetBinContent(54,16373.63); h_SL2L164->SetBinContent(55,14835.16); h_SL2L164->SetBinContent(56,10934.07); h_SL2L164->SetBinContent(57,4670.33); h_SL2L164->SetMaximum(28774.15); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,164.8352); h_SL2L265->SetBinContent(2,137.3626); h_SL2L265->SetBinContent(3,82.41758); h_SL2L265->SetBinContent(4,109.8901); h_SL2L265->SetBinContent(5,329.6703); h_SL2L265->SetBinContent(6,247.2527); h_SL2L265->SetBinContent(7,219.7802); h_SL2L265->SetBinContent(8,164.8352); h_SL2L265->SetBinContent(9,274.7253); h_SL2L265->SetBinContent(10,137.3626); h_SL2L265->SetBinContent(11,192.3077); h_SL2L265->SetBinContent(12,137.3626); h_SL2L265->SetBinContent(13,219.7802); h_SL2L265->SetBinContent(14,412.0879); h_SL2L265->SetBinContent(15,439.5604); h_SL2L265->SetBinContent(16,576.923); h_SL2L265->SetBinContent(17,467.033); h_SL2L265->SetBinContent(18,659.3406); h_SL2L265->SetBinContent(19,989.011); h_SL2L265->SetBinContent(20,631.8681); h_SL2L265->SetBinContent(21,1043.956); h_SL2L265->SetBinContent(22,1373.626); h_SL2L265->SetBinContent(23,1895.604); h_SL2L265->SetBinContent(24,1813.187); h_SL2L265->SetBinContent(25,2527.472); h_SL2L265->SetBinContent(26,3846.154); h_SL2L265->SetBinContent(27,3818.681); h_SL2L265->SetBinContent(28,5357.143); h_SL2L265->SetBinContent(29,6098.901); h_SL2L265->SetBinContent(30,8104.396); h_SL2L265->SetBinContent(31,8269.23); h_SL2L265->SetBinContent(32,8571.429); h_SL2L265->SetBinContent(33,10109.89); h_SL2L265->SetBinContent(34,9862.637); h_SL2L265->SetBinContent(35,9065.934); h_SL2L265->SetBinContent(36,10521.98); h_SL2L265->SetBinContent(37,12967.03); h_SL2L265->SetBinContent(38,14615.38); h_SL2L265->SetBinContent(39,15302.2); h_SL2L265->SetBinContent(40,15384.62); h_SL2L265->SetBinContent(41,16318.68); h_SL2L265->SetBinContent(42,17280.22); h_SL2L265->SetBinContent(43,19532.97); h_SL2L265->SetBinContent(44,19670.33); h_SL2L265->SetBinContent(45,18598.9); h_SL2L265->SetBinContent(46,19890.11); h_SL2L265->SetBinContent(47,19587.91); h_SL2L265->SetBinContent(48,19010.99); h_SL2L265->SetBinContent(49,19560.44); h_SL2L265->SetBinContent(50,19670.33); h_SL2L265->SetBinContent(51,20906.59); h_SL2L265->SetBinContent(52,20000); h_SL2L265->SetBinContent(53,20879.12); h_SL2L265->SetBinContent(54,18434.06); h_SL2L265->SetBinContent(55,17115.38); h_SL2L265->SetBinContent(56,13104.4); h_SL2L265->SetBinContent(57,8269.23); h_SL2L265->SetMaximum(25021.98); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,164.8352); h_SL2L366->SetBinContent(2,192.3077); h_SL2L366->SetBinContent(3,109.8901); h_SL2L366->SetBinContent(4,219.7802); h_SL2L366->SetBinContent(5,109.8901); h_SL2L366->SetBinContent(6,164.8352); h_SL2L366->SetBinContent(7,164.8352); h_SL2L366->SetBinContent(8,137.3626); h_SL2L366->SetBinContent(9,247.2527); h_SL2L366->SetBinContent(10,274.7253); h_SL2L366->SetBinContent(11,329.6703); h_SL2L366->SetBinContent(12,247.2527); h_SL2L366->SetBinContent(13,274.7253); h_SL2L366->SetBinContent(14,439.5604); h_SL2L366->SetBinContent(15,384.6154); h_SL2L366->SetBinContent(16,439.5604); h_SL2L366->SetBinContent(17,576.923); h_SL2L366->SetBinContent(18,824.1758); h_SL2L366->SetBinContent(19,769.2307); h_SL2L366->SetBinContent(20,686.8132); h_SL2L366->SetBinContent(21,961.5385); h_SL2L366->SetBinContent(22,1813.187); h_SL2L366->SetBinContent(23,1978.022); h_SL2L366->SetBinContent(24,1895.604); h_SL2L366->SetBinContent(25,3269.231); h_SL2L366->SetBinContent(26,3818.681); h_SL2L366->SetBinContent(27,4587.912); h_SL2L366->SetBinContent(28,5467.033); h_SL2L366->SetBinContent(29,6813.187); h_SL2L366->SetBinContent(30,8214.285); h_SL2L366->SetBinContent(31,8543.956); h_SL2L366->SetBinContent(32,8269.23); h_SL2L366->SetBinContent(33,10412.09); h_SL2L366->SetBinContent(34,9450.549); h_SL2L366->SetBinContent(35,10329.67); h_SL2L366->SetBinContent(36,11346.15); h_SL2L366->SetBinContent(37,14340.66); h_SL2L366->SetBinContent(38,15027.47); h_SL2L366->SetBinContent(39,15824.18); h_SL2L366->SetBinContent(40,14560.44); h_SL2L366->SetBinContent(41,17142.86); h_SL2L366->SetBinContent(42,17500); h_SL2L366->SetBinContent(43,18983.52); h_SL2L366->SetBinContent(44,18763.74); h_SL2L366->SetBinContent(45,19038.46); h_SL2L366->SetBinContent(46,20054.95); h_SL2L366->SetBinContent(47,19670.33); h_SL2L366->SetBinContent(48,19697.8); h_SL2L366->SetBinContent(49,19148.35); h_SL2L366->SetBinContent(50,21620.88); h_SL2L366->SetBinContent(51,20576.92); h_SL2L366->SetBinContent(52,20989.01); h_SL2L366->SetBinContent(53,19972.53); h_SL2L366->SetBinContent(54,20082.42); h_SL2L366->SetBinContent(55,16263.74); h_SL2L366->SetBinContent(56,9395.604); h_SL2L366->SetBinContent(57,6840.659); h_SL2L366->SetMaximum(25021.98); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,27.47253); h_SL2L467->SetBinContent(3,192.3077); h_SL2L467->SetBinContent(4,219.7802); h_SL2L467->SetBinContent(5,82.41758); h_SL2L467->SetBinContent(6,137.3626); h_SL2L467->SetBinContent(7,109.8901); h_SL2L467->SetBinContent(8,247.2527); h_SL2L467->SetBinContent(9,109.8901); h_SL2L467->SetBinContent(10,137.3626); h_SL2L467->SetBinContent(11,164.8352); h_SL2L467->SetBinContent(12,302.1978); h_SL2L467->SetBinContent(13,274.7253); h_SL2L467->SetBinContent(14,494.5055); h_SL2L467->SetBinContent(15,302.1978); h_SL2L467->SetBinContent(16,494.5055); h_SL2L467->SetBinContent(17,494.5055); h_SL2L467->SetBinContent(18,549.4506); h_SL2L467->SetBinContent(19,741.7582); h_SL2L467->SetBinContent(20,796.7032); h_SL2L467->SetBinContent(21,879.1208); h_SL2L467->SetBinContent(22,1263.736); h_SL2L467->SetBinContent(23,1675.824); h_SL2L467->SetBinContent(24,1950.549); h_SL2L467->SetBinContent(25,2307.692); h_SL2L467->SetBinContent(26,3571.428); h_SL2L467->SetBinContent(27,4642.857); h_SL2L467->SetBinContent(28,4945.055); h_SL2L467->SetBinContent(29,6208.791); h_SL2L467->SetBinContent(30,7884.615); h_SL2L467->SetBinContent(31,8269.23); h_SL2L467->SetBinContent(32,8516.483); h_SL2L467->SetBinContent(33,9148.352); h_SL2L467->SetBinContent(34,10412.09); h_SL2L467->SetBinContent(35,9972.527); h_SL2L467->SetBinContent(36,10824.18); h_SL2L467->SetBinContent(37,12719.78); h_SL2L467->SetBinContent(38,13543.96); h_SL2L467->SetBinContent(39,15219.78); h_SL2L467->SetBinContent(40,14890.11); h_SL2L467->SetBinContent(41,16126.37); h_SL2L467->SetBinContent(42,16703.3); h_SL2L467->SetBinContent(43,19175.82); h_SL2L467->SetBinContent(44,18846.15); h_SL2L467->SetBinContent(45,19972.53); h_SL2L467->SetBinContent(46,20192.31); h_SL2L467->SetBinContent(47,19945.05); h_SL2L467->SetBinContent(48,19285.71); h_SL2L467->SetBinContent(49,19890.11); h_SL2L467->SetBinContent(50,20576.92); h_SL2L467->SetBinContent(51,21758.24); h_SL2L467->SetBinContent(52,21291.21); h_SL2L467->SetBinContent(53,21483.52); h_SL2L467->SetBinContent(54,21401.1); h_SL2L467->SetBinContent(55,18543.96); h_SL2L467->SetBinContent(56,13598.9); h_SL2L467->SetBinContent(57,5906.593); h_SL2L467->SetMaximum(25021.98); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7061"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }