void RatesPerCell_Removing_noisy_cells_run_6794_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9061.713,67.5,81555.41); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6794",60,0,60); h_SL2L164->SetBinContent(1,4637.989); h_SL2L164->SetBinContent(2,5660.219); h_SL2L164->SetBinContent(3,6877.28); h_SL2L164->SetBinContent(4,6781.129); h_SL2L164->SetBinContent(5,6758.357); h_SL2L164->SetBinContent(6,6409.18); h_SL2L164->SetBinContent(7,5796.854); h_SL2L164->SetBinContent(8,5675.401); h_SL2L164->SetBinContent(9,6505.33); h_SL2L164->SetBinContent(10,7051.869); h_SL2L164->SetBinContent(11,6996.203); h_SL2L164->SetBinContent(12,6879.81); h_SL2L164->SetBinContent(13,7142.958); h_SL2L164->SetBinContent(14,7198.625); h_SL2L164->SetBinContent(15,6970.9); h_SL2L164->SetBinContent(16,6841.856); h_SL2L164->SetBinContent(17,7021.505); h_SL2L164->SetBinContent(18,6712.812); h_SL2L164->SetBinContent(19,7115.125); h_SL2L164->SetBinContent(20,6391.468); h_SL2L164->SetBinContent(21,6502.8); h_SL2L164->SetBinContent(22,6264.954); h_SL2L164->SetBinContent(23,6290.257); h_SL2L164->SetBinContent(24,6586.299); h_SL2L164->SetBinContent(25,11899.87); h_SL2L164->SetBinContent(26,29778.77); h_SL2L164->SetBinContent(27,44512.55); h_SL2L164->SetBinContent(28,52672.68); h_SL2L164->SetBinContent(29,54815.82); h_SL2L164->SetBinContent(30,53818.89); h_SL2L164->SetBinContent(31,51103.91); h_SL2L164->SetBinContent(32,50615.57); h_SL2L164->SetBinContent(33,2.530272); h_SL2L164->SetBinContent(34,10.12109); h_SL2L164->SetBinContent(36,7.590816); h_SL2L164->SetBinContent(37,10.12109); h_SL2L164->SetBinContent(38,2.530272); h_SL2L164->SetBinContent(39,2.530272); h_SL2L164->SetBinContent(40,25.30272); h_SL2L164->SetBinContent(49,15.18163); h_SL2L164->SetBinContent(50,10.12109); h_SL2L164->SetBinContent(51,25.30272); h_SL2L164->SetBinContent(52,7.590816); h_SL2L164->SetBinContent(54,2.530272); h_SL2L164->SetBinContent(56,2.530272); h_SL2L164->SetMaximum(72493.7); 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,3838.423); h_SL2L265->SetBinContent(2,5268.027); h_SL2L265->SetBinContent(3,5925.897); h_SL2L265->SetBinContent(4,6596.42); h_SL2L265->SetBinContent(5,6684.979); h_SL2L265->SetBinContent(6,6272.545); h_SL2L265->SetBinContent(7,5925.897); h_SL2L265->SetBinContent(8,5305.981); h_SL2L265->SetBinContent(9,6123.259); h_SL2L265->SetBinContent(10,6426.892); h_SL2L265->SetBinContent(11,6573.647); h_SL2L265->SetBinContent(12,6548.345); h_SL2L265->SetBinContent(13,6884.871); h_SL2L265->SetBinContent(14,6975.96); h_SL2L265->SetBinContent(15,6894.992); h_SL2L265->SetBinContent(16,6702.691); h_SL2L265->SetBinContent(17,6533.163); h_SL2L265->SetBinContent(18,6553.405); h_SL2L265->SetBinContent(19,6710.282); h_SL2L265->SetBinContent(20,6530.633); h_SL2L265->SetBinContent(21,6032.169); h_SL2L265->SetBinContent(22,5920.837); h_SL2L265->SetBinContent(23,5862.641); h_SL2L265->SetBinContent(24,6232.061); h_SL2L265->SetBinContent(25,7370.683); h_SL2L265->SetBinContent(26,20624.25); h_SL2L265->SetBinContent(27,37458.15); h_SL2L265->SetBinContent(28,48748.23); h_SL2L265->SetBinContent(29,54112.4); h_SL2L265->SetBinContent(30,54529.9); h_SL2L265->SetBinContent(31,51225.36); h_SL2L265->SetBinContent(32,50410.61); h_SL2L265->SetBinContent(33,15.18163); h_SL2L265->SetBinContent(34,22.77245); h_SL2L265->SetBinContent(35,12.65136); h_SL2L265->SetBinContent(36,7.590816); h_SL2L265->SetBinContent(37,7.590816); h_SL2L265->SetBinContent(38,2.530272); h_SL2L265->SetBinContent(39,2.530272); h_SL2L265->SetBinContent(49,5.060544); h_SL2L265->SetBinContent(50,22.77245); h_SL2L265->SetBinContent(51,22.77245); h_SL2L265->SetBinContent(52,10.12109); h_SL2L265->SetBinContent(56,2.530272); h_SL2L265->SetMaximum(63038.19); 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,4253.388); h_SL2L366->SetBinContent(2,5174.407); h_SL2L366->SetBinContent(3,6219.409); h_SL2L366->SetBinContent(4,6345.923); h_SL2L366->SetBinContent(5,6062.532); h_SL2L366->SetBinContent(6,5948.67); h_SL2L366->SetBinContent(7,5498.282); h_SL2L366->SetBinContent(8,5445.146); h_SL2L366->SetBinContent(9,6110.607); h_SL2L366->SetBinContent(10,6449.664); h_SL2L366->SetBinContent(11,6500.27); h_SL2L366->SetBinContent(12,6636.904); h_SL2L366->SetBinContent(13,6710.282); h_SL2L366->SetBinContent(14,6778.599); h_SL2L366->SetBinContent(15,6578.708); h_SL2L366->SetBinContent(16,6507.86); h_SL2L366->SetBinContent(17,6383.877); h_SL2L366->SetBinContent(18,6262.424); h_SL2L366->SetBinContent(19,6558.466); h_SL2L366->SetBinContent(20,5968.912); h_SL2L366->SetBinContent(21,5882.883); h_SL2L366->SetBinContent(22,5877.822); h_SL2L366->SetBinContent(23,5842.398); h_SL2L366->SetBinContent(24,6242.182); h_SL2L366->SetBinContent(25,11636.72); h_SL2L366->SetBinContent(26,29705.4); h_SL2L366->SetBinContent(27,43963.48); h_SL2L366->SetBinContent(28,52247.59); h_SL2L366->SetBinContent(29,53998.54); h_SL2L366->SetBinContent(30,53241.99); h_SL2L366->SetBinContent(31,50823.05); h_SL2L366->SetBinContent(32,50496.64); h_SL2L366->SetBinContent(33,17.71191); h_SL2L366->SetBinContent(34,22.77245); h_SL2L366->SetBinContent(35,17.71191); h_SL2L366->SetBinContent(36,12.65136); h_SL2L366->SetBinContent(37,5.060544); h_SL2L366->SetBinContent(38,5.060544); h_SL2L366->SetBinContent(39,5.060544); h_SL2L366->SetBinContent(40,2.530272); h_SL2L366->SetBinContent(49,7.590816); h_SL2L366->SetBinContent(50,32.89354); h_SL2L366->SetBinContent(51,12.65136); h_SL2L366->SetBinContent(52,20.24218); h_SL2L366->SetBinContent(54,2.530272); h_SL2L366->SetBinContent(55,5.060544); h_SL2L366->SetMaximum(63038.19); 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,4994.757); h_SL2L467->SetBinContent(3,5505.873); h_SL2L467->SetBinContent(4,6335.802); h_SL2L467->SetBinContent(5,6108.077); h_SL2L467->SetBinContent(6,5796.854); h_SL2L467->SetBinContent(7,5427.434); h_SL2L467->SetBinContent(8,5009.939); h_SL2L467->SetBinContent(9,5867.701); h_SL2L467->SetBinContent(10,5996.745); h_SL2L467->SetBinContent(11,6214.349); h_SL2L467->SetBinContent(12,6548.345); h_SL2L467->SetBinContent(13,6254.833); h_SL2L467->SetBinContent(14,6654.616); h_SL2L467->SetBinContent(15,6381.347); h_SL2L467->SetBinContent(16,6272.545); h_SL2L467->SetBinContent(17,6151.092); h_SL2L467->SetBinContent(18,6146.031); h_SL2L467->SetBinContent(19,6505.33); h_SL2L467->SetBinContent(20,6204.228); h_SL2L467->SetBinContent(21,5839.868); h_SL2L467->SetBinContent(22,5609.614); h_SL2L467->SetBinContent(23,5776.611); h_SL2L467->SetBinContent(24,5885.413); h_SL2L467->SetBinContent(25,6912.704); h_SL2L467->SetBinContent(26,20272.54); h_SL2L467->SetBinContent(27,37460.68); h_SL2L467->SetBinContent(28,48768.47); h_SL2L467->SetBinContent(29,53930.22); h_SL2L467->SetBinContent(30,54793.05); h_SL2L467->SetBinContent(31,51195); h_SL2L467->SetBinContent(32,50656.05); h_SL2L467->SetBinContent(33,12.65136); h_SL2L467->SetBinContent(34,15.18163); h_SL2L467->SetBinContent(35,30.36327); h_SL2L467->SetBinContent(36,20.24218); h_SL2L467->SetBinContent(37,10.12109); h_SL2L467->SetBinContent(38,7.590816); h_SL2L467->SetBinContent(39,2.530272); h_SL2L467->SetBinContent(40,2.530272); h_SL2L467->SetBinContent(49,5.060544); h_SL2L467->SetBinContent(50,25.30272); h_SL2L467->SetBinContent(51,25.30272); h_SL2L467->SetBinContent(52,17.71191); h_SL2L467->SetBinContent(53,2.530272); h_SL2L467->SetBinContent(54,2.530272); h_SL2L467->SetMaximum(63038.19); 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 6794"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }