void RatesPerCell_Removing_noisy_cells_run_6828_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:18 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12861.31,67.5,115751.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 6828",60,0,60); h_SL2L164->SetBinContent(1,47350); h_SL2L164->SetBinContent(2,58771.43); h_SL2L164->SetBinContent(3,72503.57); h_SL2L164->SetBinContent(4,72317.86); h_SL2L164->SetBinContent(5,70707.14); h_SL2L164->SetBinContent(6,66371.43); h_SL2L164->SetBinContent(7,58475); h_SL2L164->SetBinContent(8,56757.14); h_SL2L164->SetBinContent(9,65864.28); h_SL2L164->SetBinContent(10,66878.57); h_SL2L164->SetBinContent(11,67000); h_SL2L164->SetBinContent(12,65746.43); h_SL2L164->SetBinContent(13,65935.71); h_SL2L164->SetBinContent(14,66050); h_SL2L164->SetBinContent(15,63707.14); h_SL2L164->SetBinContent(16,61767.86); h_SL2L164->SetBinContent(17,60128.57); h_SL2L164->SetBinContent(18,58892.86); h_SL2L164->SetBinContent(19,56346.43); h_SL2L164->SetBinContent(20,52557.14); h_SL2L164->SetBinContent(21,48282.14); h_SL2L164->SetBinContent(22,44085.71); h_SL2L164->SetBinContent(23,42442.86); h_SL2L164->SetBinContent(24,40314.29); h_SL2L164->SetBinContent(25,42807.14); h_SL2L164->SetBinContent(26,57282.14); h_SL2L164->SetBinContent(27,69350); h_SL2L164->SetBinContent(28,74878.57); h_SL2L164->SetBinContent(29,77800); h_SL2L164->SetBinContent(30,73328.57); h_SL2L164->SetBinContent(31,69289.28); h_SL2L164->SetBinContent(32,70628.57); h_SL2L164->SetBinContent(33,69496.43); h_SL2L164->SetBinContent(34,49442.86); h_SL2L164->SetBinContent(36,26125); h_SL2L164->SetBinContent(37,27332.14); h_SL2L164->SetBinContent(38,27250); h_SL2L164->SetBinContent(39,26514.29); h_SL2L164->SetBinContent(40,50235.71); h_SL2L164->SetBinContent(41,50125); h_SL2L164->SetBinContent(42,27617.86); h_SL2L164->SetBinContent(43,28060.71); h_SL2L164->SetBinContent(44,28035.71); h_SL2L164->SetBinContent(45,22553.57); h_SL2L164->SetBinContent(46,21446.43); h_SL2L164->SetBinContent(47,21375); h_SL2L164->SetBinContent(48,22457.14); h_SL2L164->SetBinContent(49,23039.29); h_SL2L164->SetBinContent(50,21767.86); h_SL2L164->SetBinContent(51,23707.14); h_SL2L164->SetBinContent(52,26892.86); h_SL2L164->SetBinContent(53,29728.57); h_SL2L164->SetBinContent(54,31839.29); h_SL2L164->SetBinContent(55,32046.43); h_SL2L164->SetBinContent(56,27807.14); h_SL2L164->SetBinContent(57,23457.14); h_SL2L164->SetMaximum(102890.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,38864.29); h_SL2L265->SetBinContent(2,56246.43); h_SL2L265->SetBinContent(3,62685.71); h_SL2L265->SetBinContent(4,71225); h_SL2L265->SetBinContent(5,69264.28); h_SL2L265->SetBinContent(6,66142.86); h_SL2L265->SetBinContent(7,59950); h_SL2L265->SetBinContent(8,53814.29); h_SL2L265->SetBinContent(9,61000); h_SL2L265->SetBinContent(10,64150); h_SL2L265->SetBinContent(11,65242.86); h_SL2L265->SetBinContent(12,63675); h_SL2L265->SetBinContent(13,64314.29); h_SL2L265->SetBinContent(14,63407.14); h_SL2L265->SetBinContent(15,62014.29); h_SL2L265->SetBinContent(16,61557.14); h_SL2L265->SetBinContent(17,58196.43); h_SL2L265->SetBinContent(18,57517.86); h_SL2L265->SetBinContent(19,55946.43); h_SL2L265->SetBinContent(20,51932.14); h_SL2L265->SetBinContent(21,48442.86); h_SL2L265->SetBinContent(22,44317.86); h_SL2L265->SetBinContent(23,41560.71); h_SL2L265->SetBinContent(24,40517.86); h_SL2L265->SetBinContent(25,38275); h_SL2L265->SetBinContent(26,48292.86); h_SL2L265->SetBinContent(27,62239.29); h_SL2L265->SetBinContent(28,72192.86); h_SL2L265->SetBinContent(29,75507.14); h_SL2L265->SetBinContent(30,74617.86); h_SL2L265->SetBinContent(31,68867.86); h_SL2L265->SetBinContent(32,68957.14); h_SL2L265->SetBinContent(33,69028.57); h_SL2L265->SetBinContent(34,61353.57); h_SL2L265->SetBinContent(35,36775); h_SL2L265->SetBinContent(36,26946.43); h_SL2L265->SetBinContent(37,25578.57); h_SL2L265->SetBinContent(38,25621.43); h_SL2L265->SetBinContent(39,25335.71); h_SL2L265->SetBinContent(40,25596.43); h_SL2L265->SetBinContent(41,24828.57); h_SL2L265->SetBinContent(42,23785.71); h_SL2L265->SetBinContent(43,22903.57); h_SL2L265->SetBinContent(44,23135.71); h_SL2L265->SetBinContent(45,22035.71); h_SL2L265->SetBinContent(46,20925); h_SL2L265->SetBinContent(47,21025); h_SL2L265->SetBinContent(48,21467.86); h_SL2L265->SetBinContent(49,21314.29); h_SL2L265->SetBinContent(50,22778.57); h_SL2L265->SetBinContent(51,20789.29); h_SL2L265->SetBinContent(52,25167.86); h_SL2L265->SetBinContent(53,27300); h_SL2L265->SetBinContent(54,28928.57); h_SL2L265->SetBinContent(55,30885.71); h_SL2L265->SetBinContent(56,27789.29); h_SL2L265->SetBinContent(57,26600); h_SL2L265->SetMaximum(89470); 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,45264.29); h_SL2L366->SetBinContent(2,54732.14); h_SL2L366->SetBinContent(3,67460.71); h_SL2L366->SetBinContent(4,67428.57); h_SL2L366->SetBinContent(5,65689.28); h_SL2L366->SetBinContent(6,61285.71); h_SL2L366->SetBinContent(7,53628.57); h_SL2L366->SetBinContent(8,54560.71); h_SL2L366->SetBinContent(9,61957.14); h_SL2L366->SetBinContent(10,63003.57); h_SL2L366->SetBinContent(11,63400); h_SL2L366->SetBinContent(12,60450); h_SL2L366->SetBinContent(13,60957.14); h_SL2L366->SetBinContent(14,60489.29); h_SL2L366->SetBinContent(15,58585.71); h_SL2L366->SetBinContent(16,57478.57); h_SL2L366->SetBinContent(17,55357.14); h_SL2L366->SetBinContent(18,54182.14); h_SL2L366->SetBinContent(19,51892.86); h_SL2L366->SetBinContent(20,48935.71); h_SL2L366->SetBinContent(21,44232.14); h_SL2L366->SetBinContent(22,41232.14); h_SL2L366->SetBinContent(23,39417.86); h_SL2L366->SetBinContent(24,37453.57); h_SL2L366->SetBinContent(25,39760.71); h_SL2L366->SetBinContent(26,55635.71); h_SL2L366->SetBinContent(27,67046.43); h_SL2L366->SetBinContent(28,73300); h_SL2L366->SetBinContent(29,75735.71); h_SL2L366->SetBinContent(30,71192.86); h_SL2L366->SetBinContent(31,67875); h_SL2L366->SetBinContent(32,67971.43); h_SL2L366->SetBinContent(33,66692.86); h_SL2L366->SetBinContent(34,48435.71); h_SL2L366->SetBinContent(35,28100); h_SL2L366->SetBinContent(36,24328.57); h_SL2L366->SetBinContent(37,24496.43); h_SL2L366->SetBinContent(38,24132.14); h_SL2L366->SetBinContent(39,23582.14); h_SL2L366->SetBinContent(40,23832.14); h_SL2L366->SetBinContent(41,23342.86); h_SL2L366->SetBinContent(42,22096.43); h_SL2L366->SetBinContent(43,21932.14); h_SL2L366->SetBinContent(44,22121.43); h_SL2L366->SetBinContent(45,20446.43); h_SL2L366->SetBinContent(46,19442.86); h_SL2L366->SetBinContent(47,20017.86); h_SL2L366->SetBinContent(48,20307.14); h_SL2L366->SetBinContent(49,21282.14); h_SL2L366->SetBinContent(50,21010.71); h_SL2L366->SetBinContent(51,21550); h_SL2L366->SetBinContent(52,24689.29); h_SL2L366->SetBinContent(53,26764.29); h_SL2L366->SetBinContent(54,29171.43); h_SL2L366->SetBinContent(55,29628.57); h_SL2L366->SetBinContent(56,24882.14); h_SL2L366->SetBinContent(57,25185.71); h_SL2L366->SetMaximum(89470); 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,52432.14); h_SL2L467->SetBinContent(3,59114.29); h_SL2L467->SetBinContent(4,64646.43); h_SL2L467->SetBinContent(5,64207.14); h_SL2L467->SetBinContent(6,59439.29); h_SL2L467->SetBinContent(7,54757.14); h_SL2L467->SetBinContent(8,49075); h_SL2L467->SetBinContent(9,57432.14); h_SL2L467->SetBinContent(10,59985.71); h_SL2L467->SetBinContent(11,60757.14); h_SL2L467->SetBinContent(12,59032.14); h_SL2L467->SetBinContent(13,58703.57); h_SL2L467->SetBinContent(14,58635.71); h_SL2L467->SetBinContent(15,57282.14); h_SL2L467->SetBinContent(16,56446.43); h_SL2L467->SetBinContent(17,54103.57); h_SL2L467->SetBinContent(18,52564.29); h_SL2L467->SetBinContent(19,52371.43); h_SL2L467->SetBinContent(20,47614.29); h_SL2L467->SetBinContent(21,44725); h_SL2L467->SetBinContent(22,41242.86); h_SL2L467->SetBinContent(23,38467.86); h_SL2L467->SetBinContent(24,37157.14); h_SL2L467->SetBinContent(25,35357.14); h_SL2L467->SetBinContent(26,46210.71); h_SL2L467->SetBinContent(27,59546.43); h_SL2L467->SetBinContent(28,69650); h_SL2L467->SetBinContent(29,73428.57); h_SL2L467->SetBinContent(30,74157.14); h_SL2L467->SetBinContent(31,67575); h_SL2L467->SetBinContent(32,67764.28); h_SL2L467->SetBinContent(33,67592.86); h_SL2L467->SetBinContent(34,59375); h_SL2L467->SetBinContent(35,34278.57); h_SL2L467->SetBinContent(36,24364.29); h_SL2L467->SetBinContent(37,23817.86); h_SL2L467->SetBinContent(38,24496.43); h_SL2L467->SetBinContent(39,22985.71); h_SL2L467->SetBinContent(40,22864.29); h_SL2L467->SetBinContent(41,21657.14); h_SL2L467->SetBinContent(42,22132.14); h_SL2L467->SetBinContent(43,21560.71); h_SL2L467->SetBinContent(44,21142.86); h_SL2L467->SetBinContent(45,20657.14); h_SL2L467->SetBinContent(46,19539.29); h_SL2L467->SetBinContent(47,19410.71); h_SL2L467->SetBinContent(48,19560.71); h_SL2L467->SetBinContent(49,19714.29); h_SL2L467->SetBinContent(50,20553.57); h_SL2L467->SetBinContent(51,19721.43); h_SL2L467->SetBinContent(52,22125); h_SL2L467->SetBinContent(53,24746.43); h_SL2L467->SetBinContent(54,26885.71); h_SL2L467->SetBinContent(55,28825); h_SL2L467->SetBinContent(56,26142.86); h_SL2L467->SetBinContent(57,24217.86); h_SL2L467->SetMaximum(89470); 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 6828"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }