void RatesPerCell_Removing_noisy_cells_run_6531_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:44:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12697.73,67.5,114279.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6531",60,0,60); h_SL1L160->SetBinContent(1,8264.596); h_SL1L160->SetBinContent(2,8532.059); h_SL1L160->SetBinContent(3,8799.521); h_SL1L160->SetBinContent(4,9298.784); h_SL1L160->SetBinContent(5,8090.745); h_SL1L160->SetBinContent(6,8313.631); h_SL1L160->SetBinContent(7,7863.402); h_SL1L160->SetBinContent(8,7422.088); h_SL1L160->SetBinContent(9,6771.263); h_SL1L160->SetBinContent(10,6530.546); h_SL1L160->SetBinContent(11,6726.686); h_SL1L160->SetBinContent(12,7404.257); h_SL1L160->SetBinContent(13,7524.616); h_SL1L160->SetBinContent(14,6989.69); h_SL1L160->SetBinContent(15,7092.218); h_SL1L160->SetBinContent(16,6873.79); h_SL1L160->SetBinContent(17,6806.924); h_SL1L160->SetBinContent(18,7653.889); h_SL1L160->SetBinContent(19,7743.043); h_SL1L160->SetBinContent(20,7662.805); h_SL1L160->SetBinContent(21,8251.223); h_SL1L160->SetBinContent(22,7841.113); h_SL1L160->SetBinContent(23,8260.138); h_SL1L160->SetBinContent(24,7992.675); h_SL1L160->SetBinContent(25,8068.457); h_SL1L160->SetBinContent(26,7850.029); h_SL1L160->SetBinContent(27,8215.561); h_SL1L160->SetBinContent(28,8861.929); h_SL1L160->SetBinContent(29,8643.501); h_SL1L160->SetBinContent(30,9561.789); h_SL1L160->SetBinContent(31,9949.61); h_SL1L160->SetBinContent(32,11848.59); h_SL1L160->SetBinContent(33,33053.93); h_SL1L160->SetBinContent(34,46632.11); h_SL1L160->SetBinContent(35,50220.57); h_SL1L160->SetBinContent(36,49587.57); h_SL1L160->SetBinContent(37,57887.83); h_SL1L160->SetBinContent(38,55725.84); h_SL1L160->SetBinContent(39,36147.58); h_SL1L160->SetBinContent(40,11946.67); h_SL1L160->SetBinContent(41,9820.337); h_SL1L160->SetBinContent(42,8777.232); h_SL1L160->SetBinContent(43,8353.75); h_SL1L160->SetBinContent(44,8037.252); h_SL1L160->SetBinContent(45,7760.875); h_SL1L160->SetBinContent(46,6847.044); h_SL1L160->SetBinContent(47,7118.964); h_SL1L160->SetBinContent(48,6008.994); h_SL1L160->SetBinContent(49,6303.203); h_SL1L160->SetBinContent(50,6294.288); h_SL1L160->SetBinContent(51,6138.268); h_SL1L160->SetBinContent(52,5688.039); h_SL1L160->SetBinContent(53,6196.218); h_SL1L160->SetBinContent(54,5318.049); h_SL1L160->SetBinContent(55,5759.362); h_SL1L160->SetBinContent(56,5589.969); h_SL1L160->SetBinContent(57,6093.69); h_SL1L160->SetBinContent(58,6396.815); h_SL1L160->SetBinContent(59,6031.283); h_SL1L160->SetMaximum(101581.8); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,9566.247); h_SL1L261->SetBinContent(2,9093.729); h_SL1L261->SetBinContent(3,9642.028); h_SL1L261->SetBinContent(4,10043.22); h_SL1L261->SetBinContent(5,9659.859); h_SL1L261->SetBinContent(6,10448.87); h_SL1L261->SetBinContent(7,9704.437); h_SL1L261->SetBinContent(8,9245.292); h_SL1L261->SetBinContent(9,8295.8); h_SL1L261->SetBinContent(10,7836.655); h_SL1L261->SetBinContent(11,8812.895); h_SL1L261->SetBinContent(12,8277.969); h_SL1L261->SetBinContent(13,9263.123); h_SL1L261->SetBinContent(14,9543.959); h_SL1L261->SetBinContent(15,9200.715); h_SL1L261->SetBinContent(16,8812.895); h_SL1L261->SetBinContent(17,9236.377); h_SL1L261->SetBinContent(18,9312.158); h_SL1L261->SetBinContent(19,9887.202); h_SL1L261->SetBinContent(20,10145.75); h_SL1L261->SetBinContent(21,10524.66); h_SL1L261->SetBinContent(22,10872.36); h_SL1L261->SetBinContent(23,11068.5); h_SL1L261->SetBinContent(24,11416.2); h_SL1L261->SetBinContent(25,11705.95); h_SL1L261->SetBinContent(26,11086.33); h_SL1L261->SetBinContent(27,11126.45); h_SL1L261->SetBinContent(28,11688.12); h_SL1L261->SetBinContent(29,12414.72); h_SL1L261->SetBinContent(30,12619.78); h_SL1L261->SetBinContent(31,12811.46); h_SL1L261->SetBinContent(32,15361.27); h_SL1L261->SetBinContent(33,27633.35); h_SL1L261->SetBinContent(34,57999.27); h_SL1L261->SetBinContent(35,65920.62); h_SL1L261->SetBinContent(36,69834.5); h_SL1L261->SetBinContent(37,74434.85); h_SL1L261->SetBinContent(38,75968.3); h_SL1L261->SetBinContent(39,62586.26); h_SL1L261->SetBinContent(40,26973.61); h_SL1L261->SetBinContent(41,15824.87); h_SL1L261->SetBinContent(42,11951.12); h_SL1L261->SetBinContent(43,11099.7); h_SL1L261->SetBinContent(44,11220.06); h_SL1L261->SetBinContent(45,10569.23); h_SL1L261->SetBinContent(46,10034.31); h_SL1L261->SetBinContent(47,9869.372); h_SL1L261->SetBinContent(48,9891.66); h_SL1L261->SetBinContent(49,25342.09); h_SL1L261->SetBinContent(50,9200.715); h_SL1L261->SetBinContent(51,9071.441); h_SL1L261->SetBinContent(52,8193.272); h_SL1L261->SetBinContent(53,9209.631); h_SL1L261->SetBinContent(54,8384.954); h_SL1L261->SetBinContent(55,8139.78); h_SL1L261->SetBinContent(56,13377.59); h_SL1L261->SetBinContent(57,8469.65); h_SL1L261->SetBinContent(58,7792.079); h_SL1L261->SetBinContent(59,6967.402); h_SL1L261->SetMaximum(88332.43); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,9098.188); h_SL1L362->SetBinContent(2,9066.983); h_SL1L362->SetBinContent(3,9374.565); h_SL1L362->SetBinContent(4,9361.192); h_SL1L362->SetBinContent(5,9744.556); h_SL1L362->SetBinContent(6,9664.316); h_SL1L362->SetBinContent(7,9124.934); h_SL1L362->SetBinContent(8,8768.317); h_SL1L362->SetBinContent(9,7778.705); h_SL1L362->SetBinContent(10,7636.059); h_SL1L362->SetBinContent(11,8402.785); h_SL1L362->SetBinContent(12,8451.819); h_SL1L362->SetBinContent(13,8906.506); h_SL1L362->SetBinContent(14,8861.929); h_SL1L362->SetBinContent(15,8732.655); h_SL1L362->SetBinContent(16,8451.819); h_SL1L362->SetBinContent(17,8754.944); h_SL1L362->SetBinContent(18,9570.705); h_SL1L362->SetBinContent(19,9735.641); h_SL1L362->SetBinContent(20,9642.028); h_SL1L362->SetBinContent(21,10743.08); h_SL1L362->SetBinContent(22,10431.04); h_SL1L362->SetBinContent(23,10899.1); h_SL1L362->SetBinContent(24,11380.54); h_SL1L362->SetBinContent(25,11139.82); h_SL1L362->SetBinContent(26,10444.42); h_SL1L362->SetBinContent(27,10747.54); h_SL1L362->SetBinContent(28,11389.45); h_SL1L362->SetBinContent(29,11893.17); h_SL1L362->SetBinContent(30,11799.56); h_SL1L362->SetBinContent(31,14015.04); h_SL1L362->SetBinContent(32,16823.4); h_SL1L362->SetBinContent(33,45847.55); h_SL1L362->SetBinContent(34,62095.91); h_SL1L362->SetBinContent(35,68153.94); h_SL1L362->SetBinContent(36,71461.56); h_SL1L362->SetBinContent(37,76810.81); h_SL1L362->SetBinContent(38,70311.47); h_SL1L362->SetBinContent(39,48045.21); h_SL1L362->SetBinContent(40,17086.41); h_SL1L362->SetBinContent(41,12994.23); h_SL1L362->SetBinContent(42,11206.68); h_SL1L362->SetBinContent(43,10729.71); h_SL1L362->SetBinContent(44,10052.14); h_SL1L362->SetBinContent(45,10029.85); h_SL1L362->SetBinContent(46,9753.471); h_SL1L362->SetBinContent(47,10234.9); h_SL1L362->SetBinContent(48,8986.745); h_SL1L362->SetBinContent(49,8848.556); h_SL1L362->SetBinContent(50,8572.178); h_SL1L362->SetBinContent(51,8188.814); h_SL1L362->SetBinContent(52,8322.546); h_SL1L362->SetBinContent(53,11705.95); h_SL1L362->SetBinContent(54,7961.471); h_SL1L362->SetBinContent(55,7760.875); h_SL1L362->SetBinContent(56,13587.1); h_SL1L362->SetBinContent(57,8420.615); h_SL1L362->SetBinContent(58,7426.546); h_SL1L362->SetBinContent(59,6922.825); h_SL1L362->SetMaximum(88332.43); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,7979.302); h_SL1L463->SetBinContent(3,7787.621); h_SL1L463->SetBinContent(4,7457.75); h_SL1L463->SetBinContent(5,7462.208); h_SL1L463->SetBinContent(6,7622.686); h_SL1L463->SetBinContent(7,7644.974); h_SL1L463->SetBinContent(8,7453.292); h_SL1L463->SetBinContent(9,6691.024); h_SL1L463->SetBinContent(10,6494.885); h_SL1L463->SetBinContent(11,6802.467); h_SL1L463->SetBinContent(12,7257.153); h_SL1L463->SetBinContent(13,7439.919); h_SL1L463->SetBinContent(14,7694.009); h_SL1L463->SetBinContent(15,7506.785); h_SL1L463->SetBinContent(16,7613.77); h_SL1L463->SetBinContent(17,7154.626); h_SL1L463->SetBinContent(18,7208.118); h_SL1L463->SetBinContent(19,7484.496); h_SL1L463->SetBinContent(20,7774.248); h_SL1L463->SetBinContent(21,7413.173); h_SL1L463->SetBinContent(22,7756.417); h_SL1L463->SetBinContent(23,7497.87); h_SL1L463->SetBinContent(24,7698.466); h_SL1L463->SetBinContent(25,7056.556); h_SL1L463->SetBinContent(26,7546.904); h_SL1L463->SetBinContent(27,7395.342); h_SL1L463->SetBinContent(28,7872.317); h_SL1L463->SetBinContent(29,8175.441); h_SL1L463->SetBinContent(30,8442.904); h_SL1L463->SetBinContent(31,9289.869); h_SL1L463->SetBinContent(32,10716.34); h_SL1L463->SetBinContent(33,18285.53); h_SL1L463->SetBinContent(34,48905.54); h_SL1L463->SetBinContent(35,60651.61); h_SL1L463->SetBinContent(36,63406.48); h_SL1L463->SetBinContent(37,66745.3); h_SL1L463->SetBinContent(38,67471.91); h_SL1L463->SetBinContent(39,58137.46); h_SL1L463->SetBinContent(40,22658.54); h_SL1L463->SetBinContent(41,12615.32); h_SL1L463->SetBinContent(42,9414.686); h_SL1L463->SetBinContent(43,9075.899); h_SL1L463->SetBinContent(44,8688.078); h_SL1L463->SetBinContent(45,7600.397); h_SL1L463->SetBinContent(46,7934.725); h_SL1L463->SetBinContent(47,7511.243); h_SL1L463->SetBinContent(48,7159.083); h_SL1L463->SetBinContent(49,6891.621); h_SL1L463->SetBinContent(50,7011.979); h_SL1L463->SetBinContent(51,5879.721); h_SL1L463->SetBinContent(52,5514.188); h_SL1L463->SetBinContent(53,5402.746); h_SL1L463->SetBinContent(54,5786.108); h_SL1L463->SetBinContent(55,4.457711); h_SL1L463->SetBinContent(56,5318.049); h_SL1L463->SetBinContent(57,4934.686); h_SL1L463->SetBinContent(58,5647.919); h_SL1L463->SetBinContent(59,5625.631); h_SL1L463->SetMaximum(88332.43); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6531"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }