void RatesPerCell_Removing_noisy_cells_run_6799_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:19:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11627.94,67.5,104651.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6799",60,0,60); h_SL3L168->SetBinContent(1,2420.687); h_SL3L168->SetBinContent(2,1923.656); h_SL3L168->SetBinContent(4,2967.629); h_SL3L168->SetBinContent(5,2996.744); h_SL3L168->SetBinContent(6,3237.981); h_SL3L168->SetBinContent(7,3244.22); h_SL3L168->SetBinContent(8,3036.257); h_SL3L168->SetBinContent(9,3017.541); h_SL3L168->SetBinContent(10,2899.002); h_SL3L168->SetBinContent(11,2880.285); h_SL3L168->SetBinContent(12,2919.798); h_SL3L168->SetBinContent(13,2849.091); h_SL3L168->SetBinContent(14,3117.363); h_SL3L168->SetBinContent(15,3219.264); h_SL3L168->SetBinContent(16,3227.583); h_SL3L168->SetBinContent(17,3219.264); h_SL3L168->SetBinContent(18,3296.211); h_SL3L168->SetBinContent(19,3591.518); h_SL3L168->SetBinContent(20,3635.19); h_SL3L168->SetBinContent(21,3693.42); h_SL3L168->SetBinContent(22,3797.401); h_SL3L168->SetBinContent(23,4067.753); h_SL3L168->SetBinContent(24,4304.831); h_SL3L168->SetBinContent(25,4234.123); h_SL3L168->SetBinContent(26,4454.563); h_SL3L168->SetBinContent(27,4267.397); h_SL3L168->SetBinContent(28,4473.28); h_SL3L168->SetBinContent(29,4795.623); h_SL3L168->SetBinContent(30,5313.45); h_SL3L168->SetBinContent(31,5854.153); h_SL3L168->SetBinContent(32,7287.017); h_SL3L168->SetBinContent(33,10918.05); h_SL3L168->SetBinContent(34,40407.18); h_SL3L168->SetBinContent(35,58316.93); h_SL3L168->SetBinContent(36,62983.62); h_SL3L168->SetBinContent(37,68342.82); h_SL3L168->SetBinContent(38,70339.27); h_SL3L168->SetBinContent(39,63784.28); h_SL3L168->SetBinContent(40,41276.46); h_SL3L168->SetBinContent(41,11367.25); h_SL3L168->SetBinContent(42,6825.34); h_SL3L168->SetBinContent(43,5579.643); h_SL3L168->SetBinContent(44,5072.213); h_SL3L168->SetBinContent(45,4932.878); h_SL3L168->SetBinContent(46,4639.65); h_SL3L168->SetBinContent(47,4377.617); h_SL3L168->SetBinContent(48,4550.227); h_SL3L168->SetBinContent(49,4159.256); h_SL3L168->SetBinContent(50,3963.771); h_SL3L168->SetBinContent(51,4007.444); h_SL3L168->SetBinContent(52,3834.834); h_SL3L168->SetBinContent(53,3470.899); h_SL3L168->SetBinContent(54,3377.316); h_SL3L168->SetBinContent(55,3229.663); h_SL3L168->SetBinContent(56,3348.201); h_SL3L168->SetBinContent(57,3200.548); h_SL3L168->SetBinContent(58,2653.606); h_SL3L168->SetBinContent(59,2304.228); h_SL3L168->SetMaximum(93023.5); 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,2489.315); h_SL3L269->SetBinContent(2,1907.019); h_SL3L269->SetBinContent(4,2422.767); h_SL3L269->SetBinContent(5,2936.435); h_SL3L269->SetBinContent(6,2842.852); h_SL3L269->SetBinContent(7,3000.904); h_SL3L269->SetBinContent(8,3119.442); h_SL3L269->SetBinContent(9,3059.133); h_SL3L269->SetBinContent(10,2784.622); h_SL3L269->SetBinContent(11,2817.896); h_SL3L269->SetBinContent(12,2728.472); h_SL3L269->SetBinContent(13,2767.985); h_SL3L269->SetBinContent(14,2853.25); h_SL3L269->SetBinContent(15,3115.283); h_SL3L269->SetBinContent(16,3171.433); h_SL3L269->SetBinContent(17,3179.751); h_SL3L269->SetBinContent(18,3000.904); h_SL3L269->SetBinContent(19,3381.476); h_SL3L269->SetBinContent(20,3360.679); h_SL3L269->SetBinContent(21,3508.333); h_SL3L269->SetBinContent(22,3649.748); h_SL3L269->SetBinContent(23,3782.844); h_SL3L269->SetBinContent(24,3886.825); h_SL3L269->SetBinContent(25,4254.919); h_SL3L269->SetBinContent(26,4113.504); h_SL3L269->SetBinContent(27,4227.884); h_SL3L269->SetBinContent(28,4240.362); h_SL3L269->SetBinContent(29,4554.386); h_SL3L269->SetBinContent(30,4801.862); h_SL3L269->SetBinContent(31,5490.219); h_SL3L269->SetBinContent(32,6118.266); h_SL3L269->SetBinContent(33,8869.614); h_SL3L269->SetBinContent(34,20906.5); h_SL3L269->SetBinContent(35,53032.6); h_SL3L269->SetBinContent(36,60442.32); h_SL3L269->SetBinContent(37,65264.97); h_SL3L269->SetBinContent(38,70033.56); h_SL3L269->SetBinContent(39,67510.97); h_SL3L269->SetBinContent(40,56493.1); h_SL3L269->SetBinContent(41,20995.93); h_SL3L269->SetBinContent(42,9331.292); h_SL3L269->SetBinContent(43,5669.066); h_SL3L269->SetBinContent(44,5357.123); h_SL3L269->SetBinContent(45,4754.03); h_SL3L269->SetBinContent(46,4608.456); h_SL3L269->SetBinContent(47,4242.441); h_SL3L269->SetBinContent(48,4059.434); h_SL3L269->SetBinContent(49,4094.788); h_SL3L269->SetBinContent(50,3834.834); h_SL3L269->SetBinContent(51,3747.49); h_SL3L269->SetBinContent(52,3705.897); h_SL3L269->SetBinContent(53,3406.431); h_SL3L269->SetBinContent(54,3308.688); h_SL3L269->SetBinContent(55,3385.635); h_SL3L269->SetBinContent(56,3192.229); h_SL3L269->SetBinContent(57,3223.424); h_SL3L269->SetBinContent(58,2880.285); h_SL3L269->SetBinContent(59,2329.184); h_SL3L269->SetMaximum(80890.16); 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,2038.036); h_SL3L370->SetBinContent(2,1709.454); h_SL3L370->SetBinContent(3,1998.523); h_SL3L370->SetBinContent(4,2709.756); h_SL3L370->SetBinContent(5,2842.852); h_SL3L370->SetBinContent(6,3000.904); h_SL3L370->SetBinContent(7,2728.472); h_SL3L370->SetBinContent(8,2844.931); h_SL3L370->SetBinContent(9,2847.011); h_SL3L370->SetBinContent(10,2661.924); h_SL3L370->SetBinContent(11,2518.43); h_SL3L370->SetBinContent(12,2547.545); h_SL3L370->SetBinContent(13,2805.418); h_SL3L370->SetBinContent(14,2936.435); h_SL3L370->SetBinContent(15,3057.053); h_SL3L370->SetBinContent(16,2880.285); h_SL3L370->SetBinContent(17,2801.259); h_SL3L370->SetBinContent(18,2978.028); h_SL3L370->SetBinContent(19,3073.69); h_SL3L370->SetBinContent(20,3223.424); h_SL3L370->SetBinContent(21,3508.333); h_SL3L370->SetBinContent(22,3616.473); h_SL3L370->SetBinContent(23,3845.233); h_SL3L370->SetBinContent(24,3811.958); h_SL3L370->SetBinContent(25,3911.781); h_SL3L370->SetBinContent(26,4005.364); h_SL3L370->SetBinContent(27,3984.568); h_SL3L370->SetBinContent(28,4227.884); h_SL3L370->SetBinContent(29,4477.439); h_SL3L370->SetBinContent(30,4972.391); h_SL3L370->SetBinContent(31,5527.652); h_SL3L370->SetBinContent(32,6966.754); h_SL3L370->SetBinContent(33,10670.57); h_SL3L370->SetBinContent(34,40030.77); h_SL3L370->SetBinContent(35,57863.57); h_SL3L370->SetBinContent(36,62833.89); h_SL3L370->SetBinContent(37,67770.92); h_SL3L370->SetBinContent(38,69784.01); h_SL3L370->SetBinContent(39,63511.85); h_SL3L370->SetBinContent(40,40920.84); h_SL3L370->SetBinContent(41,11076.1); h_SL3L370->SetBinContent(42,6498.838); h_SL3L370->SetBinContent(43,5369.6); h_SL3L370->SetBinContent(44,4787.304); h_SL3L370->SetBinContent(45,168.4499); h_SL3L370->SetBinContent(46,4284.034); h_SL3L370->SetBinContent(47,3997.045); h_SL3L370->SetBinContent(48,3876.427); h_SL3L370->SetBinContent(49,3745.41); h_SL3L370->SetBinContent(50,3531.209); h_SL3L370->SetBinContent(51,3587.359); h_SL3L370->SetBinContent(52,3497.935); h_SL3L370->SetBinContent(53,3204.707); h_SL3L370->SetBinContent(54,2901.081); h_SL3L370->SetBinContent(55,2982.187); h_SL3L370->SetBinContent(56,3210.946); h_SL3L370->SetBinContent(57,2963.47); h_SL3L370->SetBinContent(58,2551.704); h_SL3L370->SetBinContent(59,2264.715); h_SL3L370->SetMaximum(80890.16); 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,1753.127); h_SL3L471->SetBinContent(3,1892.462); h_SL3L471->SetBinContent(4,2335.423); h_SL3L471->SetBinContent(5,2447.722); h_SL3L471->SetBinContent(6,2834.533); h_SL3L471->SetBinContent(7,2767.985); h_SL3L471->SetBinContent(8,2749.269); h_SL3L471->SetBinContent(9,2728.472); h_SL3L471->SetBinContent(10,2447.722); h_SL3L471->SetBinContent(11,2447.722); h_SL3L471->SetBinContent(12,2522.589); h_SL3L471->SetBinContent(13,2393.652); h_SL3L471->SetBinContent(14,2722.233); h_SL3L471->SetBinContent(15,2788.781); h_SL3L471->SetBinContent(16,2853.25); h_SL3L471->SetBinContent(17,2805.418); h_SL3L471->SetBinContent(18,2767.985); h_SL3L471->SetBinContent(19,2917.719); h_SL3L471->SetBinContent(20,3111.124); h_SL3L471->SetBinContent(21,3140.239); h_SL3L471->SetBinContent(22,3341.963); h_SL3L471->SetBinContent(23,3597.757); h_SL3L471->SetBinContent(24,3718.375); h_SL3L471->SetBinContent(25,3816.118); h_SL3L471->SetBinContent(26,3855.631); h_SL3L471->SetBinContent(27,4053.195); h_SL3L471->SetBinContent(28,3974.169); h_SL3L471->SetBinContent(29,4173.814); h_SL3L471->SetBinContent(30,4527.351); h_SL3L471->SetBinContent(31,5248.981); h_SL3L471->SetBinContent(32,5918.622); h_SL3L471->SetBinContent(33,8403.777); h_SL3L471->SetBinContent(34,20987.61); h_SL3L471->SetBinContent(35,53228.09); h_SL3L471->SetBinContent(36,59993.11); h_SL3L471->SetBinContent(37,64715.95); h_SL3L471->SetBinContent(38,69892.15); h_SL3L471->SetBinContent(39,67113.77); h_SL3L471->SetBinContent(40,56239.39); h_SL3L471->SetBinContent(41,20708.94); h_SL3L471->SetBinContent(42,8983.994); h_SL3L471->SetBinContent(43,5475.661); h_SL3L471->SetBinContent(44,4926.639); h_SL3L471->SetBinContent(45,4535.669); h_SL3L471->SetBinContent(46,4329.786); h_SL3L471->SetBinContent(47,3980.408); h_SL3L471->SetBinContent(48,3876.427); h_SL3L471->SetBinContent(49,3687.181); h_SL3L471->SetBinContent(50,3500.014); h_SL3L471->SetBinContent(51,3454.262); h_SL3L471->SetBinContent(52,3420.989); h_SL3L471->SetBinContent(53,3254.618); h_SL3L471->SetBinContent(54,3138.159); h_SL3L471->SetBinContent(55,2950.992); h_SL3L471->SetBinContent(56,2801.259); h_SL3L471->SetBinContent(57,3000.904); h_SL3L471->SetBinContent(58,2653.606); h_SL3L471->SetBinContent(59,2318.785); h_SL3L471->SetMaximum(80890.16); 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 6799"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }