void RatesPerCell_Removing_noisy_cells_run_5065_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:45:48 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-10507.12,67.5,94564.07); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5065",60,0,60); h_SL2L164->SetBinContent(1,4851.492); h_SL2L164->SetBinContent(2,5602.691); h_SL2L164->SetBinContent(3,6249.557); h_SL2L164->SetBinContent(4,7626.754); h_SL2L164->SetBinContent(5,8680.52); h_SL2L164->SetBinContent(6,8889.186); h_SL2L164->SetBinContent(7,9087.418); h_SL2L164->SetBinContent(8,9275.218); h_SL2L164->SetBinContent(9,9421.284); h_SL2L164->SetBinContent(10,9003.952); h_SL2L164->SetBinContent(11,9817.751); h_SL2L164->SetBinContent(12,9160.451); h_SL2L164->SetBinContent(13,9577.784); h_SL2L164->SetBinContent(14,9577.784); h_SL2L164->SetBinContent(15,9869.917); h_SL2L164->SetBinContent(16,9692.551); h_SL2L164->SetBinContent(17,9817.751); h_SL2L164->SetBinContent(18,10015.98); h_SL2L164->SetBinContent(19,10360.28); h_SL2L164->SetBinContent(20,9776.018); h_SL2L164->SetBinContent(21,9786.45); h_SL2L164->SetBinContent(22,10224.65); h_SL2L164->SetBinContent(23,9546.484); h_SL2L164->SetBinContent(24,9369.118); h_SL2L164->SetBinContent(25,9483.885); h_SL2L164->SetBinContent(26,9400.418); h_SL2L164->SetBinContent(27,10537.65); h_SL2L164->SetBinContent(28,9410.852); h_SL2L164->SetBinContent(29,10422.88); h_SL2L164->SetBinContent(30,10036.85); h_SL2L164->SetBinContent(31,9525.618); h_SL2L164->SetBinContent(32,9243.918); h_SL2L164->SetBinContent(33,9525.618); h_SL2L164->SetBinContent(34,9358.685); h_SL2L164->SetBinContent(35,125.1998); h_SL2L164->SetBinContent(36,10078.58); h_SL2L164->SetBinContent(37,9577.784); h_SL2L164->SetBinContent(38,9243.918); h_SL2L164->SetBinContent(39,8899.619); h_SL2L164->SetBinContent(40,8492.72); h_SL2L164->SetBinContent(41,9525.618); h_SL2L164->SetBinContent(42,9682.117); h_SL2L164->SetBinContent(43,9723.851); h_SL2L164->SetBinContent(44,9369.118); h_SL2L164->SetBinContent(45,9734.284); h_SL2L164->SetBinContent(46,9410.852); h_SL2L164->SetBinContent(47,9254.352); h_SL2L164->SetBinContent(48,8711.819); h_SL2L164->SetBinContent(49,9431.718); h_SL2L164->SetBinContent(50,9285.651); h_SL2L164->SetBinContent(51,9995.117); h_SL2L164->SetBinContent(52,8889.186); h_SL2L164->SetBinContent(53,9337.818); h_SL2L164->SetBinContent(54,7866.72); h_SL2L164->SetBinContent(55,6792.089); h_SL2L164->SetBinContent(56,5174.925); h_SL2L164->SetBinContent(57,63559.76); h_SL2L164->SetMaximum(84056.95); 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,2587.462); h_SL2L265->SetBinContent(2,5320.991); h_SL2L265->SetBinContent(3,6322.59); h_SL2L265->SetBinContent(4,7459.821); h_SL2L265->SetBinContent(5,8242.319); h_SL2L265->SetBinContent(6,9139.585); h_SL2L265->SetBinContent(7,8795.285); h_SL2L265->SetBinContent(8,9598.651); h_SL2L265->SetBinContent(9,9139.585); h_SL2L265->SetBinContent(10,8941.352); h_SL2L265->SetBinContent(11,9285.651); h_SL2L265->SetBinContent(12,9463.018); h_SL2L265->SetBinContent(13,9890.784); h_SL2L265->SetBinContent(14,9525.618); h_SL2L265->SetBinContent(15,9316.951); h_SL2L265->SetBinContent(16,9744.718); h_SL2L265->SetBinContent(17,9755.15); h_SL2L265->SetBinContent(18,9661.251); h_SL2L265->SetBinContent(19,10548.08); h_SL2L265->SetBinContent(20,10339.42); h_SL2L265->SetBinContent(21,9911.65); h_SL2L265->SetBinContent(22,9817.751); h_SL2L265->SetBinContent(23,9859.483); h_SL2L265->SetBinContent(24,9170.885); h_SL2L265->SetBinContent(25,9640.384); h_SL2L265->SetBinContent(26,9473.451); h_SL2L265->SetBinContent(27,9692.551); h_SL2L265->SetBinContent(28,10182.92); h_SL2L265->SetBinContent(29,9150.019); h_SL2L265->SetBinContent(30,10266.38); h_SL2L265->SetBinContent(31,9348.251); h_SL2L265->SetBinContent(32,9389.984); h_SL2L265->SetBinContent(33,9243.918); h_SL2L265->SetBinContent(34,9546.484); h_SL2L265->SetBinContent(35,8158.854); h_SL2L265->SetBinContent(36,7418.088); h_SL2L265->SetBinContent(37,8597.053); h_SL2L265->SetBinContent(38,9473.451); h_SL2L265->SetBinContent(39,9076.985); h_SL2L265->SetBinContent(40,8617.919); h_SL2L265->SetBinContent(41,9525.618); h_SL2L265->SetBinContent(42,9024.818); h_SL2L265->SetBinContent(43,9473.451); h_SL2L265->SetBinContent(44,9421.284); h_SL2L265->SetBinContent(45,8951.785); h_SL2L265->SetBinContent(46,9442.151); h_SL2L265->SetBinContent(47,9097.852); h_SL2L265->SetBinContent(48,8617.919); h_SL2L265->SetBinContent(49,9212.618); h_SL2L265->SetBinContent(50,8701.386); h_SL2L265->SetBinContent(51,9546.484); h_SL2L265->SetBinContent(52,9223.052); h_SL2L265->SetBinContent(53,9609.084); h_SL2L265->SetBinContent(54,8930.919); h_SL2L265->SetBinContent(55,8054.52); h_SL2L265->SetBinContent(56,5999.157); h_SL2L265->SetBinContent(57,4288.093); h_SL2L265->SetMaximum(73093.73); 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,6792.089); h_SL2L366->SetBinContent(2,5759.19); h_SL2L366->SetBinContent(3,7282.455); h_SL2L366->SetBinContent(4,7908.454); h_SL2L366->SetBinContent(5,8711.819); h_SL2L366->SetBinContent(6,9097.852); h_SL2L366->SetBinContent(7,8857.886); h_SL2L366->SetBinContent(8,9306.519); h_SL2L366->SetBinContent(9,9066.552); h_SL2L366->SetBinContent(10,9452.585); h_SL2L366->SetBinContent(11,9494.317); h_SL2L366->SetBinContent(12,9264.785); h_SL2L366->SetBinContent(13,9296.085); h_SL2L366->SetBinContent(14,10276.82); h_SL2L366->SetBinContent(15,8743.119); h_SL2L366->SetBinContent(16,8962.219); h_SL2L366->SetBinContent(17,9984.684); h_SL2L366->SetBinContent(18,10005.55); h_SL2L366->SetBinContent(19,10141.18); h_SL2L366->SetBinContent(20,10099.45); h_SL2L366->SetBinContent(21,9890.784); h_SL2L366->SetBinContent(22,9702.984); h_SL2L366->SetBinContent(23,9619.518); h_SL2L366->SetBinContent(24,9202.185); h_SL2L366->SetBinContent(25,9702.984); h_SL2L366->SetBinContent(26,9567.351); h_SL2L366->SetBinContent(27,9546.484); h_SL2L366->SetBinContent(28,9723.851); h_SL2L366->SetBinContent(29,9880.351); h_SL2L366->SetBinContent(30,9577.784); h_SL2L366->SetBinContent(31,9233.485); h_SL2L366->SetBinContent(32,9796.884); h_SL2L366->SetBinContent(33,9567.351); h_SL2L366->SetBinContent(34,9014.385); h_SL2L366->SetBinContent(35,7689.354); h_SL2L366->SetBinContent(36,8388.387); h_SL2L366->SetBinContent(37,9483.885); h_SL2L366->SetBinContent(38,9170.885); h_SL2L366->SetBinContent(39,8993.519); h_SL2L366->SetBinContent(40,9275.218); h_SL2L366->SetBinContent(41,9609.084); h_SL2L366->SetBinContent(42,9337.818); h_SL2L366->SetBinContent(43,9202.185); h_SL2L366->SetBinContent(44,8930.919); h_SL2L366->SetBinContent(45,9536.051); h_SL2L366->SetBinContent(46,9296.085); h_SL2L366->SetBinContent(47,8930.919); h_SL2L366->SetBinContent(48,8722.252); h_SL2L366->SetBinContent(49,8753.553); h_SL2L366->SetBinContent(50,9504.751); h_SL2L366->SetBinContent(51,8878.752); h_SL2L366->SetBinContent(52,9003.952); h_SL2L366->SetBinContent(53,9431.718); h_SL2L366->SetBinContent(54,8910.052); h_SL2L366->SetBinContent(55,7856.287); h_SL2L366->SetBinContent(56,5028.858); h_SL2L366->SetBinContent(57,6604.289); h_SL2L366->SetMaximum(73093.73); 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,3839.46); h_SL2L467->SetBinContent(3,7021.622); h_SL2L467->SetBinContent(4,8169.287); h_SL2L467->SetBinContent(5,8711.819); h_SL2L467->SetBinContent(6,8878.752); h_SL2L467->SetBinContent(7,9150.019); h_SL2L467->SetBinContent(8,9108.285); h_SL2L467->SetBinContent(9,9431.718); h_SL2L467->SetBinContent(10,9150.019); h_SL2L467->SetBinContent(11,9170.885); h_SL2L467->SetBinContent(12,9901.217); h_SL2L467->SetBinContent(13,9327.385); h_SL2L467->SetBinContent(14,10141.18); h_SL2L467->SetBinContent(15,10412.45); h_SL2L467->SetBinContent(16,9035.252); h_SL2L467->SetBinContent(17,9504.751); h_SL2L467->SetBinContent(18,10402.02); h_SL2L467->SetBinContent(19,10297.68); h_SL2L467->SetBinContent(20,10641.98); h_SL2L467->SetBinContent(21,9974.25); h_SL2L467->SetBinContent(22,9713.417); h_SL2L467->SetBinContent(23,9567.351); h_SL2L467->SetBinContent(24,9577.784); h_SL2L467->SetBinContent(25,9932.517); h_SL2L467->SetBinContent(26,9640.384); h_SL2L467->SetBinContent(27,9577.784); h_SL2L467->SetBinContent(28,9348.251); h_SL2L467->SetBinContent(29,9525.618); h_SL2L467->SetBinContent(30,9974.25); h_SL2L467->SetBinContent(31,9264.785); h_SL2L467->SetBinContent(32,9452.585); h_SL2L467->SetBinContent(33,9723.851); h_SL2L467->SetBinContent(34,8941.352); h_SL2L467->SetBinContent(35,8670.086); h_SL2L467->SetBinContent(36,8920.485); h_SL2L467->SetBinContent(37,8377.953); h_SL2L467->SetBinContent(38,9379.552); h_SL2L467->SetBinContent(39,9223.052); h_SL2L467->SetBinContent(40,9233.485); h_SL2L467->SetBinContent(41,9598.651); h_SL2L467->SetBinContent(42,9546.484); h_SL2L467->SetBinContent(43,9389.984); h_SL2L467->SetBinContent(44,9139.585); h_SL2L467->SetBinContent(45,9984.684); h_SL2L467->SetBinContent(46,9087.418); h_SL2L467->SetBinContent(47,9650.817); h_SL2L467->SetBinContent(48,8513.586); h_SL2L467->SetBinContent(49,9056.118); h_SL2L467->SetBinContent(50,9108.285); h_SL2L467->SetBinContent(51,9838.617); h_SL2L467->SetBinContent(52,8951.785); h_SL2L467->SetBinContent(53,9504.751); h_SL2L467->SetBinContent(54,9463.018); h_SL2L467->SetBinContent(55,8524.02); h_SL2L467->SetBinContent(56,6520.823); h_SL2L467->SetBinContent(57,3286.495); h_SL2L467->SetMaximum(73093.73); 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 5065"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }