void RatesPerCell_Removing_noisy_cells_run_6646_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12441.28,67.5,111971.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6646",60,0,60); h_SL3L168->SetBinContent(1,4724.528); h_SL3L168->SetBinContent(2,3606.297); h_SL3L168->SetBinContent(4,5725.854); h_SL3L168->SetBinContent(5,5936.793); h_SL3L168->SetBinContent(6,6556.903); h_SL3L168->SetBinContent(7,6218.893); h_SL3L168->SetBinContent(8,6234.141); h_SL3L168->SetBinContent(9,6160.439); h_SL3L168->SetBinContent(10,5509.832); h_SL3L168->SetBinContent(11,5260.771); h_SL3L168->SetBinContent(12,5639.445); h_SL3L168->SetBinContent(13,5797.014); h_SL3L168->SetBinContent(14,6170.605); h_SL3L168->SetBinContent(15,6025.744); h_SL3L168->SetBinContent(16,6152.815); h_SL3L168->SetBinContent(17,6223.976); h_SL3L168->SetBinContent(18,6035.909); h_SL3L168->SetBinContent(19,6439.998); h_SL3L168->SetBinContent(20,6681.434); h_SL3L168->SetBinContent(21,6617.898); h_SL3L168->SetBinContent(22,7006.738); h_SL3L168->SetBinContent(23,7250.715); h_SL3L168->SetBinContent(24,7454.03); h_SL3L168->SetBinContent(25,7598.892); h_SL3L168->SetBinContent(26,7771.709); h_SL3L168->SetBinContent(27,7766.627); h_SL3L168->SetBinContent(28,7832.704); h_SL3L168->SetBinContent(29,8119.886); h_SL3L168->SetBinContent(30,8706.958); h_SL3L168->SetBinContent(31,9166.958); h_SL3L168->SetBinContent(32,9937.013); h_SL3L168->SetBinContent(33,13929.61); h_SL3L168->SetBinContent(34,43372.14); h_SL3L168->SetBinContent(35,62547.27); h_SL3L168->SetBinContent(36,66895.66); h_SL3L168->SetBinContent(37,71986.16); h_SL3L168->SetBinContent(38,75259.53); h_SL3L168->SetBinContent(39,69088.92); h_SL3L168->SetBinContent(40,45669.59); h_SL3L168->SetBinContent(41,13967.73); h_SL3L168->SetBinContent(42,9723.532); h_SL3L168->SetBinContent(43,7987.732); h_SL3L168->SetBinContent(44,7659.887); h_SL3L168->SetBinContent(45,7314.251); h_SL3L168->SetBinContent(46,6851.71); h_SL3L168->SetBinContent(47,6808.506); h_SL3L168->SetBinContent(48,6638.229); h_SL3L168->SetBinContent(49,23063.53); h_SL3L168->SetBinContent(50,6376.461); h_SL3L168->SetBinContent(51,6117.235); h_SL3L168->SetBinContent(52,5814.804); h_SL3L168->SetBinContent(53,5641.987); h_SL3L168->SetBinContent(54,5776.683); h_SL3L168->SetBinContent(55,5690.274); h_SL3L168->SetBinContent(56,5565.744); h_SL3L168->SetBinContent(57,5189.611); h_SL3L168->SetBinContent(58,4500.882); h_SL3L168->SetBinContent(59,3809.612); h_SL3L168->SetMaximum(99530.2); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,4968.506); h_SL3L269->SetBinContent(2,3540.22); h_SL3L269->SetBinContent(4,4902.429); h_SL3L269->SetBinContent(5,5695.357); h_SL3L269->SetBinContent(6,6127.401); h_SL3L269->SetBinContent(7,6114.694); h_SL3L269->SetBinContent(8,5969.832); h_SL3L269->SetBinContent(9,5916.462); h_SL3L269->SetBinContent(10,5593.7); h_SL3L269->SetBinContent(11,5164.197); h_SL3L269->SetBinContent(12,5334.473); h_SL3L269->SetBinContent(13,5413.258); h_SL3L269->SetBinContent(14,5761.434); h_SL3L269->SetBinContent(15,5776.683); h_SL3L269->SetBinContent(16,5901.213); h_SL3L269->SetBinContent(17,5830.053); h_SL3L269->SetBinContent(18,5542.871); h_SL3L269->SetBinContent(19,5728.396); h_SL3L269->SetBinContent(20,6292.594); h_SL3L269->SetBinContent(21,6356.13); h_SL3L269->SetBinContent(22,6661.103); h_SL3L269->SetBinContent(23,6821.213); h_SL3L269->SetBinContent(24,7258.34); h_SL3L269->SetBinContent(25,7095.688); h_SL3L269->SetBinContent(26,7042.318); h_SL3L269->SetBinContent(27,7398.119); h_SL3L269->SetBinContent(28,7263.422); h_SL3L269->SetBinContent(29,7499.776); h_SL3L269->SetBinContent(30,7929.279); h_SL3L269->SetBinContent(31,8539.224); h_SL3L269->SetBinContent(32,8806.074); h_SL3L269->SetBinContent(33,11835.46); h_SL3L269->SetBinContent(34,23480.32); h_SL3L269->SetBinContent(35,56450.36); h_SL3L269->SetBinContent(36,64300.86); h_SL3L269->SetBinContent(37,68351.91); h_SL3L269->SetBinContent(38,73691.46); h_SL3L269->SetBinContent(39,72967.16); h_SL3L269->SetBinContent(40,60953.79); h_SL3L269->SetBinContent(41,24529.94); h_SL3L269->SetBinContent(42,11431.38); h_SL3L269->SetBinContent(43,8447.731); h_SL3L269->SetBinContent(44,7703.091); h_SL3L269->SetBinContent(45,7324.417); h_SL3L269->SetBinContent(46,6638.229); h_SL3L269->SetBinContent(47,6373.92); h_SL3L269->SetBinContent(48,6371.379); h_SL3L269->SetBinContent(49,7898.781); h_SL3L269->SetBinContent(50,6297.677); h_SL3L269->SetBinContent(51,6051.158); h_SL3L269->SetBinContent(52,6076.572); h_SL3L269->SetBinContent(53,8188.505); h_SL3L269->SetBinContent(54,5443.755); h_SL3L269->SetBinContent(55,5311.6); h_SL3L269->SetBinContent(56,5626.738); h_SL3L269->SetBinContent(57,5118.451); h_SL3L269->SetBinContent(58,4777.899); h_SL3L269->SetBinContent(59,4012.927); h_SL3L269->SetMaximum(86548.46); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,4297.567); h_SL3L370->SetBinContent(2,3423.313); h_SL3L370->SetBinContent(3,3898.562); h_SL3L370->SetBinContent(4,5474.252); h_SL3L370->SetBinContent(5,5634.362); h_SL3L370->SetBinContent(6,5583.534); h_SL3L370->SetBinContent(7,5746.186); h_SL3L370->SetBinContent(8,5502.208); h_SL3L370->SetBinContent(9,5563.202); h_SL3L370->SetBinContent(10,4894.805); h_SL3L370->SetBinContent(11,5057.457); h_SL3L370->SetBinContent(12,5029.501); h_SL3L370->SetBinContent(13,5281.103); h_SL3L370->SetBinContent(14,5743.644); h_SL3L370->SetBinContent(15,5725.854); h_SL3L370->SetBinContent(16,5522.539); h_SL3L370->SetBinContent(17,5405.633); h_SL3L370->SetBinContent(18,5471.71); h_SL3L370->SetBinContent(19,5700.44); h_SL3L370->SetBinContent(20,5992.705); h_SL3L370->SetBinContent(21,6193.478); h_SL3L370->SetBinContent(22,6526.406); h_SL3L370->SetBinContent(23,6821.213); h_SL3L370->SetBinContent(24,6978.782); h_SL3L370->SetBinContent(25,6849.168); h_SL3L370->SetBinContent(26,7123.644); h_SL3L370->SetBinContent(27,7151.6); h_SL3L370->SetBinContent(28,7044.859); h_SL3L370->SetBinContent(29,7179.555); h_SL3L370->SetBinContent(30,7975.024); h_SL3L370->SetBinContent(31,8455.355); h_SL3L370->SetBinContent(32,9545.632); h_SL3L370->SetBinContent(33,13530.6); h_SL3L370->SetBinContent(34,42497.88); h_SL3L370->SetBinContent(35,61307.05); h_SL3L370->SetBinContent(36,66232.35); h_SL3L370->SetBinContent(37,70705.27); h_SL3L370->SetBinContent(38,73833.78); h_SL3L370->SetBinContent(39,68423.07); h_SL3L370->SetBinContent(40,44922.41); h_SL3L370->SetBinContent(41,13406.07); h_SL3L370->SetBinContent(42,9085.632); h_SL3L370->SetBinContent(43,7624.307); h_SL3L370->SetBinContent(44,7100.771); h_SL3L370->SetBinContent(45,1026.74); h_SL3L370->SetBinContent(46,6376.461); h_SL3L370->SetBinContent(47,6178.229); h_SL3L370->SetBinContent(48,6079.114); h_SL3L370->SetBinContent(49,5990.164); h_SL3L370->SetBinContent(50,5967.291); h_SL3L370->SetBinContent(51,5680.108); h_SL3L370->SetBinContent(52,5232.815); h_SL3L370->SetBinContent(53,5334.473); h_SL3L370->SetBinContent(54,5204.86); h_SL3L370->SetBinContent(55,5212.484); h_SL3L370->SetBinContent(56,4973.589); h_SL3L370->SetBinContent(57,4879.556); h_SL3L370->SetBinContent(58,3972.264); h_SL3L370->SetBinContent(59,3809.612); h_SL3L370->SetMaximum(86548.46); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,3362.319); h_SL3L471->SetBinContent(3,3545.302); h_SL3L471->SetBinContent(4,4422.098); h_SL3L471->SetBinContent(5,5174.363); h_SL3L471->SetBinContent(6,5451.379); h_SL3L471->SetBinContent(7,5649.611); h_SL3L471->SetBinContent(8,5357.346); h_SL3L471->SetBinContent(9,5123.534); h_SL3L471->SetBinContent(10,5039.667); h_SL3L471->SetBinContent(11,4729.611); h_SL3L471->SetBinContent(12,4838.893); h_SL3L471->SetBinContent(13,5014.252); h_SL3L471->SetBinContent(14,5263.313); h_SL3L471->SetBinContent(15,5070.164); h_SL3L471->SetBinContent(16,5375.136); h_SL3L471->SetBinContent(17,5039.667); h_SL3L471->SetBinContent(18,5372.595); h_SL3L471->SetBinContent(19,5677.567); h_SL3L471->SetBinContent(20,5893.589); h_SL3L471->SetBinContent(21,5657.235); h_SL3L471->SetBinContent(22,6264.639); h_SL3L471->SetBinContent(23,6325.633); h_SL3L471->SetBinContent(24,6546.738); h_SL3L471->SetBinContent(25,6681.434); h_SL3L471->SetBinContent(26,6719.555); h_SL3L471->SetBinContent(27,7049.942); h_SL3L471->SetBinContent(28,6528.948); h_SL3L471->SetBinContent(29,6833.92); h_SL3L471->SetBinContent(30,7553.146); h_SL3L471->SetBinContent(31,7779.334); h_SL3L471->SetBinContent(32,8442.648); h_SL3L471->SetBinContent(33,11393.25); h_SL3L471->SetBinContent(34,23101.65); h_SL3L471->SetBinContent(35,56330.92); h_SL3L471->SetBinContent(36,63548.59); h_SL3L471->SetBinContent(37,67945.28); h_SL3L471->SetBinContent(38,73424.61); h_SL3L471->SetBinContent(39,72601.19); h_SL3L471->SetBinContent(40,60689.48); h_SL3L471->SetBinContent(41,24235.13); h_SL3L471->SetBinContent(42,11088.28); h_SL3L471->SetBinContent(43,7715.798); h_SL3L471->SetBinContent(44,7314.251); h_SL3L471->SetBinContent(45,6844.086); h_SL3L471->SetBinContent(46,6635.688); h_SL3L471->SetBinContent(47,5705.522); h_SL3L471->SetBinContent(48,5995.246); h_SL3L471->SetBinContent(49,5509.832); h_SL3L471->SetBinContent(50,5903.754); h_SL3L471->SetBinContent(51,5532.705); h_SL3L471->SetBinContent(52,5268.396); h_SL3L471->SetBinContent(53,5288.727); h_SL3L471->SetBinContent(54,4965.965); h_SL3L471->SetBinContent(55,4831.269); h_SL3L471->SetBinContent(56,5230.274); h_SL3L471->SetBinContent(57,5001.545); h_SL3L471->SetBinContent(58,4627.954); h_SL3L471->SetBinContent(59,3972.264); h_SL3L471->SetMaximum(86548.46); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6646"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }