void RatesPerCell_Removing_noisy_cells_run_6643_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:45 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11025.77,67.5,99231.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 6643",60,0,60); h_SL2L164->SetBinContent(1,8299.136); h_SL2L164->SetBinContent(2,10458.14); h_SL2L164->SetBinContent(3,12739.63); h_SL2L164->SetBinContent(4,12763.7); h_SL2L164->SetBinContent(5,12877.44); h_SL2L164->SetBinContent(6,11980.59); h_SL2L164->SetBinContent(7,10711.88); h_SL2L164->SetBinContent(8,10532.51); h_SL2L164->SetBinContent(9,11969.66); h_SL2L164->SetBinContent(10,12431.21); h_SL2L164->SetBinContent(11,12282.46); h_SL2L164->SetBinContent(12,12131.53); h_SL2L164->SetBinContent(13,12610.57); h_SL2L164->SetBinContent(14,12584.33); h_SL2L164->SetBinContent(15,12286.83); h_SL2L164->SetBinContent(16,11901.84); h_SL2L164->SetBinContent(17,11455.61); h_SL2L164->SetBinContent(18,11687.48); h_SL2L164->SetBinContent(19,11449.05); h_SL2L164->SetBinContent(20,10746.88); h_SL2L164->SetBinContent(21,10077.52); h_SL2L164->SetBinContent(22,9517.539); h_SL2L164->SetBinContent(23,9887.216); h_SL2L164->SetBinContent(24,9928.776); h_SL2L164->SetBinContent(25,13778.67); h_SL2L164->SetBinContent(26,31925.64); h_SL2L164->SetBinContent(27,46493.98); h_SL2L164->SetBinContent(28,54502.18); h_SL2L164->SetBinContent(29,57387.41); h_SL2L164->SetBinContent(30,55256.85); h_SL2L164->SetBinContent(31,53163.47); h_SL2L164->SetBinContent(32,53128.47); h_SL2L164->SetBinContent(33,52284.12); h_SL2L164->SetBinContent(34,31348.16); h_SL2L164->SetBinContent(35,2.187437); h_SL2L164->SetBinContent(36,7706.341); h_SL2L164->SetBinContent(37,8458.819); h_SL2L164->SetBinContent(38,7297.29); h_SL2L164->SetBinContent(39,7518.221); h_SL2L164->SetBinContent(40,66697.14); h_SL2L164->SetBinContent(41,61101.68); h_SL2L164->SetBinContent(42,11908.41); h_SL2L164->SetBinContent(43,11129.68); h_SL2L164->SetBinContent(44,11768.41); h_SL2L164->SetBinContent(45,4716.114); h_SL2L164->SetBinContent(46,4267.69); h_SL2L164->SetBinContent(47,4895.484); h_SL2L164->SetBinContent(48,4757.676); h_SL2L164->SetBinContent(49,4801.424); h_SL2L164->SetBinContent(50,4584.868); h_SL2L164->SetBinContent(51,4654.866); h_SL2L164->SetBinContent(52,5381.095); h_SL2L164->SetBinContent(53,5597.651); h_SL2L164->SetBinContent(54,5917.017); h_SL2L164->SetBinContent(55,5949.829); h_SL2L164->SetBinContent(56,5142.665); h_SL2L164->SetBinContent(57,11072.81); h_SL2L164->SetMaximum(88206.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,6761.368); h_SL2L265->SetBinContent(2,10480.01); h_SL2L265->SetBinContent(3,10886.87); h_SL2L265->SetBinContent(4,12514.33); h_SL2L265->SetBinContent(5,12398.39); h_SL2L265->SetBinContent(6,11919.34); h_SL2L265->SetBinContent(7,11129.68); h_SL2L265->SetBinContent(8,9598.474); h_SL2L265->SetBinContent(9,11284.99); h_SL2L265->SetBinContent(10,11840.6); h_SL2L265->SetBinContent(11,11932.47); h_SL2L265->SetBinContent(12,11969.66); h_SL2L265->SetBinContent(13,11796.85); h_SL2L265->SetBinContent(14,12450.89); h_SL2L265->SetBinContent(15,12089.96); h_SL2L265->SetBinContent(16,11792.47); h_SL2L265->SetBinContent(17,11477.48); h_SL2L265->SetBinContent(18,11225.93); h_SL2L265->SetBinContent(19,11064.06); h_SL2L265->SetBinContent(20,10477.82); h_SL2L265->SetBinContent(21,10480.01); h_SL2L265->SetBinContent(22,9465.04); h_SL2L265->SetBinContent(23,9261.608); h_SL2L265->SetBinContent(24,9432.229); h_SL2L265->SetBinContent(25,10068.77); h_SL2L265->SetBinContent(26,22729.66); h_SL2L265->SetBinContent(27,38785.45); h_SL2L265->SetBinContent(28,50890.72); h_SL2L265->SetBinContent(29,55886.83); h_SL2L265->SetBinContent(30,56597.75); h_SL2L265->SetBinContent(31,53583.46); h_SL2L265->SetBinContent(32,52782.86); h_SL2L265->SetBinContent(33,53296.9); h_SL2L265->SetBinContent(34,44842.46); h_SL2L265->SetBinContent(35,18142.6); h_SL2L265->SetBinContent(36,8318.823); h_SL2L265->SetBinContent(37,7264.479); h_SL2L265->SetBinContent(38,6512); h_SL2L265->SetBinContent(39,6420.128); h_SL2L265->SetBinContent(40,7472.285); h_SL2L265->SetBinContent(41,6796.367); h_SL2L265->SetBinContent(42,6881.677); h_SL2L265->SetBinContent(43,5877.644); h_SL2L265->SetBinContent(44,6411.378); h_SL2L265->SetBinContent(45,4823.299); h_SL2L265->SetBinContent(46,4685.49); h_SL2L265->SetBinContent(47,4453.622); h_SL2L265->SetBinContent(48,4337.688); h_SL2L265->SetBinContent(49,4654.866); h_SL2L265->SetBinContent(50,4567.369); h_SL2L265->SetBinContent(51,4230.503); h_SL2L265->SetBinContent(52,5133.915); h_SL2L265->SetBinContent(53,5147.04); h_SL2L265->SetBinContent(54,5512.341); h_SL2L265->SetBinContent(55,5836.082); h_SL2L265->SetBinContent(56,5171.101); h_SL2L265->SetBinContent(57,4945.795); h_SL2L265->SetMaximum(76701.71); 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,8102.267); h_SL2L366->SetBinContent(2,9766.906); h_SL2L366->SetBinContent(3,11783.72); h_SL2L366->SetBinContent(4,11910.59); h_SL2L366->SetBinContent(5,11739.97); h_SL2L366->SetBinContent(6,10760); h_SL2L366->SetBinContent(7,9871.903); h_SL2L366->SetBinContent(8,10086.27); h_SL2L366->SetBinContent(9,11225.93); h_SL2L366->SetBinContent(10,11584.67); h_SL2L366->SetBinContent(11,11820.91); h_SL2L366->SetBinContent(12,11641.54); h_SL2L366->SetBinContent(13,11580.29); h_SL2L366->SetBinContent(14,11823.1); h_SL2L366->SetBinContent(15,11567.17); h_SL2L366->SetBinContent(16,11300.3); h_SL2L366->SetBinContent(17,10906.56); h_SL2L366->SetBinContent(18,11077.18); h_SL2L366->SetBinContent(19,10412.2); h_SL2L366->SetBinContent(20,10014.09); h_SL2L366->SetBinContent(21,9482.54); h_SL2L366->SetBinContent(22,8876.619); h_SL2L366->SetBinContent(23,9051.614); h_SL2L366->SetBinContent(24,9335.981); h_SL2L366->SetBinContent(25,13533.67); h_SL2L366->SetBinContent(26,31654.4); h_SL2L366->SetBinContent(27,45573.06); h_SL2L366->SetBinContent(28,53710.33); h_SL2L366->SetBinContent(29,56497.12); h_SL2L366->SetBinContent(30,55018.42); h_SL2L366->SetBinContent(31,52835.36); h_SL2L366->SetBinContent(32,52776.29); h_SL2L366->SetBinContent(33,51632.27); h_SL2L366->SetBinContent(34,30941.3); h_SL2L366->SetBinContent(35,10983.12); h_SL2L366->SetBinContent(36,7371.663); h_SL2L366->SetBinContent(37,6413.565); h_SL2L366->SetBinContent(38,6048.264); h_SL2L366->SetBinContent(39,5685.149); h_SL2L366->SetBinContent(40,5637.025); h_SL2L366->SetBinContent(41,5995.765); h_SL2L366->SetBinContent(42,5284.848); h_SL2L366->SetBinContent(43,4858.298); h_SL2L366->SetBinContent(44,4764.238); h_SL2L366->SetBinContent(45,4447.06); h_SL2L366->SetBinContent(46,4425.185); h_SL2L366->SetBinContent(47,4479.871); h_SL2L366->SetBinContent(48,4261.127); h_SL2L366->SetBinContent(49,4514.87); h_SL2L366->SetBinContent(50,4280.814); h_SL2L366->SetBinContent(51,4431.748); h_SL2L366->SetBinContent(52,4856.11); h_SL2L366->SetBinContent(53,5079.229); h_SL2L366->SetBinContent(54,5280.473); h_SL2L366->SetBinContent(55,5612.963); h_SL2L366->SetBinContent(56,4801.424); h_SL2L366->SetBinContent(57,4705.177); h_SL2L366->SetMaximum(76701.71); 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,9257.233); h_SL2L467->SetBinContent(3,10300.64); h_SL2L467->SetBinContent(4,11431.55); h_SL2L467->SetBinContent(5,11446.86); h_SL2L467->SetBinContent(6,10659.38); h_SL2L467->SetBinContent(7,10086.27); h_SL2L467->SetBinContent(8,8990.366); h_SL2L467->SetBinContent(9,10375.01); h_SL2L467->SetBinContent(10,11061.87); h_SL2L467->SetBinContent(11,11190.93); h_SL2L467->SetBinContent(12,11457.79); h_SL2L467->SetBinContent(13,11300.3); h_SL2L467->SetBinContent(14,11339.67); h_SL2L467->SetBinContent(15,11107.81); h_SL2L467->SetBinContent(16,10777.5); h_SL2L467->SetBinContent(17,10633.13); h_SL2L467->SetBinContent(18,10574.07); h_SL2L467->SetBinContent(19,10532.51); h_SL2L467->SetBinContent(20,9939.714); h_SL2L467->SetBinContent(21,9692.533); h_SL2L467->SetBinContent(22,8791.31); h_SL2L467->SetBinContent(23,8898.494); h_SL2L467->SetBinContent(24,8537.566); h_SL2L467->SetBinContent(25,9408.167); h_SL2L467->SetBinContent(26,22171.86); h_SL2L467->SetBinContent(27,38702.32); h_SL2L467->SetBinContent(28,50632.61); h_SL2L467->SetBinContent(29,55646.21); h_SL2L467->SetBinContent(30,56637.12); h_SL2L467->SetBinContent(31,53235.66); h_SL2L467->SetBinContent(32,52688.8); h_SL2L467->SetBinContent(33,53261.91); h_SL2L467->SetBinContent(34,44730.9); h_SL2L467->SetBinContent(35,18057.29); h_SL2L467->SetBinContent(36,7855.086); h_SL2L467->SetBinContent(37,6682.62); h_SL2L467->SetBinContent(38,6284.507); h_SL2L467->SetBinContent(39,5731.085); h_SL2L467->SetBinContent(40,5206.1); h_SL2L467->SetBinContent(41,5000.481); h_SL2L467->SetBinContent(42,5665.462); h_SL2L467->SetBinContent(43,4766.425); h_SL2L467->SetBinContent(44,4764.238); h_SL2L467->SetBinContent(45,4401.124); h_SL2L467->SetBinContent(46,4125.506); h_SL2L467->SetBinContent(47,4307.063); h_SL2L467->SetBinContent(48,4027.072); h_SL2L467->SetBinContent(49,4272.064); h_SL2L467->SetBinContent(50,4348.625); h_SL2L467->SetBinContent(51,3985.51); h_SL2L467->SetBinContent(52,4525.807); h_SL2L467->SetBinContent(53,4821.111); h_SL2L467->SetBinContent(54,4875.797); h_SL2L467->SetBinContent(55,5328.597); h_SL2L467->SetBinContent(56,4827.674); h_SL2L467->SetBinContent(57,4591.43); h_SL2L467->SetMaximum(76701.71); 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 6643"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }