void RatesPerCell_Removing_noisy_cells_run_7061_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:08:00 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2511.456,67.5,22603.11); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7061",60,0,60); h_SL1L160->SetBinContent(1,3296.703); h_SL1L160->SetBinContent(2,4807.692); h_SL1L160->SetBinContent(3,4505.494); h_SL1L160->SetBinContent(4,4972.527); h_SL1L160->SetBinContent(5,5054.945); h_SL1L160->SetBinContent(6,5412.088); h_SL1L160->SetBinContent(7,5549.45); h_SL1L160->SetBinContent(8,5576.923); h_SL1L160->SetBinContent(9,6813.187); h_SL1L160->SetBinContent(10,5906.593); h_SL1L160->SetBinContent(11,6483.516); h_SL1L160->SetBinContent(12,5576.923); h_SL1L160->SetBinContent(13,11291.21); h_SL1L160->SetBinContent(14,13461.54); h_SL1L160->SetBinContent(15,13104.4); h_SL1L160->SetBinContent(16,7225.274); h_SL1L160->SetBinContent(17,6318.681); h_SL1L160->SetBinContent(18,6016.483); h_SL1L160->SetBinContent(19,6538.461); h_SL1L160->SetBinContent(20,5989.011); h_SL1L160->SetBinContent(21,6373.626); h_SL1L160->SetBinContent(22,6236.264); h_SL1L160->SetBinContent(23,6016.483); h_SL1L160->SetBinContent(24,6840.659); h_SL1L160->SetBinContent(25,6868.132); h_SL1L160->SetBinContent(26,6620.879); h_SL1L160->SetBinContent(27,5989.011); h_SL1L160->SetBinContent(28,6675.824); h_SL1L160->SetBinContent(29,6483.516); h_SL1L160->SetBinContent(30,6620.879); h_SL1L160->SetBinContent(31,5494.505); h_SL1L160->SetBinContent(32,5631.868); h_SL1L160->SetBinContent(49,5054.945); h_SL1L160->SetBinContent(50,5549.45); h_SL1L160->SetBinContent(51,4340.659); h_SL1L160->SetBinContent(52,4642.857); h_SL1L160->SetBinContent(53,5521.978); h_SL1L160->SetBinContent(54,5439.56); h_SL1L160->SetBinContent(55,3818.681); h_SL1L160->SetBinContent(56,3956.044); h_SL1L160->SetMaximum(20091.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(1,1126.374); h_SL1L261->SetBinContent(2,1126.374); h_SL1L261->SetBinContent(3,1428.571); h_SL1L261->SetBinContent(4,1071.429); h_SL1L261->SetBinContent(5,576.923); h_SL1L261->SetBinContent(6,412.0879); h_SL1L261->SetBinContent(7,329.6703); h_SL1L261->SetBinContent(8,521.978); h_SL1L261->SetBinContent(9,4038.461); h_SL1L261->SetBinContent(10,659.3406); h_SL1L261->SetBinContent(11,549.4506); h_SL1L261->SetBinContent(12,604.3956); h_SL1L261->SetBinContent(13,467.033); h_SL1L261->SetBinContent(14,1153.846); h_SL1L261->SetBinContent(15,1813.187); h_SL1L261->SetBinContent(16,934.0659); h_SL1L261->SetBinContent(17,659.3406); h_SL1L261->SetBinContent(18,164.8352); h_SL1L261->SetBinContent(19,27.47253); h_SL1L261->SetBinContent(20,329.6703); h_SL1L261->SetBinContent(21,54.94505); h_SL1L261->SetBinContent(22,27.47253); h_SL1L261->SetBinContent(23,109.8901); h_SL1L261->SetBinContent(24,274.7253); h_SL1L261->SetBinContent(25,467.033); h_SL1L261->SetBinContent(26,412.0879); h_SL1L261->SetBinContent(27,27.47253); h_SL1L261->SetBinContent(28,137.3626); h_SL1L261->SetBinContent(29,219.7802); h_SL1L261->SetBinContent(30,109.8901); h_SL1L261->SetBinContent(31,54.94505); h_SL1L261->SetBinContent(32,329.6703); h_SL1L261->SetBinContent(49,494.5055); h_SL1L261->SetBinContent(50,412.0879); h_SL1L261->SetBinContent(51,384.6154); h_SL1L261->SetBinContent(52,247.2527); h_SL1L261->SetBinContent(53,219.7802); h_SL1L261->SetBinContent(54,109.8901); h_SL1L261->SetBinContent(55,192.3077); h_SL1L261->SetBinContent(56,329.6703); h_SL1L261->SetMaximum(17471.15); 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,2884.615); h_SL1L362->SetBinContent(2,3516.483); h_SL1L362->SetBinContent(3,4587.912); h_SL1L362->SetBinContent(4,5329.67); h_SL1L362->SetBinContent(5,5659.34); h_SL1L362->SetBinContent(6,5439.56); h_SL1L362->SetBinContent(7,5741.758); h_SL1L362->SetBinContent(8,5521.978); h_SL1L362->SetBinContent(9,6620.879); h_SL1L362->SetBinContent(10,6263.736); h_SL1L362->SetBinContent(11,6895.604); h_SL1L362->SetBinContent(12,6895.604); h_SL1L362->SetBinContent(13,7005.494); h_SL1L362->SetBinContent(14,8956.044); h_SL1L362->SetBinContent(15,10384.62); h_SL1L362->SetBinContent(16,8434.065); h_SL1L362->SetBinContent(17,6703.296); h_SL1L362->SetBinContent(18,7115.384); h_SL1L362->SetBinContent(19,7142.857); h_SL1L362->SetBinContent(20,7390.11); h_SL1L362->SetBinContent(21,7554.945); h_SL1L362->SetBinContent(22,6483.516); h_SL1L362->SetBinContent(23,6978.022); h_SL1L362->SetBinContent(24,7609.89); h_SL1L362->SetBinContent(25,8159.34); h_SL1L362->SetBinContent(26,6565.934); h_SL1L362->SetBinContent(27,7032.967); h_SL1L362->SetBinContent(28,7115.384); h_SL1L362->SetBinContent(29,7884.615); h_SL1L362->SetBinContent(30,7472.527); h_SL1L362->SetBinContent(31,6510.989); h_SL1L362->SetBinContent(32,7087.912); h_SL1L362->SetBinContent(49,6208.791); h_SL1L362->SetBinContent(50,6071.428); h_SL1L362->SetBinContent(51,4532.967); h_SL1L362->SetBinContent(52,5604.396); h_SL1L362->SetBinContent(53,6098.901); h_SL1L362->SetBinContent(54,5879.121); h_SL1L362->SetBinContent(55,4065.934); h_SL1L362->SetBinContent(56,4313.187); h_SL1L362->SetMaximum(17471.15); 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,2884.615); h_SL1L463->SetBinContent(3,4423.077); h_SL1L463->SetBinContent(4,4807.692); h_SL1L463->SetBinContent(5,4862.637); h_SL1L463->SetBinContent(6,5054.945); h_SL1L463->SetBinContent(7,5000); h_SL1L463->SetBinContent(8,5247.252); h_SL1L463->SetBinContent(9,5769.23); h_SL1L463->SetBinContent(10,6181.318); h_SL1L463->SetBinContent(11,5879.121); h_SL1L463->SetBinContent(12,7060.439); h_SL1L463->SetBinContent(13,6098.901); h_SL1L463->SetBinContent(14,15192.31); h_SL1L463->SetBinContent(15,12637.36); h_SL1L463->SetBinContent(16,12280.22); h_SL1L463->SetBinContent(17,6675.824); h_SL1L463->SetBinContent(18,5934.066); h_SL1L463->SetBinContent(19,5879.121); h_SL1L463->SetBinContent(20,6648.352); h_SL1L463->SetBinContent(21,7005.494); h_SL1L463->SetBinContent(22,6620.879); h_SL1L463->SetBinContent(23,5769.23); h_SL1L463->SetBinContent(24,7142.857); h_SL1L463->SetBinContent(25,7032.967); h_SL1L463->SetBinContent(26,7142.857); h_SL1L463->SetBinContent(27,5879.121); h_SL1L463->SetBinContent(28,6840.659); h_SL1L463->SetBinContent(29,6675.824); h_SL1L463->SetBinContent(30,7115.384); h_SL1L463->SetBinContent(31,6456.044); h_SL1L463->SetBinContent(32,6016.483); h_SL1L463->SetBinContent(49,5357.143); h_SL1L463->SetBinContent(50,5851.648); h_SL1L463->SetBinContent(51,4505.494); h_SL1L463->SetBinContent(52,4642.857); h_SL1L463->SetBinContent(53,5082.417); h_SL1L463->SetBinContent(54,6153.846); h_SL1L463->SetBinContent(56,4532.967); h_SL1L463->SetMaximum(17471.15); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 7061"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }