void RatesPerCell_Removing_noisy_cells_run_6977_SL3() { //=========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,-1613.594,67.5,14522.34); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6977",60,0,60); h_SL3L168->SetBinContent(1,1987.04); h_SL3L168->SetBinContent(2,3359.825); h_SL3L168->SetBinContent(3,1.428497); h_SL3L168->SetBinContent(4,6003.974); h_SL3L168->SetBinContent(5,5998.26); h_SL3L168->SetBinContent(6,6796.79); h_SL3L168->SetBinContent(7,6925.354); h_SL3L168->SetBinContent(8,6596.8); h_SL3L168->SetBinContent(9,6273.959); h_SL3L168->SetBinContent(10,6798.218); h_SL3L168->SetBinContent(11,7132.486); h_SL3L168->SetBinContent(12,6726.793); h_SL3L168->SetBinContent(13,6388.239); h_SL3L168->SetBinContent(14,7012.493); h_SL3L168->SetBinContent(15,6985.351); h_SL3L168->SetBinContent(16,6903.927); h_SL3L168->SetBinContent(17,6539.66); h_SL3L168->SetBinContent(18,7088.203); h_SL3L168->SetBinContent(19,7133.915); h_SL3L168->SetBinContent(20,6722.508); h_SL3L168->SetBinContent(21,6638.227); h_SL3L168->SetBinContent(22,7522.466); h_SL3L168->SetBinContent(23,7355.332); h_SL3L168->SetBinContent(24,7272.479); h_SL3L168->SetBinContent(25,7052.491); h_SL3L168->SetBinContent(26,7601.034); h_SL3L168->SetBinContent(27,7589.605); h_SL3L168->SetBinContent(28,7599.605); h_SL3L168->SetBinContent(29,6958.21); h_SL3L168->SetBinContent(30,7953.873); h_SL3L168->SetBinContent(31,8119.578); h_SL3L168->SetBinContent(32,7796.738); h_SL3L168->SetBinContent(33,7845.307); h_SL3L168->SetBinContent(34,8305.282); h_SL3L168->SetBinContent(35,8082.437); h_SL3L168->SetBinContent(36,7968.157); h_SL3L168->SetBinContent(37,7621.033); h_SL3L168->SetBinContent(38,8379.564); h_SL3L168->SetBinContent(39,8359.565); h_SL3L168->SetBinContent(40,8093.865); h_SL3L168->SetBinContent(41,7665.316); h_SL3L168->SetBinContent(42,8395.278); h_SL3L168->SetBinContent(43,8280.998); h_SL3L168->SetBinContent(44,7901.018); h_SL3L168->SetBinContent(45,7481.04); h_SL3L168->SetBinContent(46,8476.702); h_SL3L168->SetBinContent(47,7709.599); h_SL3L168->SetBinContent(48,7303.906); h_SL3L168->SetBinContent(49,6319.671); h_SL3L168->SetBinContent(50,7198.197); h_SL3L168->SetBinContent(51,6792.504); h_SL3L168->SetBinContent(52,6131.11); h_SL3L168->SetBinContent(53,6099.683); h_SL3L168->SetBinContent(54,6755.363); h_SL3L168->SetBinContent(55,6193.964); h_SL3L168->SetBinContent(56,6272.531); h_SL3L168->SetBinContent(57,6359.669); h_SL3L168->SetBinContent(58,6476.806); h_SL3L168->SetBinContent(59,4559.763); h_SL3L168->SetMaximum(12908.75); 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,434.2632); h_SL3L269->SetBinContent(2,4796.894); h_SL3L269->SetBinContent(4,3334.113); h_SL3L269->SetBinContent(5,5692.562); h_SL3L269->SetBinContent(6,6571.087); h_SL3L269->SetBinContent(7,6752.506); h_SL3L269->SetBinContent(8,6723.937); h_SL3L269->SetBinContent(9,6382.525); h_SL3L269->SetBinContent(10,6552.517); h_SL3L269->SetBinContent(11,6975.352); h_SL3L269->SetBinContent(12,6889.642); h_SL3L269->SetBinContent(13,6498.234); h_SL3L269->SetBinContent(14,6766.791); h_SL3L269->SetBinContent(15,6991.065); h_SL3L269->SetBinContent(16,6841.073); h_SL3L269->SetBinContent(17,6518.233); h_SL3L269->SetBinContent(18,6952.496); h_SL3L269->SetBinContent(19,6968.209); h_SL3L269->SetBinContent(20,6862.5); h_SL3L269->SetBinContent(21,6483.949); h_SL3L269->SetBinContent(22,7331.047); h_SL3L269->SetBinContent(23,7385.331); h_SL3L269->SetBinContent(24,7319.62); h_SL3L269->SetBinContent(25,6835.359); h_SL3L269->SetBinContent(26,7658.173); h_SL3L269->SetBinContent(27,7439.613); h_SL3L269->SetBinContent(28,7551.036); h_SL3L269->SetBinContent(29,7003.922); h_SL3L269->SetBinContent(30,7671.03); h_SL3L269->SetBinContent(31,7952.444); h_SL3L269->SetBinContent(32,7866.734); h_SL3L269->SetBinContent(33,7578.178); h_SL3L269->SetBinContent(34,8383.85); h_SL3L269->SetBinContent(35,7942.444); h_SL3L269->SetBinContent(36,7991.013); h_SL3L269->SetBinContent(37,7439.613); h_SL3L269->SetBinContent(38,8370.993); h_SL3L269->SetBinContent(39,8132.435); h_SL3L269->SetBinContent(40,8290.998); h_SL3L269->SetBinContent(41,7635.317); h_SL3L269->SetBinContent(42,8306.711); h_SL3L269->SetBinContent(43,8342.424); h_SL3L269->SetBinContent(44,8098.15); h_SL3L269->SetBinContent(45,7378.188); h_SL3L269->SetBinContent(46,8238.144); h_SL3L269->SetBinContent(47,8001.013); h_SL3L269->SetBinContent(48,7453.898); h_SL3L269->SetBinContent(49,6388.239); h_SL3L269->SetBinContent(50,7138.201); h_SL3L269->SetBinContent(51,7108.202); h_SL3L269->SetBinContent(52,6526.804); h_SL3L269->SetBinContent(53,5922.549); h_SL3L269->SetBinContent(54,6715.365); h_SL3L269->SetBinContent(55,6506.805); h_SL3L269->SetBinContent(56,6212.534); h_SL3L269->SetBinContent(57,6208.249); h_SL3L269->SetBinContent(58,6486.806); h_SL3L269->SetBinContent(59,5688.276); h_SL3L269->SetMaximum(11225.06); 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,2312.737); h_SL3L370->SetBinContent(2,3038.414); h_SL3L370->SetBinContent(3,1004.234); h_SL3L370->SetBinContent(4,5252.584); h_SL3L370->SetBinContent(5,6252.532); h_SL3L370->SetBinContent(6,6573.944); h_SL3L370->SetBinContent(7,6733.936); h_SL3L370->SetBinContent(8,6461.093); h_SL3L370->SetBinContent(9,6683.938); h_SL3L370->SetBinContent(10,6635.37); h_SL3L370->SetBinContent(11,6891.07); h_SL3L370->SetBinContent(12,6569.659); h_SL3L370->SetBinContent(13,6801.075); h_SL3L370->SetBinContent(14,6805.361); h_SL3L370->SetBinContent(15,6929.64); h_SL3L370->SetBinContent(16,6576.801); h_SL3L370->SetBinContent(17,7041.062); h_SL3L370->SetBinContent(18,6876.786); h_SL3L370->SetBinContent(19,6849.644); h_SL3L370->SetBinContent(20,6499.662); h_SL3L370->SetBinContent(21,7233.91); h_SL3L370->SetBinContent(22,7381.045); h_SL3L370->SetBinContent(23,7093.917); h_SL3L370->SetBinContent(24,6932.497); h_SL3L370->SetBinContent(25,7603.891); h_SL3L370->SetBinContent(26,7292.478); h_SL3L370->SetBinContent(27,7382.474); h_SL3L370->SetBinContent(28,7286.764); h_SL3L370->SetBinContent(29,7549.608); h_SL3L370->SetBinContent(30,7771.025); h_SL3L370->SetBinContent(31,7883.876); h_SL3L370->SetBinContent(32,7463.898); h_SL3L370->SetBinContent(33,8228.144); h_SL3L370->SetBinContent(34,7982.442); h_SL3L370->SetBinContent(35,7903.875); h_SL3L370->SetBinContent(36,7562.464); h_SL3L370->SetBinContent(37,8089.58); h_SL3L370->SetBinContent(38,8175.29); h_SL3L370->SetBinContent(39,8125.292); h_SL3L370->SetBinContent(40,7959.586); h_SL3L370->SetBinContent(41,8056.724); h_SL3L370->SetBinContent(42,8290.998); h_SL3L370->SetBinContent(43,8191.003); h_SL3L370->SetBinContent(44,7613.89); h_SL3L370->SetBinContent(45,9760.921); h_SL3L370->SetBinContent(46,8151.005); h_SL3L370->SetBinContent(47,7553.893); h_SL3L370->SetBinContent(48,6889.642); h_SL3L370->SetBinContent(49,6922.498); h_SL3L370->SetBinContent(50,7116.773); h_SL3L370->SetBinContent(51,6731.079); h_SL3L370->SetBinContent(52,6022.544); h_SL3L370->SetBinContent(53,6466.807); h_SL3L370->SetBinContent(54,6612.514); h_SL3L370->SetBinContent(55,6291.102); h_SL3L370->SetBinContent(56,6246.818); h_SL3L370->SetBinContent(57,6342.527); h_SL3L370->SetBinContent(58,6168.251); h_SL3L370->SetBinContent(59,4384.058); h_SL3L370->SetMaximum(11225.06); 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,4511.194); h_SL3L471->SetBinContent(3,872.8118); h_SL3L471->SetBinContent(4,3105.553); h_SL3L471->SetBinContent(5,5838.268); h_SL3L471->SetBinContent(6,6519.661); h_SL3L471->SetBinContent(7,6711.08); h_SL3L471->SetBinContent(8,6455.379); h_SL3L471->SetBinContent(9,6648.226); h_SL3L471->SetBinContent(10,6743.935); h_SL3L471->SetBinContent(11,6588.229); h_SL3L471->SetBinContent(12,6738.221); h_SL3L471->SetBinContent(13,6795.361); h_SL3L471->SetBinContent(14,6859.644); h_SL3L471->SetBinContent(15,6755.363); h_SL3L471->SetBinContent(16,6766.791); h_SL3L471->SetBinContent(17,6772.505); h_SL3L471->SetBinContent(18,7041.062); h_SL3L471->SetBinContent(19,6888.213); h_SL3L471->SetBinContent(20,6635.37); h_SL3L471->SetBinContent(21,6822.502); h_SL3L471->SetBinContent(22,7315.334); h_SL3L471->SetBinContent(23,7255.337); h_SL3L471->SetBinContent(24,6988.208); h_SL3L471->SetBinContent(25,7418.186); h_SL3L471->SetBinContent(26,7679.601); h_SL3L471->SetBinContent(27,7373.902); h_SL3L471->SetBinContent(28,7362.475); h_SL3L471->SetBinContent(29,7365.332); h_SL3L471->SetBinContent(30,7802.452); h_SL3L471->SetBinContent(31,7805.309); h_SL3L471->SetBinContent(32,7562.464); h_SL3L471->SetBinContent(33,8008.155); h_SL3L471->SetBinContent(34,8416.705); h_SL3L471->SetBinContent(35,7722.456); h_SL3L471->SetBinContent(36,7878.162); h_SL3L471->SetBinContent(37,7801.023); h_SL3L471->SetBinContent(38,8382.422); h_SL3L471->SetBinContent(39,7998.156); h_SL3L471->SetBinContent(40,7963.872); h_SL3L471->SetBinContent(41,8138.148); h_SL3L471->SetBinContent(42,8393.85); h_SL3L471->SetBinContent(43,8245.286); h_SL3L471->SetBinContent(44,7845.307); h_SL3L471->SetBinContent(45,7921.017); h_SL3L471->SetBinContent(46,8231.001); h_SL3L471->SetBinContent(47,7681.029); h_SL3L471->SetBinContent(48,7218.196); h_SL3L471->SetBinContent(49,6736.793); h_SL3L471->SetBinContent(50,7239.624); h_SL3L471->SetBinContent(51,6922.498); h_SL3L471->SetBinContent(52,6206.82); h_SL3L471->SetBinContent(53,6153.966); h_SL3L471->SetBinContent(54,6789.647); h_SL3L471->SetBinContent(55,6625.37); h_SL3L471->SetBinContent(56,6228.248); h_SL3L471->SetBinContent(57,6231.105); h_SL3L471->SetBinContent(58,6421.095); h_SL3L471->SetBinContent(59,5131.162); h_SL3L471->SetMaximum(11225.06); 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 6977"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }