void RatesPerCell_Removing_noisy_cells_run_6306_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:46 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1845.175,67.5,16606.58); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L159 = new TH1D("h_SL1L159","SL1, run 6306",60,0,60); h_SL1L159->SetBinContent(1,5921.155); h_SL1L159->SetBinContent(2,5810.686); h_SL1L159->SetBinContent(3,5801.848); h_SL1L159->SetBinContent(4,5408.577); h_SL1L159->SetBinContent(5,4480.635); h_SL1L159->SetBinContent(6,4679.48); h_SL1L159->SetBinContent(7,4785.53); h_SL1L159->SetBinContent(8,4940.188); h_SL1L159->SetBinContent(9,4542.498); h_SL1L159->SetBinContent(10,5002.05); h_SL1L159->SetBinContent(11,5024.144); h_SL1L159->SetBinContent(12,4949.025); h_SL1L159->SetBinContent(13,5002.05); h_SL1L159->SetBinContent(14,4480.635); h_SL1L159->SetBinContent(15,3822.238); h_SL1L159->SetBinContent(16,3433.386); h_SL1L159->SetBinContent(17,3694.094); h_SL1L159->SetBinContent(18,3959.22); h_SL1L159->SetBinContent(19,3976.895); h_SL1L159->SetBinContent(20,4149.227); h_SL1L159->SetBinContent(21,3954.801); h_SL1L159->SetBinContent(22,3968.057); h_SL1L159->SetBinContent(23,4100.621); h_SL1L159->SetBinContent(24,3318.498); h_SL1L159->SetBinContent(25,3119.653); h_SL1L159->SetBinContent(26,3512.924); h_SL1L159->SetBinContent(27,3402.455); h_SL1L159->SetBinContent(28,3349.429); h_SL1L159->SetBinContent(29,3839.913); h_SL1L159->SetBinContent(30,3433.386); h_SL1L159->SetBinContent(31,3424.549); h_SL1L159->SetBinContent(32,3455.48); h_SL1L159->SetBinContent(33,3380.361); h_SL1L159->SetBinContent(34,3442.224); h_SL1L159->SetBinContent(35,3592.462); h_SL1L159->SetBinContent(36,3384.78); h_SL1L159->SetBinContent(37,3632.231); h_SL1L159->SetBinContent(38,3875.263); h_SL1L159->SetBinContent(39,3685.256); h_SL1L159->SetBinContent(40,2907.552); h_SL1L159->SetBinContent(41,3296.404); h_SL1L159->SetBinContent(42,3212.448); h_SL1L159->SetBinContent(43,3230.123); h_SL1L159->SetBinContent(44,3283.148); h_SL1L159->SetBinContent(45,3079.884); h_SL1L159->SetBinContent(46,2819.177); h_SL1L159->SetBinContent(47,3084.303); h_SL1L159->SetBinContent(48,2801.502); h_SL1L159->SetBinContent(49,3000.346); h_SL1L159->SetBinContent(50,3389.198); h_SL1L159->SetBinContent(51,3318.498); h_SL1L159->SetBinContent(52,2969.415); h_SL1L159->SetBinContent(53,3097.559); h_SL1L159->SetBinContent(54,2872.202); h_SL1L159->SetBinContent(55,2721.964); h_SL1L159->SetBinContent(56,3084.303); h_SL1L159->SetBinContent(57,4211.09); h_SL1L159->SetBinContent(58,4582.267); h_SL1L159->SetBinContent(59,4520.404); h_SL1L159->SetMaximum(14761.4); h_SL1L159->SetEntries(60); h_SL1L159->SetDirectory(0); h_SL1L159->SetStats(0); h_SL1L159->SetLineWidth(2); h_SL1L159->GetXaxis()->SetTitle("Cell"); h_SL1L159->GetXaxis()->SetLabelFont(42); h_SL1L159->GetXaxis()->SetLabelSize(0.035); h_SL1L159->GetXaxis()->SetTitleSize(0.035); h_SL1L159->GetXaxis()->SetTitleFont(42); h_SL1L159->GetYaxis()->SetTitle("Hz"); h_SL1L159->GetYaxis()->SetLabelFont(42); h_SL1L159->GetYaxis()->SetLabelSize(0.035); h_SL1L159->GetYaxis()->SetTitleSize(0.035); h_SL1L159->GetYaxis()->SetTitleOffset(1.45); h_SL1L159->GetYaxis()->SetTitleFont(42); h_SL1L159->GetZaxis()->SetLabelFont(42); h_SL1L159->GetZaxis()->SetLabelSize(0.035); h_SL1L159->GetZaxis()->SetTitleSize(0.035); h_SL1L159->GetZaxis()->SetTitleFont(42); h_SL1L159->Draw(""); TH1D *h_SL1L260 = new TH1D("h_SL1L260","",60,0,60); h_SL1L260->SetBinContent(1,9871.537); h_SL1L260->SetBinContent(2,9738.974); h_SL1L260->SetBinContent(3,10892.27); h_SL1L260->SetBinContent(4,11161.82); h_SL1L260->SetBinContent(5,10176.43); h_SL1L260->SetBinContent(6,10428.3); h_SL1L260->SetBinContent(7,10401.79); h_SL1L260->SetBinContent(8,10702.27); h_SL1L260->SetBinContent(9,10207.36); h_SL1L260->SetBinContent(10,10388.53); h_SL1L260->SetBinContent(11,11011.58); h_SL1L260->SetBinContent(12,10728.78); h_SL1L260->SetBinContent(13,10901.11); h_SL1L260->SetBinContent(14,10861.34); h_SL1L260->SetBinContent(15,10494.58); h_SL1L260->SetBinContent(16,9226.396); h_SL1L260->SetBinContent(17,9235.234); h_SL1L260->SetBinContent(18,9460.592); h_SL1L260->SetBinContent(19,10154.34); h_SL1L260->SetBinContent(20,10552.03); h_SL1L260->SetBinContent(21,10640.4); h_SL1L260->SetBinContent(22,10989.49); h_SL1L260->SetBinContent(23,10560.87); h_SL1L260->SetBinContent(24,10123.41); h_SL1L260->SetBinContent(25,10432.72); h_SL1L260->SetBinContent(26,9690.367); h_SL1L260->SetBinContent(27,9036.39); h_SL1L260->SetBinContent(28,9504.779); h_SL1L260->SetBinContent(29,9968.75); h_SL1L260->SetBinContent(30,10092.48); h_SL1L260->SetBinContent(31,10141.08); h_SL1L260->SetBinContent(32,10309); h_SL1L260->SetBinContent(33,10136.66); h_SL1L260->SetBinContent(34,10587.38); h_SL1L260->SetBinContent(35,10079.22); h_SL1L260->SetBinContent(36,9557.805); h_SL1L260->SetBinContent(37,9217.559); h_SL1L260->SetBinContent(38,9920.144); h_SL1L260->SetBinContent(39,9955.494); h_SL1L260->SetBinContent(40,9473.848); h_SL1L260->SetBinContent(41,9526.873); h_SL1L260->SetBinContent(42,9350.122); h_SL1L260->SetBinContent(43,10335.51); h_SL1L260->SetBinContent(44,9482.686); h_SL1L260->SetBinContent(45,9504.779); h_SL1L260->SetBinContent(46,9964.331); h_SL1L260->SetBinContent(47,8890.569); h_SL1L260->SetBinContent(48,9221.978); h_SL1L260->SetBinContent(49,9297.097); h_SL1L260->SetBinContent(50,10079.22); h_SL1L260->SetBinContent(51,9310.354); h_SL1L260->SetBinContent(52,9407.566); h_SL1L260->SetBinContent(53,10145.5); h_SL1L260->SetBinContent(54,9151.277); h_SL1L260->SetBinContent(55,8961.271); h_SL1L260->SetBinContent(56,9049.646); h_SL1L260->SetBinContent(57,8519.393); h_SL1L260->SetBinContent(58,8961.271); h_SL1L260->SetBinContent(59,8855.22); h_SL1L260->SetMaximum(12836.09); h_SL1L260->SetEntries(60); h_SL1L260->SetDirectory(0); h_SL1L260->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L260->SetLineColor(ci); h_SL1L260->SetLineWidth(2); h_SL1L260->GetXaxis()->SetTitle("Cell"); h_SL1L260->GetXaxis()->SetLabelFont(42); h_SL1L260->GetXaxis()->SetLabelSize(0.035); h_SL1L260->GetXaxis()->SetTitleSize(0.035); h_SL1L260->GetXaxis()->SetTitleFont(42); h_SL1L260->GetYaxis()->SetTitle("Hz"); h_SL1L260->GetYaxis()->SetLabelFont(42); h_SL1L260->GetYaxis()->SetLabelSize(0.035); h_SL1L260->GetYaxis()->SetTitleSize(0.035); h_SL1L260->GetYaxis()->SetTitleOffset(1.45); h_SL1L260->GetYaxis()->SetTitleFont(42); h_SL1L260->GetZaxis()->SetLabelFont(42); h_SL1L260->GetZaxis()->SetLabelSize(0.035); h_SL1L260->GetZaxis()->SetTitleSize(0.035); h_SL1L260->GetZaxis()->SetTitleFont(42); h_SL1L260->Draw("same"); TH1D *h_SL1L361 = new TH1D("h_SL1L361","",60,0,60); h_SL1L361->SetBinContent(1,9257.328); h_SL1L361->SetBinContent(2,9990.844); h_SL1L361->SetBinContent(3,10141.08); h_SL1L361->SetBinContent(4,10445.98); h_SL1L361->SetBinContent(5,9875.956); h_SL1L361->SetBinContent(6,10653.66); h_SL1L361->SetBinContent(7,10415.05); h_SL1L361->SetBinContent(8,10105.73); h_SL1L361->SetBinContent(9,10649.24); h_SL1L361->SetBinContent(10,10286.9); h_SL1L361->SetBinContent(11,10724.36); h_SL1L361->SetBinContent(12,10397.37); h_SL1L361->SetBinContent(13,11046.93); h_SL1L361->SetBinContent(14,10291.32); h_SL1L361->SetBinContent(15,10039.45); h_SL1L361->SetBinContent(16,9102.671); h_SL1L361->SetBinContent(17,9275.003); h_SL1L361->SetBinContent(18,9495.941); h_SL1L361->SetBinContent(19,10247.13); h_SL1L361->SetBinContent(20,10057.13); h_SL1L361->SetBinContent(21,10428.3); h_SL1L361->SetBinContent(22,10233.88); h_SL1L361->SetBinContent(23,10211.78); h_SL1L361->SetBinContent(24,10021.78); h_SL1L361->SetBinContent(25,9230.815); h_SL1L361->SetBinContent(26,8943.595); h_SL1L361->SetBinContent(27,9557.805); h_SL1L361->SetBinContent(28,9637.342); h_SL1L361->SetBinContent(29,9787.58); h_SL1L361->SetBinContent(30,9548.967); h_SL1L361->SetBinContent(31,9787.58); h_SL1L361->SetBinContent(32,9703.624); h_SL1L361->SetBinContent(33,9557.805); h_SL1L361->SetBinContent(34,10118.99); h_SL1L361->SetBinContent(35,10061.54); h_SL1L361->SetBinContent(36,9332.447); h_SL1L361->SetBinContent(37,9884.794); h_SL1L361->SetBinContent(38,9478.267); h_SL1L361->SetBinContent(39,9951.075); h_SL1L361->SetBinContent(40,8638.699); h_SL1L361->SetBinContent(41,9403.147); h_SL1L361->SetBinContent(42,9959.912); h_SL1L361->SetBinContent(43,9973.169); h_SL1L361->SetBinContent(44,9601.992); h_SL1L361->SetBinContent(45,9319.19); h_SL1L361->SetBinContent(46,9531.292); h_SL1L361->SetBinContent(47,9513.616); h_SL1L361->SetBinContent(48,8912.663); h_SL1L361->SetBinContent(49,9363.378); h_SL1L361->SetBinContent(50,9593.154); h_SL1L361->SetBinContent(51,9204.303); h_SL1L361->SetBinContent(52,8828.707); h_SL1L361->SetBinContent(53,8572.418); h_SL1L361->SetBinContent(54,8651.956); h_SL1L361->SetBinContent(55,8585.675); h_SL1L361->SetBinContent(56,8881.732); h_SL1L361->SetBinContent(57,9124.765); h_SL1L361->SetBinContent(58,8550.324); h_SL1L361->SetBinContent(59,8271.941); h_SL1L361->SetMaximum(12836.09); h_SL1L361->SetEntries(60); h_SL1L361->SetDirectory(0); h_SL1L361->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L361->SetLineColor(ci); h_SL1L361->SetLineWidth(2); h_SL1L361->GetXaxis()->SetTitle("Cell"); h_SL1L361->GetXaxis()->SetLabelFont(42); h_SL1L361->GetXaxis()->SetLabelSize(0.035); h_SL1L361->GetXaxis()->SetTitleSize(0.035); h_SL1L361->GetXaxis()->SetTitleFont(42); h_SL1L361->GetYaxis()->SetTitle("Hz"); h_SL1L361->GetYaxis()->SetLabelFont(42); h_SL1L361->GetYaxis()->SetLabelSize(0.035); h_SL1L361->GetYaxis()->SetTitleSize(0.035); h_SL1L361->GetYaxis()->SetTitleOffset(1.45); h_SL1L361->GetYaxis()->SetTitleFont(42); h_SL1L361->GetZaxis()->SetLabelFont(42); h_SL1L361->GetZaxis()->SetLabelSize(0.035); h_SL1L361->GetZaxis()->SetTitleSize(0.035); h_SL1L361->GetZaxis()->SetTitleFont(42); h_SL1L361->Draw("same"); TH1D *h_SL1L462 = new TH1D("h_SL1L462","",60,0,60); h_SL1L462->SetBinContent(2,5280.433); h_SL1L462->SetBinContent(3,4719.249); h_SL1L462->SetBinContent(4,4546.917); h_SL1L462->SetBinContent(5,4193.415); h_SL1L462->SetBinContent(6,4644.129); h_SL1L462->SetBinContent(7,4591.104); h_SL1L462->SetBinContent(8,4370.166); h_SL1L462->SetBinContent(9,4869.487); h_SL1L462->SetBinContent(10,4887.162); h_SL1L462->SetBinContent(11,5249.501); h_SL1L462->SetBinContent(12,5925.574); h_SL1L462->SetBinContent(13,5854.873); h_SL1L462->SetBinContent(14,5779.754); h_SL1L462->SetBinContent(15,5470.44); h_SL1L462->SetBinContent(16,5130.194); h_SL1L462->SetBinContent(17,4670.642); h_SL1L462->SetBinContent(18,4467.379); h_SL1L462->SetBinContent(19,4414.354); h_SL1L462->SetBinContent(20,4202.252); h_SL1L462->SetBinContent(21,4489.473); h_SL1L462->SetBinContent(22,4688.317); h_SL1L462->SetBinContent(23,4299.465); h_SL1L462->SetBinContent(24,4507.147); h_SL1L462->SetBinContent(25,3764.794); h_SL1L462->SetBinContent(26,3954.801); h_SL1L462->SetBinContent(27,3729.444); h_SL1L462->SetBinContent(28,4038.758); h_SL1L462->SetBinContent(29,3786.888); h_SL1L462->SetBinContent(30,3782.469); h_SL1L462->SetBinContent(31,3800.144); h_SL1L462->SetBinContent(32,3508.505); h_SL1L462->SetBinContent(33,3446.642); h_SL1L462->SetBinContent(34,3627.812); h_SL1L462->SetBinContent(35,3892.938); h_SL1L462->SetBinContent(36,3574.787); h_SL1L462->SetBinContent(37,2907.552); h_SL1L462->SetBinContent(38,3115.234); h_SL1L462->SetBinContent(39,3565.949); h_SL1L462->SetBinContent(40,2699.87); h_SL1L462->SetBinContent(41,3013.603); h_SL1L462->SetBinContent(42,2934.065); h_SL1L462->SetBinContent(43,3720.606); h_SL1L462->SetBinContent(44,3221.285); h_SL1L462->SetBinContent(45,2686.614); h_SL1L462->SetBinContent(46,3353.848); h_SL1L462->SetBinContent(47,2761.733); h_SL1L462->SetBinContent(48,2673.357); h_SL1L462->SetBinContent(49,2403.812); h_SL1L462->SetBinContent(50,2814.758); h_SL1L462->SetBinContent(51,2828.014); h_SL1L462->SetBinContent(52,2744.058); h_SL1L462->SetBinContent(53,2792.664); h_SL1L462->SetBinContent(54,2814.758); h_SL1L462->SetBinContent(56,2942.902); h_SL1L462->SetBinContent(57,3097.559); h_SL1L462->SetBinContent(58,3963.639); h_SL1L462->SetBinContent(59,4082.946); h_SL1L462->SetMaximum(12836.09); h_SL1L462->SetEntries(60); h_SL1L462->SetDirectory(0); h_SL1L462->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L462->SetLineColor(ci); h_SL1L462->SetLineWidth(2); h_SL1L462->GetXaxis()->SetTitle("Cell"); h_SL1L462->GetXaxis()->SetLabelFont(42); h_SL1L462->GetXaxis()->SetLabelSize(0.035); h_SL1L462->GetXaxis()->SetTitleSize(0.035); h_SL1L462->GetXaxis()->SetTitleFont(42); h_SL1L462->GetYaxis()->SetTitle("Hz"); h_SL1L462->GetYaxis()->SetLabelFont(42); h_SL1L462->GetYaxis()->SetLabelSize(0.035); h_SL1L462->GetYaxis()->SetTitleSize(0.035); h_SL1L462->GetYaxis()->SetTitleOffset(1.45); h_SL1L462->GetYaxis()->SetTitleFont(42); h_SL1L462->GetZaxis()->SetLabelFont(42); h_SL1L462->GetZaxis()->SetLabelSize(0.035); h_SL1L462->GetZaxis()->SetTitleSize(0.035); h_SL1L462->GetZaxis()->SetTitleFont(42); h_SL1L462->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 6306"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }