void RatesPerCell_Removing_noisy_cells_run_6743_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16854.55,67.5,151690.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6743",60,0,60); h_SL1L160->SetBinContent(1,38446.54); h_SL1L160->SetBinContent(2,37401.71); h_SL1L160->SetBinContent(3,37598.71); h_SL1L160->SetBinContent(4,36833.17); h_SL1L160->SetBinContent(5,35711.05); h_SL1L160->SetBinContent(6,37032.66); h_SL1L160->SetBinContent(7,35541.48); h_SL1L160->SetBinContent(8,35773.39); h_SL1L160->SetBinContent(9,33239.88); h_SL1L160->SetBinContent(10,29968.25); h_SL1L160->SetBinContent(11,28838.64); h_SL1L160->SetBinContent(12,31147.73); h_SL1L160->SetBinContent(13,32110.27); h_SL1L160->SetBinContent(14,31432); h_SL1L160->SetBinContent(15,31541.72); h_SL1L160->SetBinContent(16,29447.09); h_SL1L160->SetBinContent(17,30898.37); h_SL1L160->SetBinContent(18,32274.85); h_SL1L160->SetBinContent(19,33601.45); h_SL1L160->SetBinContent(20,33152.6); h_SL1L160->SetBinContent(21,34491.67); h_SL1L160->SetBinContent(22,34898.13); h_SL1L160->SetBinContent(23,34115.13); h_SL1L160->SetBinContent(24,32180.09); h_SL1L160->SetBinContent(25,32569.09); h_SL1L160->SetBinContent(26,32147.67); h_SL1L160->SetBinContent(27,31105.34); h_SL1L160->SetBinContent(28,32322.22); h_SL1L160->SetBinContent(29,31736.22); h_SL1L160->SetBinContent(30,31589.1); h_SL1L160->SetBinContent(31,29771.26); h_SL1L160->SetBinContent(32,30591.66); h_SL1L160->SetBinContent(33,48907.25); h_SL1L160->SetBinContent(34,62071.04); h_SL1L160->SetBinContent(35,64646.94); h_SL1L160->SetBinContent(36,65414.98); h_SL1L160->SetBinContent(37,71137.82); h_SL1L160->SetBinContent(38,71978.16); h_SL1L160->SetBinContent(39,51864.68); h_SL1L160->SetBinContent(40,30182.7); h_SL1L160->SetBinContent(41,28584.3); h_SL1L160->SetBinContent(42,28280.08); h_SL1L160->SetBinContent(43,27556.93); h_SL1L160->SetBinContent(44,27437.23); h_SL1L160->SetBinContent(45,25606.92); h_SL1L160->SetBinContent(46,24831.41); h_SL1L160->SetBinContent(47,24020.98); h_SL1L160->SetBinContent(48,22153.27); h_SL1L160->SetBinContent(49,24215.48); h_SL1L160->SetBinContent(50,24168.11); h_SL1L160->SetBinContent(51,23070.92); h_SL1L160->SetBinContent(52,22721.81); h_SL1L160->SetBinContent(53,23277.89); h_SL1L160->SetBinContent(54,22816.57); h_SL1L160->SetBinContent(55,23262.92); h_SL1L160->SetBinContent(56,23711.78); h_SL1L160->SetBinContent(57,25893.69); h_SL1L160->SetBinContent(58,26068.24); h_SL1L160->SetBinContent(59,26150.53); h_SL1L160->SetMaximum(134836.3); 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,41453.84); h_SL1L261->SetBinContent(2,38810.61); h_SL1L261->SetBinContent(3,39042.52); h_SL1L261->SetBinContent(4,39351.72); h_SL1L261->SetBinContent(5,38184.71); h_SL1L261->SetBinContent(6,41807.93); h_SL1L261->SetBinContent(7,40316.75); h_SL1L261->SetBinContent(8,39693.35); h_SL1L261->SetBinContent(9,38750.76); h_SL1L261->SetBinContent(10,34880.67); h_SL1L261->SetBinContent(11,34150.04); h_SL1L261->SetBinContent(12,34027.86); h_SL1L261->SetBinContent(13,36015.27); h_SL1L261->SetBinContent(14,37576.27); h_SL1L261->SetBinContent(15,37972.75); h_SL1L261->SetBinContent(16,37411.69); h_SL1L261->SetBinContent(17,36237.2); h_SL1L261->SetBinContent(18,37616.17); h_SL1L261->SetBinContent(19,39040.02); h_SL1L261->SetBinContent(20,40291.81); h_SL1L261->SetBinContent(21,41364.07); h_SL1L261->SetBinContent(22,42112.15); h_SL1L261->SetBinContent(23,42451.29); h_SL1L261->SetBinContent(24,42570.98); h_SL1L261->SetBinContent(25,43376.41); h_SL1L261->SetBinContent(26,41610.94); h_SL1L261->SetBinContent(27,39663.42); h_SL1L261->SetBinContent(28,41581.01); h_SL1L261->SetBinContent(29,41461.32); h_SL1L261->SetBinContent(30,42234.34); h_SL1L261->SetBinContent(31,42062.28); h_SL1L261->SetBinContent(32,41551.09); h_SL1L261->SetBinContent(33,53667.56); h_SL1L261->SetBinContent(34,85099.56); h_SL1L261->SetBinContent(35,93109.05); h_SL1L261->SetBinContent(36,97328.25); h_SL1L261->SetBinContent(37,101956.4); h_SL1L261->SetBinContent(38,100300.6); h_SL1L261->SetBinContent(39,88014.6); h_SL1L261->SetBinContent(40,51587.89); h_SL1L261->SetBinContent(41,40159.65); h_SL1L261->SetBinContent(42,35760.92); h_SL1L261->SetBinContent(43,35591.35); h_SL1L261->SetBinContent(44,34409.38); h_SL1L261->SetBinContent(45,34426.84); h_SL1L261->SetBinContent(46,34269.74); h_SL1L261->SetBinContent(47,34681.18); h_SL1L261->SetBinContent(48,32763.59); h_SL1L261->SetBinContent(49,43229.29); h_SL1L261->SetBinContent(50,32107.77); h_SL1L261->SetBinContent(51,30519.34); h_SL1L261->SetBinContent(52,30050.54); h_SL1L261->SetBinContent(53,31247.48); h_SL1L261->SetBinContent(54,30629.06); h_SL1L261->SetBinContent(55,30831.04); h_SL1L261->SetBinContent(56,34352.03); h_SL1L261->SetBinContent(57,30040.57); h_SL1L261->SetBinContent(58,29816.14); h_SL1L261->SetBinContent(59,27227.77); h_SL1L261->SetMaximum(117249.8); 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,31825.99); h_SL1L362->SetBinContent(2,30920.81); h_SL1L362->SetBinContent(3,31970.62); h_SL1L362->SetBinContent(4,32200.04); h_SL1L362->SetBinContent(5,32219.99); h_SL1L362->SetBinContent(6,33501.7); h_SL1L362->SetBinContent(7,32449.4); h_SL1L362->SetBinContent(8,32227.47); h_SL1L362->SetBinContent(9,29392.23); h_SL1L362->SetBinContent(10,27447.21); h_SL1L362->SetBinContent(11,27494.59); h_SL1L362->SetBinContent(12,28591.78); h_SL1L362->SetBinContent(13,30629.06); h_SL1L362->SetBinContent(14,30417.1); h_SL1L362->SetBinContent(15,30868.45); h_SL1L362->SetBinContent(16,29477.01); h_SL1L362->SetBinContent(17,29806.17); h_SL1L362->SetBinContent(18,30998.12); h_SL1L362->SetBinContent(19,31993.07); h_SL1L362->SetBinContent(20,32339.68); h_SL1L362->SetBinContent(21,34234.82); h_SL1L362->SetBinContent(22,33935.59); h_SL1L362->SetBinContent(23,34568.97); h_SL1L362->SetBinContent(24,34461.75); h_SL1L362->SetBinContent(25,33965.52); h_SL1L362->SetBinContent(26,31090.38); h_SL1L362->SetBinContent(27,32890.77); h_SL1L362->SetBinContent(28,32047.93); h_SL1L362->SetBinContent(29,33648.83); h_SL1L362->SetBinContent(30,31748.69); h_SL1L362->SetBinContent(31,32332.2); h_SL1L362->SetBinContent(32,32569.09); h_SL1L362->SetBinContent(33,51066.72); h_SL1L362->SetBinContent(34,65532.18); h_SL1L362->SetBinContent(35,68464.66); h_SL1L362->SetBinContent(36,70175.28); h_SL1L362->SetBinContent(37,73414.49); h_SL1L362->SetBinContent(38,67504.62); h_SL1L362->SetBinContent(39,53734.89); h_SL1L362->SetBinContent(40,30581.68); h_SL1L362->SetBinContent(41,29377.27); h_SL1L362->SetBinContent(42,28699); h_SL1L362->SetBinContent(43,28631.68); h_SL1L362->SetBinContent(44,27579.37); h_SL1L362->SetBinContent(45,27003.35); h_SL1L362->SetBinContent(46,27529.5); h_SL1L362->SetBinContent(47,27816.26); h_SL1L362->SetBinContent(48,25686.72); h_SL1L362->SetBinContent(49,26170.48); h_SL1L362->SetBinContent(50,25881.22); h_SL1L362->SetBinContent(51,24220.47); h_SL1L362->SetBinContent(52,24113.25); h_SL1L362->SetBinContent(53,26798.87); h_SL1L362->SetBinContent(54,23881.34); h_SL1L362->SetBinContent(55,24262.86); h_SL1L362->SetBinContent(56,28073.11); h_SL1L362->SetBinContent(57,24190.55); h_SL1L362->SetBinContent(58,22679.42); h_SL1L362->SetBinContent(59,22779.16); h_SL1L362->SetMaximum(117249.8); 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,33102.73); h_SL1L463->SetBinContent(3,33140.13); h_SL1L463->SetBinContent(4,31751.19); h_SL1L463->SetBinContent(5,30841.02); h_SL1L463->SetBinContent(6,33267.3); h_SL1L463->SetBinContent(7,31910.78); h_SL1L463->SetBinContent(8,32514.23); h_SL1L463->SetBinContent(9,32145.18); h_SL1L463->SetBinContent(10,30030.59); h_SL1L463->SetBinContent(11,29464.54); h_SL1L463->SetBinContent(12,29880.98); h_SL1L463->SetBinContent(13,31010.58); h_SL1L463->SetBinContent(14,33780.99); h_SL1L463->SetBinContent(15,33239.88); h_SL1L463->SetBinContent(16,32362.12); h_SL1L463->SetBinContent(17,29968.25); h_SL1L463->SetBinContent(18,30392.17); h_SL1L463->SetBinContent(19,31703.81); h_SL1L463->SetBinContent(20,31746.2); h_SL1L463->SetBinContent(21,32426.96); h_SL1L463->SetBinContent(22,32833.41); h_SL1L463->SetBinContent(23,32205.02); h_SL1L463->SetBinContent(24,32975.55); h_SL1L463->SetBinContent(25,31135.26); h_SL1L463->SetBinContent(26,32431.94); h_SL1L463->SetBinContent(27,30803.61); h_SL1L463->SetBinContent(28,30107.89); h_SL1L463->SetBinContent(29,31057.96); h_SL1L463->SetBinContent(30,31983.09); h_SL1L463->SetBinContent(31,30806.11); h_SL1L463->SetBinContent(32,30833.54); h_SL1L463->SetBinContent(33,35312.07); h_SL1L463->SetBinContent(34,59305.62); h_SL1L463->SetBinContent(35,70364.8); h_SL1L463->SetBinContent(36,67953.48); h_SL1L463->SetBinContent(37,63427.57); h_SL1L463->SetBinContent(38,66931.09); h_SL1L463->SetBinContent(39,65158.13); h_SL1L463->SetBinContent(40,33307.2); h_SL1L463->SetBinContent(41,26275.21); h_SL1L463->SetBinContent(42,24966.06); h_SL1L463->SetBinContent(43,25300.21); h_SL1L463->SetBinContent(44,24701.74); h_SL1L463->SetBinContent(45,22120.85); h_SL1L463->SetBinContent(46,23357.68); h_SL1L463->SetBinContent(47,22594.64); h_SL1L463->SetBinContent(48,21420.14); h_SL1L463->SetBinContent(49,20185.8); h_SL1L463->SetBinContent(50,21011.19); h_SL1L463->SetBinContent(51,19874.1); h_SL1L463->SetBinContent(52,19485.1); h_SL1L463->SetBinContent(53,19318.03); h_SL1L463->SetBinContent(54,19936.44); h_SL1L463->SetBinContent(56,20951.34); h_SL1L463->SetBinContent(57,21479.99); h_SL1L463->SetBinContent(58,23709.28); h_SL1L463->SetBinContent(59,23370.15); h_SL1L463->SetMaximum(117249.8); 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 6743"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }