void RatesPerCell_Removing_noisy_cells_run_6620_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12267.19,67.5,110404.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6620",60,0,60); h_SL3L168->SetBinContent(1,46.98604); h_SL3L168->SetBinContent(2,62.64806); h_SL3L168->SetBinContent(4,90.05658); h_SL3L168->SetBinContent(5,78.31007); h_SL3L168->SetBinContent(6,121.3806); h_SL3L168->SetBinContent(7,123.3384); h_SL3L168->SetBinContent(8,111.5919); h_SL3L168->SetBinContent(9,133.1271); h_SL3L168->SetBinContent(10,140.9581); h_SL3L168->SetBinContent(11,139.0004); h_SL3L168->SetBinContent(12,189.9019); h_SL3L168->SetBinContent(13,189.9019); h_SL3L168->SetBinContent(14,187.9442); h_SL3L168->SetBinContent(15,242.7612); h_SL3L168->SetBinContent(16,236.888); h_SL3L168->SetBinContent(17,264.2965); h_SL3L168->SetBinContent(18,297.5783); h_SL3L168->SetBinContent(19,403.2969); h_SL3L168->SetBinContent(20,403.2969); h_SL3L168->SetBinContent(21,477.6914); h_SL3L168->SetBinContent(22,509.0154); h_SL3L168->SetBinContent(23,689.1286); h_SL3L168->SetBinContent(24,718.4949); h_SL3L168->SetBinContent(25,959.2983); h_SL3L168->SetBinContent(26,980.8336); h_SL3L168->SetBinContent(27,1059.144); h_SL3L168->SetBinContent(28,1305.82); h_SL3L168->SetBinContent(29,1685.624); h_SL3L168->SetBinContent(30,2032.146); h_SL3L168->SetBinContent(31,2603.81); h_SL3L168->SetBinContent(32,3991.856); h_SL3L168->SetBinContent(33,7778.148); h_SL3L168->SetBinContent(34,35139.69); h_SL3L168->SetBinContent(35,53683.51); h_SL3L168->SetBinContent(36,60995.71); h_SL3L168->SetBinContent(37,69991.59); h_SL3L168->SetBinContent(38,74206.62); h_SL3L168->SetBinContent(39,64995.4); h_SL3L168->SetBinContent(40,38332.78); h_SL3L168->SetBinContent(41,8365.474); h_SL3L168->SetBinContent(42,4307.054); h_SL3L168->SetBinContent(43,2905.304); h_SL3L168->SetBinContent(44,2509.838); h_SL3L168->SetBinContent(45,2067.386); h_SL3L168->SetBinContent(46,1791.343); h_SL3L168->SetBinContent(47,1525.089); h_SL3L168->SetBinContent(48,1438.948); h_SL3L168->SetBinContent(49,1170.736); h_SL3L168->SetBinContent(50,1080.679); h_SL3L168->SetBinContent(51,927.9743); h_SL3L168->SetBinContent(52,884.9038); h_SL3L168->SetBinContent(53,857.4952); h_SL3L168->SetBinContent(54,673.4666); h_SL3L168->SetBinContent(55,649.9736); h_SL3L168->SetBinContent(56,642.1426); h_SL3L168->SetBinContent(57,591.241); h_SL3L168->SetBinContent(58,481.6069); h_SL3L168->SetBinContent(59,391.5504); h_SL3L168->SetMaximum(98137.55); 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,62.64806); h_SL3L269->SetBinContent(2,45.02829); h_SL3L269->SetBinContent(4,62.64806); h_SL3L269->SetBinContent(5,82.22557); h_SL3L269->SetBinContent(6,103.7608); h_SL3L269->SetBinContent(7,101.8031); h_SL3L269->SetBinContent(8,131.1694); h_SL3L269->SetBinContent(9,123.3384); h_SL3L269->SetBinContent(10,105.7186); h_SL3L269->SetBinContent(11,142.9159); h_SL3L269->SetBinContent(12,150.7469); h_SL3L269->SetBinContent(13,197.7329); h_SL3L269->SetBinContent(14,170.3244); h_SL3L269->SetBinContent(15,211.4372); h_SL3L269->SetBinContent(16,262.3387); h_SL3L269->SetBinContent(17,252.55); h_SL3L269->SetBinContent(18,276.043); h_SL3L269->SetBinContent(19,385.6771); h_SL3L269->SetBinContent(20,381.7616); h_SL3L269->SetBinContent(21,356.3108); h_SL3L269->SetBinContent(22,448.3252); h_SL3L269->SetBinContent(23,591.241); h_SL3L269->SetBinContent(24,614.7341); h_SL3L269->SetBinContent(25,826.1713); h_SL3L269->SetBinContent(26,865.3263); h_SL3L269->SetBinContent(27,1012.158); h_SL3L269->SetBinContent(28,1174.651); h_SL3L269->SetBinContent(29,1348.891); h_SL3L269->SetBinContent(30,1765.892); h_SL3L269->SetBinContent(31,2229.879); h_SL3L269->SetBinContent(32,2993.402); h_SL3L269->SetBinContent(33,5867.382); h_SL3L269->SetBinContent(34,17030.48); h_SL3L269->SetBinContent(35,47399.13); h_SL3L269->SetBinContent(36,56833.54); h_SL3L269->SetBinContent(37,64623.43); h_SL3L269->SetBinContent(38,72908.63); h_SL3L269->SetBinContent(39,70780.55); h_SL3L269->SetBinContent(40,55572.74); h_SL3L269->SetBinContent(41,17891.89); h_SL3L269->SetBinContent(42,6548.68); h_SL3L269->SetBinContent(43,3087.375); h_SL3L269->SetBinContent(44,2646.88); h_SL3L269->SetBinContent(45,2106.541); h_SL3L269->SetBinContent(46,1944.047); h_SL3L269->SetBinContent(47,1525.089); h_SL3L269->SetBinContent(48,1431.117); h_SL3L269->SetBinContent(49,3846.982); h_SL3L269->SetBinContent(50,1090.468); h_SL3L269->SetBinContent(51,986.7069); h_SL3L269->SetBinContent(52,1546.624); h_SL3L269->SetBinContent(53,5301.592); h_SL3L269->SetBinContent(54,741.9879); h_SL3L269->SetBinContent(55,587.3255); h_SL3L269->SetBinContent(56,1157.031); h_SL3L269->SetBinContent(57,593.1988); h_SL3L269->SetBinContent(58,505.0999); h_SL3L269->SetBinContent(59,411.1279); h_SL3L269->SetMaximum(85337.62); 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,60.6903); h_SL3L370->SetBinContent(2,64.6058); h_SL3L370->SetBinContent(3,58.73255); h_SL3L370->SetBinContent(4,93.97208); h_SL3L370->SetBinContent(5,76.35232); h_SL3L370->SetBinContent(6,103.7608); h_SL3L370->SetBinContent(7,90.05658); h_SL3L370->SetBinContent(8,107.6763); h_SL3L370->SetBinContent(9,103.7608); h_SL3L370->SetBinContent(10,117.4651); h_SL3L370->SetBinContent(11,146.8314); h_SL3L370->SetBinContent(12,146.8314); h_SL3L370->SetBinContent(13,197.7329); h_SL3L370->SetBinContent(14,209.4794); h_SL3L370->SetBinContent(15,242.7612); h_SL3L370->SetBinContent(16,240.8035); h_SL3L370->SetBinContent(17,260.381); h_SL3L370->SetBinContent(18,289.7473); h_SL3L370->SetBinContent(19,417.0011); h_SL3L370->SetBinContent(20,371.9728); h_SL3L370->SetBinContent(21,403.2969); h_SL3L370->SetBinContent(22,479.6492); h_SL3L370->SetBinContent(23,646.0581); h_SL3L370->SetBinContent(24,687.1708); h_SL3L370->SetBinContent(25,855.5375); h_SL3L370->SetBinContent(26,926.0166); h_SL3L370->SetBinContent(27,961.2561); h_SL3L370->SetBinContent(28,1280.37); h_SL3L370->SetBinContent(29,1605.356); h_SL3L370->SetBinContent(30,1879.442); h_SL3L370->SetBinContent(31,2554.866); h_SL3L370->SetBinContent(32,3805.869); h_SL3L370->SetBinContent(33,7713.542); h_SL3L370->SetBinContent(34,34750.09); h_SL3L370->SetBinContent(35,53176.45); h_SL3L370->SetBinContent(36,60711.84); h_SL3L370->SetBinContent(37,69768.4); h_SL3L370->SetBinContent(38,73123.98); h_SL3L370->SetBinContent(39,65220.54); h_SL3L370->SetBinContent(40,38377.81); h_SL3L370->SetBinContent(41,8246.051); h_SL3L370->SetBinContent(42,4115.194); h_SL3L370->SetBinContent(43,2803.5); h_SL3L370->SetBinContent(44,2345.387); h_SL3L370->SetBinContent(45,170.3244); h_SL3L370->SetBinContent(46,1716.948); h_SL3L370->SetBinContent(47,1372.384); h_SL3L370->SetBinContent(48,1309.736); h_SL3L370->SetBinContent(49,1141.369); h_SL3L370->SetBinContent(50,1039.566); h_SL3L370->SetBinContent(51,884.9038); h_SL3L370->SetBinContent(52,916.2278); h_SL3L370->SetBinContent(53,884.9038); h_SL3L370->SetBinContent(54,638.2271); h_SL3L370->SetBinContent(55,630.3961); h_SL3L370->SetBinContent(56,630.3961); h_SL3L370->SetBinContent(57,518.8042); h_SL3L370->SetBinContent(58,434.6209); h_SL3L370->SetBinContent(59,393.5081); h_SL3L370->SetMaximum(85337.62); 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,37.19728); h_SL3L471->SetBinContent(3,78.31007); h_SL3L471->SetBinContent(4,64.6058); h_SL3L471->SetBinContent(5,50.90155); h_SL3L471->SetBinContent(6,103.7608); h_SL3L471->SetBinContent(7,97.88759); h_SL3L471->SetBinContent(8,129.2116); h_SL3L471->SetBinContent(9,111.5919); h_SL3L471->SetBinContent(10,127.2539); h_SL3L471->SetBinContent(11,142.9159); h_SL3L471->SetBinContent(12,131.1694); h_SL3L471->SetBinContent(13,170.3244); h_SL3L471->SetBinContent(14,158.5779); h_SL3L471->SetBinContent(15,215.3527); h_SL3L471->SetBinContent(16,240.8035); h_SL3L471->SetBinContent(17,252.55); h_SL3L471->SetBinContent(18,262.3387); h_SL3L471->SetBinContent(19,328.9023); h_SL3L471->SetBinContent(20,413.0856); h_SL3L471->SetBinContent(21,371.9728); h_SL3L471->SetBinContent(22,446.3674); h_SL3L471->SetBinContent(23,632.3538); h_SL3L471->SetBinContent(24,653.8891); h_SL3L471->SetBinContent(25,775.2697); h_SL3L471->SetBinContent(26,898.608); h_SL3L471->SetBinContent(27,951.4673); h_SL3L471->SetBinContent(28,1137.454); h_SL3L471->SetBinContent(29,1478.103); h_SL3L471->SetBinContent(30,1624.934); h_SL3L471->SetBinContent(31,2159.4); h_SL3L471->SetBinContent(32,2862.233); h_SL3L471->SetBinContent(33,5781.241); h_SL3L471->SetBinContent(34,16914.97); h_SL3L471->SetBinContent(35,47786.76); h_SL3L471->SetBinContent(36,57017.56); h_SL3L471->SetBinContent(37,64629.3); h_SL3L471->SetBinContent(38,73123.98); h_SL3L471->SetBinContent(39,71011.57); h_SL3L471->SetBinContent(40,55578.61); h_SL3L471->SetBinContent(41,18081.79); h_SL3L471->SetBinContent(42,6495.82); h_SL3L471->SetBinContent(43,3056.051); h_SL3L471->SetBinContent(44,2460.894); h_SL3L471->SetBinContent(45,2024.315); h_SL3L471->SetBinContent(46,1840.287); h_SL3L471->SetBinContent(47,1423.286); h_SL3L471->SetBinContent(48,1305.82); h_SL3L471->SetBinContent(49,1178.567); h_SL3L471->SetBinContent(50,1018.031); h_SL3L471->SetBinContent(51,955.3829); h_SL3L471->SetBinContent(52,855.5375); h_SL3L471->SetBinContent(53,796.805); h_SL3L471->SetBinContent(54,675.4244); h_SL3L471->SetBinContent(55,583.41); h_SL3L471->SetBinContent(56,567.748); h_SL3L471->SetBinContent(57,518.8042); h_SL3L471->SetBinContent(58,446.3674); h_SL3L471->SetBinContent(59,420.9166); h_SL3L471->SetMaximum(85337.62); 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 6620"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }