void RatesPerCell_Removing_noisy_cells_run_7361_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:49:42 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8449.194,67.5,76042.74); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7361",60,0,60); h_SL1L160->SetBinContent(1,31646.43); h_SL1L160->SetBinContent(2,32725); h_SL1L160->SetBinContent(3,32414.29); h_SL1L160->SetBinContent(4,31335.71); h_SL1L160->SetBinContent(5,28514.29); h_SL1L160->SetBinContent(6,28757.14); h_SL1L160->SetBinContent(7,27853.57); h_SL1L160->SetBinContent(8,29150); h_SL1L160->SetBinContent(9,27685.71); h_SL1L160->SetBinContent(10,27439.29); h_SL1L160->SetBinContent(11,27453.57); h_SL1L160->SetBinContent(12,26371.43); h_SL1L160->SetBinContent(13,26610.71); h_SL1L160->SetBinContent(14,40607.14); h_SL1L160->SetBinContent(15,37610.71); h_SL1L160->SetBinContent(16,23510.71); h_SL1L160->SetBinContent(17,22317.86); h_SL1L160->SetBinContent(18,23503.57); h_SL1L160->SetBinContent(19,24500); h_SL1L160->SetBinContent(20,24089.29); h_SL1L160->SetBinContent(21,24107.14); h_SL1L160->SetBinContent(22,23346.43); h_SL1L160->SetBinContent(23,21775); h_SL1L160->SetBinContent(24,20796.43); h_SL1L160->SetBinContent(25,19942.86); h_SL1L160->SetBinContent(26,20039.29); h_SL1L160->SetBinContent(27,19096.43); h_SL1L160->SetBinContent(28,19692.86); h_SL1L160->SetBinContent(29,19203.57); h_SL1L160->SetBinContent(30,18328.57); h_SL1L160->SetBinContent(31,18478.57); h_SL1L160->SetBinContent(32,17478.57); h_SL1L160->SetBinContent(33,36896.43); h_SL1L160->SetBinContent(34,36757.14); h_SL1L160->SetBinContent(35,37089.29); h_SL1L160->SetBinContent(36,37335.71); h_SL1L160->SetBinContent(37,37803.57); h_SL1L160->SetBinContent(38,38028.57); h_SL1L160->SetBinContent(39,37782.14); h_SL1L160->SetBinContent(41,17271.43); h_SL1L160->SetBinContent(42,17653.57); h_SL1L160->SetBinContent(43,17257.14); h_SL1L160->SetBinContent(44,17296.43); h_SL1L160->SetBinContent(45,16528.57); h_SL1L160->SetBinContent(46,15671.43); h_SL1L160->SetBinContent(47,15864.29); h_SL1L160->SetBinContent(48,16460.71); h_SL1L160->SetBinContent(49,16667.86); h_SL1L160->SetBinContent(50,17707.14); h_SL1L160->SetBinContent(51,18060.71); h_SL1L160->SetBinContent(52,18000); h_SL1L160->SetBinContent(53,18221.43); h_SL1L160->SetBinContent(54,18117.86); h_SL1L160->SetBinContent(55,19175); h_SL1L160->SetBinContent(56,22439.29); h_SL1L160->SetMaximum(67593.55); 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,35939.29); h_SL1L261->SetBinContent(2,37257.14); h_SL1L261->SetBinContent(3,37578.57); h_SL1L261->SetBinContent(4,38721.43); h_SL1L261->SetBinContent(5,38442.86); h_SL1L261->SetBinContent(6,40253.57); h_SL1L261->SetBinContent(7,38164.29); h_SL1L261->SetBinContent(8,39171.43); h_SL1L261->SetBinContent(9,38800); h_SL1L261->SetBinContent(10,37667.86); h_SL1L261->SetBinContent(11,37650); h_SL1L261->SetBinContent(12,36910.71); h_SL1L261->SetBinContent(13,36942.86); h_SL1L261->SetBinContent(14,36375); h_SL1L261->SetBinContent(15,36146.43); h_SL1L261->SetBinContent(16,35335.71); h_SL1L261->SetBinContent(17,34685.71); h_SL1L261->SetBinContent(18,36685.71); h_SL1L261->SetBinContent(19,38364.29); h_SL1L261->SetBinContent(20,38850); h_SL1L261->SetBinContent(21,39925); h_SL1L261->SetBinContent(22,39450); h_SL1L261->SetBinContent(23,39196.43); h_SL1L261->SetBinContent(24,37914.29); h_SL1L261->SetBinContent(25,38496.43); h_SL1L261->SetBinContent(26,36500); h_SL1L261->SetBinContent(27,35153.57); h_SL1L261->SetBinContent(28,35817.86); h_SL1L261->SetBinContent(29,36275); h_SL1L261->SetBinContent(30,37778.57); h_SL1L261->SetBinContent(31,36682.14); h_SL1L261->SetBinContent(32,37117.86); h_SL1L261->SetBinContent(33,37228.57); h_SL1L261->SetBinContent(34,37578.57); h_SL1L261->SetBinContent(35,36807.14); h_SL1L261->SetBinContent(36,36992.86); h_SL1L261->SetBinContent(37,37135.71); h_SL1L261->SetBinContent(38,39042.86); h_SL1L261->SetBinContent(39,37710.71); h_SL1L261->SetBinContent(40,38375); h_SL1L261->SetBinContent(41,39371.43); h_SL1L261->SetBinContent(42,39732.14); h_SL1L261->SetBinContent(43,39975); h_SL1L261->SetBinContent(44,39960.71); h_SL1L261->SetBinContent(45,40364.29); h_SL1L261->SetBinContent(46,41617.86); h_SL1L261->SetBinContent(47,43057.14); h_SL1L261->SetBinContent(48,42350); h_SL1L261->SetBinContent(49,44089.29); h_SL1L261->SetBinContent(50,42589.29); h_SL1L261->SetBinContent(51,44003.57); h_SL1L261->SetBinContent(52,46521.43); h_SL1L261->SetBinContent(53,47442.86); h_SL1L261->SetBinContent(54,48657.14); h_SL1L261->SetBinContent(55,49421.43); h_SL1L261->SetBinContent(56,51110.71); h_SL1L261->SetMaximum(58777.32); 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,35357.14); h_SL1L362->SetBinContent(2,35642.86); h_SL1L362->SetBinContent(3,37103.57); h_SL1L362->SetBinContent(4,38421.43); h_SL1L362->SetBinContent(5,38289.29); h_SL1L362->SetBinContent(6,38214.29); h_SL1L362->SetBinContent(7,37517.86); h_SL1L362->SetBinContent(8,37896.43); h_SL1L362->SetBinContent(9,36871.43); h_SL1L362->SetBinContent(10,36935.71); h_SL1L362->SetBinContent(11,37021.43); h_SL1L362->SetBinContent(12,35925); h_SL1L362->SetBinContent(13,35785.71); h_SL1L362->SetBinContent(14,35478.57); h_SL1L362->SetBinContent(15,34489.29); h_SL1L362->SetBinContent(16,33982.14); h_SL1L362->SetBinContent(17,34739.29); h_SL1L362->SetBinContent(18,36767.86); h_SL1L362->SetBinContent(19,37903.57); h_SL1L362->SetBinContent(20,38671.43); h_SL1L362->SetBinContent(21,38592.86); h_SL1L362->SetBinContent(22,38439.29); h_SL1L362->SetBinContent(23,37967.86); h_SL1L362->SetBinContent(24,37575); h_SL1L362->SetBinContent(25,37182.14); h_SL1L362->SetBinContent(26,34725); h_SL1L362->SetBinContent(27,33792.86); h_SL1L362->SetBinContent(28,35467.86); h_SL1L362->SetBinContent(29,35982.14); h_SL1L362->SetBinContent(30,36625); h_SL1L362->SetBinContent(31,35875); h_SL1L362->SetBinContent(32,36050); h_SL1L362->SetBinContent(33,36339.29); h_SL1L362->SetBinContent(34,36253.57); h_SL1L362->SetBinContent(35,36071.43); h_SL1L362->SetBinContent(36,36300); h_SL1L362->SetBinContent(37,37632.14); h_SL1L362->SetBinContent(38,37821.43); h_SL1L362->SetBinContent(39,37875); h_SL1L362->SetBinContent(40,37950); h_SL1L362->SetBinContent(41,38221.43); h_SL1L362->SetBinContent(42,39585.71); h_SL1L362->SetBinContent(43,38946.43); h_SL1L362->SetBinContent(44,38357.14); h_SL1L362->SetBinContent(45,40260.71); h_SL1L362->SetBinContent(46,41285.71); h_SL1L362->SetBinContent(47,42285.71); h_SL1L362->SetBinContent(48,42564.29); h_SL1L362->SetBinContent(49,43575); h_SL1L362->SetBinContent(50,42214.29); h_SL1L362->SetBinContent(51,43410.71); h_SL1L362->SetBinContent(52,45675); h_SL1L362->SetBinContent(53,47835.71); h_SL1L362->SetBinContent(54,47835.71); h_SL1L362->SetBinContent(55,50178.57); h_SL1L362->SetBinContent(56,50975); h_SL1L362->SetMaximum(58777.32); 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,28660.71); h_SL1L463->SetBinContent(3,26546.43); h_SL1L463->SetBinContent(4,25525); h_SL1L463->SetBinContent(5,23732.14); h_SL1L463->SetBinContent(6,24146.43); h_SL1L463->SetBinContent(7,23982.14); h_SL1L463->SetBinContent(8,24207.14); h_SL1L463->SetBinContent(9,25775); h_SL1L463->SetBinContent(10,26025); h_SL1L463->SetBinContent(11,27782.14); h_SL1L463->SetBinContent(12,28342.86); h_SL1L463->SetBinContent(13,27475); h_SL1L463->SetBinContent(14,28610.71); h_SL1L463->SetBinContent(15,49792.86); h_SL1L463->SetBinContent(16,31121.43); h_SL1L463->SetBinContent(17,24425); h_SL1L463->SetBinContent(18,24910.71); h_SL1L463->SetBinContent(19,25514.29); h_SL1L463->SetBinContent(20,25867.86); h_SL1L463->SetBinContent(21,25153.57); h_SL1L463->SetBinContent(22,25350); h_SL1L463->SetBinContent(23,24082.14); h_SL1L463->SetBinContent(24,23796.43); h_SL1L463->SetBinContent(25,21842.86); h_SL1L463->SetBinContent(26,21382.14); h_SL1L463->SetBinContent(27,20471.43); h_SL1L463->SetBinContent(28,19982.14); h_SL1L463->SetBinContent(29,19346.43); h_SL1L463->SetBinContent(30,20396.43); h_SL1L463->SetBinContent(31,19210.71); h_SL1L463->SetBinContent(32,18846.43); h_SL1L463->SetBinContent(33,17835.71); h_SL1L463->SetBinContent(34,19260.71); h_SL1L463->SetBinContent(35,19250); h_SL1L463->SetBinContent(36,18096.43); h_SL1L463->SetBinContent(37,17.85714); h_SL1L463->SetBinContent(38,3.571429); h_SL1L463->SetBinContent(41,16825); h_SL1L463->SetBinContent(42,16939.29); h_SL1L463->SetBinContent(43,17607.14); h_SL1L463->SetBinContent(44,17289.29); h_SL1L463->SetBinContent(45,16075); h_SL1L463->SetBinContent(46,17189.29); h_SL1L463->SetBinContent(47,15778.57); h_SL1L463->SetBinContent(48,15500); h_SL1L463->SetBinContent(49,15653.57); h_SL1L463->SetBinContent(50,16167.86); h_SL1L463->SetBinContent(51,16650); h_SL1L463->SetBinContent(52,16750); h_SL1L463->SetBinContent(53,16782.14); h_SL1L463->SetBinContent(54,16610.71); h_SL1L463->SetBinContent(56,19085.71); h_SL1L463->SetMaximum(58777.32); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 7361"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }