void RatesPerCell_Removing_noisy_cells_run_6684_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:05:18 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11727.56,67.5,105548); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6684",60,0,60); h_SL3L168->SetBinContent(1,405.1806); h_SL3L168->SetBinContent(2,234.3692); h_SL3L168->SetBinContent(3,3.972359); h_SL3L168->SetBinContent(4,297.9269); h_SL3L168->SetBinContent(5,301.8993); h_SL3L168->SetBinContent(6,246.2862); h_SL3L168->SetBinContent(7,242.3139); h_SL3L168->SetBinContent(8,254.231); h_SL3L168->SetBinContent(9,282.0375); h_SL3L168->SetBinContent(10,349.5676); h_SL3L168->SetBinContent(11,353.5399); h_SL3L168->SetBinContent(12,405.1806); h_SL3L168->SetBinContent(13,464.766); h_SL3L168->SetBinContent(14,480.6554); h_SL3L168->SetBinContent(15,544.2131); h_SL3L168->SetBinContent(16,623.6603); h_SL3L168->SetBinContent(17,683.2457); h_SL3L168->SetBinContent(18,738.8587); h_SL3L168->SetBinContent(19,790.4994); h_SL3L168->SetBinContent(20,774.6099); h_SL3L168->SetBinContent(21,1001.034); h_SL3L168->SetBinContent(22,997.062); h_SL3L168->SetBinContent(23,1056.647); h_SL3L168->SetBinContent(24,1231.431); h_SL3L168->SetBinContent(25,1231.431); h_SL3L168->SetBinContent(26,1402.243); h_SL3L168->SetBinContent(27,1680.308); h_SL3L168->SetBinContent(28,2006.041); h_SL3L168->SetBinContent(29,2172.88); h_SL3L168->SetBinContent(30,2756.817); h_SL3L168->SetBinContent(31,3134.191); h_SL3L168->SetBinContent(32,4675.466); h_SL3L168->SetBinContent(33,8965.613); h_SL3L168->SetBinContent(34,39381.96); h_SL3L168->SetBinContent(35,58409.56); h_SL3L168->SetBinContent(36,61424.58); h_SL3L168->SetBinContent(37,68121.98); h_SL3L168->SetBinContent(38,70942.35); h_SL3L168->SetBinContent(39,64316.46); h_SL3L168->SetBinContent(40,41050.36); h_SL3L168->SetBinContent(41,9394.628); h_SL3L168->SetBinContent(42,4874.084); h_SL3L168->SetBinContent(43,3670.459); h_SL3L168->SetBinContent(44,3114.329); h_SL3L168->SetBinContent(45,2872.015); h_SL3L168->SetBinContent(46,2427.111); h_SL3L168->SetBinContent(47,2403.277); h_SL3L168->SetBinContent(48,2037.82); h_SL3L168->SetBinContent(49,19603.59); h_SL3L168->SetBinContent(50,1859.064); h_SL3L168->SetBinContent(51,1569.082); h_SL3L168->SetBinContent(52,1537.303); h_SL3L168->SetBinContent(53,1394.298); h_SL3L168->SetBinContent(54,1422.104); h_SL3L168->SetBinContent(55,1358.547); h_SL3L168->SetBinContent(56,1346.63); h_SL3L168->SetBinContent(57,1195.68); h_SL3L168->SetBinContent(58,1076.509); h_SL3L168->SetBinContent(59,1052.675); h_SL3L168->SetMaximum(93820.45); 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,210.535); h_SL3L269->SetBinContent(2,194.6456); h_SL3L269->SetBinContent(4,254.231); h_SL3L269->SetBinContent(5,250.2586); h_SL3L269->SetBinContent(6,282.0375); h_SL3L269->SetBinContent(7,274.0927); h_SL3L269->SetBinContent(8,274.0927); h_SL3L269->SetBinContent(9,198.6179); h_SL3L269->SetBinContent(10,341.6229); h_SL3L269->SetBinContent(11,333.6781); h_SL3L269->SetBinContent(12,393.2635); h_SL3L269->SetBinContent(13,417.0977); h_SL3L269->SetBinContent(14,532.2961); h_SL3L269->SetBinContent(15,488.6001); h_SL3L269->SetBinContent(16,476.683); h_SL3L269->SetBinContent(17,671.3286); h_SL3L269->SetBinContent(18,643.5221); h_SL3L269->SetBinContent(19,730.914); h_SL3L269->SetBinContent(20,711.0522); h_SL3L269->SetBinContent(21,854.0571); h_SL3L269->SetBinContent(22,957.3384); h_SL3L269->SetBinContent(23,1024.869); h_SL3L269->SetBinContent(24,1040.758); h_SL3L269->SetBinContent(25,1140.067); h_SL3L269->SetBinContent(26,1302.934); h_SL3L269->SetBinContent(27,1616.75); h_SL3L269->SetBinContent(28,1835.23); h_SL3L269->SetBinContent(29,1982.207); h_SL3L269->SetBinContent(30,2391.36); h_SL3L269->SetBinContent(31,2943.518); h_SL3L269->SetBinContent(32,3630.736); h_SL3L269->SetBinContent(33,6812.595); h_SL3L269->SetBinContent(34,19265.94); h_SL3L269->SetBinContent(35,52220.63); h_SL3L269->SetBinContent(36,59573.46); h_SL3L269->SetBinContent(37,63819.91); h_SL3L269->SetBinContent(38,69802.29); h_SL3L269->SetBinContent(39,68447.71); h_SL3L269->SetBinContent(40,56264.49); h_SL3L269->SetBinContent(41,20537.09); h_SL3L269->SetBinContent(42,7189.969); h_SL3L269->SetBinContent(43,3896.884); h_SL3L269->SetBinContent(44,3134.191); h_SL3L269->SetBinContent(45,2836.264); h_SL3L269->SetBinContent(46,2439.028); h_SL3L269->SetBinContent(47,2474.78); h_SL3L269->SetBinContent(48,2105.35); h_SL3L269->SetBinContent(49,3594.985); h_SL3L269->SetBinContent(50,1755.783); h_SL3L269->SetBinContent(51,1739.893); h_SL3L269->SetBinContent(52,1767.7); h_SL3L269->SetBinContent(53,4023.999); h_SL3L269->SetBinContent(54,1322.795); h_SL3L269->SetBinContent(55,1346.63); h_SL3L269->SetBinContent(56,1584.971); h_SL3L269->SetBinContent(57,1374.436); h_SL3L269->SetBinContent(58,1159.929); h_SL3L269->SetBinContent(59,1020.896); h_SL3L269->SetMaximum(81583.7); 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,166.8391); h_SL3L370->SetBinContent(2,262.1757); h_SL3L370->SetBinContent(3,206.5627); h_SL3L370->SetBinContent(4,254.231); h_SL3L370->SetBinContent(5,274.0927); h_SL3L370->SetBinContent(6,286.0098); h_SL3L370->SetBinContent(7,242.3139); h_SL3L370->SetBinContent(8,226.4244); h_SL3L370->SetBinContent(9,274.0927); h_SL3L370->SetBinContent(10,321.761); h_SL3L370->SetBinContent(11,357.5123); h_SL3L370->SetBinContent(12,429.0147); h_SL3L370->SetBinContent(13,436.9595); h_SL3L370->SetBinContent(14,448.8765); h_SL3L370->SetBinContent(15,544.2131); h_SL3L370->SetBinContent(16,540.2408); h_SL3L370->SetBinContent(17,675.301); h_SL3L370->SetBinContent(18,782.5547); h_SL3L370->SetBinContent(19,766.6652); h_SL3L370->SetBinContent(20,810.3612); h_SL3L370->SetBinContent(21,925.5596); h_SL3L370->SetBinContent(22,969.2555); h_SL3L370->SetBinContent(23,1092.399); h_SL3L370->SetBinContent(24,1140.067); h_SL3L370->SetBinContent(25,1140.067); h_SL3L370->SetBinContent(26,1430.049); h_SL3L370->SetBinContent(27,1632.639); h_SL3L370->SetBinContent(28,1946.456); h_SL3L370->SetBinContent(29,2045.765); h_SL3L370->SetBinContent(30,2633.674); h_SL3L370->SetBinContent(31,2959.407); h_SL3L370->SetBinContent(32,4449.042); h_SL3L370->SetBinContent(33,8810.691); h_SL3L370->SetBinContent(34,38635.16); h_SL3L370->SetBinContent(35,57567.42); h_SL3L370->SetBinContent(36,60928.04); h_SL3L370->SetBinContent(37,67192.45); h_SL3L370->SetBinContent(38,69949.27); h_SL3L370->SetBinContent(39,63823.89); h_SL3L370->SetBinContent(40,40871.6); h_SL3L370->SetBinContent(41,9303.264); h_SL3L370->SetBinContent(42,4711.217); h_SL3L370->SetBinContent(43,3483.759); h_SL3L370->SetBinContent(44,2927.628); h_SL3L370->SetBinContent(45,83.41953); h_SL3L370->SetBinContent(46,2379.443); h_SL3L370->SetBinContent(47,2260.272); h_SL3L370->SetBinContent(48,1938.511); h_SL3L370->SetBinContent(49,1696.197); h_SL3L370->SetBinContent(50,1668.391); h_SL3L370->SetBinContent(51,1660.446); h_SL3L370->SetBinContent(52,1390.326); h_SL3L370->SetBinContent(53,1489.635); h_SL3L370->SetBinContent(54,1362.519); h_SL3L370->SetBinContent(55,1247.321); h_SL3L370->SetBinContent(56,1469.773); h_SL3L370->SetBinContent(57,1144.039); h_SL3L370->SetBinContent(58,1096.371); h_SL3L370->SetBinContent(59,1044.73); h_SL3L370->SetMaximum(81583.7); 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,194.6456); h_SL3L471->SetBinContent(3,262.1757); h_SL3L471->SetBinContent(4,266.148); h_SL3L471->SetBinContent(5,250.2586); h_SL3L471->SetBinContent(6,258.2033); h_SL3L471->SetBinContent(7,258.2033); h_SL3L471->SetBinContent(8,278.0651); h_SL3L471->SetBinContent(9,198.6179); h_SL3L471->SetBinContent(10,313.8163); h_SL3L471->SetBinContent(11,329.7058); h_SL3L471->SetBinContent(12,405.1806); h_SL3L471->SetBinContent(13,417.0977); h_SL3L471->SetBinContent(14,488.6001); h_SL3L471->SetBinContent(15,500.5172); h_SL3L471->SetBinContent(16,456.8213); h_SL3L471->SetBinContent(17,623.6603); h_SL3L471->SetBinContent(18,691.1904); h_SL3L471->SetBinContent(19,762.6929); h_SL3L471->SetBinContent(20,750.7758); h_SL3L471->SetBinContent(21,909.6702); h_SL3L471->SetBinContent(22,953.3661); h_SL3L471->SetBinContent(23,1008.979); h_SL3L471->SetBinContent(24,1163.901); h_SL3L471->SetBinContent(25,1199.652); h_SL3L471->SetBinContent(26,1362.519); h_SL3L471->SetBinContent(27,1600.861); h_SL3L471->SetBinContent(28,1791.534); h_SL3L471->SetBinContent(29,1910.705); h_SL3L471->SetBinContent(30,2236.438); h_SL3L471->SetBinContent(31,2721.066); h_SL3L471->SetBinContent(32,3539.372); h_SL3L471->SetBinContent(33,6550.419); h_SL3L471->SetBinContent(34,19257.99); h_SL3L471->SetBinContent(35,52542.39); h_SL3L471->SetBinContent(36,59791.94); h_SL3L471->SetBinContent(37,63966.89); h_SL3L471->SetBinContent(38,70143.91); h_SL3L471->SetBinContent(39,68137.87); h_SL3L471->SetBinContent(40,56073.82); h_SL3L471->SetBinContent(41,20759.55); h_SL3L471->SetBinContent(42,7106.55); h_SL3L471->SetBinContent(43,3761.824); h_SL3L471->SetBinContent(44,3221.583); h_SL3L471->SetBinContent(45,2621.757); h_SL3L471->SetBinContent(46,2431.083); h_SL3L471->SetBinContent(47,2284.106); h_SL3L471->SetBinContent(48,2073.571); h_SL3L471->SetBinContent(49,1874.953); h_SL3L471->SetBinContent(50,1700.17); h_SL3L471->SetBinContent(51,1704.142); h_SL3L471->SetBinContent(52,1549.22); h_SL3L471->SetBinContent(53,1342.657); h_SL3L471->SetBinContent(54,1386.353); h_SL3L471->SetBinContent(55,1338.685); h_SL3L471->SetBinContent(56,1326.768); h_SL3L471->SetBinContent(57,1346.63); h_SL3L471->SetBinContent(58,1175.818); h_SL3L471->SetBinContent(59,1048.703); h_SL3L471->SetMaximum(81583.7); 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 6684"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }