void RatesPerCell_Removing_noisy_cells_run_6426_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:27:33 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6688.832,67.5,60199.48); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6426",60,0,60); h_SL1L160->SetBinContent(1,2523.81); h_SL1L160->SetBinContent(2,2909.524); h_SL1L160->SetBinContent(3,3104.762); h_SL1L160->SetBinContent(4,3200); h_SL1L160->SetBinContent(6,3133.333); h_SL1L160->SetBinContent(7,3928.571); h_SL1L160->SetBinContent(8,14.28571); h_SL1L160->SetBinContent(9,2671.428); h_SL1L160->SetBinContent(10,3533.333); h_SL1L160->SetBinContent(11,3276.19); h_SL1L160->SetBinContent(12,2847.619); h_SL1L160->SetBinContent(13,3190.476); h_SL1L160->SetBinContent(14,5133.333); h_SL1L160->SetBinContent(15,3714.286); h_SL1L160->SetBinContent(16,2628.571); h_SL1L160->SetBinContent(17,3009.524); h_SL1L160->SetBinContent(18,3752.381); h_SL1L160->SetBinContent(19,3119.048); h_SL1L160->SetBinContent(20,3309.524); h_SL1L160->SetBinContent(21,9495.238); h_SL1L160->SetBinContent(22,3409.524); h_SL1L160->SetBinContent(24,2657.143); h_SL1L160->SetBinContent(25,3433.333); h_SL1L160->SetBinContent(26,3700); h_SL1L160->SetBinContent(27,3638.095); h_SL1L160->SetBinContent(28,5061.905); h_SL1L160->SetBinContent(29,3580.952); h_SL1L160->SetBinContent(30,4371.429); h_SL1L160->SetBinContent(31,2466.667); h_SL1L160->SetBinContent(32,3161.905); h_SL1L160->SetBinContent(33,4376.19); h_SL1L160->SetBinContent(34,5361.905); h_SL1L160->SetBinContent(35,4033.333); h_SL1L160->SetBinContent(36,4685.714); h_SL1L160->SetBinContent(37,5100); h_SL1L160->SetBinContent(38,2761.905); h_SL1L160->SetBinContent(39,2547.619); h_SL1L160->SetBinContent(40,2509.524); h_SL1L160->SetBinContent(41,1657.143); h_SL1L160->SetBinContent(42,1100); h_SL1L160->SetBinContent(43,1209.524); h_SL1L160->SetBinContent(44,1380.952); h_SL1L160->SetBinContent(45,1409.524); h_SL1L160->SetBinContent(46,1557.143); h_SL1L160->SetBinContent(47,4271.429); h_SL1L160->SetBinContent(48,590.4762); h_SL1L160->SetBinContent(49,371.4286); h_SL1L160->SetMaximum(53510.65); 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(9,2442.857); h_SL1L261->SetBinContent(10,2604.762); h_SL1L261->SetBinContent(11,2871.428); h_SL1L261->SetBinContent(12,3542.857); h_SL1L261->SetBinContent(13,3157.143); h_SL1L261->SetBinContent(14,3266.667); h_SL1L261->SetBinContent(15,3271.428); h_SL1L261->SetBinContent(16,2400); h_SL1L261->SetBinContent(17,3371.428); h_SL1L261->SetBinContent(18,3200); h_SL1L261->SetBinContent(19,2738.095); h_SL1L261->SetBinContent(20,3195.238); h_SL1L261->SetBinContent(21,2509.524); h_SL1L261->SetBinContent(22,21828.57); h_SL1L261->SetBinContent(23,2742.857); h_SL1L261->SetBinContent(24,3804.762); h_SL1L261->SetBinContent(25,3952.381); h_SL1L261->SetBinContent(26,3004.762); h_SL1L261->SetBinContent(27,4285.714); h_SL1L261->SetBinContent(28,3609.524); h_SL1L261->SetBinContent(29,3028.571); h_SL1L261->SetBinContent(30,4561.905); h_SL1L261->SetBinContent(31,6766.667); h_SL1L261->SetBinContent(32,4942.857); h_SL1L261->SetBinContent(33,1942.857); h_SL1L261->SetBinContent(34,5290.476); h_SL1L261->SetBinContent(35,4609.524); h_SL1L261->SetBinContent(36,3400); h_SL1L261->SetBinContent(37,3566.667); h_SL1L261->SetBinContent(38,6147.619); h_SL1L261->SetBinContent(39,2695.238); h_SL1L261->SetBinContent(40,1776.19); h_SL1L261->SetBinContent(41,2371.428); h_SL1L261->SetBinContent(42,638.0952); h_SL1L261->SetBinContent(43,1119.048); h_SL1L261->SetBinContent(44,1219.048); h_SL1L261->SetBinContent(45,833.3333); h_SL1L261->SetBinContent(46,552.3809); h_SL1L261->SetBinContent(47,428.5714); h_SL1L261->SetBinContent(48,2519.048); h_SL1L261->SetBinContent(49,33080.95); h_SL1L261->SetMaximum(46531.19); 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,2261.905); h_SL1L362->SetBinContent(2,3295.238); h_SL1L362->SetBinContent(3,2742.857); h_SL1L362->SetBinContent(4,2790.476); h_SL1L362->SetBinContent(5,4095.238); h_SL1L362->SetBinContent(6,2985.714); h_SL1L362->SetBinContent(7,3080.952); h_SL1L362->SetBinContent(8,2528.571); h_SL1L362->SetBinContent(9,3004.762); h_SL1L362->SetBinContent(10,5161.905); h_SL1L362->SetBinContent(12,5233.333); h_SL1L362->SetBinContent(13,3733.333); h_SL1L362->SetBinContent(14,2695.238); h_SL1L362->SetBinContent(15,3166.667); h_SL1L362->SetBinContent(16,2523.81); h_SL1L362->SetBinContent(17,3038.095); h_SL1L362->SetBinContent(18,5276.19); h_SL1L362->SetBinContent(19,3490.476); h_SL1L362->SetBinContent(20,2404.762); h_SL1L362->SetBinContent(21,8757.143); h_SL1L362->SetBinContent(22,40461.91); h_SL1L362->SetBinContent(23,2971.428); h_SL1L362->SetBinContent(24,2780.952); h_SL1L362->SetBinContent(25,3352.381); h_SL1L362->SetBinContent(26,2957.143); h_SL1L362->SetBinContent(27,4061.905); h_SL1L362->SetBinContent(28,7161.905); h_SL1L362->SetBinContent(29,6457.143); h_SL1L362->SetBinContent(30,7642.857); h_SL1L362->SetBinContent(31,4738.095); h_SL1L362->SetBinContent(32,2014.286); h_SL1L362->SetBinContent(33,4433.333); h_SL1L362->SetBinContent(34,5142.857); h_SL1L362->SetBinContent(35,3738.095); h_SL1L362->SetBinContent(36,2895.238); h_SL1L362->SetBinContent(37,3690.476); h_SL1L362->SetBinContent(38,4247.619); h_SL1L362->SetBinContent(39,2466.667); h_SL1L362->SetBinContent(40,2728.571); h_SL1L362->SetBinContent(41,814.2857); h_SL1L362->SetBinContent(42,604.7619); h_SL1L362->SetBinContent(43,1195.238); h_SL1L362->SetBinContent(44,823.8095); h_SL1L362->SetBinContent(45,6300); h_SL1L362->SetBinContent(46,2642.857); h_SL1L362->SetBinContent(47,1814.286); h_SL1L362->SetBinContent(48,29252.38); h_SL1L362->SetBinContent(49,152.381); h_SL1L362->SetMaximum(46531.19); 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,2980.952); h_SL1L463->SetBinContent(3,3204.762); h_SL1L463->SetBinContent(4,2900); h_SL1L463->SetBinContent(5,4619.047); h_SL1L463->SetBinContent(6,3242.857); h_SL1L463->SetBinContent(7,5452.381); h_SL1L463->SetBinContent(8,4985.714); h_SL1L463->SetBinContent(9,2795.238); h_SL1L463->SetBinContent(10,2785.714); h_SL1L463->SetBinContent(11,3557.143); h_SL1L463->SetBinContent(12,5776.19); h_SL1L463->SetBinContent(13,2938.095); h_SL1L463->SetBinContent(14,2923.81); h_SL1L463->SetBinContent(15,2914.286); h_SL1L463->SetBinContent(16,3366.667); h_SL1L463->SetBinContent(17,4633.333); h_SL1L463->SetBinContent(18,3476.19); h_SL1L463->SetBinContent(19,3266.667); h_SL1L463->SetBinContent(20,3671.428); h_SL1L463->SetBinContent(21,4528.571); h_SL1L463->SetBinContent(22,15442.86); h_SL1L463->SetBinContent(23,3076.19); h_SL1L463->SetBinContent(24,2157.143); h_SL1L463->SetBinContent(25,3119.048); h_SL1L463->SetBinContent(26,3957.143); h_SL1L463->SetBinContent(27,3400); h_SL1L463->SetBinContent(28,4771.429); h_SL1L463->SetBinContent(29,3195.238); h_SL1L463->SetBinContent(30,4109.524); h_SL1L463->SetBinContent(31,4628.571); h_SL1L463->SetBinContent(32,3214.286); h_SL1L463->SetBinContent(33,2961.905); h_SL1L463->SetBinContent(34,4266.667); h_SL1L463->SetBinContent(35,1866.667); h_SL1L463->SetBinContent(36,3990.476); h_SL1L463->SetBinContent(37,2814.286); h_SL1L463->SetBinContent(38,2242.857); h_SL1L463->SetBinContent(39,9176.19); h_SL1L463->SetBinContent(40,1723.809); h_SL1L463->SetBinContent(41,1323.81); h_SL1L463->SetBinContent(42,1685.714); h_SL1L463->SetBinContent(43,2442.857); h_SL1L463->SetBinContent(44,1323.81); h_SL1L463->SetBinContent(45,1642.857); h_SL1L463->SetBinContent(46,1604.762); h_SL1L463->SetBinContent(47,2638.095); h_SL1L463->SetBinContent(48,1071.429); h_SL1L463->SetBinContent(49,4.761905); h_SL1L463->SetMaximum(46531.19); 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 6426"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }