void RatesPerCell_Removing_noisy_cells_run_6977_SL2() { //=========Macro generated from canvas: c/c //========= (Sat Jan 12 13:13:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1400.7,67.5,12606.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6977",60,0,60); h_SL2L164->SetBinContent(1,3025.557); h_SL2L164->SetBinContent(2,5469.716); h_SL2L164->SetBinContent(3,6308.244); h_SL2L164->SetBinContent(4,6646.797); h_SL2L164->SetBinContent(5,6821.074); h_SL2L164->SetBinContent(6,6811.075); h_SL2L164->SetBinContent(7,7039.634); h_SL2L164->SetBinContent(8,6876.786); h_SL2L164->SetBinContent(9,6909.641); h_SL2L164->SetBinContent(10,7026.778); h_SL2L164->SetBinContent(11,7358.189); h_SL2L164->SetBinContent(12,7219.625); h_SL2L164->SetBinContent(13,7279.622); h_SL2L164->SetBinContent(14,7092.489); h_SL2L164->SetBinContent(15,7102.488); h_SL2L164->SetBinContent(16,6985.351); h_SL2L164->SetBinContent(17,7319.62); h_SL2L164->SetBinContent(18,7575.321); h_SL2L164->SetBinContent(19,7661.03); h_SL2L164->SetBinContent(20,7351.046); h_SL2L164->SetBinContent(21,7518.181); h_SL2L164->SetBinContent(22,7362.475); h_SL2L164->SetBinContent(23,7581.035); h_SL2L164->SetBinContent(24,7341.047); h_SL2L164->SetBinContent(25,7486.754); h_SL2L164->SetBinContent(26,7725.313); h_SL2L164->SetBinContent(27,8015.298); h_SL2L164->SetBinContent(28,7998.156); h_SL2L164->SetBinContent(29,7848.164); h_SL2L164->SetBinContent(30,7633.889); h_SL2L164->SetBinContent(31,7849.592); h_SL2L164->SetBinContent(32,7549.608); h_SL2L164->SetBinContent(33,7608.176); h_SL2L164->SetBinContent(34,7855.306); h_SL2L164->SetBinContent(35,29.99844); h_SL2L164->SetBinContent(36,7985.299); h_SL2L164->SetBinContent(37,8053.867); h_SL2L164->SetBinContent(38,8019.583); h_SL2L164->SetBinContent(39,7942.444); h_SL2L164->SetBinContent(40,7109.63); h_SL2L164->SetBinContent(41,7689.601); h_SL2L164->SetBinContent(42,7928.16); h_SL2L164->SetBinContent(43,7885.305); h_SL2L164->SetBinContent(44,7983.871); h_SL2L164->SetBinContent(45,8063.867); h_SL2L164->SetBinContent(46,8163.861); h_SL2L164->SetBinContent(47,8165.29); h_SL2L164->SetBinContent(48,7838.164); h_SL2L164->SetBinContent(49,8075.294); h_SL2L164->SetBinContent(50,8315.282); h_SL2L164->SetBinContent(51,8218.145); h_SL2L164->SetBinContent(52,8166.718); h_SL2L164->SetBinContent(53,8373.851); h_SL2L164->SetBinContent(54,8353.852); h_SL2L164->SetBinContent(55,7616.747); h_SL2L164->SetBinContent(56,6181.107); h_SL2L164->SetBinContent(57,2552.725); h_SL2L164->SetMaximum(11205.6); 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,1189.938); h_SL2L265->SetBinContent(2,4618.332); h_SL2L265->SetBinContent(3,6063.971); h_SL2L265->SetBinContent(4,6626.798); h_SL2L265->SetBinContent(5,6702.509); h_SL2L265->SetBinContent(6,6735.364); h_SL2L265->SetBinContent(7,6873.929); h_SL2L265->SetBinContent(8,6932.497); h_SL2L265->SetBinContent(9,6849.644); h_SL2L265->SetBinContent(10,6848.215); h_SL2L265->SetBinContent(11,7038.206); h_SL2L265->SetBinContent(12,7302.478); h_SL2L265->SetBinContent(13,7198.197); h_SL2L265->SetBinContent(14,7069.633); h_SL2L265->SetBinContent(15,7092.489); h_SL2L265->SetBinContent(16,7019.635); h_SL2L265->SetBinContent(17,6909.641); h_SL2L265->SetBinContent(18,7363.903); h_SL2L265->SetBinContent(19,7512.467); h_SL2L265->SetBinContent(20,7489.611); h_SL2L265->SetBinContent(21,7349.618); h_SL2L265->SetBinContent(22,7453.898); h_SL2L265->SetBinContent(23,7306.763); h_SL2L265->SetBinContent(24,7446.756); h_SL2L265->SetBinContent(25,7381.045); h_SL2L265->SetBinContent(26,7636.746); h_SL2L265->SetBinContent(27,7671.03); h_SL2L265->SetBinContent(28,8039.582); h_SL2L265->SetBinContent(29,7872.448); h_SL2L265->SetBinContent(30,7745.312); h_SL2L265->SetBinContent(31,7642.46); h_SL2L265->SetBinContent(32,7468.183); h_SL2L265->SetBinContent(33,7591.034); h_SL2L265->SetBinContent(34,7678.172); h_SL2L265->SetBinContent(35,6519.661); h_SL2L265->SetBinContent(36,6511.09); h_SL2L265->SetBinContent(37,7928.16); h_SL2L265->SetBinContent(38,7922.445); h_SL2L265->SetBinContent(39,8101.008); h_SL2L265->SetBinContent(40,7612.461); h_SL2L265->SetBinContent(41,7596.748); h_SL2L265->SetBinContent(42,7892.447); h_SL2L265->SetBinContent(43,7918.16); h_SL2L265->SetBinContent(44,7841.021); h_SL2L265->SetBinContent(45,8112.436); h_SL2L265->SetBinContent(46,8082.437); h_SL2L265->SetBinContent(47,8086.723); h_SL2L265->SetBinContent(48,7856.734); h_SL2L265->SetBinContent(49,7939.587); h_SL2L265->SetBinContent(50,8113.864); h_SL2L265->SetBinContent(51,8256.714); h_SL2L265->SetBinContent(52,7999.584); h_SL2L265->SetBinContent(53,8173.861); h_SL2L265->SetBinContent(54,8405.277); h_SL2L265->SetBinContent(55,8113.864); h_SL2L265->SetBinContent(56,7213.911); h_SL2L265->SetBinContent(57,5165.446); h_SL2L265->SetMaximum(9744.923); 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,2397.018); h_SL2L366->SetBinContent(2,5693.99); h_SL2L366->SetBinContent(3,6379.668); h_SL2L366->SetBinContent(4,6565.373); h_SL2L366->SetBinContent(5,6698.223); h_SL2L366->SetBinContent(6,6671.082); h_SL2L366->SetBinContent(7,6915.355); h_SL2L366->SetBinContent(8,6976.78); h_SL2L366->SetBinContent(9,6819.646); h_SL2L366->SetBinContent(10,6892.499); h_SL2L366->SetBinContent(11,7221.053); h_SL2L366->SetBinContent(12,7289.621); h_SL2L366->SetBinContent(13,7019.635); h_SL2L366->SetBinContent(14,7001.065); h_SL2L366->SetBinContent(15,7088.203); h_SL2L366->SetBinContent(16,6869.643); h_SL2L366->SetBinContent(17,7189.626); h_SL2L366->SetBinContent(18,7558.179); h_SL2L366->SetBinContent(19,7453.898); h_SL2L366->SetBinContent(20,7335.333); h_SL2L366->SetBinContent(21,7436.756); h_SL2L366->SetBinContent(22,7426.757); h_SL2L366->SetBinContent(23,7389.616); h_SL2L366->SetBinContent(24,7145.343); h_SL2L366->SetBinContent(25,7569.606); h_SL2L366->SetBinContent(26,7708.171); h_SL2L366->SetBinContent(27,7798.166); h_SL2L366->SetBinContent(28,8025.297); h_SL2L366->SetBinContent(29,7641.032); h_SL2L366->SetBinContent(30,7538.18); h_SL2L366->SetBinContent(31,7701.028); h_SL2L366->SetBinContent(32,7389.616); h_SL2L366->SetBinContent(33,7443.899); h_SL2L366->SetBinContent(34,7686.743); h_SL2L366->SetBinContent(35,5686.847); h_SL2L366->SetBinContent(36,7325.333); h_SL2L366->SetBinContent(37,7688.172); h_SL2L366->SetBinContent(38,7858.163); h_SL2L366->SetBinContent(39,7792.452); h_SL2L366->SetBinContent(40,7345.333); h_SL2L366->SetBinContent(41,7688.172); h_SL2L366->SetBinContent(42,7789.595); h_SL2L366->SetBinContent(43,7856.734); h_SL2L366->SetBinContent(44,7796.738); h_SL2L366->SetBinContent(45,7983.871); h_SL2L366->SetBinContent(46,8059.581); h_SL2L366->SetBinContent(47,7948.158); h_SL2L366->SetBinContent(48,7776.739); h_SL2L366->SetBinContent(49,7903.875); h_SL2L366->SetBinContent(50,8182.432); h_SL2L366->SetBinContent(51,8158.147); h_SL2L366->SetBinContent(52,8081.009); h_SL2L366->SetBinContent(53,8213.858); h_SL2L366->SetBinContent(54,8463.846); h_SL2L366->SetBinContent(55,7913.875); h_SL2L366->SetBinContent(56,6602.514); h_SL2L366->SetBinContent(57,3298.4); h_SL2L366->SetMaximum(9744.923); 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,4652.615); h_SL2L467->SetBinContent(3,6312.529); h_SL2L467->SetBinContent(4,6541.089); h_SL2L467->SetBinContent(5,6702.509); h_SL2L467->SetBinContent(6,6671.082); h_SL2L467->SetBinContent(7,6926.783); h_SL2L467->SetBinContent(8,6798.218); h_SL2L467->SetBinContent(9,6916.783); h_SL2L467->SetBinContent(10,6769.648); h_SL2L467->SetBinContent(11,7083.917); h_SL2L467->SetBinContent(12,7281.05); h_SL2L467->SetBinContent(13,7243.909); h_SL2L467->SetBinContent(14,7068.204); h_SL2L467->SetBinContent(15,6963.924); h_SL2L467->SetBinContent(16,7069.633); h_SL2L467->SetBinContent(17,6941.068); h_SL2L467->SetBinContent(18,7343.904); h_SL2L467->SetBinContent(19,7609.604); h_SL2L467->SetBinContent(20,7403.901); h_SL2L467->SetBinContent(21,7326.762); h_SL2L467->SetBinContent(22,7546.75); h_SL2L467->SetBinContent(23,7388.188); h_SL2L467->SetBinContent(24,7231.053); h_SL2L467->SetBinContent(25,7322.477); h_SL2L467->SetBinContent(26,7633.889); h_SL2L467->SetBinContent(27,7713.885); h_SL2L467->SetBinContent(28,7999.584); h_SL2L467->SetBinContent(29,7879.59); h_SL2L467->SetBinContent(30,7719.599); h_SL2L467->SetBinContent(31,7732.455); h_SL2L467->SetBinContent(32,7648.174); h_SL2L467->SetBinContent(33,7441.042); h_SL2L467->SetBinContent(34,7632.46); h_SL2L467->SetBinContent(35,6676.796); h_SL2L467->SetBinContent(36,6512.519); h_SL2L467->SetBinContent(37,7715.313); h_SL2L467->SetBinContent(38,7768.168); h_SL2L467->SetBinContent(39,7906.732); h_SL2L467->SetBinContent(40,7596.748); h_SL2L467->SetBinContent(41,7539.608); h_SL2L467->SetBinContent(42,7855.306); h_SL2L467->SetBinContent(43,7922.445); h_SL2L467->SetBinContent(44,7816.737); h_SL2L467->SetBinContent(45,8042.439); h_SL2L467->SetBinContent(46,8133.863); h_SL2L467->SetBinContent(47,8165.29); h_SL2L467->SetBinContent(48,7826.736); h_SL2L467->SetBinContent(49,7926.731); h_SL2L467->SetBinContent(50,8029.583); h_SL2L467->SetBinContent(51,8061.01); h_SL2L467->SetBinContent(52,8049.582); h_SL2L467->SetBinContent(53,8155.291); h_SL2L467->SetBinContent(54,8473.846); h_SL2L467->SetBinContent(55,8195.288); h_SL2L467->SetBinContent(56,7655.316); h_SL2L467->SetBinContent(57,4968.313); h_SL2L467->SetMaximum(9744.923); 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 6977"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }