void RatesPerCell_Removing_noisy_cells_run_6693_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:55:50 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16457.08,67.5,148113.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6693",60,0,60); h_SL2L164->SetBinContent(1,17120.51); h_SL2L164->SetBinContent(2,21255.58); h_SL2L164->SetBinContent(3,25705.31); h_SL2L164->SetBinContent(4,26343.53); h_SL2L164->SetBinContent(5,25437.52); h_SL2L164->SetBinContent(6,23404.57); h_SL2L164->SetBinContent(7,21719.75); h_SL2L164->SetBinContent(8,20454.45); h_SL2L164->SetBinContent(9,24049.49); h_SL2L164->SetBinContent(10,24531.51); h_SL2L164->SetBinContent(11,24540.43); h_SL2L164->SetBinContent(12,23839.72); h_SL2L164->SetBinContent(13,24593.99); h_SL2L164->SetBinContent(14,24042.8); h_SL2L164->SetBinContent(15,23978.08); h_SL2L164->SetBinContent(16,23018.51); h_SL2L164->SetBinContent(17,22645.84); h_SL2L164->SetBinContent(18,22161.59); h_SL2L164->SetBinContent(19,21532.29); h_SL2L164->SetBinContent(20,20005.91); h_SL2L164->SetBinContent(21,18952.62); h_SL2L164->SetBinContent(22,17453.01); h_SL2L164->SetBinContent(23,17368.21); h_SL2L164->SetBinContent(24,16553.69); h_SL2L164->SetBinContent(25,20789.19); h_SL2L164->SetBinContent(26,38034.66); h_SL2L164->SetBinContent(27,51778.82); h_SL2L164->SetBinContent(28,59296.94); h_SL2L164->SetBinContent(29,62090.84); h_SL2L164->SetBinContent(30,59975.33); h_SL2L164->SetBinContent(31,57654.51); h_SL2L164->SetBinContent(32,57594.26); h_SL2L164->SetBinContent(33,56373.6); h_SL2L164->SetBinContent(34,35298.77); h_SL2L164->SetBinContent(36,11691.13); h_SL2L164->SetBinContent(37,13072.46); h_SL2L164->SetBinContent(38,12066.03); h_SL2L164->SetBinContent(39,13003.28); h_SL2L164->SetBinContent(40,76839.2); h_SL2L164->SetBinContent(41,99551.99); h_SL2L164->SetBinContent(42,15522.71); h_SL2L164->SetBinContent(43,14960.36); h_SL2L164->SetBinContent(44,14962.59); h_SL2L164->SetBinContent(45,9017.723); h_SL2L164->SetBinContent(46,8689.684); h_SL2L164->SetBinContent(47,8555.79); h_SL2L164->SetBinContent(48,8776.714); h_SL2L164->SetBinContent(49,8805.725); h_SL2L164->SetBinContent(50,8874.902); h_SL2L164->SetBinContent(51,9124.837); h_SL2L164->SetBinContent(52,10361.12); h_SL2L164->SetBinContent(53,11077.45); h_SL2L164->SetBinContent(54,11374.25); h_SL2L164->SetBinContent(55,11686.67); h_SL2L164->SetBinContent(56,10073.25); h_SL2L164->SetBinContent(57,15301.79); h_SL2L164->SetMaximum(131656.6); 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,14027.57); h_SL2L265->SetBinContent(2,20358.5); h_SL2L265->SetBinContent(3,21643.87); h_SL2L265->SetBinContent(4,25508.93); h_SL2L265->SetBinContent(5,25107.25); h_SL2L265->SetBinContent(6,23460.36); h_SL2L265->SetBinContent(7,22027.7); h_SL2L265->SetBinContent(8,19660.02); h_SL2L265->SetBinContent(9,21974.14); h_SL2L265->SetBinContent(10,22674.85); h_SL2L265->SetBinContent(11,23846.42); h_SL2L265->SetBinContent(12,23101.08); h_SL2L265->SetBinContent(13,23250.59); h_SL2L265->SetBinContent(14,23687.98); h_SL2L265->SetBinContent(15,22355.74); h_SL2L265->SetBinContent(16,22900.24); h_SL2L265->SetBinContent(17,21561.3); h_SL2L265->SetBinContent(18,21485.43); h_SL2L265->SetBinContent(19,21106.07); h_SL2L265->SetBinContent(20,19925.57); h_SL2L265->SetBinContent(21,18497.38); h_SL2L265->SetBinContent(22,17508.8); h_SL2L265->SetBinContent(23,16723.29); h_SL2L265->SetBinContent(24,16426.49); h_SL2L265->SetBinContent(25,16622.87); h_SL2L265->SetBinContent(26,28682.2); h_SL2L265->SetBinContent(27,45126.55); h_SL2L265->SetBinContent(28,55668.43); h_SL2L265->SetBinContent(29,60169.48); h_SL2L265->SetBinContent(30,61166.98); h_SL2L265->SetBinContent(31,57210.43); h_SL2L265->SetBinContent(32,57036.37); h_SL2L265->SetBinContent(33,57431.36); h_SL2L265->SetBinContent(34,48594.39); h_SL2L265->SetBinContent(35,22262.01); h_SL2L265->SetBinContent(36,12909.56); h_SL2L265->SetBinContent(37,11432.27); h_SL2L265->SetBinContent(38,11106.46); h_SL2L265->SetBinContent(39,10867.68); h_SL2L265->SetBinContent(40,12585.98); h_SL2L265->SetBinContent(41,11715.67); h_SL2L265->SetBinContent(42,10825.28); h_SL2L265->SetBinContent(43,9917.04); h_SL2L265->SetBinContent(44,10329.88); h_SL2L265->SetBinContent(45,8729.852); h_SL2L265->SetBinContent(46,8245.604); h_SL2L265->SetBinContent(47,8575.874); h_SL2L265->SetBinContent(48,8334.866); h_SL2L265->SetBinContent(49,8580.337); h_SL2L265->SetBinContent(50,8653.979); h_SL2L265->SetBinContent(51,8352.719); h_SL2L265->SetBinContent(52,9374.771); h_SL2L265->SetBinContent(53,10149.12); h_SL2L265->SetBinContent(54,10642.3); h_SL2L265->SetBinContent(55,11325.15); h_SL2L265->SetBinContent(56,10365.58); h_SL2L265->SetBinContent(57,9551.064); h_SL2L265->SetMaximum(114484.8); 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,16236.81); h_SL2L366->SetBinContent(2,19675.64); h_SL2L366->SetBinContent(3,24149.91); h_SL2L366->SetBinContent(4,24332.9); h_SL2L366->SetBinContent(5,23453.67); h_SL2L366->SetBinContent(6,21998.69); h_SL2L366->SetBinContent(7,19432.4); h_SL2L366->SetBinContent(8,19296.28); h_SL2L366->SetBinContent(9,21820.17); h_SL2L366->SetBinContent(10,22645.84); h_SL2L366->SetBinContent(11,22561.04); h_SL2L366->SetBinContent(12,22594.52); h_SL2L366->SetBinContent(13,22583.36); h_SL2L366->SetBinContent(14,22246.39); h_SL2L366->SetBinContent(15,22003.15); h_SL2L366->SetBinContent(16,21257.81); h_SL2L366->SetBinContent(17,20396.43); h_SL2L366->SetBinContent(18,20487.93); h_SL2L366->SetBinContent(19,19706.88); h_SL2L366->SetBinContent(20,18336.71); h_SL2L366->SetBinContent(21,17350.36); h_SL2L366->SetBinContent(22,16560.38); h_SL2L366->SetBinContent(23,15661.07); h_SL2L366->SetBinContent(24,15196.9); h_SL2L366->SetBinContent(25,19635.47); h_SL2L366->SetBinContent(26,37345.11); h_SL2L366->SetBinContent(27,50667.5); h_SL2L366->SetBinContent(28,58074.04); h_SL2L366->SetBinContent(29,60274.36); h_SL2L366->SetBinContent(30,59038.07); h_SL2L366->SetBinContent(31,57147.95); h_SL2L366->SetBinContent(32,56895.78); h_SL2L366->SetBinContent(33,55706.36); h_SL2L366->SetBinContent(34,34531.11); h_SL2L366->SetBinContent(35,14931.35); h_SL2L366->SetBinContent(36,11409.95); h_SL2L366->SetBinContent(37,10619.98); h_SL2L366->SetBinContent(38,10700.32); h_SL2L366->SetBinContent(39,10015.23); h_SL2L366->SetBinContent(40,9999.607); h_SL2L366->SetBinContent(41,9544.37); h_SL2L366->SetBinContent(42,9091.363); h_SL2L366->SetBinContent(43,8531.243); h_SL2L366->SetBinContent(44,8564.716); h_SL2L366->SetBinContent(45,8314.782); h_SL2L366->SetBinContent(46,7991.206); h_SL2L366->SetBinContent(47,8459.833); h_SL2L366->SetBinContent(48,8100.552); h_SL2L366->SetBinContent(49,8448.676); h_SL2L366->SetBinContent(50,8113.942); h_SL2L366->SetBinContent(51,8156.341); h_SL2L366->SetBinContent(52,9071.279); h_SL2L366->SetBinContent(53,9792.072); h_SL2L366->SetBinContent(54,10394.59); h_SL2L366->SetBinContent(55,10860.99); h_SL2L366->SetBinContent(56,9254.268); h_SL2L366->SetBinContent(57,8932.923); h_SL2L366->SetMaximum(114484.8); 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,18475.06); h_SL2L467->SetBinContent(3,20996.72); h_SL2L467->SetBinContent(4,23315.31); h_SL2L467->SetBinContent(5,23444.74); h_SL2L467->SetBinContent(6,21476.51); h_SL2L467->SetBinContent(7,20097.4); h_SL2L467->SetBinContent(8,17792.21); h_SL2L467->SetBinContent(9,21295.75); h_SL2L467->SetBinContent(10,21563.54); h_SL2L467->SetBinContent(11,21956.29); h_SL2L467->SetBinContent(12,21456.42); h_SL2L467->SetBinContent(13,22101.34); h_SL2L467->SetBinContent(14,21742.06); h_SL2L467->SetBinContent(15,21367.16); h_SL2L467->SetBinContent(16,21092.68); h_SL2L467->SetBinContent(17,20289.32); h_SL2L467->SetBinContent(18,19499.35); h_SL2L467->SetBinContent(19,19836.31); h_SL2L467->SetBinContent(20,18196.12); h_SL2L467->SetBinContent(21,17453.01); h_SL2L467->SetBinContent(22,16047.13); h_SL2L467->SetBinContent(23,15574.04); h_SL2L467->SetBinContent(24,14920.19); h_SL2L467->SetBinContent(25,15451.3); h_SL2L467->SetBinContent(26,27838.68); h_SL2L467->SetBinContent(27,44419.14); h_SL2L467->SetBinContent(28,54438.84); h_SL2L467->SetBinContent(29,59611.59); h_SL2L467->SetBinContent(30,61347.74); h_SL2L467->SetBinContent(31,56862.31); h_SL2L467->SetBinContent(32,56739.57); h_SL2L467->SetBinContent(33,56828.83); h_SL2L467->SetBinContent(34,47775.41); h_SL2L467->SetBinContent(35,21686.27); h_SL2L467->SetBinContent(36,11994.62); h_SL2L467->SetBinContent(37,10865.45); h_SL2L467->SetBinContent(38,10035.31); h_SL2L467->SetBinContent(39,9754.136); h_SL2L467->SetBinContent(40,9461.802); h_SL2L467->SetBinContent(41,9158.311); h_SL2L467->SetBinContent(42,9430.561); h_SL2L467->SetBinContent(43,8600.421); h_SL2L467->SetBinContent(44,8508.928); h_SL2L467->SetBinContent(45,8522.316); h_SL2L467->SetBinContent(46,7846.155); h_SL2L467->SetBinContent(47,8274.614); h_SL2L467->SetBinContent(48,7491.337); h_SL2L467->SetBinContent(49,8046.995); h_SL2L467->SetBinContent(50,8127.331); h_SL2L467->SetBinContent(51,7750.198); h_SL2L467->SetBinContent(52,8555.79); h_SL2L467->SetBinContent(53,9452.876); h_SL2L467->SetBinContent(54,10046.47); h_SL2L467->SetBinContent(55,10477.16); h_SL2L467->SetBinContent(56,9589.001); h_SL2L467->SetBinContent(57,8794.566); h_SL2L467->SetMaximum(114484.8); 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 6693"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }