void RatesPerCell_Removing_noisy_cells_run_6697_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:34 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13779.73,67.5,124017.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6697",60,0,60); h_SL1L160->SetBinContent(1,18344.34); h_SL1L160->SetBinContent(2,17780.85); h_SL1L160->SetBinContent(3,18224.39); h_SL1L160->SetBinContent(4,17473.99); h_SL1L160->SetBinContent(5,16296.79); h_SL1L160->SetBinContent(6,17091.82); h_SL1L160->SetBinContent(7,16927.23); h_SL1L160->SetBinContent(8,16639.9); h_SL1L160->SetBinContent(9,15300.9); h_SL1L160->SetBinContent(10,14260.38); h_SL1L160->SetBinContent(11,14081.85); h_SL1L160->SetBinContent(12,14210.17); h_SL1L160->SetBinContent(13,14974.52); h_SL1L160->SetBinContent(14,14851.78); h_SL1L160->SetBinContent(15,14190.64); h_SL1L160->SetBinContent(16,13688.52); h_SL1L160->SetBinContent(17,13989.79); h_SL1L160->SetBinContent(18,14843.41); h_SL1L160->SetBinContent(19,15443.17); h_SL1L160->SetBinContent(20,15339.96); h_SL1L160->SetBinContent(21,15844.87); h_SL1L160->SetBinContent(22,16171.25); h_SL1L160->SetBinContent(23,15864.4); h_SL1L160->SetBinContent(24,15066.58); h_SL1L160->SetBinContent(25,15627.28); h_SL1L160->SetBinContent(26,14815.51); h_SL1L160->SetBinContent(27,14882.46); h_SL1L160->SetBinContent(28,15197.69); h_SL1L160->SetBinContent(29,15245.11); h_SL1L160->SetBinContent(30,15317.64); h_SL1L160->SetBinContent(31,14851.78); h_SL1L160->SetBinContent(32,15897.87); h_SL1L160->SetBinContent(33,30903.08); h_SL1L160->SetBinContent(34,41709.95); h_SL1L160->SetBinContent(35,43997.41); h_SL1L160->SetBinContent(36,44778.5); h_SL1L160->SetBinContent(37,48457.97); h_SL1L160->SetBinContent(38,46870.69); h_SL1L160->SetBinContent(39,33659.2); h_SL1L160->SetBinContent(40,15878.35); h_SL1L160->SetBinContent(41,13864.26); h_SL1L160->SetBinContent(42,13367.72); h_SL1L160->SetBinContent(43,13013.44); h_SL1L160->SetBinContent(44,12829.33); h_SL1L160->SetBinContent(45,12051.03); h_SL1L160->SetBinContent(46,11752.54); h_SL1L160->SetBinContent(47,11158.36); h_SL1L160->SetBinContent(48,10120.63); h_SL1L160->SetBinContent(49,11030.04); h_SL1L160->SetBinContent(50,10834.77); h_SL1L160->SetBinContent(51,9989.522); h_SL1L160->SetBinContent(52,10048.1); h_SL1L160->SetBinContent(53,10477.7); h_SL1L160->SetBinContent(54,10145.74); h_SL1L160->SetBinContent(55,10474.91); h_SL1L160->SetBinContent(56,11172.31); h_SL1L160->SetBinContent(57,11844.6); h_SL1L160->SetBinContent(58,12087.29); h_SL1L160->SetBinContent(59,12993.91); h_SL1L160->SetMaximum(110237.8); 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,20520.22); h_SL1L261->SetBinContent(2,19044.53); h_SL1L261->SetBinContent(3,19493.66); h_SL1L261->SetBinContent(4,19504.81); h_SL1L261->SetBinContent(5,19278.86); h_SL1L261->SetBinContent(6,20087.84); h_SL1L261->SetBinContent(7,20043.21); h_SL1L261->SetBinContent(8,20165.95); h_SL1L261->SetBinContent(9,19655.45); h_SL1L261->SetBinContent(10,17301.04); h_SL1L261->SetBinContent(11,16971.87); h_SL1L261->SetBinContent(12,17259.19); h_SL1L261->SetBinContent(13,17945.43); h_SL1L261->SetBinContent(14,19181.22); h_SL1L261->SetBinContent(15,19407.18); h_SL1L261->SetBinContent(16,18559.14); h_SL1L261->SetBinContent(17,18645.62); h_SL1L261->SetBinContent(18,18394.56); h_SL1L261->SetBinContent(19,20132.47); h_SL1L261->SetBinContent(20,20536.96); h_SL1L261->SetBinContent(21,20974.93); h_SL1L261->SetBinContent(22,21479.84); h_SL1L261->SetBinContent(23,21990.34); h_SL1L261->SetBinContent(24,21658.38); h_SL1L261->SetBinContent(25,22099.13); h_SL1L261->SetBinContent(26,21538.43); h_SL1L261->SetBinContent(27,20536.96); h_SL1L261->SetBinContent(28,21368.26); h_SL1L261->SetBinContent(29,21703.01); h_SL1L261->SetBinContent(30,22333.46); h_SL1L261->SetBinContent(31,22355.78); h_SL1L261->SetBinContent(32,24051.85); h_SL1L261->SetBinContent(33,34953.56); h_SL1L261->SetBinContent(34,66177.45); h_SL1L261->SetBinContent(35,74554.59); h_SL1L261->SetBinContent(36,79182.52); h_SL1L261->SetBinContent(37,83048.89); h_SL1L261->SetBinContent(38,81620.62); h_SL1L261->SetBinContent(39,69656.06); h_SL1L261->SetBinContent(40,34457.02); h_SL1L261->SetBinContent(41,23114.54); h_SL1L261->SetBinContent(42,19730.77); h_SL1L261->SetBinContent(43,18927.37); h_SL1L261->SetBinContent(44,18271.81); h_SL1L261->SetBinContent(45,18570.3); h_SL1L261->SetBinContent(46,18255.08); h_SL1L261->SetBinContent(47,18330.4); h_SL1L261->SetBinContent(48,17434.94); h_SL1L261->SetBinContent(49,16715.22); h_SL1L261->SetBinContent(50,17147.61); h_SL1L261->SetBinContent(51,16268.89); h_SL1L261->SetBinContent(52,15286.95); h_SL1L261->SetBinContent(53,15973.19); h_SL1L261->SetBinContent(54,15356.69); h_SL1L261->SetBinContent(55,15998.3); h_SL1L261->SetBinContent(56,15741.66); h_SL1L261->SetBinContent(57,15024.73); h_SL1L261->SetBinContent(58,15055.42); h_SL1L261->SetBinContent(59,14776.46); h_SL1L261->SetMaximum(95859.1); 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,18704.2); h_SL1L362->SetBinContent(2,18494.98); h_SL1L362->SetBinContent(3,19016.64); h_SL1L362->SetBinContent(4,18255.08); h_SL1L362->SetBinContent(5,19454.6); h_SL1L362->SetBinContent(6,20026.47); h_SL1L362->SetBinContent(7,19195.17); h_SL1L362->SetBinContent(8,18905.05); h_SL1L362->SetBinContent(9,17766.9); h_SL1L362->SetBinContent(10,16330.26); h_SL1L362->SetBinContent(11,16517.16); h_SL1L362->SetBinContent(12,17354.04); h_SL1L362->SetBinContent(13,17744.58); h_SL1L362->SetBinContent(14,17914.75); h_SL1L362->SetBinContent(15,18425.24); h_SL1L362->SetBinContent(16,17691.58); h_SL1L362->SetBinContent(17,17900.8); h_SL1L362->SetBinContent(18,19412.76); h_SL1L362->SetBinContent(19,19075.22); h_SL1L362->SetBinContent(20,19474.13); h_SL1L362->SetBinContent(21,20665.28); h_SL1L362->SetBinContent(22,20528.59); h_SL1L362->SetBinContent(23,21053.04); h_SL1L362->SetBinContent(24,21122.78); h_SL1L362->SetBinContent(25,21708.59); h_SL1L362->SetBinContent(26,20185.47); h_SL1L362->SetBinContent(27,20230.11); h_SL1L362->SetBinContent(28,20631.81); h_SL1L362->SetBinContent(29,21546.79); h_SL1L362->SetBinContent(30,21719.75); h_SL1L362->SetBinContent(31,21750.43); h_SL1L362->SetBinContent(32,24950.09); h_SL1L362->SetBinContent(33,52767.89); h_SL1L362->SetBinContent(34,71857.05); h_SL1L362->SetBinContent(35,76203.23); h_SL1L362->SetBinContent(36,81790.78); h_SL1L362->SetBinContent(37,83355.74); h_SL1L362->SetBinContent(38,75575.58); h_SL1L362->SetBinContent(39,54371.9); h_SL1L362->SetBinContent(40,24632.08); h_SL1L362->SetBinContent(41,20313.79); h_SL1L362->SetBinContent(42,18737.68); h_SL1L362->SetBinContent(43,18383.4); h_SL1L362->SetBinContent(44,17607.89); h_SL1L362->SetBinContent(45,17808.74); h_SL1L362->SetBinContent(46,17334.51); h_SL1L362->SetBinContent(47,17705.53); h_SL1L362->SetBinContent(48,16793.33); h_SL1L362->SetBinContent(49,16394.42); h_SL1L362->SetBinContent(50,15964.82); h_SL1L362->SetBinContent(51,15356.69); h_SL1L362->SetBinContent(52,15119.58); h_SL1L362->SetBinContent(53,15289.74); h_SL1L362->SetBinContent(54,14876.88); h_SL1L362->SetBinContent(55,15351.11); h_SL1L362->SetBinContent(56,15211.63); h_SL1L362->SetBinContent(57,14547.71); h_SL1L362->SetBinContent(58,14424.97); h_SL1L362->SetBinContent(59,14371.97); h_SL1L362->SetMaximum(95859.1); 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,16087.57); h_SL1L463->SetBinContent(3,15655.18); h_SL1L463->SetBinContent(4,15289.74); h_SL1L463->SetBinContent(5,14402.65); h_SL1L463->SetBinContent(6,14982.89); h_SL1L463->SetBinContent(7,15008); h_SL1L463->SetBinContent(8,15192.11); h_SL1L463->SetBinContent(9,15404.12); h_SL1L463->SetBinContent(10,14595.14); h_SL1L463->SetBinContent(11,14157.17); h_SL1L463->SetBinContent(12,14798.78); h_SL1L463->SetBinContent(13,14966.15); h_SL1L463->SetBinContent(14,16059.67); h_SL1L463->SetBinContent(15,15858.82); h_SL1L463->SetBinContent(16,15063.79); h_SL1L463->SetBinContent(17,14193.43); h_SL1L463->SetBinContent(18,13708.05); h_SL1L463->SetBinContent(19,14801.57); h_SL1L463->SetBinContent(20,14544.92); h_SL1L463->SetBinContent(21,14968.94); h_SL1L463->SetBinContent(22,15309.27); h_SL1L463->SetBinContent(23,15286.95); h_SL1L463->SetBinContent(24,15409.7); h_SL1L463->SetBinContent(25,14486.34); h_SL1L463->SetBinContent(26,15027.52); h_SL1L463->SetBinContent(27,14120.91); h_SL1L463->SetBinContent(28,14031.64); h_SL1L463->SetBinContent(29,14829.46); h_SL1L463->SetBinContent(30,15479.44); h_SL1L463->SetBinContent(31,15172.58); h_SL1L463->SetBinContent(32,15150.26); h_SL1L463->SetBinContent(33,19591.29); h_SL1L463->SetBinContent(34,40887.02); h_SL1L463->SetBinContent(35,49526.38); h_SL1L463->SetBinContent(36,53989.73); h_SL1L463->SetBinContent(37,54168.26); h_SL1L463->SetBinContent(38,52394.08); h_SL1L463->SetBinContent(39,46775.85); h_SL1L463->SetBinContent(40,20994.46); h_SL1L463->SetBinContent(41,14491.92); h_SL1L463->SetBinContent(42,12790.27); h_SL1L463->SetBinContent(43,12090.08); h_SL1L463->SetBinContent(44,12497.36); h_SL1L463->SetBinContent(45,10907.3); h_SL1L463->SetBinContent(46,11364.79); h_SL1L463->SetBinContent(47,10642.29); h_SL1L463->SetBinContent(48,10650.66); h_SL1L463->SetBinContent(49,9632.455); h_SL1L463->SetBinContent(50,9702.194); h_SL1L463->SetBinContent(51,9518.081); h_SL1L463->SetBinContent(52,8976.901); h_SL1L463->SetBinContent(53,9289.335); h_SL1L463->SetBinContent(54,9732.88); h_SL1L463->SetBinContent(56,9668.72); h_SL1L463->SetBinContent(57,9495.765); h_SL1L463->SetBinContent(58,10770.61); h_SL1L463->SetBinContent(59,11456.85); h_SL1L463->SetMaximum(95859.1); 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 6697"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }