void RatesPerCell_Removing_noisy_cells_run_7054_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:12:13 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3664.332,67.5,32978.98); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7054",60,0,60); h_SL2L164->SetBinContent(1,319.7101); h_SL2L164->SetBinContent(2,346.3527); h_SL2L164->SetBinContent(3,293.0676); h_SL2L164->SetBinContent(4,372.9951); h_SL2L164->SetBinContent(5,319.7101); h_SL2L164->SetBinContent(6,506.2077); h_SL2L164->SetBinContent(7,1412.053); h_SL2L164->SetBinContent(8,319.7101); h_SL2L164->SetBinContent(9,399.6377); h_SL2L164->SetBinContent(10,479.5652); h_SL2L164->SetBinContent(11,426.2802); h_SL2L164->SetBinContent(12,426.2802); h_SL2L164->SetBinContent(13,239.7826); h_SL2L164->SetBinContent(14,399.6377); h_SL2L164->SetBinContent(15,266.4251); h_SL2L164->SetBinContent(16,532.8502); h_SL2L164->SetBinContent(17,799.2753); h_SL2L164->SetBinContent(18,772.6328); h_SL2L164->SetBinContent(19,1039.058); h_SL2L164->SetBinContent(20,959.1304); h_SL2L164->SetBinContent(21,1491.981); h_SL2L164->SetBinContent(22,1625.193); h_SL2L164->SetBinContent(23,2291.256); h_SL2L164->SetBinContent(24,2051.473); h_SL2L164->SetBinContent(25,2770.821); h_SL2L164->SetBinContent(26,3676.667); h_SL2L164->SetBinContent(27,5221.932); h_SL2L164->SetBinContent(28,5541.643); h_SL2L164->SetBinContent(29,8019.396); h_SL2L164->SetBinContent(30,7220.121); h_SL2L164->SetBinContent(31,8978.526); h_SL2L164->SetBinContent(32,8792.028); h_SL2L164->SetBinContent(33,10843.5); h_SL2L164->SetBinContent(34,11989.13); h_SL2L164->SetBinContent(36,13267.97); h_SL2L164->SetBinContent(37,14147.17); h_SL2L164->SetBinContent(38,15132.95); h_SL2L164->SetBinContent(39,16704.86); h_SL2L164->SetBinContent(40,14360.31); h_SL2L164->SetBinContent(41,16571.64); h_SL2L164->SetBinContent(42,16811.42); h_SL2L164->SetBinContent(43,18729.69); h_SL2L164->SetBinContent(44,19715.46); h_SL2L164->SetBinContent(45,19688.82); h_SL2L164->SetBinContent(46,19688.82); h_SL2L164->SetBinContent(47,21340.65); h_SL2L164->SetBinContent(48,20781.16); h_SL2L164->SetBinContent(49,20008.53); h_SL2L164->SetBinContent(50,20781.16); h_SL2L164->SetBinContent(51,21420.58); h_SL2L164->SetBinContent(52,21500.51); h_SL2L164->SetBinContent(53,18409.97); h_SL2L164->SetBinContent(54,18969.47); h_SL2L164->SetBinContent(55,15053.02); h_SL2L164->SetBinContent(56,11269.78); h_SL2L164->SetBinContent(57,6287.633); h_SL2L164->SetMaximum(29314.65); 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,372.9951); h_SL2L265->SetBinContent(2,293.0676); h_SL2L265->SetBinContent(3,319.7101); h_SL2L265->SetBinContent(4,266.4251); h_SL2L265->SetBinContent(5,186.4976); h_SL2L265->SetBinContent(6,372.9951); h_SL2L265->SetBinContent(7,399.6377); h_SL2L265->SetBinContent(8,293.0676); h_SL2L265->SetBinContent(9,426.2802); h_SL2L265->SetBinContent(10,319.7101); h_SL2L265->SetBinContent(11,346.3527); h_SL2L265->SetBinContent(12,239.7826); h_SL2L265->SetBinContent(13,346.3527); h_SL2L265->SetBinContent(14,293.0676); h_SL2L265->SetBinContent(15,506.2077); h_SL2L265->SetBinContent(16,426.2802); h_SL2L265->SetBinContent(17,692.7053); h_SL2L265->SetBinContent(18,639.4203); h_SL2L265->SetBinContent(19,639.4203); h_SL2L265->SetBinContent(20,745.9903); h_SL2L265->SetBinContent(21,1172.271); h_SL2L265->SetBinContent(22,1278.841); h_SL2L265->SetBinContent(23,1385.411); h_SL2L265->SetBinContent(24,1918.261); h_SL2L265->SetBinContent(25,2557.681); h_SL2L265->SetBinContent(26,3703.309); h_SL2L265->SetBinContent(27,4209.517); h_SL2L265->SetBinContent(28,5461.715); h_SL2L265->SetBinContent(29,6873.768); h_SL2L265->SetBinContent(30,6767.198); h_SL2L265->SetBinContent(31,7379.976); h_SL2L265->SetBinContent(32,8712.102); h_SL2L265->SetBinContent(33,9724.517); h_SL2L265->SetBinContent(34,11003.36); h_SL2L265->SetBinContent(35,9324.879); h_SL2L265->SetBinContent(36,10204.08); h_SL2L265->SetBinContent(37,14893.16); h_SL2L265->SetBinContent(38,14706.67); h_SL2L265->SetBinContent(39,16145.36); h_SL2L265->SetBinContent(40,16092.08); h_SL2L265->SetBinContent(41,16518.36); h_SL2L265->SetBinContent(42,16811.42); h_SL2L265->SetBinContent(43,17397.56); h_SL2L265->SetBinContent(44,19155.96); h_SL2L265->SetBinContent(45,19262.54); h_SL2L265->SetBinContent(46,19155.96); h_SL2L265->SetBinContent(47,20967.66); h_SL2L265->SetBinContent(48,20834.44); h_SL2L265->SetBinContent(49,20834.44); h_SL2L265->SetBinContent(50,20381.52); h_SL2L265->SetBinContent(51,20568.02); h_SL2L265->SetBinContent(52,21020.94); h_SL2L265->SetBinContent(53,20035.17); h_SL2L265->SetBinContent(54,19528.96); h_SL2L265->SetBinContent(55,17450.85); h_SL2L265->SetBinContent(56,12761.76); h_SL2L265->SetBinContent(57,8205.894); h_SL2L265->SetMaximum(25491.56); 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,213.1401); h_SL2L366->SetBinContent(2,133.2126); h_SL2L366->SetBinContent(3,213.1401); h_SL2L366->SetBinContent(4,319.7101); h_SL2L366->SetBinContent(5,239.7826); h_SL2L366->SetBinContent(6,319.7101); h_SL2L366->SetBinContent(7,106.57); h_SL2L366->SetBinContent(8,293.0676); h_SL2L366->SetBinContent(9,239.7826); h_SL2L366->SetBinContent(10,266.4251); h_SL2L366->SetBinContent(11,372.9951); h_SL2L366->SetBinContent(12,346.3527); h_SL2L366->SetBinContent(13,319.7101); h_SL2L366->SetBinContent(14,346.3527); h_SL2L366->SetBinContent(15,399.6377); h_SL2L366->SetBinContent(16,479.5652); h_SL2L366->SetBinContent(17,666.0628); h_SL2L366->SetBinContent(18,852.5604); h_SL2L366->SetBinContent(19,772.6328); h_SL2L366->SetBinContent(20,799.2753); h_SL2L366->SetBinContent(21,1305.483); h_SL2L366->SetBinContent(22,1758.406); h_SL2L366->SetBinContent(23,2024.831); h_SL2L366->SetBinContent(24,2237.971); h_SL2L366->SetBinContent(25,3143.816); h_SL2L366->SetBinContent(26,4422.657); h_SL2L366->SetBinContent(27,3943.092); h_SL2L366->SetBinContent(28,6873.768); h_SL2L366->SetBinContent(29,7379.976); h_SL2L366->SetBinContent(30,7726.328); h_SL2L366->SetBinContent(31,7779.613); h_SL2L366->SetBinContent(32,8712.102); h_SL2L366->SetBinContent(33,10257.37); h_SL2L366->SetBinContent(34,9937.657); h_SL2L366->SetBinContent(35,10577.08); h_SL2L366->SetBinContent(36,11722.71); h_SL2L366->SetBinContent(37,15426.01); h_SL2L366->SetBinContent(38,15159.59); h_SL2L366->SetBinContent(39,15426.01); h_SL2L366->SetBinContent(40,16251.93); h_SL2L366->SetBinContent(41,16385.14); h_SL2L366->SetBinContent(42,16518.36); h_SL2L366->SetBinContent(43,18889.54); h_SL2L366->SetBinContent(44,19022.75); h_SL2L366->SetBinContent(45,19209.25); h_SL2L366->SetBinContent(46,20541.38); h_SL2L366->SetBinContent(47,22166.57); h_SL2L366->SetBinContent(48,19369.11); h_SL2L366->SetBinContent(49,21607.08); h_SL2L366->SetBinContent(50,18916.18); h_SL2L366->SetBinContent(51,20887.73); h_SL2L366->SetBinContent(52,20248.31); h_SL2L366->SetBinContent(53,21047.58); h_SL2L366->SetBinContent(54,19662.17); h_SL2L366->SetBinContent(55,16704.86); h_SL2L366->SetBinContent(56,11189.85); h_SL2L366->SetBinContent(57,6900.411); h_SL2L366->SetMaximum(25491.56); 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,213.1401); h_SL2L467->SetBinContent(3,213.1401); h_SL2L467->SetBinContent(4,319.7101); h_SL2L467->SetBinContent(5,159.8551); h_SL2L467->SetBinContent(6,186.4976); h_SL2L467->SetBinContent(7,133.2126); h_SL2L467->SetBinContent(8,186.4976); h_SL2L467->SetBinContent(9,239.7826); h_SL2L467->SetBinContent(10,266.4251); h_SL2L467->SetBinContent(11,372.9951); h_SL2L467->SetBinContent(12,399.6377); h_SL2L467->SetBinContent(13,293.0676); h_SL2L467->SetBinContent(14,532.8502); h_SL2L467->SetBinContent(15,319.7101); h_SL2L467->SetBinContent(16,346.3527); h_SL2L467->SetBinContent(17,426.2802); h_SL2L467->SetBinContent(18,666.0628); h_SL2L467->SetBinContent(19,825.9178); h_SL2L467->SetBinContent(20,719.3478); h_SL2L467->SetBinContent(21,1198.913); h_SL2L467->SetBinContent(22,1731.763); h_SL2L467->SetBinContent(23,1918.261); h_SL2L467->SetBinContent(24,2131.401); h_SL2L467->SetBinContent(25,2371.184); h_SL2L467->SetBinContent(26,3383.599); h_SL2L467->SetBinContent(27,4049.662); h_SL2L467->SetBinContent(28,4555.87); h_SL2L467->SetBinContent(29,6580.7); h_SL2L467->SetBinContent(30,8205.894); h_SL2L467->SetBinContent(31,7593.116); h_SL2L467->SetBinContent(32,8072.681); h_SL2L467->SetBinContent(33,9564.661); h_SL2L467->SetBinContent(34,10470.51); h_SL2L467->SetBinContent(35,12148.99); h_SL2L467->SetBinContent(36,11269.78); h_SL2L467->SetBinContent(37,14093.89); h_SL2L467->SetBinContent(38,14973.09); h_SL2L467->SetBinContent(39,15745.72); h_SL2L467->SetBinContent(40,16891.35); h_SL2L467->SetBinContent(41,16917.99); h_SL2L467->SetBinContent(42,17370.92); h_SL2L467->SetBinContent(43,17637.34); h_SL2L467->SetBinContent(44,19076.04); h_SL2L467->SetBinContent(45,19688.82); h_SL2L467->SetBinContent(46,20248.31); h_SL2L467->SetBinContent(47,21127.51); h_SL2L467->SetBinContent(48,20195.02); h_SL2L467->SetBinContent(49,22113.29); h_SL2L467->SetBinContent(50,21100.87); h_SL2L467->SetBinContent(51,20647.95); h_SL2L467->SetBinContent(52,20674.59); h_SL2L467->SetBinContent(53,20461.45); h_SL2L467->SetBinContent(54,21127.51); h_SL2L467->SetBinContent(55,17610.7); h_SL2L467->SetBinContent(56,14919.81); h_SL2L467->SetBinContent(57,7060.266); h_SL2L467->SetMaximum(25491.56); 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.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("SL2, run 7054"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }