void RatesPerCell_Removing_noisy_cells_run_6641_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:53:05 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12673.14,67.5,114058.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 6641",60,0,60); h_SL1L160->SetBinContent(1,9587.754); h_SL1L160->SetBinContent(2,9702.602); h_SL1L160->SetBinContent(3,9409.543); h_SL1L160->SetBinContent(4,9433.305); h_SL1L160->SetBinContent(5,9009.559); h_SL1L160->SetBinContent(6,9742.203); h_SL1L160->SetBinContent(7,9112.524); h_SL1L160->SetBinContent(8,9330.338); h_SL1L160->SetBinContent(9,8839.268); h_SL1L160->SetBinContent(10,8082.861); h_SL1L160->SetBinContent(11,8312.555); h_SL1L160->SetBinContent(12,8581.852); h_SL1L160->SetBinContent(13,8799.665); h_SL1L160->SetBinContent(14,8360.078); h_SL1L160->SetBinContent(15,8728.381); h_SL1L160->SetBinContent(16,8431.362); h_SL1L160->SetBinContent(17,8554.13); h_SL1L160->SetBinContent(18,9132.326); h_SL1L160->SetBinContent(19,9298.656); h_SL1L160->SetBinContent(20,9516.47); h_SL1L160->SetBinContent(21,10383.76); h_SL1L160->SetBinContent(22,10371.88); h_SL1L160->SetBinContent(23,10411.49); h_SL1L160->SetBinContent(24,10062.98); h_SL1L160->SetBinContent(25,10146.15); h_SL1L160->SetBinContent(26,9821.408); h_SL1L160->SetBinContent(27,9924.375); h_SL1L160->SetBinContent(28,10930.28); h_SL1L160->SetBinContent(29,11346.1); h_SL1L160->SetBinContent(30,11532.23); h_SL1L160->SetBinContent(31,11702.53); h_SL1L160->SetBinContent(32,15112.3); h_SL1L160->SetBinContent(33,37749.06); h_SL1L160->SetBinContent(34,54643.46); h_SL1L160->SetBinContent(35,58223.53); h_SL1L160->SetBinContent(36,60884.81); h_SL1L160->SetBinContent(37,65530.18); h_SL1L160->SetBinContent(38,61498.65); h_SL1L160->SetBinContent(39,41388.52); h_SL1L160->SetBinContent(40,14359.85); h_SL1L160->SetBinContent(41,11365.9); h_SL1L160->SetBinContent(42,9837.249); h_SL1L160->SetBinContent(43,9773.886); h_SL1L160->SetBinContent(44,9528.351); h_SL1L160->SetBinContent(45,9037.28); h_SL1L160->SetBinContent(46,8593.732); h_SL1L160->SetBinContent(47,8712.54); h_SL1L160->SetBinContent(48,8162.066); h_SL1L160->SetBinContent(49,8086.821); h_SL1L160->SetBinContent(50,7560.108); h_SL1L160->SetBinContent(51,7429.42); h_SL1L160->SetBinContent(52,7370.017); h_SL1L160->SetBinContent(53,7746.24); h_SL1L160->SetBinContent(54,7136.362); h_SL1L160->SetBinContent(55,7255.169); h_SL1L160->SetBinContent(56,6760.139); h_SL1L160->SetBinContent(57,7682.876); h_SL1L160->SetBinContent(58,7496.745); h_SL1L160->SetBinContent(59,8114.543); h_SL1L160->SetMaximum(101385.1); 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,9567.953); h_SL1L261->SetBinContent(2,9223.411); h_SL1L261->SetBinContent(3,9461.026); h_SL1L261->SetBinContent(4,9880.812); h_SL1L261->SetBinContent(5,9124.405); h_SL1L261->SetBinContent(6,10023.38); h_SL1L261->SetBinContent(7,9928.335); h_SL1L261->SetBinContent(8,9936.256); h_SL1L261->SetBinContent(9,9571.913); h_SL1L261->SetBinContent(10,8526.408); h_SL1L261->SetBinContent(11,8581.852); h_SL1L261->SetBinContent(12,8625.414); h_SL1L261->SetBinContent(13,9302.616); h_SL1L261->SetBinContent(14,9457.066); h_SL1L261->SetBinContent(15,9302.616); h_SL1L261->SetBinContent(16,9350.14); h_SL1L261->SetBinContent(17,9552.112); h_SL1L261->SetBinContent(18,9821.408); h_SL1L261->SetBinContent(19,9754.084); h_SL1L261->SetBinContent(20,10316.44); h_SL1L261->SetBinContent(21,10712.46); h_SL1L261->SetBinContent(22,11686.68); h_SL1L261->SetBinContent(23,11484.71); h_SL1L261->SetBinContent(24,11449.07); h_SL1L261->SetBinContent(25,11433.23); h_SL1L261->SetBinContent(26,10914.44); h_SL1L261->SetBinContent(27,10958); h_SL1L261->SetBinContent(28,12118.35); h_SL1L261->SetBinContent(29,12581.7); h_SL1L261->SetBinContent(30,12930.2); h_SL1L261->SetBinContent(31,13742.05); h_SL1L261->SetBinContent(32,16066.72); h_SL1L261->SetBinContent(33,26894.03); h_SL1L261->SetBinContent(34,58861.12); h_SL1L261->SetBinContent(35,66841.02); h_SL1L261->SetBinContent(36,71997.26); h_SL1L261->SetBinContent(37,76563.42); h_SL1L261->SetBinContent(38,74908.04); h_SL1L261->SetBinContent(39,62857.02); h_SL1L261->SetBinContent(40,26870.27); h_SL1L261->SetBinContent(41,14767.75); h_SL1L261->SetBinContent(42,12157.95); h_SL1L261->SetBinContent(43,11159.97); h_SL1L261->SetBinContent(44,10696.62); h_SL1L261->SetBinContent(45,10625.34); h_SL1L261->SetBinContent(46,10082.79); h_SL1L261->SetBinContent(47,10245.15); h_SL1L261->SetBinContent(48,10110.51); h_SL1L261->SetBinContent(49,22981.3); h_SL1L261->SetBinContent(50,9322.418); h_SL1L261->SetBinContent(51,8985.797); h_SL1L261->SetBinContent(52,8704.619); h_SL1L261->SetBinContent(53,8894.711); h_SL1L261->SetBinContent(54,8668.978); h_SL1L261->SetBinContent(55,8668.978); h_SL1L261->SetBinContent(56,12391.61); h_SL1L261->SetBinContent(57,8090.781); h_SL1L261->SetBinContent(58,7884.849); h_SL1L261->SetBinContent(59,8027.417); h_SL1L261->SetMaximum(88161.79); 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,8649.176); h_SL1L362->SetBinContent(2,9235.292); h_SL1L362->SetBinContent(3,9092.724); h_SL1L362->SetBinContent(4,8985.797); h_SL1L362->SetBinContent(5,9476.867); h_SL1L362->SetBinContent(6,9738.243); h_SL1L362->SetBinContent(7,9373.9); h_SL1L362->SetBinContent(8,9223.411); h_SL1L362->SetBinContent(9,8918.473); h_SL1L362->SetBinContent(10,8348.197); h_SL1L362->SetBinContent(11,7987.815); h_SL1L362->SetBinContent(12,8201.668); h_SL1L362->SetBinContent(13,8878.87); h_SL1L362->SetBinContent(14,9167.968); h_SL1L362->SetBinContent(15,9112.524); h_SL1L362->SetBinContent(16,8878.87); h_SL1L362->SetBinContent(17,9191.729); h_SL1L362->SetBinContent(18,10023.38); h_SL1L362->SetBinContent(19,9995.659); h_SL1L362->SetBinContent(20,10502.57); h_SL1L362->SetBinContent(21,10684.74); h_SL1L362->SetBinContent(22,11148.09); h_SL1L362->SetBinContent(23,11302.54); h_SL1L362->SetBinContent(24,10862.95); h_SL1L362->SetBinContent(25,11282.74); h_SL1L362->SetBinContent(26,10561.97); h_SL1L362->SetBinContent(27,11381.75); h_SL1L362->SetBinContent(28,11781.73); h_SL1L362->SetBinContent(29,11940.14); h_SL1L362->SetBinContent(30,12581.7); h_SL1L362->SetBinContent(31,14054.91); h_SL1L362->SetBinContent(32,17155.78); h_SL1L362->SetBinContent(33,45083.43); h_SL1L362->SetBinContent(34,64278.74); h_SL1L362->SetBinContent(35,68991.44); h_SL1L362->SetBinContent(36,74088.27); h_SL1L362->SetBinContent(37,76662.43); h_SL1L362->SetBinContent(38,70116.14); h_SL1L362->SetBinContent(39,47146.72); h_SL1L362->SetBinContent(40,16450.86); h_SL1L362->SetBinContent(41,12633.18); h_SL1L362->SetBinContent(42,11247.1); h_SL1L362->SetBinContent(43,10601.58); h_SL1L362->SetBinContent(44,10106.55); h_SL1L362->SetBinContent(45,9967.938); h_SL1L362->SetBinContent(46,10241.19); h_SL1L362->SetBinContent(47,10233.27); h_SL1L362->SetBinContent(48,9381.821); h_SL1L362->SetBinContent(49,9286.775); h_SL1L362->SetBinContent(50,8716.5); h_SL1L362->SetBinContent(51,8748.182); h_SL1L362->SetBinContent(52,8023.457); h_SL1L362->SetBinContent(53,10954.04); h_SL1L362->SetBinContent(54,8102.662); h_SL1L362->SetBinContent(55,8395.72); h_SL1L362->SetBinContent(56,12328.24); h_SL1L362->SetBinContent(57,7853.167); h_SL1L362->SetBinContent(58,7651.194); h_SL1L362->SetBinContent(59,7480.903); h_SL1L362->SetMaximum(88161.79); 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,8779.864); h_SL1L463->SetBinContent(3,8375.919); h_SL1L463->SetBinContent(4,8300.674); h_SL1L463->SetBinContent(5,8201.668); h_SL1L463->SetBinContent(6,8954.115); h_SL1L463->SetBinContent(7,8375.919); h_SL1L463->SetBinContent(8,8439.283); h_SL1L463->SetBinContent(9,8478.886); h_SL1L463->SetBinContent(10,7496.745); h_SL1L463->SetBinContent(11,7207.646); h_SL1L463->SetBinContent(12,7821.484); h_SL1L463->SetBinContent(13,8189.788); h_SL1L463->SetBinContent(14,8439.283); h_SL1L463->SetBinContent(15,8546.21); h_SL1L463->SetBinContent(16,8237.311); h_SL1L463->SetBinContent(17,7888.809); h_SL1L463->SetBinContent(18,7849.207); h_SL1L463->SetBinContent(19,8811.546); h_SL1L463->SetBinContent(20,8577.892); h_SL1L463->SetBinContent(21,8989.757); h_SL1L463->SetBinContent(22,9389.742); h_SL1L463->SetBinContent(23,9627.356); h_SL1L463->SetBinContent(24,9358.06); h_SL1L463->SetBinContent(25,9227.372); h_SL1L463->SetBinContent(26,9164.008); h_SL1L463->SetBinContent(27,9362.021); h_SL1L463->SetBinContent(28,9500.629); h_SL1L463->SetBinContent(29,10035.26); h_SL1L463->SetBinContent(30,9916.454); h_SL1L463->SetBinContent(31,11223.33); h_SL1L463->SetBinContent(32,12656.94); h_SL1L463->SetBinContent(33,20937.82); h_SL1L463->SetBinContent(34,51273.3); h_SL1L463->SetBinContent(35,61482.81); h_SL1L463->SetBinContent(36,65256.92); h_SL1L463->SetBinContent(37,67755.84); h_SL1L463->SetBinContent(38,65672.75); h_SL1L463->SetBinContent(39,58267.09); h_SL1L463->SetBinContent(40,22605.08); h_SL1L463->SetBinContent(41,12613.38); h_SL1L463->SetBinContent(42,10078.82); h_SL1L463->SetBinContent(43,9571.913); h_SL1L463->SetBinContent(44,8851.148); h_SL1L463->SetBinContent(45,8284.833); h_SL1L463->SetBinContent(46,8237.311); h_SL1L463->SetBinContent(47,8059.099); h_SL1L463->SetBinContent(48,8023.457); h_SL1L463->SetBinContent(49,7465.062); h_SL1L463->SetBinContent(50,7401.699); h_SL1L463->SetBinContent(51,7290.812); h_SL1L463->SetBinContent(52,6439.359); h_SL1L463->SetBinContent(53,6593.809); h_SL1L463->SetBinContent(54,6831.423); h_SL1L463->SetBinContent(55,3.960245); h_SL1L463->SetBinContent(56,6423.518); h_SL1L463->SetBinContent(57,6494.802); h_SL1L463->SetBinContent(58,6684.894); h_SL1L463->SetBinContent(59,6633.411); h_SL1L463->SetMaximum(88161.79); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6641"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }