void RatesPerCell_Removing_noisy_cells_run_6873_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12838.89,67.5,115550); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6873",60,0,60); h_SL3L168->SetBinContent(1,9306.591); h_SL3L168->SetBinContent(2,6591.348); h_SL3L168->SetBinContent(4,10838.83); h_SL3L168->SetBinContent(5,11205.29); h_SL3L168->SetBinContent(6,12122.67); h_SL3L168->SetBinContent(7,11404.51); h_SL3L168->SetBinContent(8,11569.29); h_SL3L168->SetBinContent(9,11153.64); h_SL3L168->SetBinContent(10,10391.21); h_SL3L168->SetBinContent(11,10101); h_SL3L168->SetBinContent(12,10302.67); h_SL3L168->SetBinContent(13,10319.89); h_SL3L168->SetBinContent(14,11207.75); h_SL3L168->SetBinContent(15,11362.7); h_SL3L168->SetBinContent(16,11564.37); h_SL3L168->SetBinContent(17,10755.21); h_SL3L168->SetBinContent(18,11030.67); h_SL3L168->SetBinContent(19,11903.78); h_SL3L168->SetBinContent(20,11913.62); h_SL3L168->SetBinContent(21,12176.78); h_SL3L168->SetBinContent(22,12826.08); h_SL3L168->SetBinContent(23,13512.26); h_SL3L168->SetBinContent(24,12983.48); h_SL3L168->SetBinContent(25,13408.97); h_SL3L168->SetBinContent(26,13613.1); h_SL3L168->SetBinContent(27,13342.56); h_SL3L168->SetBinContent(28,13103.99); h_SL3L168->SetBinContent(29,13433.56); h_SL3L168->SetBinContent(30,14387.83); h_SL3L168->SetBinContent(31,14601.8); h_SL3L168->SetBinContent(32,15762.67); h_SL3L168->SetBinContent(33,18846.83); h_SL3L168->SetBinContent(34,47056.82); h_SL3L168->SetBinContent(35,65861.84); h_SL3L168->SetBinContent(36,70394.62); h_SL3L168->SetBinContent(37,76019.4); h_SL3L168->SetBinContent(38,77664.77); h_SL3L168->SetBinContent(39,72042.45); h_SL3L168->SetBinContent(40,48111.93); h_SL3L168->SetBinContent(41,18404.13); h_SL3L168->SetBinContent(42,13841.83); h_SL3L168->SetBinContent(43,12353.86); h_SL3L168->SetBinContent(44,11635.7); h_SL3L168->SetBinContent(45,11288.91); h_SL3L168->SetBinContent(46,11173.32); h_SL3L168->SetBinContent(47,11116.75); h_SL3L168->SetBinContent(48,11126.59); h_SL3L168->SetBinContent(49,10836.37); h_SL3L168->SetBinContent(50,10686.35); h_SL3L168->SetBinContent(51,10376.46); h_SL3L168->SetBinContent(52,10351.86); h_SL3L168->SetBinContent(53,9717.32); h_SL3L168->SetBinContent(54,9700.104); h_SL3L168->SetBinContent(55,9791.104); h_SL3L168->SetBinContent(56,9424.645); h_SL3L168->SetBinContent(57,9424.645); h_SL3L168->SetBinContent(58,7373.456); h_SL3L168->SetBinContent(59,6274.078); h_SL3L168->SetMaximum(102711.1); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,9171.32); h_SL3L269->SetBinContent(2,6881.564); h_SL3L269->SetBinContent(4,8952.429); h_SL3L269->SetBinContent(5,10742.91); h_SL3L269->SetBinContent(6,11421.72); h_SL3L269->SetBinContent(7,11252.02); h_SL3L269->SetBinContent(8,11094.62); h_SL3L269->SetBinContent(9,11220.05); h_SL3L269->SetBinContent(10,10280.54); h_SL3L269->SetBinContent(11,9291.834); h_SL3L269->SetBinContent(12,9542.698); h_SL3L269->SetBinContent(13,10248.56); h_SL3L269->SetBinContent(14,10260.86); h_SL3L269->SetBinContent(15,10873.27); h_SL3L269->SetBinContent(16,11082.32); h_SL3L269->SetBinContent(17,10501.89); h_SL3L269->SetBinContent(18,10619.94); h_SL3L269->SetBinContent(19,11050.35); h_SL3L269->SetBinContent(20,11372.54); h_SL3L269->SetBinContent(21,11780.81); h_SL3L269->SetBinContent(22,12100.54); h_SL3L269->SetBinContent(23,12737.54); h_SL3L269->SetBinContent(24,12521.1); h_SL3L269->SetBinContent(25,12644.08); h_SL3L269->SetBinContent(26,12931.83); h_SL3L269->SetBinContent(27,12789.18); h_SL3L269->SetBinContent(28,12744.91); h_SL3L269->SetBinContent(29,12651.45); h_SL3L269->SetBinContent(30,12715.4); h_SL3L269->SetBinContent(31,13477.83); h_SL3L269->SetBinContent(32,13898.4); h_SL3L269->SetBinContent(33,16608.72); h_SL3L269->SetBinContent(34,28069.8); h_SL3L269->SetBinContent(35,59619.73); h_SL3L269->SetBinContent(36,68171.27); h_SL3L269->SetBinContent(37,73038.53); h_SL3L269->SetBinContent(38,76501.45); h_SL3L269->SetBinContent(39,76002.18); h_SL3L269->SetBinContent(40,63210.54); h_SL3L269->SetBinContent(41,27826.31); h_SL3L269->SetBinContent(42,15752.83); h_SL3L269->SetBinContent(43,12592.43); h_SL3L269->SetBinContent(44,11544.7); h_SL3L269->SetBinContent(45,11202.83); h_SL3L269->SetBinContent(46,11156.1); h_SL3L269->SetBinContent(47,10610.1); h_SL3L269->SetBinContent(48,10669.13); h_SL3L269->SetBinContent(49,10671.59); h_SL3L269->SetBinContent(50,10575.67); h_SL3L269->SetBinContent(51,10005.08); h_SL3L269->SetBinContent(52,10034.59); h_SL3L269->SetBinContent(53,9382.834); h_SL3L269->SetBinContent(54,8920.455); h_SL3L269->SetBinContent(55,9434.482); h_SL3L269->SetBinContent(56,9252.482); h_SL3L269->SetBinContent(57,8881.104); h_SL3L269->SetBinContent(58,8285.915); h_SL3L269->SetBinContent(59,6790.564); h_SL3L269->SetMaximum(89314.49); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,7985.861); h_SL3L370->SetBinContent(2,6325.727); h_SL3L370->SetBinContent(3,7417.727); h_SL3L370->SetBinContent(4,10064.1); h_SL3L370->SetBinContent(5,10405.97); h_SL3L370->SetBinContent(6,10988.86); h_SL3L370->SetBinContent(7,10738); h_SL3L370->SetBinContent(8,10253.48); h_SL3L370->SetBinContent(9,10228.89); h_SL3L370->SetBinContent(10,9259.86); h_SL3L370->SetBinContent(11,9264.779); h_SL3L370->SetBinContent(12,9309.05); h_SL3L370->SetBinContent(13,9739.455); h_SL3L370->SetBinContent(14,10344.48); h_SL3L370->SetBinContent(15,10477.29); h_SL3L370->SetBinContent(16,10447.78); h_SL3L370->SetBinContent(17,9887.022); h_SL3L370->SetBinContent(18,10521.56); h_SL3L370->SetBinContent(19,10683.89); h_SL3L370->SetBinContent(20,10924.91); h_SL3L370->SetBinContent(21,11212.67); h_SL3L370->SetBinContent(22,11839.83); h_SL3L370->SetBinContent(23,11955.43); h_SL3L370->SetBinContent(24,12024.29); h_SL3L370->SetBinContent(25,12169.4); h_SL3L370->SetBinContent(26,12233.35); h_SL3L370->SetBinContent(27,12132.51); h_SL3L370->SetBinContent(28,12375.99); h_SL3L370->SetBinContent(29,12127.59); h_SL3L370->SetBinContent(30,13032.67); h_SL3L370->SetBinContent(31,13167.94); h_SL3L370->SetBinContent(32,14350.94); h_SL3L370->SetBinContent(33,18153.26); h_SL3L370->SetBinContent(34,46333.73); h_SL3L370->SetBinContent(35,65242.05); h_SL3L370->SetBinContent(36,69880.59); h_SL3L370->SetBinContent(37,74524.05); h_SL3L370->SetBinContent(38,76398.16); h_SL3L370->SetBinContent(39,71474.32); h_SL3L370->SetBinContent(40,47260.95); h_SL3L370->SetBinContent(41,17228.51); h_SL3L370->SetBinContent(42,13177.78); h_SL3L370->SetBinContent(43,11367.62); h_SL3L370->SetBinContent(44,10932.29); h_SL3L370->SetBinContent(45,457.4593); h_SL3L370->SetBinContent(46,10489.59); h_SL3L370->SetBinContent(47,10140.35); h_SL3L370->SetBinContent(48,9773.888); h_SL3L370->SetBinContent(49,10054.27); h_SL3L370->SetBinContent(50,9771.428); h_SL3L370->SetBinContent(51,9225.429); h_SL3L370->SetBinContent(52,9318.888); h_SL3L370->SetBinContent(53,9336.104); h_SL3L370->SetBinContent(54,8519.563); h_SL3L370->SetBinContent(55,9119.672); h_SL3L370->SetBinContent(56,8888.482); h_SL3L370->SetBinContent(57,8502.348); h_SL3L370->SetBinContent(58,7230.808); h_SL3L370->SetBinContent(59,6094.538); h_SL3L370->SetMaximum(89314.49); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,6121.592); h_SL3L471->SetBinContent(3,6529.862); h_SL3L471->SetBinContent(4,8170.321); h_SL3L471->SetBinContent(5,9414.807); h_SL3L471->SetBinContent(6,10452.7); h_SL3L471->SetBinContent(7,10642.08); h_SL3L471->SetBinContent(8,9928.833); h_SL3L471->SetBinContent(9,9938.671); h_SL3L471->SetBinContent(10,9569.753); h_SL3L471->SetBinContent(11,8841.753); h_SL3L471->SetBinContent(12,8718.78); h_SL3L471->SetBinContent(13,8972.104); h_SL3L471->SetBinContent(14,9714.86); h_SL3L471->SetBinContent(15,9631.239); h_SL3L471->SetBinContent(16,9751.752); h_SL3L471->SetBinContent(17,9680.428); h_SL3L471->SetBinContent(18,9623.86); h_SL3L471->SetBinContent(19,9921.455); h_SL3L471->SetBinContent(20,10228.89); h_SL3L471->SetBinContent(21,10374); h_SL3L471->SetBinContent(22,10878.18); h_SL3L471->SetBinContent(23,11202.83); h_SL3L471->SetBinContent(24,11525.02); h_SL3L471->SetBinContent(25,11256.94); h_SL3L471->SetBinContent(26,11783.26); h_SL3L471->SetBinContent(27,12026.75); h_SL3L471->SetBinContent(28,11566.83); h_SL3L471->SetBinContent(29,11770.97); h_SL3L471->SetBinContent(30,12139.89); h_SL3L471->SetBinContent(31,12516.18); h_SL3L471->SetBinContent(32,12953.97); h_SL3L471->SetBinContent(33,15836.45); h_SL3L471->SetBinContent(34,27678.74); h_SL3L471->SetBinContent(35,58795.81); h_SL3L471->SetBinContent(36,66956.3); h_SL3L471->SetBinContent(37,72263.8); h_SL3L471->SetBinContent(38,75790.67); h_SL3L471->SetBinContent(39,75141.38); h_SL3L471->SetBinContent(40,62271.03); h_SL3L471->SetBinContent(41,26744.15); h_SL3L471->SetBinContent(42,14769.05); h_SL3L471->SetBinContent(43,11446.32); h_SL3L471->SetBinContent(44,10445.32); h_SL3L471->SetBinContent(45,10587.97); h_SL3L471->SetBinContent(46,10098.54); h_SL3L471->SetBinContent(47,9845.212); h_SL3L471->SetBinContent(48,9663.212); h_SL3L471->SetBinContent(49,9791.104); h_SL3L471->SetBinContent(50,9645.996); h_SL3L471->SetBinContent(51,9461.536); h_SL3L471->SetBinContent(52,8967.186); h_SL3L471->SetBinContent(53,8672.05); h_SL3L471->SetBinContent(54,8662.212); h_SL3L471->SetBinContent(55,8293.294); h_SL3L471->SetBinContent(56,8667.131); h_SL3L471->SetBinContent(57,8234.267); h_SL3L471->SetBinContent(58,8155.564); h_SL3L471->SetBinContent(59,6057.646); h_SL3L471->SetMaximum(89314.49); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6873"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }