void RatesPerCell_Removing_noisy_cells_run_7346_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:41:53 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2941.125,67.5,26470.13); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7346",60,0,60); h_SL1L160->SetBinContent(1,2904.762); h_SL1L160->SetBinContent(2,3851.191); h_SL1L160->SetBinContent(3,4398.81); h_SL1L160->SetBinContent(4,5446.429); h_SL1L160->SetBinContent(5,5755.953); h_SL1L160->SetBinContent(6,6357.143); h_SL1L160->SetBinContent(7,6416.667); h_SL1L160->SetBinContent(8,6339.286); h_SL1L160->SetBinContent(9,6892.857); h_SL1L160->SetBinContent(10,6744.048); h_SL1L160->SetBinContent(11,6464.286); h_SL1L160->SetBinContent(12,6321.429); h_SL1L160->SetBinContent(13,11178.57); h_SL1L160->SetBinContent(14,13434.52); h_SL1L160->SetBinContent(15,12613.1); h_SL1L160->SetBinContent(16,6553.572); h_SL1L160->SetBinContent(17,7107.143); h_SL1L160->SetBinContent(18,7297.619); h_SL1L160->SetBinContent(19,6511.905); h_SL1L160->SetBinContent(20,6785.714); h_SL1L160->SetBinContent(21,6982.143); h_SL1L160->SetBinContent(22,7232.143); h_SL1L160->SetBinContent(23,6815.477); h_SL1L160->SetBinContent(24,7125); h_SL1L160->SetBinContent(25,7184.524); h_SL1L160->SetBinContent(26,7380.953); h_SL1L160->SetBinContent(27,6345.238); h_SL1L160->SetBinContent(28,7255.953); h_SL1L160->SetBinContent(29,7214.286); h_SL1L160->SetBinContent(30,7833.333); h_SL1L160->SetBinContent(31,7315.477); h_SL1L160->SetBinContent(32,7642.857); h_SL1L160->SetBinContent(33,8047.619); h_SL1L160->SetBinContent(34,7886.905); h_SL1L160->SetBinContent(35,7178.572); h_SL1L160->SetBinContent(36,7214.286); h_SL1L160->SetBinContent(37,7333.333); h_SL1L160->SetBinContent(38,7500); h_SL1L160->SetBinContent(39,7041.667); h_SL1L160->SetBinContent(41,7059.524); h_SL1L160->SetBinContent(42,7107.143); h_SL1L160->SetBinContent(43,6476.19); h_SL1L160->SetBinContent(44,6404.762); h_SL1L160->SetBinContent(45,6565.477); h_SL1L160->SetBinContent(46,6982.143); h_SL1L160->SetBinContent(47,5297.619); h_SL1L160->SetBinContent(48,5017.857); h_SL1L160->SetBinContent(49,4964.286); h_SL1L160->SetBinContent(50,5321.429); h_SL1L160->SetBinContent(51,4851.19); h_SL1L160->SetBinContent(52,4922.619); h_SL1L160->SetBinContent(53,5595.238); h_SL1L160->SetBinContent(54,4803.572); h_SL1L160->SetBinContent(55,4261.905); h_SL1L160->SetBinContent(56,3875); h_SL1L160->SetMaximum(23529); 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,202.381); h_SL1L261->SetBinContent(2,321.4286); h_SL1L261->SetBinContent(3,1107.143); h_SL1L261->SetBinContent(4,375); h_SL1L261->SetBinContent(5,446.4286); h_SL1L261->SetBinContent(6,321.4286); h_SL1L261->SetBinContent(7,351.1905); h_SL1L261->SetBinContent(8,315.4762); h_SL1L261->SetBinContent(9,13071.43); h_SL1L261->SetBinContent(10,380.9524); h_SL1L261->SetBinContent(11,505.9524); h_SL1L261->SetBinContent(12,357.1429); h_SL1L261->SetBinContent(13,470.2381); h_SL1L261->SetBinContent(14,1220.238); h_SL1L261->SetBinContent(15,1380.952); h_SL1L261->SetBinContent(16,678.5715); h_SL1L261->SetBinContent(17,369.0476); h_SL1L261->SetBinContent(18,398.8095); h_SL1L261->SetBinContent(19,440.4762); h_SL1L261->SetBinContent(20,392.8571); h_SL1L261->SetBinContent(21,434.5238); h_SL1L261->SetBinContent(22,494.0476); h_SL1L261->SetBinContent(23,488.0952); h_SL1L261->SetBinContent(24,416.6667); h_SL1L261->SetBinContent(25,357.1429); h_SL1L261->SetBinContent(26,392.8571); h_SL1L261->SetBinContent(27,380.9524); h_SL1L261->SetBinContent(28,482.1429); h_SL1L261->SetBinContent(29,416.6667); h_SL1L261->SetBinContent(30,369.0476); h_SL1L261->SetBinContent(31,446.4286); h_SL1L261->SetBinContent(32,398.8095); h_SL1L261->SetBinContent(33,571.4286); h_SL1L261->SetBinContent(34,511.9048); h_SL1L261->SetBinContent(35,452.381); h_SL1L261->SetBinContent(36,458.3333); h_SL1L261->SetBinContent(37,339.2857); h_SL1L261->SetBinContent(38,458.3333); h_SL1L261->SetBinContent(39,416.6667); h_SL1L261->SetBinContent(40,470.2381); h_SL1L261->SetBinContent(41,410.7143); h_SL1L261->SetBinContent(42,339.2857); h_SL1L261->SetBinContent(43,476.1905); h_SL1L261->SetBinContent(44,398.8095); h_SL1L261->SetBinContent(45,392.8571); h_SL1L261->SetBinContent(46,446.4286); h_SL1L261->SetBinContent(47,327.381); h_SL1L261->SetBinContent(48,255.9524); h_SL1L261->SetBinContent(49,261.9048); h_SL1L261->SetBinContent(50,273.8095); h_SL1L261->SetBinContent(51,291.6667); h_SL1L261->SetBinContent(52,345.2381); h_SL1L261->SetBinContent(53,261.9048); h_SL1L261->SetBinContent(54,321.4286); h_SL1L261->SetBinContent(55,261.9048); h_SL1L261->SetBinContent(56,220.2381); h_SL1L261->SetMaximum(20460.42); 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,3065.476); h_SL1L362->SetBinContent(2,4059.524); h_SL1L362->SetBinContent(3,4785.714); h_SL1L362->SetBinContent(4,5785.714); h_SL1L362->SetBinContent(5,6261.905); h_SL1L362->SetBinContent(6,6625); h_SL1L362->SetBinContent(7,6708.333); h_SL1L362->SetBinContent(8,7083.333); h_SL1L362->SetBinContent(9,7291.667); h_SL1L362->SetBinContent(10,6732.143); h_SL1L362->SetBinContent(11,6702.381); h_SL1L362->SetBinContent(12,6958.333); h_SL1L362->SetBinContent(13,7482.143); h_SL1L362->SetBinContent(14,8726.19); h_SL1L362->SetBinContent(15,10190.48); h_SL1L362->SetBinContent(16,7214.286); h_SL1L362->SetBinContent(17,7446.429); h_SL1L362->SetBinContent(18,7392.857); h_SL1L362->SetBinContent(19,7077.381); h_SL1L362->SetBinContent(20,7380.953); h_SL1L362->SetBinContent(21,7535.714); h_SL1L362->SetBinContent(22,7041.667); h_SL1L362->SetBinContent(23,7226.191); h_SL1L362->SetBinContent(24,7315.477); h_SL1L362->SetBinContent(25,7583.333); h_SL1L362->SetBinContent(26,7434.524); h_SL1L362->SetBinContent(27,6982.143); h_SL1L362->SetBinContent(28,7476.191); h_SL1L362->SetBinContent(29,7660.714); h_SL1L362->SetBinContent(30,7482.143); h_SL1L362->SetBinContent(31,7607.143); h_SL1L362->SetBinContent(32,8309.524); h_SL1L362->SetBinContent(33,8255.952); h_SL1L362->SetBinContent(34,8333.334); h_SL1L362->SetBinContent(35,7226.191); h_SL1L362->SetBinContent(36,7464.286); h_SL1L362->SetBinContent(37,7970.238); h_SL1L362->SetBinContent(38,7529.762); h_SL1L362->SetBinContent(39,7434.524); h_SL1L362->SetBinContent(40,7333.333); h_SL1L362->SetBinContent(41,7529.762); h_SL1L362->SetBinContent(42,7339.286); h_SL1L362->SetBinContent(43,6517.857); h_SL1L362->SetBinContent(44,6761.905); h_SL1L362->SetBinContent(45,7065.477); h_SL1L362->SetBinContent(46,6970.238); h_SL1L362->SetBinContent(47,5470.238); h_SL1L362->SetBinContent(48,5261.905); h_SL1L362->SetBinContent(49,5452.381); h_SL1L362->SetBinContent(50,5273.81); h_SL1L362->SetBinContent(51,4845.238); h_SL1L362->SetBinContent(52,5375); h_SL1L362->SetBinContent(53,5672.619); h_SL1L362->SetBinContent(54,5190.477); h_SL1L362->SetBinContent(55,4571.429); h_SL1L362->SetBinContent(56,4434.524); h_SL1L362->SetMaximum(20460.42); 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,3166.667); h_SL1L463->SetBinContent(3,4428.572); h_SL1L463->SetBinContent(4,5148.81); h_SL1L463->SetBinContent(5,6577.381); h_SL1L463->SetBinContent(6,6196.429); h_SL1L463->SetBinContent(7,6369.048); h_SL1L463->SetBinContent(8,6928.572); h_SL1L463->SetBinContent(9,7101.191); h_SL1L463->SetBinContent(10,6839.286); h_SL1L463->SetBinContent(11,6500); h_SL1L463->SetBinContent(12,6630.953); h_SL1L463->SetBinContent(13,7273.81); h_SL1L463->SetBinContent(14,17791.67); h_SL1L463->SetBinContent(15,12904.76); h_SL1L463->SetBinContent(16,11416.67); h_SL1L463->SetBinContent(17,6851.191); h_SL1L463->SetBinContent(18,7470.238); h_SL1L463->SetBinContent(19,6934.524); h_SL1L463->SetBinContent(20,7273.81); h_SL1L463->SetBinContent(21,7482.143); h_SL1L463->SetBinContent(22,7166.667); h_SL1L463->SetBinContent(23,6916.667); h_SL1L463->SetBinContent(24,7285.714); h_SL1L463->SetBinContent(25,7500); h_SL1L463->SetBinContent(26,7482.143); h_SL1L463->SetBinContent(27,7148.81); h_SL1L463->SetBinContent(28,7303.572); h_SL1L463->SetBinContent(29,7696.429); h_SL1L463->SetBinContent(30,7785.714); h_SL1L463->SetBinContent(31,7428.572); h_SL1L463->SetBinContent(32,7797.619); h_SL1L463->SetBinContent(33,8208.334); h_SL1L463->SetBinContent(34,8434.524); h_SL1L463->SetBinContent(35,7678.572); h_SL1L463->SetBinContent(36,7273.81); h_SL1L463->SetBinContent(41,7214.286); h_SL1L463->SetBinContent(42,7345.238); h_SL1L463->SetBinContent(43,6803.572); h_SL1L463->SetBinContent(44,6863.095); h_SL1L463->SetBinContent(45,6970.238); h_SL1L463->SetBinContent(46,6898.81); h_SL1L463->SetBinContent(47,6119.048); h_SL1L463->SetBinContent(48,5333.333); h_SL1L463->SetBinContent(49,5285.714); h_SL1L463->SetBinContent(50,5351.19); h_SL1L463->SetBinContent(51,4863.095); h_SL1L463->SetBinContent(52,4940.477); h_SL1L463->SetBinContent(53,5773.81); h_SL1L463->SetBinContent(54,5351.19); h_SL1L463->SetBinContent(56,4928.572); h_SL1L463->SetMaximum(20460.42); 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 7346"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }