void RatesPerCell_Removing_noisy_cells_run_7056_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:08:02 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2251.844,67.5,20266.59); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7056",60,0,60); h_SL1L160->SetBinContent(1,2907.54); h_SL1L160->SetBinContent(2,3069.07); h_SL1L160->SetBinContent(3,4711.292); h_SL1L160->SetBinContent(4,4011.329); h_SL1L160->SetBinContent(5,4280.545); h_SL1L160->SetBinContent(6,4953.587); h_SL1L160->SetBinContent(7,4926.666); h_SL1L160->SetBinContent(8,4684.371); h_SL1L160->SetBinContent(9,5007.431); h_SL1L160->SetBinContent(10,5680.472); h_SL1L160->SetBinContent(11,5734.315); h_SL1L160->SetBinContent(12,5249.726); h_SL1L160->SetBinContent(13,8749.542); h_SL1L160->SetBinContent(14,11684); h_SL1L160->SetBinContent(15,10714.82); h_SL1L160->SetBinContent(16,5572.786); h_SL1L160->SetBinContent(17,5842.002); h_SL1L160->SetBinContent(18,6703.496); h_SL1L160->SetBinContent(19,5653.55); h_SL1L160->SetBinContent(20,5330.49); h_SL1L160->SetBinContent(21,6057.375); h_SL1L160->SetBinContent(22,6541.965); h_SL1L160->SetBinContent(23,6299.67); h_SL1L160->SetBinContent(24,5895.846); h_SL1L160->SetBinContent(25,6084.297); h_SL1L160->SetBinContent(26,6865.025); h_SL1L160->SetBinContent(27,5168.96); h_SL1L160->SetBinContent(28,6245.827); h_SL1L160->SetBinContent(29,5842.002); h_SL1L160->SetBinContent(30,6191.984); h_SL1L160->SetBinContent(31,5922.767); h_SL1L160->SetBinContent(32,5518.942); h_SL1L160->SetBinContent(49,5518.942); h_SL1L160->SetBinContent(50,6111.219); h_SL1L160->SetBinContent(51,4442.075); h_SL1L160->SetBinContent(52,4415.154); h_SL1L160->SetBinContent(53,5007.431); h_SL1L160->SetBinContent(54,5061.274); h_SL1L160->SetBinContent(55,3742.112); h_SL1L160->SetBinContent(56,3930.564); h_SL1L160->SetMaximum(18014.75); 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,349.9817); h_SL1L261->SetBinContent(2,861.4934); h_SL1L261->SetBinContent(3,1803.752); h_SL1L261->SetBinContent(4,646.1201); h_SL1L261->SetBinContent(5,457.6684); h_SL1L261->SetBinContent(6,511.5117); h_SL1L261->SetBinContent(7,646.1201); h_SL1L261->SetBinContent(8,403.825); h_SL1L261->SetBinContent(9,4845.9); h_SL1L261->SetBinContent(10,403.825); h_SL1L261->SetBinContent(11,753.8068); h_SL1L261->SetBinContent(12,484.59); h_SL1L261->SetBinContent(13,646.1201); h_SL1L261->SetBinContent(14,1130.71); h_SL1L261->SetBinContent(15,1399.927); h_SL1L261->SetBinContent(16,888.4151); h_SL1L261->SetBinContent(17,673.0417); h_SL1L261->SetBinContent(18,699.9634); h_SL1L261->SetBinContent(19,592.2767); h_SL1L261->SetBinContent(20,726.8851); h_SL1L261->SetBinContent(21,619.1984); h_SL1L261->SetBinContent(22,673.0417); h_SL1L261->SetBinContent(23,753.8068); h_SL1L261->SetBinContent(24,673.0417); h_SL1L261->SetBinContent(25,780.7284); h_SL1L261->SetBinContent(26,538.4333); h_SL1L261->SetBinContent(27,807.6501); h_SL1L261->SetBinContent(28,592.2767); h_SL1L261->SetBinContent(29,861.4934); h_SL1L261->SetBinContent(30,861.4934); h_SL1L261->SetBinContent(31,673.0417); h_SL1L261->SetBinContent(32,592.2767); h_SL1L261->SetBinContent(49,780.7284); h_SL1L261->SetBinContent(50,699.9634); h_SL1L261->SetBinContent(51,753.8068); h_SL1L261->SetBinContent(52,349.9817); h_SL1L261->SetBinContent(53,619.1984); h_SL1L261->SetBinContent(54,484.59); h_SL1L261->SetBinContent(55,430.7467); h_SL1L261->SetBinContent(56,457.6684); h_SL1L261->SetMaximum(15665.72); 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,2934.462); h_SL1L362->SetBinContent(2,3930.564); h_SL1L362->SetBinContent(3,4980.509); h_SL1L362->SetBinContent(4,5384.334); h_SL1L362->SetBinContent(5,5276.647); h_SL1L362->SetBinContent(6,5626.629); h_SL1L362->SetBinContent(7,5680.472); h_SL1L362->SetBinContent(8,5949.689); h_SL1L362->SetBinContent(9,5734.315); h_SL1L362->SetBinContent(10,5734.315); h_SL1L362->SetBinContent(11,6272.749); h_SL1L362->SetBinContent(12,6434.279); h_SL1L362->SetBinContent(13,6622.73); h_SL1L362->SetBinContent(14,8076.5); h_SL1L362->SetBinContent(15,8884.15); h_SL1L362->SetBinContent(16,6299.67); h_SL1L362->SetBinContent(17,6541.965); h_SL1L362->SetBinContent(18,7107.321); h_SL1L362->SetBinContent(19,6380.436); h_SL1L362->SetBinContent(20,6622.73); h_SL1L362->SetBinContent(21,7322.694); h_SL1L362->SetBinContent(22,7134.242); h_SL1L362->SetBinContent(23,7080.399); h_SL1L362->SetBinContent(24,7591.911); h_SL1L362->SetBinContent(25,7268.851); h_SL1L362->SetBinContent(26,7295.772); h_SL1L362->SetBinContent(27,6784.261); h_SL1L362->SetBinContent(28,7322.694); h_SL1L362->SetBinContent(29,7295.772); h_SL1L362->SetBinContent(30,7161.164); h_SL1L362->SetBinContent(31,7107.321); h_SL1L362->SetBinContent(32,6865.025); h_SL1L362->SetBinContent(49,6676.574); h_SL1L362->SetBinContent(50,6138.141); h_SL1L362->SetBinContent(51,5034.352); h_SL1L362->SetBinContent(52,5545.864); h_SL1L362->SetBinContent(53,5976.61); h_SL1L362->SetBinContent(54,5276.647); h_SL1L362->SetBinContent(55,4361.311); h_SL1L362->SetBinContent(56,5222.804); h_SL1L362->SetMaximum(15665.72); 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,3149.835); h_SL1L463->SetBinContent(3,4415.154); h_SL1L463->SetBinContent(4,4522.84); h_SL1L463->SetBinContent(5,4495.919); h_SL1L463->SetBinContent(6,4495.919); h_SL1L463->SetBinContent(7,5545.864); h_SL1L463->SetBinContent(8,5249.726); h_SL1L463->SetBinContent(9,4899.744); h_SL1L463->SetBinContent(10,5680.472); h_SL1L463->SetBinContent(11,5734.315); h_SL1L463->SetBinContent(12,5707.394); h_SL1L463->SetBinContent(13,7080.399); h_SL1L463->SetBinContent(14,13622.36); h_SL1L463->SetBinContent(15,11010.96); h_SL1L463->SetBinContent(16,10445.61); h_SL1L463->SetBinContent(17,5842.002); h_SL1L463->SetBinContent(18,6272.749); h_SL1L463->SetBinContent(19,6865.025); h_SL1L463->SetBinContent(20,5815.081); h_SL1L463->SetBinContent(21,6784.261); h_SL1L463->SetBinContent(22,6595.809); h_SL1L463->SetBinContent(23,6461.201); h_SL1L463->SetBinContent(24,7188.085); h_SL1L463->SetBinContent(25,6380.436); h_SL1L463->SetBinContent(26,6515.044); h_SL1L463->SetBinContent(27,7080.399); h_SL1L463->SetBinContent(28,6515.044); h_SL1L463->SetBinContent(29,7403.459); h_SL1L463->SetBinContent(30,6272.749); h_SL1L463->SetBinContent(31,6541.965); h_SL1L463->SetBinContent(32,6191.984); h_SL1L463->SetBinContent(49,4872.822); h_SL1L463->SetBinContent(50,6111.219); h_SL1L463->SetBinContent(51,4980.509); h_SL1L463->SetBinContent(52,4738.214); h_SL1L463->SetBinContent(53,5599.707); h_SL1L463->SetBinContent(54,5115.117); h_SL1L463->SetBinContent(56,5007.431); h_SL1L463->SetMaximum(15665.72); 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 7056"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }