void RatesPerCell_Removing_noisy_cells_run_5387_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:43:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4125.482,67.5,37129.33); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5387",60,0,60); h_SL3L168->SetBinContent(1,1246.775); h_SL3L168->SetBinContent(2,1444.107); h_SL3L168->SetBinContent(4,2341.068); h_SL3L168->SetBinContent(5,2695.367); h_SL3L168->SetBinContent(6,2980.152); h_SL3L168->SetBinContent(7,2711.064); h_SL3L168->SetBinContent(8,3004.818); h_SL3L168->SetBinContent(9,3069.848); h_SL3L168->SetBinContent(10,3240.271); h_SL3L168->SetBinContent(11,3446.572); h_SL3L168->SetBinContent(12,3888.325); h_SL3L168->SetBinContent(13,4161.898); h_SL3L168->SetBinContent(14,4525.167); h_SL3L168->SetBinContent(15,4989.344); h_SL3L168->SetBinContent(16,5363.825); h_SL3L168->SetBinContent(17,5231.523); h_SL3L168->SetBinContent(18,6081.394); h_SL3L168->SetBinContent(19,6150.908); h_SL3L168->SetBinContent(20,6857.265); h_SL3L168->SetBinContent(21,7523.258); h_SL3L168->SetBinContent(22,8173.555); h_SL3L168->SetBinContent(23,8702.762); h_SL3L168->SetBinContent(24,9707.357); h_SL3L168->SetBinContent(25,10963.1); h_SL3L168->SetBinContent(26,11718.79); h_SL3L168->SetBinContent(27,13082.17); h_SL3L168->SetBinContent(28,13862.53); h_SL3L168->SetBinContent(29,14411.92); h_SL3L168->SetBinContent(30,15701.3); h_SL3L168->SetBinContent(31,17972.85); h_SL3L168->SetBinContent(32,21946.39); h_SL3L168->SetBinContent(33,24955.69); h_SL3L168->SetBinContent(34,23852.43); h_SL3L168->SetBinContent(35,21500.15); h_SL3L168->SetBinContent(36,19867.68); h_SL3L168->SetBinContent(37,18188.12); h_SL3L168->SetBinContent(38,16268.62); h_SL3L168->SetBinContent(39,14880.58); h_SL3L168->SetBinContent(40,13853.56); h_SL3L168->SetBinContent(41,12156.06); h_SL3L168->SetBinContent(42,11003.47); h_SL3L168->SetBinContent(43,9987.658); h_SL3L168->SetBinContent(44,9483.117); h_SL3L168->SetBinContent(45,8429.188); h_SL3L168->SetBinContent(46,8393.311); h_SL3L168->SetBinContent(47,8897.851); h_SL3L168->SetBinContent(48,7657.802); h_SL3L168->SetBinContent(50,4426.501); h_SL3L168->SetBinContent(51,4500.5); h_SL3L168->SetBinContent(52,5928.911); h_SL3L168->SetBinContent(53,5787.639); h_SL3L168->SetBinContent(54,5682.246); h_SL3L168->SetBinContent(55,5473.703); h_SL3L168->SetBinContent(56,5471.46); h_SL3L168->SetBinContent(57,5549.944); h_SL3L168->SetBinContent(58,5437.824); h_SL3L168->SetBinContent(59,4478.077); h_SL3L168->SetMaximum(33003.85); 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,526.9644); h_SL3L269->SetBinContent(2,2080.949); h_SL3L269->SetBinContent(4,1412.713); h_SL3L269->SetBinContent(5,2515.975); h_SL3L269->SetBinContent(6,2836.638); h_SL3L269->SetBinContent(7,2780.578); h_SL3L269->SetBinContent(8,2885.971); h_SL3L269->SetBinContent(9,2955.486); h_SL3L269->SetBinContent(10,3065.363); h_SL3L269->SetBinContent(11,3325.482); h_SL3L269->SetBinContent(12,3666.327); h_SL3L269->SetBinContent(13,4000.445); h_SL3L269->SetBinContent(14,4309.896); h_SL3L269->SetBinContent(15,4605.894); h_SL3L269->SetBinContent(16,5119.403); h_SL3L269->SetBinContent(17,5296.553); h_SL3L269->SetBinContent(18,5630.671); h_SL3L269->SetBinContent(19,6014.122); h_SL3L269->SetBinContent(20,6274.24); h_SL3L269->SetBinContent(21,7168.958); h_SL3L269->SetBinContent(22,7852.891); h_SL3L269->SetBinContent(23,8456.098); h_SL3L269->SetBinContent(24,9039.122); h_SL3L269->SetBinContent(25,10386.81); h_SL3L269->SetBinContent(26,10940.68); h_SL3L269->SetBinContent(27,12393.75); h_SL3L269->SetBinContent(28,13505.99); h_SL3L269->SetBinContent(29,13849.07); h_SL3L269->SetBinContent(30,14983.73); h_SL3L269->SetBinContent(31,16302.26); h_SL3L269->SetBinContent(32,19910.29); h_SL3L269->SetBinContent(33,23814.31); h_SL3L269->SetBinContent(34,24343.51); h_SL3L269->SetBinContent(35,22540.62); h_SL3L269->SetBinContent(36,20912.64); h_SL3L269->SetBinContent(37,18190.36); h_SL3L269->SetBinContent(38,17176.8); h_SL3L269->SetBinContent(39,15250.58); h_SL3L269->SetBinContent(40,14290.83); h_SL3L269->SetBinContent(41,13061.99); h_SL3L269->SetBinContent(42,11274.8); h_SL3L269->SetBinContent(43,10422.68); h_SL3L269->SetBinContent(44,9765.66); h_SL3L269->SetBinContent(45,8893.365); h_SL3L269->SetBinContent(46,8200.464); h_SL3L269->SetBinContent(47,8440.4); h_SL3L269->SetBinContent(48,9142.272); h_SL3L269->SetBinContent(49,6032.061); h_SL3L269->SetBinContent(50,6280.968); h_SL3L269->SetBinContent(51,2567.55); h_SL3L269->SetBinContent(52,6083.636); h_SL3L269->SetBinContent(53,5863.881); h_SL3L269->SetBinContent(54,5606.004); h_SL3L269->SetBinContent(55,5671.034); h_SL3L269->SetBinContent(56,5359.34); h_SL3L269->SetBinContent(57,5502.854); h_SL3L269->SetBinContent(58,5464.733); h_SL3L269->SetBinContent(59,5179.948); h_SL3L269->SetMaximum(28699.04); 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,1305.078); h_SL3L370->SetBinContent(2,1365.623); h_SL3L370->SetBinContent(3,639.0845); h_SL3L370->SetBinContent(4,2177.372); h_SL3L370->SetBinContent(5,2657.246); h_SL3L370->SetBinContent(6,2805.245); h_SL3L370->SetBinContent(7,2695.367); h_SL3L370->SetBinContent(8,2868.032); h_SL3L370->SetBinContent(9,3094.515); h_SL3L370->SetBinContent(10,3119.181); h_SL3L370->SetBinContent(11,3419.663); h_SL3L370->SetBinContent(12,3861.416); h_SL3L370->SetBinContent(13,4155.17); h_SL3L370->SetBinContent(14,4480.319); h_SL3L370->SetBinContent(15,4874.981); h_SL3L370->SetBinContent(16,5135.1); h_SL3L370->SetBinContent(17,5357.098); h_SL3L370->SetBinContent(18,5904.244); h_SL3L370->SetBinContent(19,6155.393); h_SL3L370->SetBinContent(20,6776.539); h_SL3L370->SetBinContent(21,7516.531); h_SL3L370->SetBinContent(22,8050.223); h_SL3L370->SetBinContent(23,8516.643); h_SL3L370->SetBinContent(24,9552.632); h_SL3L370->SetBinContent(25,10877.89); h_SL3L370->SetBinContent(26,11604.43); h_SL3L370->SetBinContent(27,12869.14); h_SL3L370->SetBinContent(28,13741.44); h_SL3L370->SetBinContent(29,14371.55); h_SL3L370->SetBinContent(30,15425.48); h_SL3L370->SetBinContent(31,17748.61); h_SL3L370->SetBinContent(32,21699.72); h_SL3L370->SetBinContent(33,24859.27); h_SL3L370->SetBinContent(34,23596.79); h_SL3L370->SetBinContent(35,21197.42); h_SL3L370->SetBinContent(36,19632.23); h_SL3L370->SetBinContent(37,17930.24); h_SL3L370->SetBinContent(38,15995.05); h_SL3L370->SetBinContent(39,14669.79); h_SL3L370->SetBinContent(40,13633.8); h_SL3L370->SetBinContent(41,12052.91); h_SL3L370->SetBinContent(42,10886.86); h_SL3L370->SetBinContent(43,9821.72); h_SL3L370->SetBinContent(44,9411.36); h_SL3L370->SetBinContent(45,8326.038); h_SL3L370->SetBinContent(46,8326.038); h_SL3L370->SetBinContent(47,8779.003); h_SL3L370->SetBinContent(48,7417.865); h_SL3L370->SetBinContent(49,6092.606); h_SL3L370->SetBinContent(50,4271.775); h_SL3L370->SetBinContent(51,4244.867); h_SL3L370->SetBinContent(52,5812.306); h_SL3L370->SetBinContent(53,5830.245); h_SL3L370->SetBinContent(54,5688.974); h_SL3L370->SetBinContent(55,5327.947); h_SL3L370->SetBinContent(56,5431.097); h_SL3L370->SetBinContent(57,5610.489); h_SL3L370->SetBinContent(58,5186.675); h_SL3L370->SetBinContent(59,4529.652); h_SL3L370->SetMaximum(28699.04); 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,2033.859); h_SL3L471->SetBinContent(3,596.4789); h_SL3L471->SetBinContent(4,1392.531); h_SL3L471->SetBinContent(5,2547.368); h_SL3L471->SetBinContent(6,2762.639); h_SL3L471->SetBinContent(7,2742.458); h_SL3L471->SetBinContent(8,2868.032); h_SL3L471->SetBinContent(9,3031.727); h_SL3L471->SetBinContent(10,3047.424); h_SL3L471->SetBinContent(11,3370.33); h_SL3L471->SetBinContent(12,3475.723); h_SL3L471->SetBinContent(13,3912.991); h_SL3L471->SetBinContent(14,4316.624); h_SL3L471->SetBinContent(15,4610.378); h_SL3L471->SetBinContent(16,5088.01); h_SL3L471->SetBinContent(17,5379.522); h_SL3L471->SetBinContent(18,5664.307); h_SL3L471->SetBinContent(19,5949.092); h_SL3L471->SetBinContent(20,6245.089); h_SL3L471->SetBinContent(21,7216.049); h_SL3L471->SetBinContent(22,7803.559); h_SL3L471->SetBinContent(23,8321.553); h_SL3L471->SetBinContent(24,9068.273); h_SL3L471->SetBinContent(25,10404.74); h_SL3L471->SetBinContent(26,10918.25); h_SL3L471->SetBinContent(27,12474.48); h_SL3L471->SetBinContent(28,13340.05); h_SL3L471->SetBinContent(29,13896.16); h_SL3L471->SetBinContent(30,14994.94); h_SL3L471->SetBinContent(31,16192.38); h_SL3L471->SetBinContent(32,19721.92); h_SL3L471->SetBinContent(33,23863.64); h_SL3L471->SetBinContent(34,24397.33); h_SL3L471->SetBinContent(35,22446.44); h_SL3L471->SetBinContent(36,20639.07); h_SL3L471->SetBinContent(37,18183.64); h_SL3L471->SetBinContent(38,17282.19); h_SL3L471->SetBinContent(39,15039.79); h_SL3L471->SetBinContent(40,14093.5); h_SL3L471->SetBinContent(41,13021.63); h_SL3L471->SetBinContent(42,11400.37); h_SL3L471->SetBinContent(43,10292.62); h_SL3L471->SetBinContent(44,9601.965); h_SL3L471->SetBinContent(45,8879.911); h_SL3L471->SetBinContent(46,8173.555); h_SL3L471->SetBinContent(47,8370.886); h_SL3L471->SetBinContent(48,9135.545); h_SL3L471->SetBinContent(49,6005.152); h_SL3L471->SetBinContent(51,2581.004); h_SL3L471->SetBinContent(52,5879.578); h_SL3L471->SetBinContent(53,5888.547); h_SL3L471->SetBinContent(54,5585.823); h_SL3L471->SetBinContent(55,5594.792); h_SL3L471->SetBinContent(56,5292.068); h_SL3L471->SetBinContent(57,5516.309); h_SL3L471->SetBinContent(58,5401.946); h_SL3L471->SetBinContent(59,5011.768); h_SL3L471->SetMaximum(28699.04); 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 5387"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }