void RatesPerCell_Removing_noisy_cells_run_6644_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:01:52 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12568.93,67.5,113120.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6644",60,0,60); h_SL1L160->SetBinContent(1,9322.19); h_SL1L160->SetBinContent(2,9358.018); h_SL1L160->SetBinContent(3,9627.915); h_SL1L160->SetBinContent(4,9324.579); h_SL1L160->SetBinContent(5,9154.998); h_SL1L160->SetBinContent(6,9682.85); h_SL1L160->SetBinContent(7,9197.99); h_SL1L160->SetBinContent(8,9207.544); h_SL1L160->SetBinContent(9,8617.593); h_SL1L160->SetBinContent(10,8147.064); h_SL1L160->SetBinContent(11,7810.291); h_SL1L160->SetBinContent(12,8409.796); h_SL1L160->SetBinContent(13,8937.647); h_SL1L160->SetBinContent(14,8911.374); h_SL1L160->SetBinContent(15,8674.916); h_SL1L160->SetBinContent(16,8116.014); h_SL1L160->SetBinContent(17,8667.75); h_SL1L160->SetBinContent(18,9331.744); h_SL1L160->SetBinContent(19,9331.744); h_SL1L160->SetBinContent(20,9596.864); h_SL1L160->SetBinContent(21,10091.28); h_SL1L160->SetBinContent(22,10055.45); h_SL1L160->SetBinContent(23,10182.04); h_SL1L160->SetBinContent(24,10122.33); h_SL1L160->SetBinContent(25,10299.07); h_SL1L160->SetBinContent(26,9914.531); h_SL1L160->SetBinContent(27,9706.734); h_SL1L160->SetBinContent(28,10736.16); h_SL1L160->SetBinContent(29,10709.89); h_SL1L160->SetBinContent(30,11715.44); h_SL1L160->SetBinContent(31,11925.62); h_SL1L160->SetBinContent(32,14464.56); h_SL1L160->SetBinContent(33,38067.4); h_SL1L160->SetBinContent(34,54416.47); h_SL1L160->SetBinContent(35,57750.77); h_SL1L160->SetBinContent(36,60115.35); h_SL1L160->SetBinContent(37,64600.89); h_SL1L160->SetBinContent(38,61617.7); h_SL1L160->SetBinContent(39,39865.92); h_SL1L160->SetBinContent(40,14400.07); h_SL1L160->SetBinContent(41,11347.61); h_SL1L160->SetBinContent(42,10277.58); h_SL1L160->SetBinContent(43,9749.727); h_SL1L160->SetBinContent(44,9217.098); h_SL1L160->SetBinContent(45,8782.396); h_SL1L160->SetBinContent(46,8517.277); h_SL1L160->SetBinContent(47,8605.65); h_SL1L160->SetBinContent(48,7967.929); h_SL1L160->SetBinContent(49,7755.355); h_SL1L160->SetBinContent(50,8116.014); h_SL1L160->SetBinContent(51,7549.947); h_SL1L160->SetBinContent(52,7308.712); h_SL1L160->SetBinContent(53,7272.885); h_SL1L160->SetBinContent(54,7022.096); h_SL1L160->SetBinContent(55,7423.358); h_SL1L160->SetBinContent(56,7332.597); h_SL1L160->SetBinContent(57,7721.917); h_SL1L160->SetBinContent(58,7602.494); h_SL1L160->SetBinContent(59,7877.167); h_SL1L160->SetMaximum(100551.4); 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,9434.448); h_SL1L261->SetBinContent(2,9496.549); h_SL1L261->SetBinContent(3,9527.599); h_SL1L261->SetBinContent(4,9606.418); h_SL1L261->SetBinContent(5,9577.757); h_SL1L261->SetBinContent(6,10325.35); h_SL1L261->SetBinContent(7,9747.338); h_SL1L261->SetBinContent(8,9529.987); h_SL1L261->SetBinContent(9,9580.146); h_SL1L261->SetBinContent(10,8674.916); h_SL1L261->SetBinContent(11,8479.062); h_SL1L261->SetBinContent(12,8722.686); h_SL1L261->SetBinContent(13,8763.289); h_SL1L261->SetBinContent(14,9580.146); h_SL1L261->SetBinContent(15,9568.203); h_SL1L261->SetBinContent(16,9362.795); h_SL1L261->SetBinContent(17,9307.86); h_SL1L261->SetBinContent(18,9802.272); h_SL1L261->SetBinContent(19,10256.08); h_SL1L261->SetBinContent(20,10122.33); h_SL1L261->SetBinContent(21,10843.64); h_SL1L261->SetBinContent(22,11027.56); h_SL1L261->SetBinContent(23,11476.59); h_SL1L261->SetBinContent(24,11271.18); h_SL1L261->SetBinContent(25,11760.82); h_SL1L261->SetBinContent(26,11414.49); h_SL1L261->SetBinContent(27,11249.68); h_SL1L261->SetBinContent(28,11777.54); h_SL1L261->SetBinContent(29,12391.37); h_SL1L261->SetBinContent(30,12594.39); h_SL1L261->SetBinContent(31,13621.43); h_SL1L261->SetBinContent(32,15539.37); h_SL1L261->SetBinContent(33,27823.26); h_SL1L261->SetBinContent(34,58971.28); h_SL1L261->SetBinContent(35,66334.92); h_SL1L261->SetBinContent(36,71369.81); h_SL1L261->SetBinContent(37,76032.1); h_SL1L261->SetBinContent(38,74713.67); h_SL1L261->SetBinContent(39,64314.28); h_SL1L261->SetBinContent(40,26368.69); h_SL1L261->SetBinContent(41,15030.63); h_SL1L261->SetBinContent(42,12111.92); h_SL1L261->SetBinContent(43,11285.51); h_SL1L261->SetBinContent(44,10466.27); h_SL1L261->SetBinContent(45,10540.31); h_SL1L261->SetBinContent(46,10327.74); h_SL1L261->SetBinContent(47,10057.84); h_SL1L261->SetBinContent(48,10022.01); h_SL1L261->SetBinContent(49,20292.42); h_SL1L261->SetBinContent(50,9219.486); h_SL1L261->SetBinContent(51,8985.417); h_SL1L261->SetBinContent(52,8569.823); h_SL1L261->SetBinContent(53,8543.55); h_SL1L261->SetBinContent(54,8639.089); h_SL1L261->SetBinContent(55,8703.577); h_SL1L261->SetBinContent(56,11911.29); h_SL1L261->SetBinContent(57,8307.092); h_SL1L261->SetBinContent(58,8264.1); h_SL1L261->SetBinContent(59,7569.055); h_SL1L261->SetMaximum(87436.92); 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,8689.247); h_SL1L362->SetBinContent(2,8412.185); h_SL1L362->SetBinContent(3,8710.743); h_SL1L362->SetBinContent(4,8763.289); h_SL1L362->SetBinContent(5,8906.598); h_SL1L362->SetBinContent(6,9288.752); h_SL1L362->SetBinContent(7,8815.836); h_SL1L362->SetBinContent(8,9121.56); h_SL1L362->SetBinContent(9,8357.25); h_SL1L362->SetBinContent(10,7855.671); h_SL1L362->SetBinContent(11,7626.378); h_SL1L362->SetBinContent(12,8144.676); h_SL1L362->SetBinContent(13,8333.365); h_SL1L362->SetBinContent(14,8383.522); h_SL1L362->SetBinContent(15,8741.793); h_SL1L362->SetBinContent(16,8450.399); h_SL1L362->SetBinContent(17,8493.393); h_SL1L362->SetBinContent(18,9281.587); h_SL1L362->SetBinContent(19,9288.752); h_SL1L362->SetBinContent(20,9159.774); h_SL1L362->SetBinContent(21,10038.73); h_SL1L362->SetBinContent(22,9678.072); h_SL1L362->SetBinContent(23,10244.14); h_SL1L362->SetBinContent(24,10327.74); h_SL1L362->SetBinContent(25,10227.42); h_SL1L362->SetBinContent(26,9752.115); h_SL1L362->SetBinContent(27,10136.66); h_SL1L362->SetBinContent(28,10731.39); h_SL1L362->SetBinContent(29,11610.34); h_SL1L362->SetBinContent(30,11767.98); h_SL1L362->SetBinContent(31,12319.72); h_SL1L362->SetBinContent(32,15336.35); h_SL1L362->SetBinContent(33,39684.39); h_SL1L362->SetBinContent(34,56613.86); h_SL1L362->SetBinContent(35,60877.27); h_SL1L362->SetBinContent(36,64920.95); h_SL1L362->SetBinContent(37,67072.96); h_SL1L362->SetBinContent(38,61436.18); h_SL1L362->SetBinContent(39,41697.88); h_SL1L362->SetBinContent(40,15025.85); h_SL1L362->SetBinContent(41,11225.8); h_SL1L362->SetBinContent(42,10568.97); h_SL1L362->SetBinContent(43,9823.769); h_SL1L362->SetBinContent(44,9358.018); h_SL1L362->SetBinContent(45,9293.529); h_SL1L362->SetBinContent(46,8947.201); h_SL1L362->SetBinContent(47,9037.963); h_SL1L362->SetBinContent(48,8610.427); h_SL1L362->SetBinContent(49,8283.207); h_SL1L362->SetBinContent(50,8588.931); h_SL1L362->SetBinContent(51,7893.887); h_SL1L362->SetBinContent(52,7545.17); h_SL1L362->SetBinContent(53,10141.44); h_SL1L362->SetBinContent(54,7686.09); h_SL1L362->SetBinContent(55,7693.255); h_SL1L362->SetBinContent(56,11498.08); h_SL1L362->SetBinContent(57,7571.444); h_SL1L362->SetBinContent(58,7143.908); h_SL1L362->SetBinContent(59,6799.968); h_SL1L362->SetMaximum(87436.92); 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,8627.146); h_SL1L463->SetBinContent(3,8393.076); h_SL1L463->SetBinContent(4,8175.726); h_SL1L463->SetBinContent(5,8013.31); h_SL1L463->SetBinContent(6,8350.084); h_SL1L463->SetBinContent(7,8605.65); h_SL1L463->SetBinContent(8,8734.628); h_SL1L463->SetBinContent(9,8572.212); h_SL1L463->SetBinContent(10,7628.767); h_SL1L463->SetBinContent(11,7394.697); h_SL1L463->SetBinContent(12,7521.286); h_SL1L463->SetBinContent(13,7805.514); h_SL1L463->SetBinContent(14,8536.385); h_SL1L463->SetBinContent(15,8495.781); h_SL1L463->SetBinContent(16,8364.415); h_SL1L463->SetBinContent(17,8438.458); h_SL1L463->SetBinContent(18,8426.516); h_SL1L463->SetBinContent(19,8744.182); h_SL1L463->SetBinContent(20,8619.981); h_SL1L463->SetBinContent(21,9045.129); h_SL1L463->SetBinContent(22,9372.349); h_SL1L463->SetBinContent(23,9398.622); h_SL1L463->SetBinContent(24,9632.691); h_SL1L463->SetBinContent(25,9341.299); h_SL1L463->SetBinContent(26,9599.253); h_SL1L463->SetBinContent(27,9109.617); h_SL1L463->SetBinContent(28,9549.095); h_SL1L463->SetBinContent(29,9907.365); h_SL1L463->SetBinContent(30,10406.56); h_SL1L463->SetBinContent(31,10975.01); h_SL1L463->SetBinContent(32,12639.77); h_SL1L463->SetBinContent(33,21424.56); h_SL1L463->SetBinContent(34,51815.43); h_SL1L463->SetBinContent(35,61620.09); h_SL1L463->SetBinContent(36,64739.43); h_SL1L463->SetBinContent(37,66757.68); h_SL1L463->SetBinContent(38,66499.73); h_SL1L463->SetBinContent(39,57748.38); h_SL1L463->SetBinContent(40,22439.66); h_SL1L463->SetBinContent(41,12498.85); h_SL1L463->SetBinContent(42,10158.15); h_SL1L463->SetBinContent(43,9647.022); h_SL1L463->SetBinContent(44,8906.598); h_SL1L463->SetBinContent(45,8491.004); h_SL1L463->SetBinContent(46,8502.946); h_SL1L463->SetBinContent(47,7987.037); h_SL1L463->SetBinContent(48,7655.04); h_SL1L463->SetBinContent(49,7263.331); h_SL1L463->SetBinContent(50,7662.206); h_SL1L463->SetBinContent(51,7155.85); h_SL1L463->SetBinContent(52,6721.149); h_SL1L463->SetBinContent(53,6367.656); h_SL1L463->SetBinContent(54,6807.134); h_SL1L463->SetBinContent(56,6594.56); h_SL1L463->SetBinContent(57,6563.51); h_SL1L463->SetBinContent(58,6902.672); h_SL1L463->SetBinContent(59,6850.126); h_SL1L463->SetMaximum(87436.92); 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 6644"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }