void RatesPerCell_Removing_noisy_cells_run_7448_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:33:04 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-30701.98,67.5,276317.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7448",60,0,60); h_SL3L168->SetBinContent(1,51142.86); h_SL3L168->SetBinContent(2,63707.14); h_SL3L168->SetBinContent(4,97357.14); h_SL3L168->SetBinContent(5,88771.43); h_SL3L168->SetBinContent(6,90564.28); h_SL3L168->SetBinContent(7,92992.86); h_SL3L168->SetBinContent(8,89864.28); h_SL3L168->SetBinContent(9,92671.43); h_SL3L168->SetBinContent(10,92528.57); h_SL3L168->SetBinContent(11,93828.57); h_SL3L168->SetBinContent(12,94792.86); h_SL3L168->SetBinContent(13,84135.71); h_SL3L168->SetBinContent(14,83100); h_SL3L168->SetBinContent(15,79557.14); h_SL3L168->SetBinContent(16,79592.86); h_SL3L168->SetBinContent(17,108850); h_SL3L168->SetBinContent(18,111992.9); h_SL3L168->SetBinContent(19,112050); h_SL3L168->SetBinContent(20,112564.3); h_SL3L168->SetBinContent(21,98835.71); h_SL3L168->SetBinContent(22,96400); h_SL3L168->SetBinContent(23,95607.14); h_SL3L168->SetBinContent(24,94557.14); h_SL3L168->SetBinContent(25,89185.71); h_SL3L168->SetBinContent(26,90264.28); h_SL3L168->SetBinContent(27,94950); h_SL3L168->SetBinContent(28,99350); h_SL3L168->SetBinContent(29,100750); h_SL3L168->SetBinContent(30,101100); h_SL3L168->SetBinContent(31,97921.43); h_SL3L168->SetBinContent(32,95535.71); h_SL3L168->SetBinContent(33,101471.4); h_SL3L168->SetBinContent(34,103578.6); h_SL3L168->SetBinContent(35,99278.57); h_SL3L168->SetBinContent(36,99878.57); h_SL3L168->SetBinContent(37,96414.28); h_SL3L168->SetBinContent(38,96742.86); h_SL3L168->SetBinContent(39,97628.57); h_SL3L168->SetBinContent(40,95042.86); h_SL3L168->SetBinContent(41,98157.14); h_SL3L168->SetBinContent(42,97592.86); h_SL3L168->SetBinContent(43,95864.28); h_SL3L168->SetBinContent(44,94614.28); h_SL3L168->SetBinContent(45,92314.28); h_SL3L168->SetBinContent(46,94214.28); h_SL3L168->SetBinContent(47,96435.71); h_SL3L168->SetBinContent(48,95071.43); h_SL3L168->SetBinContent(49,106500); h_SL3L168->SetBinContent(50,103742.9); h_SL3L168->SetBinContent(51,102664.3); h_SL3L168->SetBinContent(52,105064.3); h_SL3L168->SetBinContent(53,98778.57); h_SL3L168->SetBinContent(54,95014.28); h_SL3L168->SetBinContent(55,96692.86); h_SL3L168->SetBinContent(56,96014.28); h_SL3L168->SetBinContent(57,87864.28); h_SL3L168->SetBinContent(58,78857.14); h_SL3L168->SetBinContent(59,70757.14); h_SL3L168->SetMaximum(245615.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,48878.57); h_SL3L269->SetBinContent(2,57935.71); h_SL3L269->SetBinContent(3,7.142857); h_SL3L269->SetBinContent(4,88471.43); h_SL3L269->SetBinContent(5,85828.57); h_SL3L269->SetBinContent(6,86628.57); h_SL3L269->SetBinContent(7,89835.71); h_SL3L269->SetBinContent(8,88078.57); h_SL3L269->SetBinContent(9,86714.28); h_SL3L269->SetBinContent(10,89757.14); h_SL3L269->SetBinContent(11,89271.43); h_SL3L269->SetBinContent(12,89764.28); h_SL3L269->SetBinContent(13,79914.28); h_SL3L269->SetBinContent(14,80650); h_SL3L269->SetBinContent(15,72471.43); h_SL3L269->SetBinContent(16,75850); h_SL3L269->SetBinContent(17,99692.86); h_SL3L269->SetBinContent(18,105185.7); h_SL3L269->SetBinContent(19,106950); h_SL3L269->SetBinContent(20,106385.7); h_SL3L269->SetBinContent(21,97071.43); h_SL3L269->SetBinContent(22,90264.28); h_SL3L269->SetBinContent(23,91235.71); h_SL3L269->SetBinContent(24,91021.43); h_SL3L269->SetBinContent(25,87771.43); h_SL3L269->SetBinContent(26,85078.57); h_SL3L269->SetBinContent(27,86550); h_SL3L269->SetBinContent(28,93664.28); h_SL3L269->SetBinContent(29,94192.86); h_SL3L269->SetBinContent(30,94521.43); h_SL3L269->SetBinContent(31,93442.86); h_SL3L269->SetBinContent(32,91285.71); h_SL3L269->SetBinContent(33,96607.14); h_SL3L269->SetBinContent(34,95457.14); h_SL3L269->SetBinContent(35,95328.57); h_SL3L269->SetBinContent(36,96521.43); h_SL3L269->SetBinContent(37,90321.43); h_SL3L269->SetBinContent(38,92550); h_SL3L269->SetBinContent(39,92321.43); h_SL3L269->SetBinContent(40,91192.86); h_SL3L269->SetBinContent(41,89878.57); h_SL3L269->SetBinContent(42,91235.71); h_SL3L269->SetBinContent(43,92607.14); h_SL3L269->SetBinContent(44,89021.43); h_SL3L269->SetBinContent(45,87407.14); h_SL3L269->SetBinContent(46,88957.14); h_SL3L269->SetBinContent(47,89864.28); h_SL3L269->SetBinContent(48,91642.86); h_SL3L269->SetBinContent(49,179542.9); h_SL3L269->SetBinContent(50,102664.3); h_SL3L269->SetBinContent(51,94678.57); h_SL3L269->SetBinContent(52,114728.6); h_SL3L269->SetBinContent(53,185721.4); h_SL3L269->SetBinContent(54,90357.14); h_SL3L269->SetBinContent(55,89021.43); h_SL3L269->SetBinContent(56,127900); h_SL3L269->SetBinContent(57,93435.71); h_SL3L269->SetBinContent(58,75985.71); h_SL3L269->SetBinContent(59,66335.71); h_SL3L269->SetMaximum(213579.6); 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,48028.57); h_SL3L370->SetBinContent(2,59107.14); h_SL3L370->SetBinContent(3,71678.57); h_SL3L370->SetBinContent(4,85107.14); h_SL3L370->SetBinContent(5,77614.28); h_SL3L370->SetBinContent(6,79571.43); h_SL3L370->SetBinContent(7,80471.43); h_SL3L370->SetBinContent(8,79478.57); h_SL3L370->SetBinContent(9,79257.14); h_SL3L370->SetBinContent(10,81592.86); h_SL3L370->SetBinContent(11,80178.57); h_SL3L370->SetBinContent(12,78885.71); h_SL3L370->SetBinContent(13,72364.28); h_SL3L370->SetBinContent(14,72428.57); h_SL3L370->SetBinContent(15,68785.71); h_SL3L370->SetBinContent(16,69264.28); h_SL3L370->SetBinContent(17,92157.14); h_SL3L370->SetBinContent(18,93664.28); h_SL3L370->SetBinContent(19,94850); h_SL3L370->SetBinContent(20,92707.14); h_SL3L370->SetBinContent(21,83150); h_SL3L370->SetBinContent(22,79835.71); h_SL3L370->SetBinContent(23,79321.43); h_SL3L370->SetBinContent(24,78321.43); h_SL3L370->SetBinContent(25,73207.14); h_SL3L370->SetBinContent(26,72857.14); h_SL3L370->SetBinContent(27,78035.71); h_SL3L370->SetBinContent(28,81964.28); h_SL3L370->SetBinContent(29,80314.28); h_SL3L370->SetBinContent(30,82107.14); h_SL3L370->SetBinContent(31,79992.86); h_SL3L370->SetBinContent(32,76185.71); h_SL3L370->SetBinContent(33,81900); h_SL3L370->SetBinContent(34,80278.57); h_SL3L370->SetBinContent(35,79092.86); h_SL3L370->SetBinContent(36,80114.28); h_SL3L370->SetBinContent(37,75342.86); h_SL3L370->SetBinContent(38,76900); h_SL3L370->SetBinContent(39,76214.28); h_SL3L370->SetBinContent(40,74585.71); h_SL3L370->SetBinContent(41,75264.28); h_SL3L370->SetBinContent(42,75128.57); h_SL3L370->SetBinContent(43,74371.43); h_SL3L370->SetBinContent(44,71057.14); h_SL3L370->SetBinContent(45,8178.571); h_SL3L370->SetBinContent(46,69821.43); h_SL3L370->SetBinContent(47,72464.28); h_SL3L370->SetBinContent(48,71571.43); h_SL3L370->SetBinContent(49,78500); h_SL3L370->SetBinContent(50,75157.14); h_SL3L370->SetBinContent(51,76571.43); h_SL3L370->SetBinContent(52,75664.28); h_SL3L370->SetBinContent(53,80335.71); h_SL3L370->SetBinContent(54,67728.57); h_SL3L370->SetBinContent(55,67150); h_SL3L370->SetBinContent(56,70185.71); h_SL3L370->SetBinContent(57,61542.86); h_SL3L370->SetBinContent(58,55257.14); h_SL3L370->SetBinContent(59,48978.57); h_SL3L370->SetMaximum(213579.6); 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->SetBinContent(2,41000); h_SL3L471->SetBinContent(3,47185.71); h_SL3L471->SetBinContent(4,59428.57); h_SL3L471->SetBinContent(5,55271.43); h_SL3L471->SetBinContent(6,71514.28); h_SL3L471->SetBinContent(7,57857.14); h_SL3L471->SetBinContent(8,55121.43); h_SL3L471->SetBinContent(9,55035.71); h_SL3L471->SetBinContent(10,56614.29); h_SL3L471->SetBinContent(11,56014.29); h_SL3L471->SetBinContent(12,55650); h_SL3L471->SetBinContent(13,48028.57); h_SL3L471->SetBinContent(14,47785.71); h_SL3L471->SetBinContent(15,44557.14); h_SL3L471->SetBinContent(16,45150); h_SL3L471->SetBinContent(17,57635.71); h_SL3L471->SetBinContent(18,60035.71); h_SL3L471->SetBinContent(19,60600); h_SL3L471->SetBinContent(20,62128.57); h_SL3L471->SetBinContent(21,52835.71); h_SL3L471->SetBinContent(22,49650); h_SL3L471->SetBinContent(23,50142.86); h_SL3L471->SetBinContent(24,50721.43); h_SL3L471->SetBinContent(25,45621.43); h_SL3L471->SetBinContent(26,44321.43); h_SL3L471->SetBinContent(27,44478.57); h_SL3L471->SetBinContent(28,49514.29); h_SL3L471->SetBinContent(29,47678.57); h_SL3L471->SetBinContent(30,47364.29); h_SL3L471->SetBinContent(31,46778.57); h_SL3L471->SetBinContent(32,45692.86); h_SL3L471->SetBinContent(33,46000); h_SL3L471->SetBinContent(34,45614.29); h_SL3L471->SetBinContent(35,44478.57); h_SL3L471->SetBinContent(36,44428.57); h_SL3L471->SetBinContent(37,39500); h_SL3L471->SetBinContent(38,41392.86); h_SL3L471->SetBinContent(39,40307.14); h_SL3L471->SetBinContent(40,40250); h_SL3L471->SetBinContent(41,38114.29); h_SL3L471->SetBinContent(42,38400); h_SL3L471->SetBinContent(43,37528.57); h_SL3L471->SetBinContent(44,36285.71); h_SL3L471->SetBinContent(45,33628.57); h_SL3L471->SetBinContent(46,34057.14); h_SL3L471->SetBinContent(47,34864.29); h_SL3L471->SetBinContent(48,34921.43); h_SL3L471->SetBinContent(49,36578.57); h_SL3L471->SetBinContent(50,35650); h_SL3L471->SetBinContent(51,33564.29); h_SL3L471->SetBinContent(52,34592.86); h_SL3L471->SetBinContent(53,30335.71); h_SL3L471->SetBinContent(54,30957.14); h_SL3L471->SetBinContent(55,29971.43); h_SL3L471->SetBinContent(56,29828.57); h_SL3L471->SetBinContent(57,29357.14); h_SL3L471->SetBinContent(58,22971.43); h_SL3L471->SetBinContent(59,19757.14); h_SL3L471->SetMaximum(213579.6); 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 7448"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }