void RatesPerCell_Removing_noisy_cells_run_6796_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:11 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9232.057,67.5,83088.51); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6796",60,0,60); h_SL2L164->SetBinContent(1,4530.885); h_SL2L164->SetBinContent(2,5802.067); h_SL2L164->SetBinContent(3,6650.203); h_SL2L164->SetBinContent(4,6991.501); h_SL2L164->SetBinContent(5,6856.617); h_SL2L164->SetBinContent(6,6388.609); h_SL2L164->SetBinContent(7,6149.496); h_SL2L164->SetBinContent(8,6000.306); h_SL2L164->SetBinContent(9,6454.007); h_SL2L164->SetBinContent(10,6901.578); h_SL2L164->SetBinContent(11,6946.54); h_SL2L164->SetBinContent(12,7036.462); h_SL2L164->SetBinContent(13,7020.113); h_SL2L164->SetBinContent(14,6969.02); h_SL2L164->SetBinContent(15,7069.162); h_SL2L164->SetBinContent(16,7052.812); h_SL2L164->SetBinContent(17,6872.966); h_SL2L164->SetBinContent(18,6823.917); h_SL2L164->SetBinContent(19,6969.02); h_SL2L164->SetBinContent(20,6729.907); h_SL2L164->SetBinContent(21,6419.265); h_SL2L164->SetBinContent(22,6388.609); h_SL2L164->SetBinContent(23,6507.144); h_SL2L164->SetBinContent(24,6719.688); h_SL2L164->SetBinContent(25,11275.1); h_SL2L164->SetBinContent(26,30308.08); h_SL2L164->SetBinContent(27,45090.17); h_SL2L164->SetBinContent(28,52414.8); h_SL2L164->SetBinContent(29,55846.17); h_SL2L164->SetBinContent(30,52843.98); h_SL2L164->SetBinContent(31,50973.99); h_SL2L164->SetBinContent(32,51413.38); h_SL2L164->SetBinContent(33,408.7402); h_SL2L164->SetBinContent(34,247.2878); h_SL2L164->SetBinContent(36,126.7095); h_SL2L164->SetBinContent(37,347.4292); h_SL2L164->SetBinContent(38,308.5988); h_SL2L164->SetBinContent(39,269.7685); h_SL2L164->SetBinContent(40,3376.194); h_SL2L164->SetBinContent(41,2.043701); h_SL2L164->SetBinContent(42,4.087402); h_SL2L164->SetBinContent(45,4.087402); h_SL2L164->SetBinContent(46,2.043701); h_SL2L164->SetBinContent(47,2.043701); h_SL2L164->SetBinContent(48,4.087402); h_SL2L164->SetBinContent(49,36.78662); h_SL2L164->SetBinContent(50,65.39843); h_SL2L164->SetBinContent(51,63.35473); h_SL2L164->SetBinContent(52,71.52953); h_SL2L164->SetBinContent(53,183.9331); h_SL2L164->SetBinContent(54,149.1902); h_SL2L164->SetBinContent(55,177.802); h_SL2L164->SetBinContent(56,167.5835); h_SL2L164->SetBinContent(57,8.174804); h_SL2L164->SetMaximum(73856.45); 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,3866.682); h_SL2L265->SetBinContent(2,5225.743); h_SL2L265->SetBinContent(3,5744.843); h_SL2L265->SetBinContent(4,6962.889); h_SL2L265->SetBinContent(5,6511.231); h_SL2L265->SetBinContent(6,6310.948); h_SL2L265->SetBinContent(7,5959.432); h_SL2L265->SetBinContent(8,5468.944); h_SL2L265->SetBinContent(9,6131.103); h_SL2L265->SetBinContent(10,6533.712); h_SL2L265->SetBinContent(11,6899.534); h_SL2L265->SetBinContent(12,6830.048); h_SL2L265->SetBinContent(13,6719.688); h_SL2L265->SetBinContent(14,6991.501); h_SL2L265->SetBinContent(15,6903.622); h_SL2L265->SetBinContent(16,7083.467); h_SL2L265->SetBinContent(17,6603.198); h_SL2L265->SetBinContent(18,6680.858); h_SL2L265->SetBinContent(19,6723.776); h_SL2L265->SetBinContent(20,6537.799); h_SL2L265->SetBinContent(21,6241.463); h_SL2L265->SetBinContent(22,6210.807); h_SL2L265->SetBinContent(23,6161.758); h_SL2L265->SetBinContent(24,6333.429); h_SL2L265->SetBinContent(25,7132.516); h_SL2L265->SetBinContent(26,20506.5); h_SL2L265->SetBinContent(27,38133.41); h_SL2L265->SetBinContent(28,49222.54); h_SL2L265->SetBinContent(29,54156.03); h_SL2L265->SetBinContent(30,54579.08); h_SL2L265->SetBinContent(31,50694); h_SL2L265->SetBinContent(32,50743.05); h_SL2L265->SetBinContent(33,359.6914); h_SL2L265->SetBinContent(34,355.604); h_SL2L265->SetBinContent(35,185.9768); h_SL2L265->SetBinContent(36,83.79174); h_SL2L265->SetBinContent(37,279.987); h_SL2L265->SetBinContent(38,247.2878); h_SL2L265->SetBinContent(39,259.55); h_SL2L265->SetBinContent(40,312.6862); h_SL2L265->SetBinContent(41,2.043701); h_SL2L265->SetBinContent(44,2.043701); h_SL2L265->SetBinContent(45,2.043701); h_SL2L265->SetBinContent(46,2.043701); h_SL2L265->SetBinContent(47,6.131103); h_SL2L265->SetBinContent(48,6.131103); h_SL2L265->SetBinContent(49,49.04882); h_SL2L265->SetBinContent(50,71.52953); h_SL2L265->SetBinContent(51,65.39843); h_SL2L265->SetBinContent(52,65.39843); h_SL2L265->SetBinContent(53,202.3264); h_SL2L265->SetBinContent(54,185.9768); h_SL2L265->SetBinContent(55,183.9331); h_SL2L265->SetBinContent(56,179.8457); h_SL2L265->SetBinContent(57,2.043701); h_SL2L265->SetMaximum(64223.1); 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,4281.553); h_SL2L366->SetBinContent(2,5162.389); h_SL2L366->SetBinContent(3,6294.599); h_SL2L366->SetBinContent(4,6339.56); h_SL2L366->SetBinContent(5,6284.38); h_SL2L366->SetBinContent(6,5945.126); h_SL2L366->SetBinContent(7,5548.648); h_SL2L366->SetBinContent(8,5589.522); h_SL2L366->SetBinContent(9,6171.977); h_SL2L366->SetBinContent(10,6380.434); h_SL2L366->SetBinContent(11,6590.936); h_SL2L366->SetBinContent(12,6578.673); h_SL2L366->SetBinContent(13,6711.514); h_SL2L366->SetBinContent(14,6885.229); h_SL2L366->SetBinContent(15,6740.125); h_SL2L366->SetBinContent(16,6693.121); h_SL2L366->SetBinContent(17,6429.483); h_SL2L366->SetBinContent(18,6290.511); h_SL2L366->SetBinContent(19,6548.018); h_SL2L366->SetBinContent(20,6280.293); h_SL2L366->SetBinContent(21,5963.52); h_SL2L366->SetBinContent(22,5961.476); h_SL2L366->SetBinContent(23,6035.049); h_SL2L366->SetBinContent(24,6270.075); h_SL2L366->SetBinContent(25,11179.04); h_SL2L366->SetBinContent(26,29954.53); h_SL2L366->SetBinContent(27,44781.57); h_SL2L366->SetBinContent(28,52040.8); h_SL2L366->SetBinContent(29,54832.5); h_SL2L366->SetBinContent(30,52361.66); h_SL2L366->SetBinContent(31,50640.87); h_SL2L366->SetBinContent(32,51059.82); h_SL2L366->SetBinContent(33,396.478); h_SL2L366->SetBinContent(34,247.2878); h_SL2L366->SetBinContent(35,112.4035); h_SL2L366->SetBinContent(36,98.09764); h_SL2L366->SetBinContent(37,257.5063); h_SL2L366->SetBinContent(38,198.239); h_SL2L366->SetBinContent(39,202.3264); h_SL2L366->SetBinContent(40,241.1567); h_SL2L366->SetBinContent(41,2.043701); h_SL2L366->SetBinContent(42,4.087402); h_SL2L366->SetBinContent(43,2.043701); h_SL2L366->SetBinContent(45,4.087402); h_SL2L366->SetBinContent(46,4.087402); h_SL2L366->SetBinContent(48,4.087402); h_SL2L366->SetBinContent(49,55.17992); h_SL2L366->SetBinContent(50,57.22363); h_SL2L366->SetBinContent(51,36.78662); h_SL2L366->SetBinContent(52,44.96142); h_SL2L366->SetBinContent(53,157.365); h_SL2L366->SetBinContent(54,179.8457); h_SL2L366->SetBinContent(55,202.3264); h_SL2L366->SetBinContent(56,181.8894); h_SL2L366->SetBinContent(57,2.043701); h_SL2L366->SetMaximum(64223.1); 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,4892.62); h_SL2L467->SetBinContent(3,5364.715); h_SL2L467->SetBinContent(4,6218.982); h_SL2L467->SetBinContent(5,6194.458); h_SL2L467->SetBinContent(6,5965.563); h_SL2L467->SetBinContent(7,5663.095); h_SL2L467->SetBinContent(8,5119.471); h_SL2L467->SetBinContent(9,5875.64); h_SL2L467->SetBinContent(10,6077.967); h_SL2L467->SetBinContent(11,6384.521); h_SL2L467->SetBinContent(12,6241.463); h_SL2L467->SetBinContent(13,6454.007); h_SL2L467->SetBinContent(14,6695.164); h_SL2L467->SetBinContent(15,6629.766); h_SL2L467->SetBinContent(16,6382.478); h_SL2L467->SetBinContent(17,5981.913); h_SL2L467->SetBinContent(18,6086.142); h_SL2L467->SetBinContent(19,6233.288); h_SL2L467->SetBinContent(20,6178.108); h_SL2L467->SetBinContent(21,5855.203); h_SL2L467->SetBinContent(22,5728.494); h_SL2L467->SetBinContent(23,5755.062); h_SL2L467->SetBinContent(24,5955.345); h_SL2L467->SetBinContent(25,6740.125); h_SL2L467->SetBinContent(26,20279.64); h_SL2L467->SetBinContent(27,38100.71); h_SL2L467->SetBinContent(28,49030.43); h_SL2L467->SetBinContent(29,53655.32); h_SL2L467->SetBinContent(30,55237.15); h_SL2L467->SetBinContent(31,50730.79); h_SL2L467->SetBinContent(32,50904.5); h_SL2L467->SetBinContent(33,357.6477); h_SL2L467->SetBinContent(34,351.5166); h_SL2L467->SetBinContent(35,175.7583); h_SL2L467->SetBinContent(36,89.92284); h_SL2L467->SetBinContent(37,269.7685); h_SL2L467->SetBinContent(38,218.676); h_SL2L467->SetBinContent(39,188.0205); h_SL2L467->SetBinContent(40,171.6709); h_SL2L467->SetBinContent(41,4.087402); h_SL2L467->SetBinContent(42,6.131103); h_SL2L467->SetBinContent(43,2.043701); h_SL2L467->SetBinContent(45,2.043701); h_SL2L467->SetBinContent(49,32.69921); h_SL2L467->SetBinContent(50,55.17992); h_SL2L467->SetBinContent(51,47.00512); h_SL2L467->SetBinContent(52,44.96142); h_SL2L467->SetBinContent(53,153.2776); h_SL2L467->SetBinContent(54,185.9768); h_SL2L467->SetBinContent(55,179.8457); h_SL2L467->SetBinContent(56,155.3213); h_SL2L467->SetBinContent(57,2.043701); h_SL2L467->SetMaximum(64223.1); 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 6796"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }