void RatesPerCell_Removing_noisy_cells_run_7295_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 21 13:23:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1994.388,67.5,17949.49); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7295",60,0,60); h_SL1L160->SetBinContent(1,3007.419); h_SL1L160->SetBinContent(2,3739.592); h_SL1L160->SetBinContent(3,4172.598); h_SL1L160->SetBinContent(4,5172.446); h_SL1L160->SetBinContent(5,5270.857); h_SL1L160->SetBinContent(6,6282.515); h_SL1L160->SetBinContent(7,5751.099); h_SL1L160->SetBinContent(8,6302.197); h_SL1L160->SetBinContent(9,6310.07); h_SL1L160->SetBinContent(10,6684.029); h_SL1L160->SetBinContent(11,5971.538); h_SL1L160->SetBinContent(12,6073.885); h_SL1L160->SetBinContent(13,6526.572); h_SL1L160->SetBinContent(14,12065.11); h_SL1L160->SetBinContent(15,11301.44); h_SL1L160->SetBinContent(16,6270.706); h_SL1L160->SetBinContent(17,6550.191); h_SL1L160->SetBinContent(18,6573.81); h_SL1L160->SetBinContent(19,6262.833); h_SL1L160->SetBinContent(20,6408.48); h_SL1L160->SetBinContent(21,6782.439); h_SL1L160->SetBinContent(22,7148.526); h_SL1L160->SetBinContent(23,6337.625); h_SL1L160->SetBinContent(24,6617.11); h_SL1L160->SetBinContent(25,6845.422); h_SL1L160->SetBinContent(26,6640.729); h_SL1L160->SetBinContent(27,6487.208); h_SL1L160->SetBinContent(28,6585.619); h_SL1L160->SetBinContent(29,7022.561); h_SL1L160->SetBinContent(30,7483.121); h_SL1L160->SetBinContent(31,6987.133); h_SL1L160->SetBinContent(32,7187.89); h_SL1L160->SetBinContent(33,7345.346); h_SL1L160->SetBinContent(34,7502.803); h_SL1L160->SetBinContent(35,6865.104); h_SL1L160->SetBinContent(36,6802.121); h_SL1L160->SetBinContent(37,7014.688); h_SL1L160->SetBinContent(38,6884.786); h_SL1L160->SetBinContent(39,6483.272); h_SL1L160->SetBinContent(41,6703.711); h_SL1L160->SetBinContent(42,6455.717); h_SL1L160->SetBinContent(43,5762.908); h_SL1L160->SetBinContent(44,5987.284); h_SL1L160->SetBinContent(45,6310.07); h_SL1L160->SetBinContent(46,6223.469); h_SL1L160->SetBinContent(47,4841.788); h_SL1L160->SetBinContent(48,4578.048); h_SL1L160->SetBinContent(49,4959.88); h_SL1L160->SetBinContent(50,5227.556); h_SL1L160->SetBinContent(51,4487.511); h_SL1L160->SetBinContent(52,4696.141); h_SL1L160->SetBinContent(53,5030.735); h_SL1L160->SetBinContent(54,4959.88); h_SL1L160->SetBinContent(55,4007.268); h_SL1L160->SetBinContent(56,3857.685); h_SL1L160->SetMaximum(15955.1); 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,2842.09); h_SL1L261->SetBinContent(2,3318.396); h_SL1L261->SetBinContent(3,4172.598); h_SL1L261->SetBinContent(4,4995.308); h_SL1L261->SetBinContent(5,5428.313); h_SL1L261->SetBinContent(6,5947.92); h_SL1L261->SetBinContent(7,5987.284); h_SL1L261->SetBinContent(8,6211.659); h_SL1L261->SetBinContent(9,6747.012); h_SL1L261->SetBinContent(10,6640.729); h_SL1L261->SetBinContent(11,6691.902); h_SL1L261->SetBinContent(12,6184.104); h_SL1L261->SetBinContent(13,6573.81); h_SL1L261->SetBinContent(14,6790.312); h_SL1L261->SetBinContent(15,6365.18); h_SL1L261->SetBinContent(16,6479.335); h_SL1L261->SetBinContent(17,6786.375); h_SL1L261->SetBinContent(18,6664.347); h_SL1L261->SetBinContent(19,6404.543); h_SL1L261->SetBinContent(20,6495.081); h_SL1L261->SetBinContent(21,6904.468); h_SL1L261->SetBinContent(22,7266.618); h_SL1L261->SetBinContent(23,6672.22); h_SL1L261->SetBinContent(24,6770.63); h_SL1L261->SetBinContent(25,6869.041); h_SL1L261->SetBinContent(26,6995.005); h_SL1L261->SetBinContent(27,6739.139); h_SL1L261->SetBinContent(28,6510.827); h_SL1L261->SetBinContent(29,7231.19); h_SL1L261->SetBinContent(30,7396.52); h_SL1L261->SetBinContent(31,7412.265); h_SL1L261->SetBinContent(32,7313.855); h_SL1L261->SetBinContent(33,7664.196); h_SL1L261->SetBinContent(34,7628.768); h_SL1L261->SetBinContent(35,7046.179); h_SL1L261->SetBinContent(36,7038.306); h_SL1L261->SetBinContent(37,7168.208); h_SL1L261->SetBinContent(38,7132.78); h_SL1L261->SetBinContent(39,6589.555); h_SL1L261->SetBinContent(40,6900.532); h_SL1L261->SetBinContent(41,6845.422); h_SL1L261->SetBinContent(42,6908.404); h_SL1L261->SetBinContent(43,5928.238); h_SL1L261->SetBinContent(44,6058.139); h_SL1L261->SetBinContent(45,6573.81); h_SL1L261->SetBinContent(46,6680.093); h_SL1L261->SetBinContent(47,5503.105); h_SL1L261->SetBinContent(48,4625.285); h_SL1L261->SetBinContent(49,4944.134); h_SL1L261->SetBinContent(50,5274.793); h_SL1L261->SetBinContent(51,4865.406); h_SL1L261->SetBinContent(52,4790.614); h_SL1L261->SetBinContent(53,5121.273); h_SL1L261->SetBinContent(54,5361.394); h_SL1L261->SetBinContent(55,4546.557); h_SL1L261->SetBinContent(56,4208.025); h_SL1L261->SetMaximum(13874.87); 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,3212.113); h_SL1L362->SetBinContent(2,3684.482); h_SL1L362->SetBinContent(3,4519.002); h_SL1L362->SetBinContent(4,5436.186); h_SL1L362->SetBinContent(5,5766.845); h_SL1L362->SetBinContent(6,6266.769); h_SL1L362->SetBinContent(7,6125.058); h_SL1L362->SetBinContent(8,6766.694); h_SL1L362->SetBinContent(9,6711.584); h_SL1L362->SetBinContent(10,6703.711); h_SL1L362->SetBinContent(11,6357.307); h_SL1L362->SetBinContent(12,6373.052); h_SL1L362->SetBinContent(13,7010.751); h_SL1L362->SetBinContent(14,6506.89); h_SL1L362->SetBinContent(15,6337.625); h_SL1L362->SetBinContent(16,6888.723); h_SL1L362->SetBinContent(17,6821.803); h_SL1L362->SetBinContent(18,6550.191); h_SL1L362->SetBinContent(19,6439.971); h_SL1L362->SetBinContent(20,6750.948); h_SL1L362->SetBinContent(21,7372.901); h_SL1L362->SetBinContent(22,7042.243); h_SL1L362->SetBinContent(23,6617.11); h_SL1L362->SetBinContent(24,7113.098); h_SL1L362->SetBinContent(25,7113.098); h_SL1L362->SetBinContent(26,6853.295); h_SL1L362->SetBinContent(27,6581.682); h_SL1L362->SetBinContent(28,7018.624); h_SL1L362->SetBinContent(29,7447.693); h_SL1L362->SetBinContent(30,7498.866); h_SL1L362->SetBinContent(31,7168.208); h_SL1L362->SetBinContent(32,7561.849); h_SL1L362->SetBinContent(33,7711.433); h_SL1L362->SetBinContent(34,7506.739); h_SL1L362->SetBinContent(35,6892.659); h_SL1L362->SetBinContent(36,7199.699); h_SL1L362->SetBinContent(37,7569.722); h_SL1L362->SetBinContent(38,6849.358); h_SL1L362->SetBinContent(39,6739.139); h_SL1L362->SetBinContent(40,6951.705); h_SL1L362->SetBinContent(41,7211.508); h_SL1L362->SetBinContent(42,6408.48); h_SL1L362->SetBinContent(43,5881.001); h_SL1L362->SetBinContent(44,6483.272); h_SL1L362->SetBinContent(45,6766.694); h_SL1L362->SetBinContent(46,6262.833); h_SL1L362->SetBinContent(47,4743.377); h_SL1L362->SetBinContent(48,4774.869); h_SL1L362->SetBinContent(49,5262.984); h_SL1L362->SetBinContent(50,5176.383); h_SL1L362->SetBinContent(51,4609.54); h_SL1L362->SetBinContent(52,5180.319); h_SL1L362->SetBinContent(53,5392.886); h_SL1L362->SetBinContent(54,4991.372); h_SL1L362->SetBinContent(55,4495.383); h_SL1L362->SetBinContent(56,4294.626); h_SL1L362->SetMaximum(13874.87); 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,3251.477); h_SL1L463->SetBinContent(3,3771.083); h_SL1L463->SetBinContent(4,4471.765); h_SL1L463->SetBinContent(5,5168.51); h_SL1L463->SetBinContent(6,5255.111); h_SL1L463->SetBinContent(7,5510.978); h_SL1L463->SetBinContent(8,5605.452); h_SL1L463->SetBinContent(9,6534.445); h_SL1L463->SetBinContent(10,5943.983); h_SL1L463->SetBinContent(11,5814.082); h_SL1L463->SetBinContent(12,5644.816); h_SL1L463->SetBinContent(13,6278.579); h_SL1L463->SetBinContent(14,6558.064); h_SL1L463->SetBinContent(15,11868.28); h_SL1L463->SetBinContent(16,7971.236); h_SL1L463->SetBinContent(17,6357.307); h_SL1L463->SetBinContent(18,6034.521); h_SL1L463->SetBinContent(19,5778.654); h_SL1L463->SetBinContent(20,5873.128); h_SL1L463->SetBinContent(21,6148.677); h_SL1L463->SetBinContent(22,6530.509); h_SL1L463->SetBinContent(23,5892.81); h_SL1L463->SetBinContent(24,6132.931); h_SL1L463->SetBinContent(25,6310.07); h_SL1L463->SetBinContent(26,6365.18); h_SL1L463->SetBinContent(27,5802.272); h_SL1L463->SetBinContent(28,6274.642); h_SL1L463->SetBinContent(29,6428.162); h_SL1L463->SetBinContent(30,6711.584); h_SL1L463->SetBinContent(31,6317.942); h_SL1L463->SetBinContent(32,6447.844); h_SL1L463->SetBinContent(33,6786.375); h_SL1L463->SetBinContent(34,6790.312); h_SL1L463->SetBinContent(35,6388.798); h_SL1L463->SetBinContent(36,6428.162); h_SL1L463->SetBinContent(41,6314.006); h_SL1L463->SetBinContent(42,6121.122); h_SL1L463->SetBinContent(43,5215.747); h_SL1L463->SetBinContent(44,5711.735); h_SL1L463->SetBinContent(45,5928.238); h_SL1L463->SetBinContent(46,5940.047); h_SL1L463->SetBinContent(47,4794.551); h_SL1L463->SetBinContent(48,4192.28); h_SL1L463->SetBinContent(49,4459.956); h_SL1L463->SetBinContent(50,4692.204); h_SL1L463->SetBinContent(51,4337.927); h_SL1L463->SetBinContent(52,4204.089); h_SL1L463->SetBinContent(53,4920.516); h_SL1L463->SetBinContent(54,4519.002); h_SL1L463->SetBinContent(56,4164.725); h_SL1L463->SetMaximum(13874.87); 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 7295"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }