void RatesPerCell_Removing_noisy_cells_run_7051_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:08:20 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3665.769,67.5,32991.92); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7051",60,0,60); h_SL2L164->SetBinContent(1,247.3098); h_SL2L164->SetBinContent(2,192.3521); h_SL2L164->SetBinContent(3,219.8309); h_SL2L164->SetBinContent(4,357.2253); h_SL2L164->SetBinContent(5,192.3521); h_SL2L164->SetBinContent(6,164.8732); h_SL2L164->SetBinContent(7,192.3521); h_SL2L164->SetBinContent(8,247.3098); h_SL2L164->SetBinContent(9,274.7887); h_SL2L164->SetBinContent(10,357.2253); h_SL2L164->SetBinContent(11,632.014); h_SL2L164->SetBinContent(12,412.183); h_SL2L164->SetBinContent(13,219.8309); h_SL2L164->SetBinContent(14,522.0985); h_SL2L164->SetBinContent(15,329.7464); h_SL2L164->SetBinContent(16,659.4929); h_SL2L164->SetBinContent(17,412.183); h_SL2L164->SetBinContent(18,879.3238); h_SL2L164->SetBinContent(19,686.9717); h_SL2L164->SetBinContent(20,1236.549); h_SL2L164->SetBinContent(21,1401.422); h_SL2L164->SetBinContent(22,1483.859); h_SL2L164->SetBinContent(23,1923.521); h_SL2L164->SetBinContent(24,1923.521); h_SL2L164->SetBinContent(25,2967.718); h_SL2L164->SetBinContent(26,4259.225); h_SL2L164->SetBinContent(27,5825.52); h_SL2L164->SetBinContent(28,5413.337); h_SL2L164->SetBinContent(29,8545.928); h_SL2L164->SetBinContent(30,6952.154); h_SL2L164->SetBinContent(31,8820.717); h_SL2L164->SetBinContent(32,8655.844); h_SL2L164->SetBinContent(33,9370.294); h_SL2L164->SetBinContent(34,12035.74); h_SL2L164->SetBinContent(35,27.47887); h_SL2L164->SetBinContent(36,12750.2); h_SL2L164->SetBinContent(37,14289.01); h_SL2L164->SetBinContent(38,15305.73); h_SL2L164->SetBinContent(39,16047.66); h_SL2L164->SetBinContent(40,14453.88); h_SL2L164->SetBinContent(41,17476.56); h_SL2L164->SetBinContent(42,19207.73); h_SL2L164->SetBinContent(43,19647.39); h_SL2L164->SetBinContent(44,19400.08); h_SL2L164->SetBinContent(45,20526.71); h_SL2L164->SetBinContent(46,19922.18); h_SL2L164->SetBinContent(47,21653.35); h_SL2L164->SetBinContent(48,21213.69); h_SL2L164->SetBinContent(49,20142.01); h_SL2L164->SetBinContent(50,21131.25); h_SL2L164->SetBinContent(51,20828.98); h_SL2L164->SetBinContent(52,20389.32); h_SL2L164->SetBinContent(53,18932.94); h_SL2L164->SetBinContent(54,16294.97); h_SL2L164->SetBinContent(55,14783.63); h_SL2L164->SetBinContent(56,12420.45); h_SL2L164->SetBinContent(57,4891.239); h_SL2L164->SetMaximum(29326.15); 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,137.3943); h_SL2L265->SetBinContent(2,164.8732); h_SL2L265->SetBinContent(3,219.8309); h_SL2L265->SetBinContent(4,192.3521); h_SL2L265->SetBinContent(5,192.3521); h_SL2L265->SetBinContent(6,192.3521); h_SL2L265->SetBinContent(7,219.8309); h_SL2L265->SetBinContent(8,329.7464); h_SL2L265->SetBinContent(9,274.7887); h_SL2L265->SetBinContent(10,274.7887); h_SL2L265->SetBinContent(11,274.7887); h_SL2L265->SetBinContent(12,412.183); h_SL2L265->SetBinContent(13,412.183); h_SL2L265->SetBinContent(14,357.2253); h_SL2L265->SetBinContent(15,329.7464); h_SL2L265->SetBinContent(16,439.6619); h_SL2L265->SetBinContent(17,659.4929); h_SL2L265->SetBinContent(18,714.4506); h_SL2L265->SetBinContent(19,686.9717); h_SL2L265->SetBinContent(20,714.4506); h_SL2L265->SetBinContent(21,1016.718); h_SL2L265->SetBinContent(22,1868.563); h_SL2L265->SetBinContent(23,2005.957); h_SL2L265->SetBinContent(24,2060.915); h_SL2L265->SetBinContent(25,2280.746); h_SL2L265->SetBinContent(26,4176.788); h_SL2L265->SetBinContent(27,4863.76); h_SL2L265->SetBinContent(28,5798.041); h_SL2L265->SetBinContent(29,6979.633); h_SL2L265->SetBinContent(30,7364.337); h_SL2L265->SetBinContent(31,7996.351); h_SL2L265->SetBinContent(32,7996.351); h_SL2L265->SetBinContent(33,8490.971); h_SL2L265->SetBinContent(34,10881.63); h_SL2L265->SetBinContent(35,9535.167); h_SL2L265->SetBinContent(36,10634.32); h_SL2L265->SetBinContent(37,13519.6); h_SL2L265->SetBinContent(38,14866.07); h_SL2L265->SetBinContent(39,15415.65); h_SL2L265->SetBinContent(40,16349.93); h_SL2L265->SetBinContent(41,15855.31); h_SL2L265->SetBinContent(42,18163.53); h_SL2L265->SetBinContent(43,20334.36); h_SL2L265->SetBinContent(44,18768.07); h_SL2L265->SetBinContent(45,21351.08); h_SL2L265->SetBinContent(46,20087.05); h_SL2L265->SetBinContent(47,19784.79); h_SL2L265->SetBinContent(48,21076.29); h_SL2L265->SetBinContent(49,20499.24); h_SL2L265->SetBinContent(50,21076.29); h_SL2L265->SetBinContent(51,21131.25); h_SL2L265->SetBinContent(52,20334.36); h_SL2L265->SetBinContent(53,19619.91); h_SL2L265->SetBinContent(54,17559); h_SL2L265->SetBinContent(55,16899.5); h_SL2L265->SetBinContent(56,13986.74); h_SL2L265->SetBinContent(57,8628.364); h_SL2L265->SetMaximum(25501.76); 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,82.43661); h_SL2L366->SetBinContent(2,137.3943); h_SL2L366->SetBinContent(3,82.43661); h_SL2L366->SetBinContent(4,164.8732); h_SL2L366->SetBinContent(5,274.7887); h_SL2L366->SetBinContent(6,192.3521); h_SL2L366->SetBinContent(7,274.7887); h_SL2L366->SetBinContent(8,247.3098); h_SL2L366->SetBinContent(9,329.7464); h_SL2L366->SetBinContent(10,247.3098); h_SL2L366->SetBinContent(11,302.2675); h_SL2L366->SetBinContent(12,274.7887); h_SL2L366->SetBinContent(13,219.8309); h_SL2L366->SetBinContent(14,274.7887); h_SL2L366->SetBinContent(15,412.183); h_SL2L366->SetBinContent(16,302.2675); h_SL2L366->SetBinContent(17,577.0562); h_SL2L366->SetBinContent(18,714.4506); h_SL2L366->SetBinContent(19,824.366); h_SL2L366->SetBinContent(20,714.4506); h_SL2L366->SetBinContent(21,1346.465); h_SL2L366->SetBinContent(22,1676.211); h_SL2L366->SetBinContent(23,1731.169); h_SL2L366->SetBinContent(24,2665.45); h_SL2L366->SetBinContent(25,3462.337); h_SL2L366->SetBinContent(26,4808.802); h_SL2L366->SetBinContent(27,4891.239); h_SL2L366->SetBinContent(28,6512.492); h_SL2L366->SetBinContent(29,6897.196); h_SL2L366->SetBinContent(30,7474.252); h_SL2L366->SetBinContent(31,8133.745); h_SL2L366->SetBinContent(32,8408.534); h_SL2L366->SetBinContent(33,9480.21); h_SL2L366->SetBinContent(34,9947.351); h_SL2L366->SetBinContent(35,11925.83); h_SL2L366->SetBinContent(36,12750.2); h_SL2L366->SetBinContent(37,13876.83); h_SL2L366->SetBinContent(38,16020.18); h_SL2L366->SetBinContent(39,15965.22); h_SL2L366->SetBinContent(40,16377.41); h_SL2L366->SetBinContent(41,16954.46); h_SL2L366->SetBinContent(42,18465.8); h_SL2L366->SetBinContent(43,19812.26); h_SL2L366->SetBinContent(44,19262.69); h_SL2L366->SetBinContent(45,19949.66); h_SL2L366->SetBinContent(46,19784.79); h_SL2L366->SetBinContent(47,20334.36); h_SL2L366->SetBinContent(48,21103.77); h_SL2L366->SetBinContent(49,20911.42); h_SL2L366->SetBinContent(50,21625.87); h_SL2L366->SetBinContent(51,21131.25); h_SL2L366->SetBinContent(52,20059.57); h_SL2L366->SetBinContent(53,18685.63); h_SL2L366->SetBinContent(54,17613.96); h_SL2L366->SetBinContent(55,17091.86); h_SL2L366->SetBinContent(56,11238.86); h_SL2L366->SetBinContent(57,6952.154); h_SL2L366->SetMaximum(25501.76); 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,192.3521); h_SL2L467->SetBinContent(3,137.3943); h_SL2L467->SetBinContent(4,137.3943); h_SL2L467->SetBinContent(5,192.3521); h_SL2L467->SetBinContent(6,137.3943); h_SL2L467->SetBinContent(7,164.8732); h_SL2L467->SetBinContent(8,219.8309); h_SL2L467->SetBinContent(9,274.7887); h_SL2L467->SetBinContent(10,274.7887); h_SL2L467->SetBinContent(11,274.7887); h_SL2L467->SetBinContent(12,302.2675); h_SL2L467->SetBinContent(13,357.2253); h_SL2L467->SetBinContent(14,412.183); h_SL2L467->SetBinContent(15,494.6196); h_SL2L467->SetBinContent(16,522.0985); h_SL2L467->SetBinContent(17,439.6619); h_SL2L467->SetBinContent(18,741.9294); h_SL2L467->SetBinContent(19,632.014); h_SL2L467->SetBinContent(20,769.4083); h_SL2L467->SetBinContent(21,1099.155); h_SL2L467->SetBinContent(22,1538.817); h_SL2L467->SetBinContent(23,1786.126); h_SL2L467->SetBinContent(24,1896.042); h_SL2L467->SetBinContent(25,2665.45); h_SL2L467->SetBinContent(26,3572.253); h_SL2L467->SetBinContent(27,4973.675); h_SL2L467->SetBinContent(28,5578.21); h_SL2L467->SetBinContent(29,6017.872); h_SL2L467->SetBinContent(30,7474.252); h_SL2L467->SetBinContent(31,8271.14); h_SL2L467->SetBinContent(32,8326.097); h_SL2L467->SetBinContent(33,9177.942); h_SL2L467->SetBinContent(34,10112.22); h_SL2L467->SetBinContent(35,11486.17); h_SL2L467->SetBinContent(36,12338.01); h_SL2L467->SetBinContent(37,13684.48); h_SL2L467->SetBinContent(38,14343.97); h_SL2L467->SetBinContent(39,16707.15); h_SL2L467->SetBinContent(40,16185.05); h_SL2L467->SetBinContent(41,17449.08); h_SL2L467->SetBinContent(42,18465.8); h_SL2L467->SetBinContent(43,18218.49); h_SL2L467->SetBinContent(44,20032.1); h_SL2L467->SetBinContent(45,19619.91); h_SL2L467->SetBinContent(46,19894.7); h_SL2L467->SetBinContent(47,19564.96); h_SL2L467->SetBinContent(48,20993.86); h_SL2L467->SetBinContent(49,22175.45); h_SL2L467->SetBinContent(50,20444.28); h_SL2L467->SetBinContent(51,21680.83); h_SL2L467->SetBinContent(52,21268.64); h_SL2L467->SetBinContent(53,20059.57); h_SL2L467->SetBinContent(54,19784.79); h_SL2L467->SetBinContent(55,19125.29); h_SL2L467->SetBinContent(56,15003.46); h_SL2L467->SetBinContent(57,6814.759); h_SL2L467->SetMaximum(25501.76); 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.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("SL2, run 7051"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }