void RatesPerCell_Removing_noisy_cells_run_6744_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13725.54,67.5,123529.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6744",60,0,60); h_SL2L164->SetBinContent(1,33652.62); h_SL2L164->SetBinContent(2,41694.6); h_SL2L164->SetBinContent(3,50710.84); h_SL2L164->SetBinContent(4,51989.41); h_SL2L164->SetBinContent(5,50426.17); h_SL2L164->SetBinContent(6,46752.43); h_SL2L164->SetBinContent(7,41991.54); h_SL2L164->SetBinContent(8,40389.04); h_SL2L164->SetBinContent(9,46065.3); h_SL2L164->SetBinContent(10,47525.46); h_SL2L164->SetBinContent(11,48129.17); h_SL2L164->SetBinContent(12,46880.05); h_SL2L164->SetBinContent(13,47459.21); h_SL2L164->SetBinContent(14,46094.75); h_SL2L164->SetBinContent(15,45476.32); h_SL2L164->SetBinContent(16,44013.7); h_SL2L164->SetBinContent(17,42511.8); h_SL2L164->SetBinContent(18,42384.2); h_SL2L164->SetBinContent(19,40899.48); h_SL2L164->SetBinContent(20,37898.16); h_SL2L164->SetBinContent(21,35080.89); h_SL2L164->SetBinContent(22,32374.05); h_SL2L164->SetBinContent(23,31637.83); h_SL2L164->SetBinContent(24,29991.16); h_SL2L164->SetBinContent(25,32555.66); h_SL2L164->SetBinContent(26,48212.61); h_SL2L164->SetBinContent(27,61273.15); h_SL2L164->SetBinContent(28,67739.62); h_SL2L164->SetBinContent(29,71538.52); h_SL2L164->SetBinContent(30,69180.16); h_SL2L164->SetBinContent(31,65901.52); h_SL2L164->SetBinContent(32,65783.73); h_SL2L164->SetBinContent(33,64505.16); h_SL2L164->SetBinContent(34,44337.63); h_SL2L164->SetBinContent(35,2.454067); h_SL2L164->SetBinContent(36,20378.57); h_SL2L164->SetBinContent(37,21419.1); h_SL2L164->SetBinContent(38,20898.84); h_SL2L164->SetBinContent(39,20790.86); h_SL2L164->SetBinContent(40,83028.45); h_SL2L164->SetBinContent(41,66254.91); h_SL2L164->SetBinContent(42,22827.73); h_SL2L164->SetBinContent(43,22633.86); h_SL2L164->SetBinContent(44,22287.84); h_SL2L164->SetBinContent(45,16631.21); h_SL2L164->SetBinContent(46,15546.52); h_SL2L164->SetBinContent(47,16498.69); h_SL2L164->SetBinContent(48,16155.12); h_SL2L164->SetBinContent(49,16807.91); h_SL2L164->SetBinContent(50,16557.59); h_SL2L164->SetBinContent(51,17745.36); h_SL2L164->SetBinContent(52,19279.15); h_SL2L164->SetBinContent(53,21527.08); h_SL2L164->SetBinContent(54,22130.78); h_SL2L164->SetBinContent(55,22555.33); h_SL2L164->SetBinContent(56,19311.05); h_SL2L164->SetBinContent(57,23075.59); h_SL2L164->SetMaximum(109804.3); 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,27478.19); h_SL2L265->SetBinContent(2,39996.39); h_SL2L265->SetBinContent(3,42833.29); h_SL2L265->SetBinContent(4,50396.73); h_SL2L265->SetBinContent(5,49540.25); h_SL2L265->SetBinContent(6,47316.87); h_SL2L265->SetBinContent(7,43189.13); h_SL2L265->SetBinContent(8,37807.36); h_SL2L265->SetBinContent(9,43601.41); h_SL2L265->SetBinContent(10,44865.26); h_SL2L265->SetBinContent(11,46229.72); h_SL2L265->SetBinContent(12,45326.62); h_SL2L265->SetBinContent(13,45167.11); h_SL2L265->SetBinContent(14,45324.17); h_SL2L265->SetBinContent(15,44082.41); h_SL2L265->SetBinContent(16,43277.48); h_SL2L265->SetBinContent(17,41365.76); h_SL2L265->SetBinContent(18,40536.28); h_SL2L265->SetBinContent(19,40303.14); h_SL2L265->SetBinContent(20,37149.67); h_SL2L265->SetBinContent(21,35036.72); h_SL2L265->SetBinContent(22,32241.54); h_SL2L265->SetBinContent(23,30042.69); h_SL2L265->SetBinContent(24,29377.64); h_SL2L265->SetBinContent(25,28469.63); h_SL2L265->SetBinContent(26,39223.36); h_SL2L265->SetBinContent(27,54502.38); h_SL2L265->SetBinContent(28,64124.78); h_SL2L265->SetBinContent(29,68868.49); h_SL2L265->SetBinContent(30,69727.41); h_SL2L265->SetBinContent(31,65589.85); h_SL2L265->SetBinContent(32,64794.74); h_SL2L265->SetBinContent(33,65283.1); h_SL2L265->SetBinContent(34,56593.25); h_SL2L265->SetBinContent(35,31034.13); h_SL2L265->SetBinContent(36,20884.11); h_SL2L265->SetBinContent(37,19976.11); h_SL2L265->SetBinContent(38,19325.78); h_SL2L265->SetBinContent(39,19220.25); h_SL2L265->SetBinContent(40,20206.79); h_SL2L265->SetBinContent(41,20452.2); h_SL2L265->SetBinContent(42,18616.55); h_SL2L265->SetBinContent(43,17279.09); h_SL2L265->SetBinContent(44,17472.96); h_SL2L265->SetBinContent(45,16204.21); h_SL2L265->SetBinContent(46,15301.11); h_SL2L265->SetBinContent(47,15072.88); h_SL2L265->SetBinContent(48,15328.1); h_SL2L265->SetBinContent(49,15558.79); h_SL2L265->SetBinContent(50,16444.71); h_SL2L265->SetBinContent(51,15401.73); h_SL2L265->SetBinContent(52,17821.44); h_SL2L265->SetBinContent(53,19119.64); h_SL2L265->SetBinContent(54,21264.49); h_SL2L265->SetBinContent(55,22319.74); h_SL2L265->SetBinContent(56,19865.67); h_SL2L265->SetBinContent(57,19080.37); h_SL2L265->SetMaximum(95482.72); 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,32190); h_SL2L366->SetBinContent(2,37780.36); h_SL2L366->SetBinContent(3,47149.99); h_SL2L366->SetBinContent(4,47361.04); h_SL2L366->SetBinContent(5,46264.07); h_SL2L366->SetBinContent(6,42830.84); h_SL2L366->SetBinContent(7,38104.3); h_SL2L366->SetBinContent(8,39191.45); h_SL2L366->SetBinContent(9,42941.27); h_SL2L366->SetBinContent(10,43851.73); h_SL2L366->SetBinContent(11,44146.21); h_SL2L366->SetBinContent(12,43765.84); h_SL2L366->SetBinContent(13,43591.6); h_SL2L366->SetBinContent(14,43498.34); h_SL2L366->SetBinContent(15,43208.76); h_SL2L366->SetBinContent(16,39861.41); h_SL2L366->SetBinContent(17,39031.94); h_SL2L366->SetBinContent(18,39022.12); h_SL2L366->SetBinContent(19,36926.35); h_SL2L366->SetBinContent(20,35112.79); h_SL2L366->SetBinContent(21,32540.93); h_SL2L366->SetBinContent(22,29483.16); h_SL2L366->SetBinContent(23,28256.13); h_SL2L366->SetBinContent(24,27865.93); h_SL2L366->SetBinContent(25,30413.26); h_SL2L366->SetBinContent(26,46502.12); h_SL2L366->SetBinContent(27,59435.05); h_SL2L366->SetBinContent(28,66259.81); h_SL2L366->SetBinContent(29,68814.5); h_SL2L366->SetBinContent(30,67123.65); h_SL2L366->SetBinContent(31,64242.57); h_SL2L366->SetBinContent(32,64699.03); h_SL2L366->SetBinContent(33,63179.96); h_SL2L366->SetBinContent(34,43267.66); h_SL2L366->SetBinContent(35,22886.63); h_SL2L366->SetBinContent(36,19195.71); h_SL2L366->SetBinContent(37,18695.08); h_SL2L366->SetBinContent(38,18739.26); h_SL2L366->SetBinContent(39,17941.69); h_SL2L366->SetBinContent(40,17890.15); h_SL2L366->SetBinContent(41,17438.6); h_SL2L366->SetBinContent(42,16680.29); h_SL2L366->SetBinContent(43,16577.22); h_SL2L366->SetBinContent(44,16437.34); h_SL2L366->SetBinContent(45,15279.02); h_SL2L366->SetBinContent(46,14790.66); h_SL2L366->SetBinContent(47,15232.4); h_SL2L366->SetBinContent(48,14680.23); h_SL2L366->SetBinContent(49,15853.27); h_SL2L366->SetBinContent(50,15602.96); h_SL2L366->SetBinContent(51,15615.23); h_SL2L366->SetBinContent(52,17544.13); h_SL2L366->SetBinContent(53,19193.26); h_SL2L366->SetBinContent(54,20454.65); h_SL2L366->SetBinContent(55,20925.83); h_SL2L366->SetBinContent(56,17897.51); h_SL2L366->SetBinContent(57,17877.88); h_SL2L366->SetMaximum(95482.72); 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,37098.13); h_SL2L467->SetBinContent(3,41127.71); h_SL2L467->SetBinContent(4,46759.8); h_SL2L467->SetBinContent(5,44708.2); h_SL2L467->SetBinContent(6,42097.07); h_SL2L467->SetBinContent(7,39630.73); h_SL2L467->SetBinContent(8,34837.94); h_SL2L467->SetBinContent(9,39822.15); h_SL2L467->SetBinContent(10,41846.75); h_SL2L467->SetBinContent(11,42764.57); h_SL2L467->SetBinContent(12,42717.95); h_SL2L467->SetBinContent(13,41976.82); h_SL2L467->SetBinContent(14,41439.38); h_SL2L467->SetBinContent(15,41829.57); h_SL2L467->SetBinContent(16,39520.3); h_SL2L467->SetBinContent(17,38671.19); h_SL2L467->SetBinContent(18,37444.16); h_SL2L467->SetBinContent(19,37269.92); h_SL2L467->SetBinContent(20,34700.51); h_SL2L467->SetBinContent(21,32482.03); h_SL2L467->SetBinContent(22,29777.65); h_SL2L467->SetBinContent(23,28413.19); h_SL2L467->SetBinContent(24,27284.32); h_SL2L467->SetBinContent(25,26216.8); h_SL2L467->SetBinContent(26,37534.96); h_SL2L467->SetBinContent(27,52882.7); h_SL2L467->SetBinContent(28,62433.93); h_SL2L467->SetBinContent(29,67342.06); h_SL2L467->SetBinContent(30,68458.66); h_SL2L467->SetBinContent(31,64092.88); h_SL2L467->SetBinContent(32,63869.55); h_SL2L467->SetBinContent(33,64448.71); h_SL2L467->SetBinContent(34,55604.25); h_SL2L467->SetBinContent(35,29480.71); h_SL2L467->SetBinContent(36,19465.66); h_SL2L467->SetBinContent(37,18241.08); h_SL2L467->SetBinContent(38,18025.12); h_SL2L467->SetBinContent(39,17897.51); h_SL2L467->SetBinContent(40,17139.21); h_SL2L467->SetBinContent(41,16466.79); h_SL2L467->SetBinContent(42,16697.47); h_SL2L467->SetBinContent(43,16385.81); h_SL2L467->SetBinContent(44,15814.01); h_SL2L467->SetBinContent(45,14984.53); h_SL2L467->SetBinContent(46,14547.71); h_SL2L467->SetBinContent(47,14746.49); h_SL2L467->SetBinContent(48,14218.87); h_SL2L467->SetBinContent(49,15009.08); h_SL2L467->SetBinContent(50,15077.79); h_SL2L467->SetBinContent(51,14665.51); h_SL2L467->SetBinContent(52,16496.24); h_SL2L467->SetBinContent(53,17919.6); h_SL2L467->SetBinContent(54,18626.37); h_SL2L467->SetBinContent(55,20111.08); h_SL2L467->SetBinContent(56,18803.06); h_SL2L467->SetBinContent(57,17163.75); h_SL2L467->SetMaximum(95482.72); 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.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("SL2, run 6744"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }