void RatesPerCell_Removing_noisy_cells_run_6803_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:53:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8962.526,67.5,80662.73); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6803",60,0,60); h_SL2L164->SetBinContent(1,4283.115); h_SL2L164->SetBinContent(2,5629.288); h_SL2L164->SetBinContent(3,6536.258); h_SL2L164->SetBinContent(4,6914.758); h_SL2L164->SetBinContent(5,6770.143); h_SL2L164->SetBinContent(6,6473.77); h_SL2L164->SetBinContent(7,5832.82); h_SL2L164->SetBinContent(8,5664.995); h_SL2L164->SetBinContent(9,6661.234); h_SL2L164->SetBinContent(10,6814.777); h_SL2L164->SetBinContent(11,6816.562); h_SL2L164->SetBinContent(12,6843.343); h_SL2L164->SetBinContent(13,7004.026); h_SL2L164->SetBinContent(14,6850.484); h_SL2L164->SetBinContent(15,6943.324); h_SL2L164->SetBinContent(16,6738.006); h_SL2L164->SetBinContent(17,6748.718); h_SL2L164->SetBinContent(18,6923.685); h_SL2L164->SetBinContent(19,6902.26); h_SL2L164->SetBinContent(20,6289.876); h_SL2L164->SetBinContent(21,6104.198); h_SL2L164->SetBinContent(22,6109.554); h_SL2L164->SetBinContent(23,6254.169); h_SL2L164->SetBinContent(24,6450.56); h_SL2L164->SetBinContent(25,11201.44); h_SL2L164->SetBinContent(26,29758.63); h_SL2L164->SetBinContent(27,43641.71); h_SL2L164->SetBinContent(28,51342.03); h_SL2L164->SetBinContent(29,54216.48); h_SL2L164->SetBinContent(30,52925.66); h_SL2L164->SetBinContent(31,50476.12); h_SL2L164->SetBinContent(32,50263.66); h_SL2L164->SetBinContent(33,8.926876); h_SL2L164->SetBinContent(34,8.926876); h_SL2L164->SetBinContent(36,5.356125); h_SL2L164->SetBinContent(40,23.20988); h_SL2L164->SetBinContent(49,5.356125); h_SL2L164->SetBinContent(50,5.356125); h_SL2L164->SetBinContent(51,5.356125); h_SL2L164->SetBinContent(52,7.1415); h_SL2L164->SetBinContent(55,1.785375); h_SL2L164->SetBinContent(56,10.71225); h_SL2L164->SetMaximum(71700.2); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,3693.941); h_SL2L265->SetBinContent(2,5131.168); h_SL2L265->SetBinContent(3,5809.611); h_SL2L265->SetBinContent(4,6530.902); h_SL2L265->SetBinContent(5,6618.386); h_SL2L265->SetBinContent(6,6091.7); h_SL2L265->SetBinContent(7,5941.729); h_SL2L265->SetBinContent(8,5366.837); h_SL2L265->SetBinContent(9,5995.29); h_SL2L265->SetBinContent(10,6359.506); h_SL2L265->SetBinContent(11,6593.39); h_SL2L265->SetBinContent(12,6721.938); h_SL2L265->SetBinContent(13,6671.947); h_SL2L265->SetBinContent(14,6666.591); h_SL2L265->SetBinContent(15,6589.819); h_SL2L265->SetBinContent(16,6621.957); h_SL2L265->SetBinContent(17,6600.532); h_SL2L265->SetBinContent(18,6595.176); h_SL2L265->SetBinContent(19,6616.6); h_SL2L265->SetBinContent(20,6561.253); h_SL2L265->SetBinContent(21,6013.144); h_SL2L265->SetBinContent(22,5856.03); h_SL2L265->SetBinContent(23,5909.592); h_SL2L265->SetBinContent(24,6095.271); h_SL2L265->SetBinContent(25,6837.987); h_SL2L265->SetBinContent(26,20117.61); h_SL2L265->SetBinContent(27,37151.87); h_SL2L265->SetBinContent(28,47905.18); h_SL2L265->SetBinContent(29,53114.91); h_SL2L265->SetBinContent(30,54070.09); h_SL2L265->SetBinContent(31,50888.55); h_SL2L265->SetBinContent(32,49897.66); h_SL2L265->SetBinContent(33,5.356125); h_SL2L265->SetBinContent(34,7.1415); h_SL2L265->SetBinContent(35,5.356125); h_SL2L265->SetBinContent(36,12.49763); h_SL2L265->SetBinContent(37,3.57075); h_SL2L265->SetBinContent(38,1.785375); h_SL2L265->SetBinContent(49,7.1415); h_SL2L265->SetBinContent(50,1.785375); h_SL2L265->SetBinContent(51,5.356125); h_SL2L265->SetBinContent(52,5.356125); h_SL2L265->SetBinContent(54,1.785375); h_SL2L265->SetBinContent(55,1.785375); h_SL2L265->SetBinContent(56,8.926876); h_SL2L265->SetMaximum(62348.96); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,4195.631); h_SL2L366->SetBinContent(2,5118.67); h_SL2L366->SetBinContent(3,6075.631); h_SL2L366->SetBinContent(4,6439.848); h_SL2L366->SetBinContent(5,6164.9); h_SL2L366->SetBinContent(6,5704.273); h_SL2L366->SetBinContent(7,5479.316); h_SL2L366->SetBinContent(8,5332.916); h_SL2L366->SetBinContent(9,6145.261); h_SL2L366->SetBinContent(10,6204.179); h_SL2L366->SetBinContent(11,6345.223); h_SL2L366->SetBinContent(12,6448.775); h_SL2L366->SetBinContent(13,6421.994); h_SL2L366->SetBinContent(14,6457.702); h_SL2L366->SetBinContent(15,6536.258); h_SL2L366->SetBinContent(16,6338.082); h_SL2L366->SetBinContent(17,6305.945); h_SL2L366->SetBinContent(18,6377.36); h_SL2L366->SetBinContent(19,6293.447); h_SL2L366->SetBinContent(20,6029.212); h_SL2L366->SetBinContent(21,5900.665); h_SL2L366->SetBinContent(22,5536.448); h_SL2L366->SetBinContent(23,5784.615); h_SL2L366->SetBinContent(24,6070.275); h_SL2L366->SetBinContent(25,10830.09); h_SL2L366->SetBinContent(26,29469.4); h_SL2L366->SetBinContent(27,43209.65); h_SL2L366->SetBinContent(28,51138.5); h_SL2L366->SetBinContent(29,53727.29); h_SL2L366->SetBinContent(30,52563.23); h_SL2L366->SetBinContent(31,50251.17); h_SL2L366->SetBinContent(32,49928.02); h_SL2L366->SetBinContent(33,8.926876); h_SL2L366->SetBinContent(34,7.1415); h_SL2L366->SetBinContent(35,10.71225); h_SL2L366->SetBinContent(36,10.71225); h_SL2L366->SetBinContent(37,1.785375); h_SL2L366->SetBinContent(39,1.785375); h_SL2L366->SetBinContent(51,3.57075); h_SL2L366->SetBinContent(52,3.57075); h_SL2L366->SetBinContent(54,3.57075); h_SL2L366->SetBinContent(55,3.57075); h_SL2L366->SetBinContent(56,7.1415); h_SL2L366->SetMaximum(62348.96); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,4781.234); h_SL2L467->SetBinContent(3,5543.59); h_SL2L467->SetBinContent(4,5807.825); h_SL2L467->SetBinContent(5,5963.153); h_SL2L467->SetBinContent(6,5813.181); h_SL2L467->SetBinContent(7,5527.521); h_SL2L467->SetBinContent(8,4972.27); h_SL2L467->SetBinContent(9,5932.802); h_SL2L467->SetBinContent(10,6073.846); h_SL2L467->SetBinContent(11,6016.714); h_SL2L467->SetBinContent(12,6355.936); h_SL2L467->SetBinContent(13,5964.938); h_SL2L467->SetBinContent(14,6268.452); h_SL2L467->SetBinContent(15,6325.584); h_SL2L467->SetBinContent(16,6166.686); h_SL2L467->SetBinContent(17,5964.938); h_SL2L467->SetBinContent(18,6079.202); h_SL2L467->SetBinContent(19,5997.075); h_SL2L467->SetBinContent(20,5920.304); h_SL2L467->SetBinContent(21,5593.58); h_SL2L467->SetBinContent(22,5636.429); h_SL2L467->SetBinContent(23,5565.014); h_SL2L467->SetBinContent(24,5800.684); h_SL2L467->SetBinContent(25,6488.053); h_SL2L467->SetBinContent(26,19840.87); h_SL2L467->SetBinContent(27,37139.38); h_SL2L467->SetBinContent(28,47512.4); h_SL2L467->SetBinContent(29,52772.12); h_SL2L467->SetBinContent(30,54175.42); h_SL2L467->SetBinContent(31,50651.09); h_SL2L467->SetBinContent(32,49756.62); h_SL2L467->SetBinContent(33,10.71225); h_SL2L467->SetBinContent(34,12.49763); h_SL2L467->SetBinContent(35,14.283); h_SL2L467->SetBinContent(36,3.57075); h_SL2L467->SetBinContent(37,1.785375); h_SL2L467->SetBinContent(38,1.785375); h_SL2L467->SetBinContent(39,1.785375); h_SL2L467->SetBinContent(49,3.57075); h_SL2L467->SetBinContent(50,8.926876); h_SL2L467->SetBinContent(51,3.57075); h_SL2L467->SetBinContent(52,3.57075); h_SL2L467->SetBinContent(53,1.785375); h_SL2L467->SetBinContent(54,1.785375); h_SL2L467->SetBinContent(55,1.785375); h_SL2L467->SetBinContent(56,5.356125); h_SL2L467->SetMaximum(62348.96); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6803"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }