void RatesPerCell_Removing_noisy_cells_run_6914_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:22:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1357.431,67.5,12216.88); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6914",60,0,60); h_SL1L160->SetBinContent(1,702.3809); h_SL1L160->SetBinContent(2,850); h_SL1L160->SetBinContent(3,985.7143); h_SL1L160->SetBinContent(4,1097.619); h_SL1L160->SetBinContent(5,940.4762); h_SL1L160->SetBinContent(6,1080.952); h_SL1L160->SetBinContent(7,1023.81); h_SL1L160->SetBinContent(8,1109.524); h_SL1L160->SetBinContent(9,978.5714); h_SL1L160->SetBinContent(10,1035.714); h_SL1L160->SetBinContent(11,1259.524); h_SL1L160->SetBinContent(12,1028.571); h_SL1L160->SetBinContent(13,1385.714); h_SL1L160->SetBinContent(14,1195.238); h_SL1L160->SetBinContent(15,1107.143); h_SL1L160->SetBinContent(16,1104.762); h_SL1L160->SetBinContent(17,1054.762); h_SL1L160->SetBinContent(18,1228.571); h_SL1L160->SetBinContent(19,1164.286); h_SL1L160->SetBinContent(20,1035.714); h_SL1L160->SetBinContent(21,1219.048); h_SL1L160->SetBinContent(22,1240.476); h_SL1L160->SetBinContent(23,1214.286); h_SL1L160->SetBinContent(24,1000); h_SL1L160->SetBinContent(25,1135.714); h_SL1L160->SetBinContent(26,1273.81); h_SL1L160->SetBinContent(27,1169.048); h_SL1L160->SetBinContent(28,1211.905); h_SL1L160->SetBinContent(29,1261.905); h_SL1L160->SetBinContent(30,1390.476); h_SL1L160->SetBinContent(31,1138.095); h_SL1L160->SetBinContent(32,1088.095); h_SL1L160->SetBinContent(33,1257.143); h_SL1L160->SetBinContent(34,1357.143); h_SL1L160->SetBinContent(35,1250); h_SL1L160->SetBinContent(36,1109.524); h_SL1L160->SetBinContent(37,1316.667); h_SL1L160->SetBinContent(38,1380.952); h_SL1L160->SetBinContent(39,1340.476); h_SL1L160->SetBinContent(40,1109.524); h_SL1L160->SetBinContent(41,1202.381); h_SL1L160->SetBinContent(42,1240.476); h_SL1L160->SetBinContent(43,1080.952); h_SL1L160->SetBinContent(44,1138.095); h_SL1L160->SetBinContent(45,1073.81); h_SL1L160->SetBinContent(46,1064.286); h_SL1L160->SetBinContent(47,873.8095); h_SL1L160->SetBinContent(48,676.1905); h_SL1L160->SetBinContent(49,1007.143); h_SL1L160->SetBinContent(50,911.9047); h_SL1L160->SetBinContent(51,883.3333); h_SL1L160->SetBinContent(52,866.6667); h_SL1L160->SetBinContent(53,816.6667); h_SL1L160->SetBinContent(54,850); h_SL1L160->SetBinContent(55,602.3809); h_SL1L160->SetBinContent(56,640.4762); h_SL1L160->SetBinContent(57,683.3333); h_SL1L160->SetBinContent(58,661.9048); h_SL1L160->SetBinContent(59,507.1429); h_SL1L160->SetMaximum(10859.45); 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,2888.095); h_SL1L261->SetBinContent(2,3409.524); h_SL1L261->SetBinContent(3,4538.095); h_SL1L261->SetBinContent(4,5352.381); h_SL1L261->SetBinContent(5,6123.81); h_SL1L261->SetBinContent(6,6307.143); h_SL1L261->SetBinContent(7,6200); h_SL1L261->SetBinContent(8,6538.095); h_SL1L261->SetBinContent(9,6745.238); h_SL1L261->SetBinContent(10,7152.381); h_SL1L261->SetBinContent(11,6619.047); h_SL1L261->SetBinContent(12,7050); h_SL1L261->SetBinContent(13,6988.095); h_SL1L261->SetBinContent(14,7169.047); h_SL1L261->SetBinContent(15,6864.286); h_SL1L261->SetBinContent(16,6804.762); h_SL1L261->SetBinContent(17,7126.19); h_SL1L261->SetBinContent(18,7264.286); h_SL1L261->SetBinContent(19,6819.047); h_SL1L261->SetBinContent(20,6769.047); h_SL1L261->SetBinContent(21,7254.762); h_SL1L261->SetBinContent(22,7614.286); h_SL1L261->SetBinContent(23,6859.524); h_SL1L261->SetBinContent(24,7192.857); h_SL1L261->SetBinContent(25,7452.381); h_SL1L261->SetBinContent(26,7492.857); h_SL1L261->SetBinContent(27,6957.143); h_SL1L261->SetBinContent(28,6788.095); h_SL1L261->SetBinContent(29,7678.571); h_SL1L261->SetBinContent(30,7792.857); h_SL1L261->SetBinContent(31,7483.333); h_SL1L261->SetBinContent(32,7600); h_SL1L261->SetBinContent(33,7873.81); h_SL1L261->SetBinContent(34,8211.904); h_SL1L261->SetBinContent(35,7438.095); h_SL1L261->SetBinContent(36,6980.952); h_SL1L261->SetBinContent(37,7602.381); h_SL1L261->SetBinContent(38,7723.81); h_SL1L261->SetBinContent(39,7090.476); h_SL1L261->SetBinContent(40,7323.81); h_SL1L261->SetBinContent(41,7085.714); h_SL1L261->SetBinContent(42,7033.333); h_SL1L261->SetBinContent(43,6438.095); h_SL1L261->SetBinContent(44,6242.857); h_SL1L261->SetBinContent(45,6511.905); h_SL1L261->SetBinContent(46,6895.238); h_SL1L261->SetBinContent(47,6021.429); h_SL1L261->SetBinContent(48,5116.667); h_SL1L261->SetBinContent(49,5064.286); h_SL1L261->SetBinContent(50,5640.476); h_SL1L261->SetBinContent(51,4921.429); h_SL1L261->SetBinContent(52,5190.476); h_SL1L261->SetBinContent(53,5288.095); h_SL1L261->SetBinContent(54,5602.381); h_SL1L261->SetBinContent(55,4966.667); h_SL1L261->SetBinContent(56,4511.905); h_SL1L261->SetBinContent(57,4414.286); h_SL1L261->SetBinContent(58,3873.81); h_SL1L261->SetBinContent(59,3195.238); h_SL1L261->SetMaximum(9443.69); 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,3130.952); h_SL1L362->SetBinContent(2,3973.81); h_SL1L362->SetBinContent(3,5028.571); h_SL1L362->SetBinContent(4,5845.238); h_SL1L362->SetBinContent(5,6438.095); h_SL1L362->SetBinContent(6,6338.095); h_SL1L362->SetBinContent(7,6519.047); h_SL1L362->SetBinContent(8,6880.952); h_SL1L362->SetBinContent(9,7066.667); h_SL1L362->SetBinContent(10,6938.095); h_SL1L362->SetBinContent(11,6754.762); h_SL1L362->SetBinContent(12,7261.905); h_SL1L362->SetBinContent(13,7338.095); h_SL1L362->SetBinContent(14,7128.571); h_SL1L362->SetBinContent(15,6657.143); h_SL1L362->SetBinContent(16,6995.238); h_SL1L362->SetBinContent(17,7564.286); h_SL1L362->SetBinContent(18,6976.19); h_SL1L362->SetBinContent(19,6785.714); h_SL1L362->SetBinContent(20,7292.857); h_SL1L362->SetBinContent(21,7650); h_SL1L362->SetBinContent(22,7169.047); h_SL1L362->SetBinContent(23,7028.571); h_SL1L362->SetBinContent(24,7533.333); h_SL1L362->SetBinContent(25,7761.905); h_SL1L362->SetBinContent(26,7278.571); h_SL1L362->SetBinContent(27,6888.095); h_SL1L362->SetBinContent(28,7466.667); h_SL1L362->SetBinContent(29,8030.952); h_SL1L362->SetBinContent(30,7838.095); h_SL1L362->SetBinContent(31,7319.047); h_SL1L362->SetBinContent(32,8038.095); h_SL1L362->SetBinContent(33,8114.286); h_SL1L362->SetBinContent(34,7847.619); h_SL1L362->SetBinContent(35,7159.524); h_SL1L362->SetBinContent(36,7495.238); h_SL1L362->SetBinContent(37,7797.619); h_SL1L362->SetBinContent(38,7359.524); h_SL1L362->SetBinContent(39,7216.667); h_SL1L362->SetBinContent(40,7295.238); h_SL1L362->SetBinContent(41,7333.333); h_SL1L362->SetBinContent(42,6583.333); h_SL1L362->SetBinContent(43,6311.905); h_SL1L362->SetBinContent(44,6735.714); h_SL1L362->SetBinContent(45,6697.619); h_SL1L362->SetBinContent(46,6666.667); h_SL1L362->SetBinContent(47,5376.19); h_SL1L362->SetBinContent(48,5359.524); h_SL1L362->SetBinContent(49,5440.476); h_SL1L362->SetBinContent(50,5342.857); h_SL1L362->SetBinContent(51,5073.81); h_SL1L362->SetBinContent(52,5559.524); h_SL1L362->SetBinContent(53,5678.571); h_SL1L362->SetBinContent(54,5361.905); h_SL1L362->SetBinContent(55,4911.905); h_SL1L362->SetBinContent(56,4761.905); h_SL1L362->SetBinContent(57,4414.286); h_SL1L362->SetBinContent(58,3714.286); h_SL1L362->SetBinContent(59,2669.048); h_SL1L362->SetMaximum(9443.69); 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,3500); h_SL1L463->SetBinContent(3,4521.429); h_SL1L463->SetBinContent(4,5523.81); h_SL1L463->SetBinContent(5,6252.381); h_SL1L463->SetBinContent(6,6352.381); h_SL1L463->SetBinContent(7,6259.524); h_SL1L463->SetBinContent(8,6869.047); h_SL1L463->SetBinContent(9,7007.143); h_SL1L463->SetBinContent(10,7019.047); h_SL1L463->SetBinContent(11,6492.857); h_SL1L463->SetBinContent(12,7226.19); h_SL1L463->SetBinContent(13,7130.952); h_SL1L463->SetBinContent(14,7176.19); h_SL1L463->SetBinContent(15,6804.762); h_SL1L463->SetBinContent(16,7107.143); h_SL1L463->SetBinContent(17,7438.095); h_SL1L463->SetBinContent(18,7366.667); h_SL1L463->SetBinContent(19,6666.667); h_SL1L463->SetBinContent(20,7023.81); h_SL1L463->SetBinContent(21,7692.857); h_SL1L463->SetBinContent(22,7419.047); h_SL1L463->SetBinContent(23,6642.857); h_SL1L463->SetBinContent(24,7619.047); h_SL1L463->SetBinContent(25,7514.286); h_SL1L463->SetBinContent(26,7716.667); h_SL1L463->SetBinContent(27,6778.571); h_SL1L463->SetBinContent(28,7390.476); h_SL1L463->SetBinContent(29,7883.333); h_SL1L463->SetBinContent(30,7961.905); h_SL1L463->SetBinContent(31,7261.905); h_SL1L463->SetBinContent(32,7611.905); h_SL1L463->SetBinContent(33,8147.619); h_SL1L463->SetBinContent(34,7954.762); h_SL1L463->SetBinContent(35,7340.476); h_SL1L463->SetBinContent(36,7226.19); h_SL1L463->SetBinContent(37,7933.333); h_SL1L463->SetBinContent(38,7523.81); h_SL1L463->SetBinContent(39,7073.81); h_SL1L463->SetBinContent(40,7345.238); h_SL1L463->SetBinContent(41,7411.905); h_SL1L463->SetBinContent(42,7004.762); h_SL1L463->SetBinContent(43,6116.667); h_SL1L463->SetBinContent(44,6530.952); h_SL1L463->SetBinContent(45,6702.381); h_SL1L463->SetBinContent(46,6733.333); h_SL1L463->SetBinContent(47,5845.238); h_SL1L463->SetBinContent(48,5233.333); h_SL1L463->SetBinContent(49,5385.714); h_SL1L463->SetBinContent(50,5559.524); h_SL1L463->SetBinContent(51,4919.047); h_SL1L463->SetBinContent(52,5250); h_SL1L463->SetBinContent(53,5616.667); h_SL1L463->SetBinContent(54,5630.952); h_SL1L463->SetBinContent(56,5035.714); h_SL1L463->SetBinContent(57,4716.667); h_SL1L463->SetBinContent(58,3997.619); h_SL1L463->SetBinContent(59,3192.857); h_SL1L463->SetMaximum(9443.69); 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 6914"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }