void RatesPerCell_Removing_noisy_cells_run_6729_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16372.69,67.5,147354.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 6729",60,0,60); h_SL3L168->SetBinContent(1,28275.95); h_SL3L168->SetBinContent(2,20295.48); h_SL3L168->SetBinContent(4,33995.24); h_SL3L168->SetBinContent(5,35392.51); h_SL3L168->SetBinContent(6,38164.52); h_SL3L168->SetBinContent(7,36356.58); h_SL3L168->SetBinContent(8,37102.79); h_SL3L168->SetBinContent(9,35142.11); h_SL3L168->SetBinContent(10,31653.94); h_SL3L168->SetBinContent(11,30860.15); h_SL3L168->SetBinContent(12,31088.02); h_SL3L168->SetBinContent(13,31934.39); h_SL3L168->SetBinContent(14,35011.89); h_SL3L168->SetBinContent(15,34661.32); h_SL3L168->SetBinContent(16,33960.18); h_SL3L168->SetBinContent(17,34225.62); h_SL3L168->SetBinContent(18,34245.65); h_SL3L168->SetBinContent(19,35517.71); h_SL3L168->SetBinContent(20,36824.84); h_SL3L168->SetBinContent(21,36967.57); h_SL3L168->SetBinContent(22,38915.74); h_SL3L168->SetBinContent(23,38567.67); h_SL3L168->SetBinContent(24,39118.57); h_SL3L168->SetBinContent(25,39291.35); h_SL3L168->SetBinContent(26,39361.46); h_SL3L168->SetBinContent(27,38462.5); h_SL3L168->SetBinContent(28,37808.94); h_SL3L168->SetBinContent(29,37085.26); h_SL3L168->SetBinContent(30,38487.54); h_SL3L168->SetBinContent(31,37833.98); h_SL3L168->SetBinContent(32,38407.41); h_SL3L168->SetBinContent(33,41036.68); h_SL3L168->SetBinContent(34,68523.85); h_SL3L168->SetBinContent(35,87770.12); h_SL3L168->SetBinContent(36,92685.62); h_SL3L168->SetBinContent(37,96792.29); h_SL3L168->SetBinContent(38,99040.94); h_SL3L168->SetBinContent(39,92219.86); h_SL3L168->SetBinContent(40,69798.42); h_SL3L168->SetBinContent(41,38126.96); h_SL3L168->SetBinContent(42,33797.42); h_SL3L168->SetBinContent(43,31541.25); h_SL3L168->SetBinContent(44,31303.37); h_SL3L168->SetBinContent(45,30872.67); h_SL3L168->SetBinContent(46,30406.91); h_SL3L168->SetBinContent(47,30742.46); h_SL3L168->SetBinContent(48,30409.41); h_SL3L168->SetBinContent(49,46996.37); h_SL3L168->SetBinContent(50,30259.17); h_SL3L168->SetBinContent(51,28729.19); h_SL3L168->SetBinContent(52,28423.69); h_SL3L168->SetBinContent(53,27770.13); h_SL3L168->SetBinContent(54,26523.1); h_SL3L168->SetBinContent(55,27579.82); h_SL3L168->SetBinContent(56,26490.55); h_SL3L168->SetBinContent(57,26520.6); h_SL3L168->SetBinContent(58,20838.86); h_SL3L168->SetBinContent(59,17653.69); h_SL3L168->SetMaximum(130981.5); 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,29876.05); h_SL3L269->SetBinContent(2,21547.51); h_SL3L269->SetBinContent(4,27895.33); h_SL3L269->SetBinContent(5,33001.12); h_SL3L269->SetBinContent(6,35169.65); h_SL3L269->SetBinContent(7,35159.63); h_SL3L269->SetBinContent(8,34598.72); h_SL3L269->SetBinContent(9,34270.69); h_SL3L269->SetBinContent(10,31881.81); h_SL3L269->SetBinContent(11,30003.76); h_SL3L269->SetBinContent(12,29570.55); h_SL3L269->SetBinContent(13,31250.78); h_SL3L269->SetBinContent(14,32132.21); h_SL3L269->SetBinContent(15,33444.35); h_SL3L269->SetBinContent(16,33394.27); h_SL3L269->SetBinContent(17,32380.12); h_SL3L269->SetBinContent(18,32410.17); h_SL3L269->SetBinContent(19,33016.15); h_SL3L269->SetBinContent(20,34310.75); h_SL3L269->SetBinContent(21,34486.04); h_SL3L269->SetBinContent(22,36026.04); h_SL3L269->SetBinContent(23,36201.33); h_SL3L269->SetBinContent(24,37513.46); h_SL3L269->SetBinContent(25,37586.08); h_SL3L269->SetBinContent(26,37881.56); h_SL3L269->SetBinContent(27,37751.34); h_SL3L269->SetBinContent(28,35860.77); h_SL3L269->SetBinContent(29,35620.38); h_SL3L269->SetBinContent(30,36263.93); h_SL3L269->SetBinContent(31,36722.17); h_SL3L269->SetBinContent(32,36349.07); h_SL3L269->SetBinContent(33,38535.12); h_SL3L269->SetBinContent(34,48491.3); h_SL3L269->SetBinContent(35,80095.16); h_SL3L269->SetBinContent(36,89169.9); h_SL3L269->SetBinContent(37,92713.16); h_SL3L269->SetBinContent(38,97430.82); h_SL3L269->SetBinContent(39,95422.56); h_SL3L269->SetBinContent(40,83458.12); h_SL3L269->SetBinContent(41,47622.39); h_SL3L269->SetBinContent(42,34999.38); h_SL3L269->SetBinContent(43,31273.32); h_SL3L269->SetBinContent(44,30349.32); h_SL3L269->SetBinContent(45,29800.93); h_SL3L269->SetBinContent(46,29305.12); h_SL3L269->SetBinContent(47,28954.55); h_SL3L269->SetBinContent(48,29094.78); h_SL3L269->SetBinContent(49,29465.38); h_SL3L269->SetBinContent(50,28238.39); h_SL3L269->SetBinContent(51,27146.61); h_SL3L269->SetBinContent(52,27757.61); h_SL3L269->SetBinContent(53,26798.55); h_SL3L269->SetBinContent(54,26155); h_SL3L269->SetBinContent(55,25872.04); h_SL3L269->SetBinContent(56,26119.95); h_SL3L269->SetBinContent(57,25411.29); h_SL3L269->SetBinContent(58,22807.06); h_SL3L269->SetBinContent(59,19318.89); h_SL3L269->SetMaximum(113897.1); 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,25125.83); h_SL3L370->SetBinContent(2,19203.71); h_SL3L370->SetBinContent(3,22406.41); h_SL3L370->SetBinContent(4,31093.03); h_SL3L370->SetBinContent(5,31904.34); h_SL3L370->SetBinContent(6,34471.02); h_SL3L370->SetBinContent(7,33001.12); h_SL3L370->SetBinContent(8,33374.23); h_SL3L370->SetBinContent(9,32360.08); h_SL3L370->SetBinContent(10,28844.37); h_SL3L370->SetBinContent(11,28138.22); h_SL3L370->SetBinContent(12,28706.65); h_SL3L370->SetBinContent(13,29260.05); h_SL3L370->SetBinContent(14,31521.22); h_SL3L370->SetBinContent(15,31375.99); h_SL3L370->SetBinContent(16,31608.86); h_SL3L370->SetBinContent(17,30957.81); h_SL3L370->SetBinContent(18,30709.9); h_SL3L370->SetBinContent(19,32372.61); h_SL3L370->SetBinContent(20,33602.1); h_SL3L370->SetBinContent(21,33456.87); h_SL3L370->SetBinContent(22,34871.67); h_SL3L370->SetBinContent(23,35425.07); h_SL3L370->SetBinContent(24,35760.61); h_SL3L370->SetBinContent(25,35890.82); h_SL3L370->SetBinContent(26,35928.38); h_SL3L370->SetBinContent(27,34498.56); h_SL3L370->SetBinContent(28,34082.88); h_SL3L370->SetBinContent(29,33940.15); h_SL3L370->SetBinContent(30,34851.63); h_SL3L370->SetBinContent(31,35294.86); h_SL3L370->SetBinContent(32,35522.72); h_SL3L370->SetBinContent(33,38076.88); h_SL3L370->SetBinContent(34,65053.21); h_SL3L370->SetBinContent(35,84149.24); h_SL3L370->SetBinContent(36,89490.42); h_SL3L370->SetBinContent(37,93644.67); h_SL3L370->SetBinContent(38,95612.87); h_SL3L370->SetBinContent(39,89087.27); h_SL3L370->SetBinContent(40,66310.25); h_SL3L370->SetBinContent(41,35863.28); h_SL3L370->SetBinContent(42,31443.6); h_SL3L370->SetBinContent(43,29337.67); h_SL3L370->SetBinContent(44,28699.14); h_SL3L370->SetBinContent(45,2020.784); h_SL3L370->SetBinContent(46,27800.18); h_SL3L370->SetBinContent(47,27532.24); h_SL3L370->SetBinContent(48,27304.37); h_SL3L370->SetBinContent(49,27419.56); h_SL3L370->SetBinContent(50,27048.96); h_SL3L370->SetBinContent(51,26578.19); h_SL3L370->SetBinContent(52,26340.3); h_SL3L370->SetBinContent(53,25561.54); h_SL3L370->SetBinContent(54,24655.06); h_SL3L370->SetBinContent(55,25391.26); h_SL3L370->SetBinContent(56,24109.18); h_SL3L370->SetBinContent(57,24039.06); h_SL3L370->SetBinContent(58,19534.24); h_SL3L370->SetBinContent(59,16997.62); h_SL3L370->SetMaximum(113897.1); 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,20227.87); h_SL3L471->SetBinContent(3,20508.33); h_SL3L471->SetBinContent(4,25664.21); h_SL3L471->SetBinContent(5,29856.02); h_SL3L471->SetBinContent(6,32315.01); h_SL3L471->SetBinContent(7,31934.39); h_SL3L471->SetBinContent(8,30707.4); h_SL3L471->SetBinContent(9,30597.22); h_SL3L471->SetBinContent(10,29092.28); h_SL3L471->SetBinContent(11,26755.98); h_SL3L471->SetBinContent(12,26372.86); h_SL3L471->SetBinContent(13,27194.19); h_SL3L471->SetBinContent(14,29192.44); h_SL3L471->SetBinContent(15,29808.44); h_SL3L471->SetBinContent(16,29593.09); h_SL3L471->SetBinContent(17,29382.75); h_SL3L471->SetBinContent(18,29002.13); h_SL3L471->SetBinContent(19,29901.09); h_SL3L471->SetBinContent(20,31065.48); h_SL3L471->SetBinContent(21,31010.39); h_SL3L471->SetBinContent(22,32602.98); h_SL3L471->SetBinContent(23,33108.8); h_SL3L471->SetBinContent(24,33877.55); h_SL3L471->SetBinContent(25,34107.93); h_SL3L471->SetBinContent(26,34681.36); h_SL3L471->SetBinContent(27,33774.88); h_SL3L471->SetBinContent(28,32330.04); h_SL3L471->SetBinContent(29,32054.59); h_SL3L471->SetBinContent(30,33138.85); h_SL3L471->SetBinContent(31,33291.6); h_SL3L471->SetBinContent(32,33456.87); h_SL3L471->SetBinContent(33,35515.21); h_SL3L471->SetBinContent(34,45884.56); h_SL3L471->SetBinContent(35,77087.77); h_SL3L471->SetBinContent(36,86387.88); h_SL3L471->SetBinContent(37,89748.34); h_SL3L471->SetBinContent(38,93997.74); h_SL3L471->SetBinContent(39,91994.49); h_SL3L471->SetBinContent(40,80593.46); h_SL3L471->SetBinContent(41,44419.68); h_SL3L471->SetBinContent(42,32432.7); h_SL3L471->SetBinContent(43,28416.18); h_SL3L471->SetBinContent(44,28568.92); h_SL3L471->SetBinContent(45,27144.11); h_SL3L471->SetBinContent(46,26570.68); h_SL3L471->SetBinContent(47,26435.46); h_SL3L471->SetBinContent(48,26320.27); h_SL3L471->SetBinContent(49,26350.32); h_SL3L471->SetBinContent(50,25486.42); h_SL3L471->SetBinContent(51,25286.09); h_SL3L471->SetBinContent(52,25015.65); h_SL3L471->SetBinContent(53,24537.37); h_SL3L471->SetBinContent(54,23493.18); h_SL3L471->SetBinContent(55,23064.98); h_SL3L471->SetBinContent(56,23758.61); h_SL3L471->SetBinContent(57,23297.86); h_SL3L471->SetBinContent(58,21322.15); h_SL3L471->SetBinContent(59,17245.52); h_SL3L471->SetMaximum(113897.1); 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 6729"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }