void RatesPerCell_Removing_noisy_cells_run_6802_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:18:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11581.22,67.5,104231); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6802",60,0,60); h_SL3L168->SetBinContent(1,2449.707); h_SL3L168->SetBinContent(2,1790.574); h_SL3L168->SetBinContent(4,3010.179); h_SL3L168->SetBinContent(5,3077.352); h_SL3L168->SetBinContent(6,3031.171); h_SL3L168->SetBinContent(7,3176.012); h_SL3L168->SetBinContent(8,3211.698); h_SL3L168->SetBinContent(9,3085.749); h_SL3L168->SetBinContent(10,2907.321); h_SL3L168->SetBinContent(11,2930.412); h_SL3L168->SetBinContent(12,2901.024); h_SL3L168->SetBinContent(13,3005.981); h_SL3L168->SetBinContent(14,3176.012); h_SL3L168->SetBinContent(15,3081.55); h_SL3L168->SetBinContent(16,3066.856); h_SL3L168->SetBinContent(17,3333.448); h_SL3L168->SetBinContent(18,3176.012); h_SL3L168->SetBinContent(19,3555.958); h_SL3L168->SetBinContent(20,3721.791); h_SL3L168->SetBinContent(21,3782.666); h_SL3L168->SetBinContent(22,3881.326); h_SL3L168->SetBinContent(23,4124.827); h_SL3L168->SetBinContent(24,4152.116); h_SL3L168->SetBinContent(25,4433.402); h_SL3L168->SetBinContent(26,4469.088); h_SL3L168->SetBinContent(27,4376.725); h_SL3L168->SetBinContent(28,4773.464); h_SL3L168->SetBinContent(29,5197.492); h_SL3L168->SetBinContent(30,5258.368); h_SL3L168->SetBinContent(31,6016.16); h_SL3L168->SetBinContent(32,7168.593); h_SL3L168->SetBinContent(33,11247.24); h_SL3L168->SetBinContent(34,40060.16); h_SL3L168->SetBinContent(35,57560.76); h_SL3L168->SetBinContent(36,63402.69); h_SL3L168->SetBinContent(37,68423.85); h_SL3L168->SetBinContent(38,70056.99); h_SL3L168->SetBinContent(39,64093.31); h_SL3L168->SetBinContent(40,42020.76); h_SL3L168->SetBinContent(41,11434.06); h_SL3L168->SetBinContent(42,6851.622); h_SL3L168->SetBinContent(43,5703.387); h_SL3L168->SetBinContent(44,5386.416); h_SL3L168->SetBinContent(45,4720.985); h_SL3L168->SetBinContent(46,4529.963); h_SL3L168->SetBinContent(47,4294.858); h_SL3L168->SetBinContent(48,4385.122); h_SL3L168->SetBinContent(49,4084.943); h_SL3L168->SetBinContent(50,3797.36); h_SL3L168->SetBinContent(51,3818.352); h_SL3L168->SetBinContent(52,3793.162); h_SL3L168->SetBinContent(53,3654.618); h_SL3L168->SetBinContent(54,3469.893); h_SL3L168->SetBinContent(55,3633.626); h_SL3L168->SetBinContent(56,3163.417); h_SL3L168->SetBinContent(57,3152.921); h_SL3L168->SetBinContent(58,2703.704); h_SL3L168->SetBinContent(59,2401.426); h_SL3L168->SetMaximum(92649.75); 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,2577.755); h_SL3L269->SetBinContent(2,1945.911); h_SL3L269->SetBinContent(4,2487.491); h_SL3L269->SetBinContent(5,2909.42); h_SL3L269->SetBinContent(6,2978.692); h_SL3L269->SetBinContent(7,3077.352); h_SL3L269->SetBinContent(8,3064.757); h_SL3L269->SetBinContent(9,3052.162); h_SL3L269->SetBinContent(10,2762.48); h_SL3L269->SetBinContent(11,2701.604); h_SL3L269->SetBinContent(12,2787.669); h_SL3L269->SetBinContent(13,2800.264); h_SL3L269->SetBinContent(14,2984.99); h_SL3L269->SetBinContent(15,3012.279); h_SL3L269->SetBinContent(16,3138.227); h_SL3L269->SetBinContent(17,3087.848); h_SL3L269->SetBinContent(18,3299.862); h_SL3L269->SetBinContent(19,3325.052); h_SL3L269->SetBinContent(20,3463.595); h_SL3L269->SetBinContent(21,3646.221); h_SL3L269->SetBinContent(22,3686.105); h_SL3L269->SetBinContent(23,3784.765); h_SL3L269->SetBinContent(24,3988.383); h_SL3L269->SetBinContent(25,4036.663); h_SL3L269->SetBinContent(26,4380.923); h_SL3L269->SetBinContent(27,4359.932); h_SL3L269->SetBinContent(28,4380.923); h_SL3L269->SetBinContent(29,4676.903); h_SL3L269->SetBinContent(30,4962.388); h_SL3L269->SetBinContent(31,5323.441); h_SL3L269->SetBinContent(32,5986.772); h_SL3L269->SetBinContent(33,9093.513); h_SL3L269->SetBinContent(34,21096.45); h_SL3L269->SetBinContent(35,52524.9); h_SL3L269->SetBinContent(36,60747.27); h_SL3L269->SetBinContent(37,65535.43); h_SL3L269->SetBinContent(38,70008.71); h_SL3L269->SetBinContent(39,68083.79); h_SL3L269->SetBinContent(40,56628.73); h_SL3L269->SetBinContent(41,21841.64); h_SL3L269->SetBinContent(42,9194.271); h_SL3L269->SetBinContent(43,5951.087); h_SL3L269->SetBinContent(44,5134.518); h_SL3L269->SetBinContent(45,4907.81); h_SL3L269->SetBinContent(46,4454.394); h_SL3L269->SetBinContent(47,4441.799); h_SL3L269->SetBinContent(48,4250.776); h_SL3L269->SetBinContent(49,3994.68); h_SL3L269->SetBinContent(50,3818.352); h_SL3L269->SetBinContent(51,3715.493); h_SL3L269->SetBinContent(52,3702.898); h_SL3L269->SetBinContent(53,3350.241); h_SL3L269->SetBinContent(54,3513.975); h_SL3L269->SetBinContent(55,3394.323); h_SL3L269->SetBinContent(56,3331.349); h_SL3L269->SetBinContent(57,3121.434); h_SL3L269->SetBinContent(58,2949.304); h_SL3L269->SetBinContent(59,2563.061); h_SL3L269->SetMaximum(80565.54); 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,2109.645); h_SL3L370->SetBinContent(2,1836.755); h_SL3L370->SetBinContent(3,2084.455); h_SL3L370->SetBinContent(4,2760.381); h_SL3L370->SetBinContent(5,2710.001); h_SL3L370->SetBinContent(6,3041.667); h_SL3L370->SetBinContent(7,2905.222); h_SL3L370->SetBinContent(8,2835.95); h_SL3L370->SetBinContent(9,2756.182); h_SL3L370->SetBinContent(10,2590.35); h_SL3L370->SetBinContent(11,2550.466); h_SL3L370->SetBinContent(12,2632.333); h_SL3L370->SetBinContent(13,2678.514); h_SL3L370->SetBinContent(14,2896.825); h_SL3L370->SetBinContent(15,2901.024); h_SL3L370->SetBinContent(16,2871.635); h_SL3L370->SetBinContent(17,2909.42); h_SL3L370->SetBinContent(18,3148.723); h_SL3L370->SetBinContent(19,3184.409); h_SL3L370->SetBinContent(20,3358.638); h_SL3L370->SetBinContent(21,3398.522); h_SL3L370->SetBinContent(22,3406.918); h_SL3L370->SetBinContent(23,3797.36); h_SL3L370->SetBinContent(24,3801.558); h_SL3L370->SetBinContent(25,4068.15); h_SL3L370->SetBinContent(26,4066.051); h_SL3L370->SetBinContent(27,4147.918); h_SL3L370->SetBinContent(28,4437.601); h_SL3L370->SetBinContent(29,4595.037); h_SL3L370->SetBinContent(30,4838.538); h_SL3L370->SetBinContent(31,5625.719); h_SL3L370->SetBinContent(32,6769.755); h_SL3L370->SetBinContent(33,11094); h_SL3L370->SetBinContent(34,39776.77); h_SL3L370->SetBinContent(35,57495.68); h_SL3L370->SetBinContent(36,63444.67); h_SL3L370->SetBinContent(37,68022.91); h_SL3L370->SetBinContent(38,69771.51); h_SL3L370->SetBinContent(39,63940.07); h_SL3L370->SetBinContent(40,41718.48); h_SL3L370->SetBinContent(41,11226.25); h_SL3L370->SetBinContent(42,6708.879); h_SL3L370->SetBinContent(43,5497.67); h_SL3L370->SetBinContent(44,4821.745); h_SL3L370->SetBinContent(45,174.2293); h_SL3L370->SetBinContent(46,4254.975); h_SL3L370->SetBinContent(47,4013.573); h_SL3L370->SetBinContent(48,4082.844); h_SL3L370->SetBinContent(49,3717.593); h_SL3L370->SetBinContent(50,3595.842); h_SL3L370->SetBinContent(51,3549.661); h_SL3L370->SetBinContent(52,3505.578); h_SL3L370->SetBinContent(53,3331.349); h_SL3L370->SetBinContent(54,3289.366); h_SL3L370->SetBinContent(55,3394.323); h_SL3L370->SetBinContent(56,3081.55); h_SL3L370->SetBinContent(57,2854.842); h_SL3L370->SetBinContent(58,2697.406); h_SL3L370->SetBinContent(59,2302.766); h_SL3L370->SetMaximum(80565.54); 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,1649.931); h_SL3L471->SetBinContent(3,1851.449); h_SL3L471->SetBinContent(4,2317.46); h_SL3L471->SetBinContent(5,2554.664); h_SL3L471->SetBinContent(6,2812.859); h_SL3L471->SetBinContent(7,2800.264); h_SL3L471->SetBinContent(8,2754.083); h_SL3L471->SetBinContent(9,2733.092); h_SL3L471->SetBinContent(10,2573.556); h_SL3L471->SetBinContent(11,2365.741); h_SL3L471->SetBinContent(12,2495.888); h_SL3L471->SetBinContent(13,2397.228); h_SL3L471->SetBinContent(14,2764.579); h_SL3L471->SetBinContent(15,2869.536); h_SL3L471->SetBinContent(16,2777.174); h_SL3L471->SetBinContent(17,2896.825); h_SL3L471->SetBinContent(18,2890.528); h_SL3L471->SetBinContent(19,2766.678); h_SL3L471->SetBinContent(20,3173.913); h_SL3L471->SetBinContent(21,3255.78); h_SL3L471->SetBinContent(22,3360.737); h_SL3L471->SetBinContent(23,3467.794); h_SL3L471->SetBinContent(24,3677.708); h_SL3L471->SetBinContent(25,3927.507); h_SL3L471->SetBinContent(26,3885.524); h_SL3L471->SetBinContent(27,3908.615); h_SL3L471->SetBinContent(28,4162.612); h_SL3L471->SetBinContent(29,4227.686); h_SL3L471->SetBinContent(30,4569.847); h_SL3L471->SetBinContent(31,5084.138); h_SL3L471->SetBinContent(32,5808.345); h_SL3L471->SetBinContent(33,8617.006); h_SL3L471->SetBinContent(34,20932.71); h_SL3L471->SetBinContent(35,52512.3); h_SL3L471->SetBinContent(36,60566.74); h_SL3L471->SetBinContent(37,65105.1); h_SL3L471->SetBinContent(38,69771.51); h_SL3L471->SetBinContent(39,67502.33); h_SL3L471->SetBinContent(40,56267.68); h_SL3L471->SetBinContent(41,21543.56); h_SL3L471->SetBinContent(42,9007.447); h_SL3L471->SetBinContent(43,5625.719); h_SL3L471->SetBinContent(44,4807.051); h_SL3L471->SetBinContent(45,4452.294); h_SL3L471->SetBinContent(46,4183.604); h_SL3L471->SetBinContent(47,4080.745); h_SL3L471->SetBinContent(48,3994.68); h_SL3L471->SetBinContent(49,3612.635); h_SL3L471->SetBinContent(50,3597.941); h_SL3L471->SetBinContent(51,3453.1); h_SL3L471->SetBinContent(52,3451); h_SL3L471->SetBinContent(53,3367.035); h_SL3L471->SetBinContent(54,3199.103); h_SL3L471->SetBinContent(55,3199.103); h_SL3L471->SetBinContent(56,3094.145); h_SL3L471->SetBinContent(57,2901.024); h_SL3L471->SetBinContent(58,2735.191); h_SL3L471->SetBinContent(59,2330.055); h_SL3L471->SetMaximum(80565.54); 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 6802"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }