void RatesPerCell_Removing_noisy_cells_run_6787_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9162.051,67.5,82458.45); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6787",60,0,60); h_SL2L164->SetBinContent(1,4359.948); h_SL2L164->SetBinContent(2,5660.923); h_SL2L164->SetBinContent(3,6594.597); h_SL2L164->SetBinContent(4,7034.798); h_SL2L164->SetBinContent(5,6656.281); h_SL2L164->SetBinContent(6,6412.349); h_SL2L164->SetBinContent(7,5882.426); h_SL2L164->SetBinContent(8,5896.445); h_SL2L164->SetBinContent(9,6403.937); h_SL2L164->SetBinContent(10,6790.865); h_SL2L164->SetBinContent(11,6975.917); h_SL2L164->SetBinContent(12,6900.214); h_SL2L164->SetBinContent(13,6886.195); h_SL2L164->SetBinContent(14,7242.281); h_SL2L164->SetBinContent(15,7138.54); h_SL2L164->SetBinContent(16,6880.587); h_SL2L164->SetBinContent(17,6860.961); h_SL2L164->SetBinContent(18,7110.501); h_SL2L164->SetBinContent(19,6824.511); h_SL2L164->SetBinContent(20,6617.028); h_SL2L164->SetBinContent(21,6232.904); h_SL2L164->SetBinContent(22,6134.77); h_SL2L164->SetBinContent(23,6454.406); h_SL2L164->SetBinContent(24,6844.138); h_SL2L164->SetBinContent(25,11599.43); h_SL2L164->SetBinContent(26,29956.07); h_SL2L164->SetBinContent(27,44634.1); h_SL2L164->SetBinContent(28,51943.67); h_SL2L164->SetBinContent(29,55423.21); h_SL2L164->SetBinContent(30,53396.05); h_SL2L164->SetBinContent(31,51696.93); h_SL2L164->SetBinContent(32,51453); h_SL2L164->SetBinContent(33,49664.16); h_SL2L164->SetBinContent(34,28935.48); h_SL2L164->SetBinContent(35,2.803825); h_SL2L164->SetBinContent(36,5324.464); h_SL2L164->SetBinContent(37,6639.458); h_SL2L164->SetBinContent(38,5237.546); h_SL2L164->SetBinContent(39,5798.311); h_SL2L164->SetBinContent(40,43397.61); h_SL2L164->SetBinContent(41,45071.49); h_SL2L164->SetBinContent(42,7351.63); h_SL2L164->SetBinContent(43,7525.467); h_SL2L164->SetBinContent(44,7211.439); h_SL2L164->SetBinContent(45,2983.27); h_SL2L164->SetBinContent(46,2859.902); h_SL2L164->SetBinContent(47,2750.553); h_SL2L164->SetBinContent(48,2683.261); h_SL2L164->SetBinContent(49,2719.711); h_SL2L164->SetBinContent(50,2680.457); h_SL2L164->SetBinContent(51,2615.969); h_SL2L164->SetBinContent(52,3151.5); h_SL2L164->SetBinContent(53,2941.213); h_SL2L164->SetBinContent(54,3145.892); h_SL2L164->SetBinContent(55,3179.538); h_SL2L164->SetBinContent(56,2641.204); h_SL2L164->SetBinContent(57,7332.003); h_SL2L164->SetMaximum(73296.4); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,3830.025); h_SL2L265->SetBinContent(2,5257.172); h_SL2L265->SetBinContent(3,5728.215); h_SL2L265->SetBinContent(4,6804.884); h_SL2L265->SetBinContent(5,6653.478); h_SL2L265->SetBinContent(6,6252.531); h_SL2L265->SetBinContent(7,5879.622); h_SL2L265->SetBinContent(8,5276.799); h_SL2L265->SetBinContent(9,6137.574); h_SL2L265->SetBinContent(10,6389.918); h_SL2L265->SetBinContent(11,6860.961); h_SL2L265->SetBinContent(12,6818.903); h_SL2L265->SetBinContent(13,6664.693); h_SL2L265->SetBinContent(14,6790.865); h_SL2L265->SetBinContent(15,7096.482); h_SL2L265->SetBinContent(16,6804.884); h_SL2L265->SetBinContent(17,6650.674); h_SL2L265->SetBinContent(18,6790.865); h_SL2L265->SetBinContent(19,6715.162); h_SL2L265->SetBinContent(20,6381.506); h_SL2L265->SetBinContent(21,6053.459); h_SL2L265->SetBinContent(22,6039.44); h_SL2L265->SetBinContent(23,5935.698); h_SL2L265->SetBinContent(24,6731.985); h_SL2L265->SetBinContent(25,7141.343); h_SL2L265->SetBinContent(26,20476.34); h_SL2L265->SetBinContent(27,37534.81); h_SL2L265->SetBinContent(28,48820.21); h_SL2L265->SetBinContent(29,53393.25); h_SL2L265->SetBinContent(30,54455.9); h_SL2L265->SetBinContent(31,51436.18); h_SL2L265->SetBinContent(32,51478.23); h_SL2L265->SetBinContent(33,51413.75); h_SL2L265->SetBinContent(34,42242.43); h_SL2L265->SetBinContent(35,16312.66); h_SL2L265->SetBinContent(36,6619.832); h_SL2L265->SetBinContent(37,5175.862); h_SL2L265->SetBinContent(38,4267.422); h_SL2L265->SetBinContent(39,4393.594); h_SL2L265->SetBinContent(40,5562.79); h_SL2L265->SetBinContent(41,4441.259); h_SL2L265->SetBinContent(42,4160.877); h_SL2L265->SetBinContent(43,3476.743); h_SL2L265->SetBinContent(44,3863.671); h_SL2L265->SetBinContent(45,3117.854); h_SL2L265->SetBinContent(46,2787.002); h_SL2L265->SetBinContent(47,2702.888); h_SL2L265->SetBinContent(48,2652.419); h_SL2L265->SetBinContent(49,2585.127); h_SL2L265->SetBinContent(50,2593.539); h_SL2L265->SetBinContent(51,2534.658); h_SL2L265->SetBinContent(52,2610.361); h_SL2L265->SetBinContent(53,2756.16); h_SL2L265->SetBinContent(54,2893.548); h_SL2L265->SetBinContent(55,2974.859); h_SL2L265->SetBinContent(56,2683.261); h_SL2L265->SetBinContent(57,2688.869); h_SL2L265->SetMaximum(63736.7); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,4455.278); h_SL2L366->SetBinContent(2,4878.656); h_SL2L366->SetBinContent(3,6202.062); h_SL2L366->SetBinContent(4,6216.081); h_SL2L366->SetBinContent(5,6353.468); h_SL2L366->SetBinContent(6,5775.88); h_SL2L366->SetBinContent(7,5346.895); h_SL2L366->SetBinContent(8,5585.22); h_SL2L366->SetBinContent(9,6148.789); h_SL2L366->SetBinContent(10,6272.157); h_SL2L366->SetBinContent(11,6689.927); h_SL2L366->SetBinContent(12,6474.033); h_SL2L366->SetBinContent(13,6633.851); h_SL2L366->SetBinContent(14,6858.157); h_SL2L366->SetBinContent(15,6493.66); h_SL2L366->SetBinContent(16,6274.961); h_SL2L366->SetBinContent(17,6297.392); h_SL2L366->SetBinContent(18,6734.789); h_SL2L366->SetBinContent(19,6502.071); h_SL2L366->SetBinContent(20,6185.239); h_SL2L366->SetBinContent(21,5963.737); h_SL2L366->SetBinContent(22,5750.646); h_SL2L366->SetBinContent(23,6019.813); h_SL2L366->SetBinContent(24,6460.014); h_SL2L366->SetBinContent(25,11145.21); h_SL2L366->SetBinContent(26,29549.52); h_SL2L366->SetBinContent(27,43992.02); h_SL2L366->SetBinContent(28,51447.39); h_SL2L366->SetBinContent(29,54663.38); h_SL2L366->SetBinContent(30,53031.55); h_SL2L366->SetBinContent(31,51427.77); h_SL2L366->SetBinContent(32,51343.65); h_SL2L366->SetBinContent(33,49540.79); h_SL2L366->SetBinContent(34,28803.7); h_SL2L366->SetBinContent(35,9036.729); h_SL2L366->SetBinContent(36,5543.163); h_SL2L366->SetBinContent(37,4730.053); h_SL2L366->SetBinContent(38,4130.035); h_SL2L366->SetBinContent(39,3886.102); h_SL2L366->SetBinContent(40,4020.686); h_SL2L366->SetBinContent(41,3858.064); h_SL2L366->SetBinContent(42,3185.146); h_SL2L366->SetBinContent(43,3196.361); h_SL2L366->SetBinContent(44,2887.94); h_SL2L366->SetBinContent(45,2719.711); h_SL2L366->SetBinContent(46,2702.888); h_SL2L366->SetBinContent(47,2697.28); h_SL2L366->SetBinContent(48,2730.926); h_SL2L366->SetBinContent(49,2559.893); h_SL2L366->SetBinContent(50,2478.582); h_SL2L366->SetBinContent(51,2400.074); h_SL2L366->SetBinContent(52,2624.381); h_SL2L366->SetBinContent(53,2868.313); h_SL2L366->SetBinContent(54,2980.466); h_SL2L366->SetBinContent(55,2857.098); h_SL2L366->SetBinContent(56,2554.285); h_SL2L366->SetBinContent(57,2613.165); h_SL2L366->SetMaximum(63736.7); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,4696.408); h_SL2L467->SetBinContent(3,5523.536); h_SL2L467->SetBinContent(4,6277.765); h_SL2L467->SetBinContent(5,5930.091); h_SL2L467->SetBinContent(6,5823.545); h_SL2L467->SetBinContent(7,5352.502); h_SL2L467->SetBinContent(8,5086.139); h_SL2L467->SetBinContent(9,5927.287); h_SL2L467->SetBinContent(10,6188.042); h_SL2L467->SetBinContent(11,6210.473); h_SL2L467->SetBinContent(12,6417.956); h_SL2L467->SetBinContent(13,6280.569); h_SL2L467->SetBinContent(14,6342.253); h_SL2L467->SetBinContent(15,6381.506); h_SL2L467->SetBinContent(16,6392.722); h_SL2L467->SetBinContent(17,6314.215); h_SL2L467->SetBinContent(18,6359.076); h_SL2L467->SetBinContent(19,6148.789); h_SL2L467->SetBinContent(20,5997.382); h_SL2L467->SetBinContent(21,5809.526); h_SL2L467->SetBinContent(22,5719.804); h_SL2L467->SetBinContent(23,5400.167); h_SL2L467->SetBinContent(24,5991.775); h_SL2L467->SetBinContent(25,6774.042); h_SL2L467->SetBinContent(26,19977.26); h_SL2L467->SetBinContent(27,37534.81); h_SL2L467->SetBinContent(28,48523); h_SL2L467->SetBinContent(29,53188.57); h_SL2L467->SetBinContent(30,54999.84); h_SL2L467->SetBinContent(31,51436.18); h_SL2L467->SetBinContent(32,51710.95); h_SL2L467->SetBinContent(33,51719.36); h_SL2L467->SetBinContent(34,42163.93); h_SL2L467->SetBinContent(35,16279.01); h_SL2L467->SetBinContent(36,6266.55); h_SL2L467->SetBinContent(37,4816.972); h_SL2L467->SetBinContent(38,4073.958); h_SL2L467->SetBinContent(39,3855.26); h_SL2L467->SetBinContent(40,3628.15); h_SL2L467->SetBinContent(41,3325.337); h_SL2L467->SetBinContent(42,3527.212); h_SL2L467->SetBinContent(43,3171.126); h_SL2L467->SetBinContent(44,3042.151); h_SL2L467->SetBinContent(45,2901.959); h_SL2L467->SetBinContent(46,2781.395); h_SL2L467->SetBinContent(47,2739.337); h_SL2L467->SetBinContent(48,2408.486); h_SL2L467->SetBinContent(49,2467.366); h_SL2L467->SetBinContent(50,2495.405); h_SL2L467->SetBinContent(51,2458.955); h_SL2L467->SetBinContent(52,2383.251); h_SL2L467->SetBinContent(53,2470.17); h_SL2L467->SetBinContent(54,2801.021); h_SL2L467->SetBinContent(55,2932.801); h_SL2L467->SetBinContent(56,2674.849); h_SL2L467->SetBinContent(57,2531.854); h_SL2L467->SetMaximum(63736.7); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6787"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }