void RatesPerCell_Removing_noisy_cells_run_6786_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 19:12:44 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12093.69,67.5,108843.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6786",60,0,60); h_SL3L168->SetBinContent(1,2615.214); h_SL3L168->SetBinContent(2,1911.591); h_SL3L168->SetBinContent(4,2925.202); h_SL3L168->SetBinContent(5,3178.605); h_SL3L168->SetBinContent(6,3345.9); h_SL3L168->SetBinContent(7,3245.031); h_SL3L168->SetBinContent(8,3281.934); h_SL3L168->SetBinContent(9,2971.947); h_SL3L168->SetBinContent(10,2952.265); h_SL3L168->SetBinContent(11,2718.544); h_SL3L168->SetBinContent(12,2863.697); h_SL3L168->SetBinContent(13,3205.667); h_SL3L168->SetBinContent(14,3210.588); h_SL3L168->SetBinContent(15,3235.19); h_SL3L168->SetBinContent(16,3262.252); h_SL3L168->SetBinContent(17,3338.519); h_SL3L168->SetBinContent(18,3427.087); h_SL3L168->SetBinContent(19,3527.956); h_SL3L168->SetBinContent(20,3670.649); h_SL3L168->SetBinContent(21,3805.961); h_SL3L168->SetBinContent(22,3850.245); h_SL3L168->SetBinContent(23,4174.994); h_SL3L168->SetBinContent(24,4273.403); h_SL3L168->SetBinContent(25,4275.863); h_SL3L168->SetBinContent(26,4398.875); h_SL3L168->SetBinContent(27,4494.823); h_SL3L168->SetBinContent(28,4676.879); h_SL3L168->SetBinContent(29,4925.362); h_SL3L168->SetBinContent(30,5633.905); h_SL3L168->SetBinContent(31,6042.302); h_SL3L168->SetBinContent(32,6947.663); h_SL3L168->SetBinContent(33,11595.02); h_SL3L168->SetBinContent(34,41481.78); h_SL3L168->SetBinContent(35,59815.34); h_SL3L168->SetBinContent(36,65136.8); h_SL3L168->SetBinContent(37,70192.55); h_SL3L168->SetBinContent(38,73157.12); h_SL3L168->SetBinContent(39,64755.46); h_SL3L168->SetBinContent(40,42603.64); h_SL3L168->SetBinContent(41,11636.84); h_SL3L168->SetBinContent(42,7469.229); h_SL3L168->SetBinContent(43,5599.462); h_SL3L168->SetBinContent(44,5085.276); h_SL3L168->SetBinContent(45,4733.464); h_SL3L168->SetBinContent(46,4571.09); h_SL3L168->SetBinContent(47,4477.602); h_SL3L168->SetBinContent(48,4349.67); h_SL3L168->SetBinContent(49,20159.05); h_SL3L168->SetBinContent(50,3911.751); h_SL3L168->SetBinContent(51,3798.581); h_SL3L168->SetBinContent(52,3879.768); h_SL3L168->SetBinContent(53,3444.309); h_SL3L168->SetBinContent(54,3331.139); h_SL3L168->SetBinContent(55,3380.343); h_SL3L168->SetBinContent(56,3385.263); h_SL3L168->SetBinContent(57,3021.151); h_SL3L168->SetBinContent(58,2770.208); h_SL3L168->SetBinContent(59,2307.687); h_SL3L168->SetMaximum(96749.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,2738.226); h_SL3L269->SetBinContent(2,2007.54); h_SL3L269->SetBinContent(4,2524.186); h_SL3L269->SetBinContent(5,3033.452); h_SL3L269->SetBinContent(6,3225.349); h_SL3L269->SetBinContent(7,3134.321); h_SL3L269->SetBinContent(8,2962.105); h_SL3L269->SetBinContent(9,2927.663); h_SL3L269->SetBinContent(10,2826.793); h_SL3L269->SetBinContent(11,2556.169); h_SL3L269->SetBinContent(12,2765.288); h_SL3L269->SetBinContent(13,2866.157); h_SL3L269->SetBinContent(14,3026.071); h_SL3L269->SetBinContent(15,3090.037); h_SL3L269->SetBinContent(16,3099.878); h_SL3L269->SetBinContent(17,3094.958); h_SL3L269->SetBinContent(18,3294.235); h_SL3L269->SetBinContent(19,3291.775); h_SL3L269->SetBinContent(20,3446.769); h_SL3L269->SetBinContent(21,3441.849); h_SL3L269->SetBinContent(22,3658.348); h_SL3L269->SetBinContent(23,4123.33); h_SL3L269->SetBinContent(24,3978.177); h_SL3L269->SetBinContent(25,4081.506); h_SL3L269->SetBinContent(26,4450.539); h_SL3L269->SetBinContent(27,4428.397); h_SL3L269->SetBinContent(28,4484.982); h_SL3L269->SetBinContent(29,4573.55); h_SL3L269->SetBinContent(30,5139.401); h_SL3L269->SetBinContent(31,5525.655); h_SL3L269->SetBinContent(32,6066.904); h_SL3L269->SetBinContent(33,9240.589); h_SL3L269->SetBinContent(34,21386.7); h_SL3L269->SetBinContent(35,53711.54); h_SL3L269->SetBinContent(36,62627.38); h_SL3L269->SetBinContent(37,66593.25); h_SL3L269->SetBinContent(38,71592.42); h_SL3L269->SetBinContent(39,69466.79); h_SL3L269->SetBinContent(40,57510.12); h_SL3L269->SetBinContent(41,21822.16); h_SL3L269->SetBinContent(42,9265.19); h_SL3L269->SetBinContent(43,6007.859); h_SL3L269->SetBinContent(44,5301.775); h_SL3L269->SetBinContent(45,4787.589); h_SL3L269->SetBinContent(46,4448.079); h_SL3L269->SetBinContent(47,4147.932); h_SL3L269->SetBinContent(48,4236.5); h_SL3L269->SetBinContent(49,5050.833); h_SL3L269->SetBinContent(50,3771.518); h_SL3L269->SetBinContent(51,3732.155); h_SL3L269->SetBinContent(52,3909.291); h_SL3L269->SetBinContent(53,5031.151); h_SL3L269->SetBinContent(54,3230.27); h_SL3L269->SetBinContent(55,3370.502); h_SL3L269->SetBinContent(56,3377.883); h_SL3L269->SetBinContent(57,3217.969); h_SL3L269->SetBinContent(58,2725.924); h_SL3L269->SetBinContent(59,2371.653); h_SL3L269->SetMaximum(84130.68); 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,2201.897); h_SL3L370->SetBinContent(2,1889.449); h_SL3L370->SetBinContent(3,2049.364); h_SL3L370->SetBinContent(4,2880.918); h_SL3L370->SetBinContent(5,2819.413); h_SL3L370->SetBinContent(6,3144.162); h_SL3L370->SetBinContent(7,2893.219); h_SL3L370->SetBinContent(8,2981.787); h_SL3L370->SetBinContent(9,2841.555); h_SL3L370->SetBinContent(10,2625.055); h_SL3L370->SetBinContent(11,2703.782); h_SL3L370->SetBinContent(12,2669.339); h_SL3L370->SetBinContent(13,2844.015); h_SL3L370->SetBinContent(14,2927.663); h_SL3L370->SetBinContent(15,3060.514); h_SL3L370->SetBinContent(16,2875.998); h_SL3L370->SetBinContent(17,2974.407); h_SL3L370->SetBinContent(18,3151.542); h_SL3L370->SetBinContent(19,3242.571); h_SL3L370->SetBinContent(20,3444.309); h_SL3L370->SetBinContent(21,3355.741); h_SL3L370->SetBinContent(22,3478.752); h_SL3L370->SetBinContent(23,3830.563); h_SL3L370->SetBinContent(24,3914.211); h_SL3L370->SetBinContent(25,4051.983); h_SL3L370->SetBinContent(26,4162.693); h_SL3L370->SetBinContent(27,4179.915); h_SL3L370->SetBinContent(28,4393.954); h_SL3L370->SetBinContent(29,4622.754); h_SL3L370->SetBinContent(30,5412.485); h_SL3L370->SetBinContent(31,5616.684); h_SL3L370->SetBinContent(32,6578.63); h_SL3L370->SetBinContent(33,10979.96); h_SL3L370->SetBinContent(34,40273.81); h_SL3L370->SetBinContent(35,58855.86); h_SL3L370->SetBinContent(36,64339.69); h_SL3L370->SetBinContent(37,69314.26); h_SL3L370->SetBinContent(38,71582.58); h_SL3L370->SetBinContent(39,64369.21); h_SL3L370->SetBinContent(40,41941.84); h_SL3L370->SetBinContent(41,11376.06); h_SL3L370->SetBinContent(42,7009.168); h_SL3L370->SetBinContent(43,5503.513); h_SL3L370->SetBinContent(44,4822.032); h_SL3L370->SetBinContent(45,248.4823); h_SL3L370->SetBinContent(46,4241.42); h_SL3L370->SetBinContent(47,4022.461); h_SL3L370->SetBinContent(48,3965.875); h_SL3L370->SetBinContent(49,3887.148); h_SL3L370->SetBinContent(50,3648.507); h_SL3L370->SetBinContent(51,3587.002); h_SL3L370->SetBinContent(52,3478.752); h_SL3L370->SetBinContent(53,3424.627); h_SL3L370->SetBinContent(54,2937.503); h_SL3L370->SetBinContent(55,3050.674); h_SL3L370->SetBinContent(56,3181.065); h_SL3L370->SetBinContent(57,2981.787); h_SL3L370->SetBinContent(58,2593.073); h_SL3L370->SetBinContent(59,2302.766); h_SL3L370->SetMaximum(84130.68); 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,1714.774); h_SL3L471->SetBinContent(3,1778.74); h_SL3L471->SetBinContent(4,2433.158); h_SL3L471->SetBinContent(5,2858.776); h_SL3L471->SetBinContent(6,2981.787); h_SL3L471->SetBinContent(7,2878.458); h_SL3L471->SetBinContent(8,2755.447); h_SL3L471->SetBinContent(9,2814.492); h_SL3L471->SetBinContent(10,2580.771); h_SL3L471->SetBinContent(11,2391.334); h_SL3L471->SetBinContent(12,2425.778); h_SL3L471->SetBinContent(13,2676.72); h_SL3L471->SetBinContent(14,2794.811); h_SL3L471->SetBinContent(15,2752.987); h_SL3L471->SetBinContent(16,3021.151); h_SL3L471->SetBinContent(17,2799.731); h_SL3L471->SetBinContent(18,3097.418); h_SL3L471->SetBinContent(19,2861.237); h_SL3L471->SetBinContent(20,3045.753); h_SL3L471->SetBinContent(21,3326.218); h_SL3L471->SetBinContent(22,3308.997); h_SL3L471->SetBinContent(23,3732.155); h_SL3L471->SetBinContent(24,3892.069); h_SL3L471->SetBinContent(25,3722.314); h_SL3L471->SetBinContent(26,4123.33); h_SL3L471->SetBinContent(27,3953.574); h_SL3L471->SetBinContent(28,4074.125); h_SL3L471->SetBinContent(29,4349.67); h_SL3L471->SetBinContent(30,4755.606); h_SL3L471->SetBinContent(31,5127.1); h_SL3L471->SetBinContent(32,5636.365); h_SL3L471->SetBinContent(33,8773.146); h_SL3L471->SetBinContent(34,21022.58); h_SL3L471->SetBinContent(35,53861.61); h_SL3L471->SetBinContent(36,62255.88); h_SL3L471->SetBinContent(37,66703.96); h_SL3L471->SetBinContent(38,71368.54); h_SL3L471->SetBinContent(39,69410.2); h_SL3L471->SetBinContent(40,57237.03); h_SL3L471->SetBinContent(41,21499.87); h_SL3L471->SetBinContent(42,9078.214); h_SL3L471->SetBinContent(43,5673.269); h_SL3L471->SetBinContent(44,4883.538); h_SL3L471->SetBinContent(45,4509.584); h_SL3L471->SetBinContent(46,4224.199); h_SL3L471->SetBinContent(47,4034.762); h_SL3L471->SetBinContent(48,3754.297); h_SL3L471->SetBinContent(49,3771.518); h_SL3L471->SetBinContent(50,3682.95); h_SL3L471->SetBinContent(51,3417.246); h_SL3L471->SetBinContent(52,3308.997); h_SL3L471->SetBinContent(53,3471.371); h_SL3L471->SetBinContent(54,3048.213); h_SL3L471->SetBinContent(55,3099.878); h_SL3L471->SetBinContent(56,2878.458); h_SL3L471->SetBinContent(57,2910.441); h_SL3L471->SetBinContent(58,2546.328); h_SL3L471->SetBinContent(59,2332.289); h_SL3L471->SetMaximum(84130.68); 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 6786"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }