void RatesPerCell_Removing_noisy_cells_run_6854_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18595.07,67.5,167355.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6854",60,0,60); h_SL1L160->SetBinContent(1,43765.3); h_SL1L160->SetBinContent(2,42872.45); h_SL1L160->SetBinContent(3,41362.25); h_SL1L160->SetBinContent(4,39459.18); h_SL1L160->SetBinContent(5,35316.33); h_SL1L160->SetBinContent(6,36556.12); h_SL1L160->SetBinContent(7,35178.57); h_SL1L160->SetBinContent(8,34979.59); h_SL1L160->SetBinContent(9,32270.41); h_SL1L160->SetBinContent(10,30071.43); h_SL1L160->SetBinContent(11,29780.61); h_SL1L160->SetBinContent(12,29204.08); h_SL1L160->SetBinContent(13,30484.69); h_SL1L160->SetBinContent(14,28790.82); h_SL1L160->SetBinContent(15,28382.65); h_SL1L160->SetBinContent(16,27015.31); h_SL1L160->SetBinContent(17,28153.06); h_SL1L160->SetBinContent(18,28290.82); h_SL1L160->SetBinContent(19,29545.92); h_SL1L160->SetBinContent(20,29173.47); h_SL1L160->SetBinContent(21,30566.33); h_SL1L160->SetBinContent(22,30142.86); h_SL1L160->SetBinContent(23,30142.86); h_SL1L160->SetBinContent(24,27352.04); h_SL1L160->SetBinContent(25,26964.29); h_SL1L160->SetBinContent(26,27198.98); h_SL1L160->SetBinContent(27,26158.16); h_SL1L160->SetBinContent(28,26163.27); h_SL1L160->SetBinContent(29,25015.31); h_SL1L160->SetBinContent(30,24571.43); h_SL1L160->SetBinContent(31,23530.61); h_SL1L160->SetBinContent(32,22989.79); h_SL1L160->SetBinContent(33,27887.75); h_SL1L160->SetBinContent(34,32091.84); h_SL1L160->SetBinContent(35,32413.27); h_SL1L160->SetBinContent(36,32153.06); h_SL1L160->SetBinContent(37,33892.86); h_SL1L160->SetBinContent(38,34780.61); h_SL1L160->SetBinContent(39,28612.24); h_SL1L160->SetBinContent(40,21275.51); h_SL1L160->SetBinContent(41,21561.22); h_SL1L160->SetBinContent(42,21418.37); h_SL1L160->SetBinContent(43,20612.24); h_SL1L160->SetBinContent(44,20530.61); h_SL1L160->SetBinContent(45,19826.53); h_SL1L160->SetBinContent(46,18622.45); h_SL1L160->SetBinContent(47,18000); h_SL1L160->SetBinContent(48,16122.45); h_SL1L160->SetBinContent(49,18204.08); h_SL1L160->SetBinContent(50,19102.04); h_SL1L160->SetBinContent(51,19168.37); h_SL1L160->SetBinContent(52,18270.41); h_SL1L160->SetBinContent(53,18877.55); h_SL1L160->SetBinContent(54,18816.33); h_SL1L160->SetBinContent(55,19408.16); h_SL1L160->SetBinContent(56,20704.08); h_SL1L160->SetBinContent(57,24035.71); h_SL1L160->SetBinContent(58,25647.96); h_SL1L160->SetBinContent(59,28341.84); h_SL1L160->SetMaximum(148760.5); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,56153.06); h_SL1L261->SetBinContent(2,54260.2); h_SL1L261->SetBinContent(3,53438.77); h_SL1L261->SetBinContent(4,54663.27); h_SL1L261->SetBinContent(5,54530.61); h_SL1L261->SetBinContent(6,58367.35); h_SL1L261->SetBinContent(7,56612.25); h_SL1L261->SetBinContent(8,56107.14); h_SL1L261->SetBinContent(9,54188.77); h_SL1L261->SetBinContent(10,47270.41); h_SL1L261->SetBinContent(11,46923.47); h_SL1L261->SetBinContent(12,48025.51); h_SL1L261->SetBinContent(13,49525.51); h_SL1L261->SetBinContent(14,52933.67); h_SL1L261->SetBinContent(15,52525.51); h_SL1L261->SetBinContent(16,50795.92); h_SL1L261->SetBinContent(17,51290.82); h_SL1L261->SetBinContent(18,50474.49); h_SL1L261->SetBinContent(19,55959.18); h_SL1L261->SetBinContent(20,55127.55); h_SL1L261->SetBinContent(21,57285.71); h_SL1L261->SetBinContent(22,58301.02); h_SL1L261->SetBinContent(23,58903.06); h_SL1L261->SetBinContent(24,59183.67); h_SL1L261->SetBinContent(25,59948.98); h_SL1L261->SetBinContent(26,57510.2); h_SL1L261->SetBinContent(27,55586.73); h_SL1L261->SetBinContent(28,53714.29); h_SL1L261->SetBinContent(29,57239.8); h_SL1L261->SetBinContent(30,57132.65); h_SL1L261->SetBinContent(31,56061.22); h_SL1L261->SetBinContent(32,53836.73); h_SL1L261->SetBinContent(33,64897.96); h_SL1L261->SetBinContent(34,97846.94); h_SL1L261->SetBinContent(35,104795.9); h_SL1L261->SetBinContent(36,108683.7); h_SL1L261->SetBinContent(37,112484.7); h_SL1L261->SetBinContent(38,110653.1); h_SL1L261->SetBinContent(39,96831.63); h_SL1L261->SetBinContent(40,61872.45); h_SL1L261->SetBinContent(41,50826.53); h_SL1L261->SetBinContent(42,48204.08); h_SL1L261->SetBinContent(43,47678.57); h_SL1L261->SetBinContent(44,47005.1); h_SL1L261->SetBinContent(45,45443.88); h_SL1L261->SetBinContent(46,47000); h_SL1L261->SetBinContent(47,47091.84); h_SL1L261->SetBinContent(48,44418.37); h_SL1L261->SetBinContent(49,43224.49); h_SL1L261->SetBinContent(50,44520.41); h_SL1L261->SetBinContent(51,41780.61); h_SL1L261->SetBinContent(52,39811.22); h_SL1L261->SetBinContent(53,42280.61); h_SL1L261->SetBinContent(54,40979.59); h_SL1L261->SetBinContent(55,42489.8); h_SL1L261->SetBinContent(56,41826.53); h_SL1L261->SetBinContent(57,41903.06); h_SL1L261->SetBinContent(58,40239.8); h_SL1L261->SetBinContent(59,39408.16); h_SL1L261->SetMaximum(129357.4); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,51040.82); h_SL1L362->SetBinContent(2,51775.51); h_SL1L362->SetBinContent(3,52596.94); h_SL1L362->SetBinContent(4,50923.47); h_SL1L362->SetBinContent(5,55479.59); h_SL1L362->SetBinContent(6,55219.39); h_SL1L362->SetBinContent(7,53750); h_SL1L362->SetBinContent(8,53811.22); h_SL1L362->SetBinContent(9,48561.22); h_SL1L362->SetBinContent(10,45454.08); h_SL1L362->SetBinContent(11,45285.71); h_SL1L362->SetBinContent(12,47346.94); h_SL1L362->SetBinContent(13,49540.82); h_SL1L362->SetBinContent(14,50877.55); h_SL1L362->SetBinContent(15,50438.77); h_SL1L362->SetBinContent(16,48892.86); h_SL1L362->SetBinContent(17,50622.45); h_SL1L362->SetBinContent(18,52678.57); h_SL1L362->SetBinContent(19,53959.18); h_SL1L362->SetBinContent(20,54265.3); h_SL1L362->SetBinContent(21,56071.43); h_SL1L362->SetBinContent(22,57239.8); h_SL1L362->SetBinContent(23,57137.75); h_SL1L362->SetBinContent(24,57035.71); h_SL1L362->SetBinContent(25,56658.16); h_SL1L362->SetBinContent(26,53316.32); h_SL1L362->SetBinContent(27,54025.51); h_SL1L362->SetBinContent(28,55163.27); h_SL1L362->SetBinContent(29,55076.53); h_SL1L362->SetBinContent(30,54540.82); h_SL1L362->SetBinContent(31,53280.61); h_SL1L362->SetBinContent(32,54734.69); h_SL1L362->SetBinContent(33,81984.7); h_SL1L362->SetBinContent(34,100826.5); h_SL1L362->SetBinContent(35,107183.7); h_SL1L362->SetBinContent(36,109648); h_SL1L362->SetBinContent(37,110648); h_SL1L362->SetBinContent(38,103770.4); h_SL1L362->SetBinContent(39,80219.39); h_SL1L362->SetBinContent(40,50698.98); h_SL1L362->SetBinContent(41,47933.67); h_SL1L362->SetBinContent(42,46219.39); h_SL1L362->SetBinContent(43,45882.65); h_SL1L362->SetBinContent(44,45112.25); h_SL1L362->SetBinContent(45,45239.8); h_SL1L362->SetBinContent(46,44520.41); h_SL1L362->SetBinContent(47,44739.8); h_SL1L362->SetBinContent(48,42653.06); h_SL1L362->SetBinContent(49,42321.43); h_SL1L362->SetBinContent(50,41392.86); h_SL1L362->SetBinContent(51,39908.16); h_SL1L362->SetBinContent(52,40520.41); h_SL1L362->SetBinContent(53,41709.18); h_SL1L362->SetBinContent(54,39459.18); h_SL1L362->SetBinContent(55,41301.02); h_SL1L362->SetBinContent(56,40882.65); h_SL1L362->SetBinContent(57,40270.41); h_SL1L362->SetBinContent(58,37785.71); h_SL1L362->SetBinContent(59,38505.1); h_SL1L362->SetMaximum(129357.4); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,37341.84); h_SL1L463->SetBinContent(3,34000); h_SL1L463->SetBinContent(4,32913.27); h_SL1L463->SetBinContent(5,30198.98); h_SL1L463->SetBinContent(6,32000); h_SL1L463->SetBinContent(7,31173.47); h_SL1L463->SetBinContent(8,32887.75); h_SL1L463->SetBinContent(9,33301.02); h_SL1L463->SetBinContent(10,34413.27); h_SL1L463->SetBinContent(11,34163.27); h_SL1L463->SetBinContent(12,34892.86); h_SL1L463->SetBinContent(13,35887.75); h_SL1L463->SetBinContent(14,37005.1); h_SL1L463->SetBinContent(15,36403.06); h_SL1L463->SetBinContent(16,35250); h_SL1L463->SetBinContent(17,32469.39); h_SL1L463->SetBinContent(18,30433.67); h_SL1L463->SetBinContent(19,30974.49); h_SL1L463->SetBinContent(20,30617.35); h_SL1L463->SetBinContent(21,30948.98); h_SL1L463->SetBinContent(22,31918.37); h_SL1L463->SetBinContent(23,31137.75); h_SL1L463->SetBinContent(24,32081.63); h_SL1L463->SetBinContent(25,30025.51); h_SL1L463->SetBinContent(26,30632.65); h_SL1L463->SetBinContent(27,28433.67); h_SL1L463->SetBinContent(28,28086.73); h_SL1L463->SetBinContent(29,26755.1); h_SL1L463->SetBinContent(30,27096.94); h_SL1L463->SetBinContent(31,26994.9); h_SL1L463->SetBinContent(32,25250); h_SL1L463->SetBinContent(33,25709.18); h_SL1L463->SetBinContent(34,32755.1); h_SL1L463->SetBinContent(35,35091.84); h_SL1L463->SetBinContent(36,34056.12); h_SL1L463->SetBinContent(37,30816.33); h_SL1L463->SetBinContent(38,33132.65); h_SL1L463->SetBinContent(39,31137.75); h_SL1L463->SetBinContent(40,20571.43); h_SL1L463->SetBinContent(41,18280.61); h_SL1L463->SetBinContent(42,18066.33); h_SL1L463->SetBinContent(43,18091.84); h_SL1L463->SetBinContent(44,17948.98); h_SL1L463->SetBinContent(45,16056.12); h_SL1L463->SetBinContent(46,16500); h_SL1L463->SetBinContent(47,16352.04); h_SL1L463->SetBinContent(48,15459.18); h_SL1L463->SetBinContent(49,14403.06); h_SL1L463->SetBinContent(50,15204.08); h_SL1L463->SetBinContent(51,15168.37); h_SL1L463->SetBinContent(52,15484.69); h_SL1L463->SetBinContent(53,15367.35); h_SL1L463->SetBinContent(54,14928.57); h_SL1L463->SetBinContent(56,16591.84); h_SL1L463->SetBinContent(57,19494.9); h_SL1L463->SetBinContent(58,24586.73); h_SL1L463->SetBinContent(59,25647.96); h_SL1L463->SetMaximum(129357.4); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6854"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }