void RatesPerCell_Removing_noisy_cells_run_6725_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:46:11 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12953.31,67.5,116579.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6725",60,0,60); h_SL2L164->SetBinContent(1,48099.91); h_SL2L164->SetBinContent(2,59927.76); h_SL2L164->SetBinContent(3,72321.73); h_SL2L164->SetBinContent(4,73838.12); h_SL2L164->SetBinContent(5,72837.3); h_SL2L164->SetBinContent(6,66483.62); h_SL2L164->SetBinContent(7,60145.11); h_SL2L164->SetBinContent(8,58648.94); h_SL2L164->SetBinContent(9,66344.62); h_SL2L164->SetBinContent(10,68262.85); h_SL2L164->SetBinContent(11,68366.48); h_SL2L164->SetBinContent(12,66827.34); h_SL2L164->SetBinContent(13,66748.99); h_SL2L164->SetBinContent(14,65265.45); h_SL2L164->SetBinContent(15,64107.94); h_SL2L164->SetBinContent(16,62753.3); h_SL2L164->SetBinContent(17,60536.84); h_SL2L164->SetBinContent(18,60248.73); h_SL2L164->SetBinContent(19,57334.73); h_SL2L164->SetBinContent(20,53212.68); h_SL2L164->SetBinContent(21,49282.7); h_SL2L164->SetBinContent(22,44415.08); h_SL2L164->SetBinContent(23,43929.84); h_SL2L164->SetBinContent(24,41652.72); h_SL2L164->SetBinContent(25,42408.39); h_SL2L164->SetBinContent(26,57875.58); h_SL2L164->SetBinContent(27,69804.52); h_SL2L164->SetBinContent(28,75483.4); h_SL2L164->SetBinContent(29,78356.96); h_SL2L164->SetBinContent(30,73560.11); h_SL2L164->SetBinContent(31,71260.25); h_SL2L164->SetBinContent(32,70085.05); h_SL2L164->SetBinContent(33,69905.61); h_SL2L164->SetBinContent(34,50821.83); h_SL2L164->SetBinContent(36,26668.26); h_SL2L164->SetBinContent(37,28290.79); h_SL2L164->SetBinContent(38,27684.24); h_SL2L164->SetBinContent(39,27535.13); h_SL2L164->SetBinContent(40,65480.28); h_SL2L164->SetBinContent(41,59611.84); h_SL2L164->SetBinContent(42,28015.32); h_SL2L164->SetBinContent(43,28803.84); h_SL2L164->SetBinContent(44,28470.23); h_SL2L164->SetBinContent(45,22937.94); h_SL2L164->SetBinContent(46,22045.79); h_SL2L164->SetBinContent(47,22407.2); h_SL2L164->SetBinContent(48,22697.84); h_SL2L164->SetBinContent(49,23799.75); h_SL2L164->SetBinContent(50,23276.6); h_SL2L164->SetBinContent(51,24939.57); h_SL2L164->SetBinContent(52,27747.42); h_SL2L164->SetBinContent(53,29802.13); h_SL2L164->SetBinContent(54,31869.48); h_SL2L164->SetBinContent(55,32013.53); h_SL2L164->SetBinContent(56,28055.75); h_SL2L164->SetBinContent(57,23761.84); h_SL2L164->SetMaximum(103626.5); 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,39673.84); h_SL2L265->SetBinContent(2,57228.58); h_SL2L265->SetBinContent(3,62245.31); h_SL2L265->SetBinContent(4,71773.3); h_SL2L265->SetBinContent(5,70512.16); h_SL2L265->SetBinContent(6,66698.45); h_SL2L265->SetBinContent(7,60410.48); h_SL2L265->SetBinContent(8,54365.13); h_SL2L265->SetBinContent(9,62194.76); h_SL2L265->SetBinContent(10,65035.47); h_SL2L265->SetBinContent(11,66845.03); h_SL2L265->SetBinContent(12,64722.08); h_SL2L265->SetBinContent(13,64560.33); h_SL2L265->SetBinContent(14,64787.79); h_SL2L265->SetBinContent(15,62065.87); h_SL2L265->SetBinContent(16,61426.46); h_SL2L265->SetBinContent(17,59475.37); h_SL2L265->SetBinContent(18,58075.23); h_SL2L265->SetBinContent(19,56996.07); h_SL2L265->SetBinContent(20,53291.02); h_SL2L265->SetBinContent(21,49265); h_SL2L265->SetBinContent(22,45476.55); h_SL2L265->SetBinContent(23,41978.75); h_SL2L265->SetBinContent(24,41109.35); h_SL2L265->SetBinContent(25,39165.84); h_SL2L265->SetBinContent(26,48825.25); h_SL2L265->SetBinContent(27,63375.02); h_SL2L265->SetBinContent(28,71515.51); h_SL2L265->SetBinContent(29,76173.36); h_SL2L265->SetBinContent(30,75852.39); h_SL2L265->SetBinContent(31,69880.34); h_SL2L265->SetBinContent(32,69885.39); h_SL2L265->SetBinContent(33,70251.85); h_SL2L265->SetBinContent(34,62664.84); h_SL2L265->SetBinContent(35,37346.18); h_SL2L265->SetBinContent(36,27742.37); h_SL2L265->SetBinContent(37,26188.07); h_SL2L265->SetBinContent(38,26132.46); h_SL2L265->SetBinContent(39,25755.89); h_SL2L265->SetBinContent(40,25657.33); h_SL2L265->SetBinContent(41,25705.35); h_SL2L265->SetBinContent(42,24320.38); h_SL2L265->SetBinContent(43,23938.75); h_SL2L265->SetBinContent(44,23875.57); h_SL2L265->SetBinContent(45,23114.85); h_SL2L265->SetBinContent(46,21694.5); h_SL2L265->SetBinContent(47,21166.29); h_SL2L265->SetBinContent(48,21603.51); h_SL2L265->SetBinContent(49,22513.35); h_SL2L265->SetBinContent(50,23499); h_SL2L265->SetBinContent(51,21507.47); h_SL2L265->SetBinContent(52,25141.76); h_SL2L265->SetBinContent(53,27047.36); h_SL2L265->SetBinContent(54,29008.55); h_SL2L265->SetBinContent(55,31659.71); h_SL2L265->SetBinContent(56,28058.28); h_SL2L265->SetBinContent(57,26931.1); h_SL2L265->SetMaximum(90110.51); 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,45474.03); h_SL2L366->SetBinContent(2,55199.15); h_SL2L366->SetBinContent(3,67244.34); h_SL2L366->SetBinContent(4,68745.57); h_SL2L366->SetBinContent(5,66567.02); h_SL2L366->SetBinContent(6,61095.38); h_SL2L366->SetBinContent(7,54385.35); h_SL2L366->SetBinContent(8,55613.63); h_SL2L366->SetBinContent(9,61471.95); h_SL2L366->SetBinContent(10,62877.14); h_SL2L366->SetBinContent(11,62990.87); h_SL2L366->SetBinContent(12,61661.5); h_SL2L366->SetBinContent(13,62316.07); h_SL2L366->SetBinContent(14,61201.53); h_SL2L366->SetBinContent(15,59788.76); h_SL2L366->SetBinContent(16,57655.7); h_SL2L366->SetBinContent(17,55575.72); h_SL2L366->SetBinContent(18,55537.81); h_SL2L366->SetBinContent(19,52681.94); h_SL2L366->SetBinContent(20,48799.98); h_SL2L366->SetBinContent(21,44915.49); h_SL2L366->SetBinContent(22,41708.32); h_SL2L366->SetBinContent(23,39560.11); h_SL2L366->SetBinContent(24,38321.72); h_SL2L366->SetBinContent(25,40341.05); h_SL2L366->SetBinContent(26,55315.4); h_SL2L366->SetBinContent(27,67014.36); h_SL2L366->SetBinContent(28,73279.58); h_SL2L366->SetBinContent(29,76087.43); h_SL2L366->SetBinContent(30,71512.98); h_SL2L366->SetBinContent(31,69890.45); h_SL2L366->SetBinContent(32,68674.8); h_SL2L366->SetBinContent(33,67641.13); h_SL2L366->SetBinContent(34,49105.79); h_SL2L366->SetBinContent(35,28583.96); h_SL2L366->SetBinContent(36,25139.23); h_SL2L366->SetBinContent(37,24823.31); h_SL2L366->SetBinContent(38,25139.23); h_SL2L366->SetBinContent(39,24464.44); h_SL2L366->SetBinContent(40,24151.05); h_SL2L366->SetBinContent(41,23691.08); h_SL2L366->SetBinContent(42,22614.44); h_SL2L366->SetBinContent(43,22561.37); h_SL2L366->SetBinContent(44,22351.6); h_SL2L366->SetBinContent(45,21360.89); h_SL2L366->SetBinContent(46,20923.66); h_SL2L366->SetBinContent(47,20865.54); h_SL2L366->SetBinContent(48,21214.3); h_SL2L366->SetBinContent(49,22023.05); h_SL2L366->SetBinContent(50,21982.61); h_SL2L366->SetBinContent(51,22399.62); h_SL2L366->SetBinContent(52,24818.26); h_SL2L366->SetBinContent(53,27924.33); h_SL2L366->SetBinContent(54,29597.42); h_SL2L366->SetBinContent(55,29953.77); h_SL2L366->SetBinContent(56,25760.95); h_SL2L366->SetBinContent(57,25306.03); h_SL2L366->SetMaximum(90110.51); 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,53321.35); h_SL2L467->SetBinContent(3,58911.78); h_SL2L467->SetBinContent(4,66326.93); h_SL2L467->SetBinContent(5,64850.97); h_SL2L467->SetBinContent(6,60830.01); h_SL2L467->SetBinContent(7,55962.4); h_SL2L467->SetBinContent(8,50258.24); h_SL2L467->SetBinContent(9,58992.65); h_SL2L467->SetBinContent(10,59750.85); h_SL2L467->SetBinContent(11,60640.46); h_SL2L467->SetBinContent(12,59012.87); h_SL2L467->SetBinContent(13,58894.09); h_SL2L467->SetBinContent(14,59611.84); h_SL2L467->SetBinContent(15,58787.94); h_SL2L467->SetBinContent(16,56162.05); h_SL2L467->SetBinContent(17,53965.82); h_SL2L467->SetBinContent(18,53629.68); h_SL2L467->SetBinContent(19,51946.49); h_SL2L467->SetBinContent(20,48658.45); h_SL2L467->SetBinContent(21,46126.08); h_SL2L467->SetBinContent(22,41708.32); h_SL2L467->SetBinContent(23,38488.52); h_SL2L467->SetBinContent(24,37437.16); h_SL2L467->SetBinContent(25,36186.14); h_SL2L467->SetBinContent(26,45992.13); h_SL2L467->SetBinContent(27,61264.71); h_SL2L467->SetBinContent(28,69971.32); h_SL2L467->SetBinContent(29,73605.6); h_SL2L467->SetBinContent(30,73931.62); h_SL2L467->SetBinContent(31,68118.8); h_SL2L467->SetBinContent(32,68442.29); h_SL2L467->SetBinContent(33,68060.66); h_SL2L467->SetBinContent(34,60865.39); h_SL2L467->SetBinContent(35,35031.15); h_SL2L467->SetBinContent(36,25662.38); h_SL2L467->SetBinContent(37,24125.78); h_SL2L467->SetBinContent(38,24600.91); h_SL2L467->SetBinContent(39,23782.06); h_SL2L467->SetBinContent(40,23203.3); h_SL2L467->SetBinContent(41,22680.15); h_SL2L467->SetBinContent(42,22854.54); h_SL2L467->SetBinContent(43,21654.06); h_SL2L467->SetBinContent(44,21595.93); h_SL2L467->SetBinContent(45,21201.67); h_SL2L467->SetBinContent(46,19912.74); h_SL2L467->SetBinContent(47,19864.72); h_SL2L467->SetBinContent(48,19943.06); h_SL2L467->SetBinContent(49,20668.4); h_SL2L467->SetBinContent(50,21990.19); h_SL2L467->SetBinContent(51,20264.03); h_SL2L467->SetBinContent(52,23041.56); h_SL2L467->SetBinContent(53,25240.32); h_SL2L467->SetBinContent(54,27610.95); h_SL2L467->SetBinContent(55,28776.04); h_SL2L467->SetBinContent(56,26802.21); h_SL2L467->SetBinContent(57,24497.29); h_SL2L467->SetMaximum(90110.51); 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 6725"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }