void RatesPerCell_Removing_noisy_cells_run_5385_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:43:20 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3195.85,67.5,28762.65); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5385",60,0,60); h_SL3L168->SetBinContent(1,53.31972); h_SL3L168->SetBinContent(2,40.44944); h_SL3L168->SetBinContent(3,1.838611); h_SL3L168->SetBinContent(4,68.02861); h_SL3L168->SetBinContent(5,60.67417); h_SL3L168->SetBinContent(6,51.48111); h_SL3L168->SetBinContent(7,56.99694); h_SL3L168->SetBinContent(8,69.86723); h_SL3L168->SetBinContent(9,56.99694); h_SL3L168->SetBinContent(10,62.51278); h_SL3L168->SetBinContent(11,77.22166); h_SL3L168->SetBinContent(12,90.09194); h_SL3L168->SetBinContent(13,104.8008); h_SL3L168->SetBinContent(14,99.285); h_SL3L168->SetBinContent(15,106.6394); h_SL3L168->SetBinContent(16,119.5097); h_SL3L168->SetBinContent(17,95.60778); h_SL3L168->SetBinContent(18,126.8642); h_SL3L168->SetBinContent(19,137.8958); h_SL3L168->SetBinContent(20,156.282); h_SL3L168->SetBinContent(21,147.0889); h_SL3L168->SetBinContent(22,178.3453); h_SL3L168->SetBinContent(23,198.57); h_SL3L168->SetBinContent(24,237.1808); h_SL3L168->SetBinContent(25,233.5036); h_SL3L168->SetBinContent(26,213.2789); h_SL3L168->SetBinContent(27,268.4372); h_SL3L168->SetBinContent(28,279.4689); h_SL3L168->SetBinContent(29,327.2728); h_SL3L168->SetBinContent(30,362.2064); h_SL3L168->SetBinContent(31,353.0133); h_SL3L168->SetBinContent(32,402.6558); h_SL3L168->SetBinContent(33,479.8775); h_SL3L168->SetBinContent(34,450.4597); h_SL3L168->SetBinContent(35,360.3678); h_SL3L168->SetBinContent(36,419.2033); h_SL3L168->SetBinContent(37,351.1747); h_SL3L168->SetBinContent(38,310.7253); h_SL3L168->SetBinContent(39,347.4975); h_SL3L168->SetBinContent(40,227.9878); h_SL3L168->SetBinContent(41,248.2125); h_SL3L168->SetBinContent(42,172.8295); h_SL3L168->SetBinContent(43,183.8611); h_SL3L168->SetBinContent(44,139.7345); h_SL3L168->SetBinContent(45,161.7978); h_SL3L168->SetBinContent(46,148.9275); h_SL3L168->SetBinContent(47,182.0225); h_SL3L168->SetBinContent(48,169.1522); h_SL3L168->SetBinContent(49,3557.713); h_SL3L168->SetBinContent(50,128.7028); h_SL3L168->SetBinContent(51,108.4781); h_SL3L168->SetBinContent(52,139.7345); h_SL3L168->SetBinContent(53,158.1206); h_SL3L168->SetBinContent(54,139.7345); h_SL3L168->SetBinContent(55,143.4117); h_SL3L168->SetBinContent(56,154.4433); h_SL3L168->SetBinContent(57,106.6394); h_SL3L168->SetBinContent(58,126.8642); h_SL3L168->SetBinContent(59,88.25333); h_SL3L168->SetMaximum(25566.8); 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,44.12667); h_SL3L269->SetBinContent(2,40.44944); h_SL3L269->SetBinContent(4,62.51278); h_SL3L269->SetBinContent(5,75.38306); h_SL3L269->SetBinContent(6,60.67417); h_SL3L269->SetBinContent(7,73.54445); h_SL3L269->SetBinContent(8,49.6425); h_SL3L269->SetBinContent(9,66.19); h_SL3L269->SetBinContent(10,66.19); h_SL3L269->SetBinContent(11,56.99694); h_SL3L269->SetBinContent(12,79.06028); h_SL3L269->SetBinContent(13,110.3167); h_SL3L269->SetBinContent(14,106.6394); h_SL3L269->SetBinContent(15,115.8325); h_SL3L269->SetBinContent(16,108.4781); h_SL3L269->SetBinContent(17,110.3167); h_SL3L269->SetBinContent(18,132.38); h_SL3L269->SetBinContent(19,150.7661); h_SL3L269->SetBinContent(20,150.7661); h_SL3L269->SetBinContent(21,137.8958); h_SL3L269->SetBinContent(22,163.6364); h_SL3L269->SetBinContent(23,183.8611); h_SL3L269->SetBinContent(24,209.6017); h_SL3L269->SetBinContent(25,222.4719); h_SL3L269->SetBinContent(26,235.3422); h_SL3L269->SetBinContent(27,259.2442); h_SL3L269->SetBinContent(28,270.2758); h_SL3L269->SetBinContent(29,303.3708); h_SL3L269->SetBinContent(30,319.9183); h_SL3L269->SetBinContent(31,343.8203); h_SL3L269->SetBinContent(32,334.6272); h_SL3L269->SetBinContent(33,457.8142); h_SL3L269->SetBinContent(34,468.8458); h_SL3L269->SetBinContent(35,393.4628); h_SL3L269->SetBinContent(36,410.0103); h_SL3L269->SetBinContent(37,321.757); h_SL3L269->SetBinContent(38,362.2064); h_SL3L269->SetBinContent(39,296.0164); h_SL3L269->SetBinContent(40,340.1431); h_SL3L269->SetBinContent(41,253.7283); h_SL3L269->SetBinContent(42,180.1839); h_SL3L269->SetBinContent(43,183.8611); h_SL3L269->SetBinContent(44,159.9592); h_SL3L269->SetBinContent(45,137.8958); h_SL3L269->SetBinContent(46,145.2503); h_SL3L269->SetBinContent(47,185.6997); h_SL3L269->SetBinContent(48,165.475); h_SL3L269->SetBinContent(49,19333); h_SL3L269->SetBinContent(50,130.5414); h_SL3L269->SetBinContent(51,134.2186); h_SL3L269->SetBinContent(52,6589.582); h_SL3L269->SetBinContent(53,15493.98); h_SL3L269->SetBinContent(54,128.7028); h_SL3L269->SetBinContent(55,143.4117); h_SL3L269->SetBinContent(56,3026.354); h_SL3L269->SetBinContent(57,130.5414); h_SL3L269->SetBinContent(58,128.7028); h_SL3L269->SetBinContent(59,110.3167); h_SL3L269->SetMaximum(22232.95); 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,45.96528); h_SL3L370->SetBinContent(2,42.28806); h_SL3L370->SetBinContent(3,68.02861); h_SL3L370->SetBinContent(4,73.54445); h_SL3L370->SetBinContent(5,69.86723); h_SL3L370->SetBinContent(6,62.51278); h_SL3L370->SetBinContent(7,53.31972); h_SL3L370->SetBinContent(8,69.86723); h_SL3L370->SetBinContent(9,53.31972); h_SL3L370->SetBinContent(10,75.38306); h_SL3L370->SetBinContent(11,69.86723); h_SL3L370->SetBinContent(12,102.9622); h_SL3L370->SetBinContent(13,93.76917); h_SL3L370->SetBinContent(14,104.8008); h_SL3L370->SetBinContent(15,97.44639); h_SL3L370->SetBinContent(16,121.3483); h_SL3L370->SetBinContent(17,108.4781); h_SL3L370->SetBinContent(18,128.7028); h_SL3L370->SetBinContent(19,163.6364); h_SL3L370->SetBinContent(20,143.4117); h_SL3L370->SetBinContent(21,154.4433); h_SL3L370->SetBinContent(22,143.4117); h_SL3L370->SetBinContent(23,189.377); h_SL3L370->SetBinContent(24,220.6333); h_SL3L370->SetBinContent(25,231.665); h_SL3L370->SetBinContent(26,237.1808); h_SL3L370->SetBinContent(27,250.0511); h_SL3L370->SetBinContent(28,275.7917); h_SL3L370->SetBinContent(29,336.4659); h_SL3L370->SetBinContent(30,369.5608); h_SL3L370->SetBinContent(31,330.95); h_SL3L370->SetBinContent(32,391.6242); h_SL3L370->SetBinContent(33,492.7478); h_SL3L370->SetBinContent(34,435.7508); h_SL3L370->SetBinContent(35,356.6906); h_SL3L370->SetBinContent(36,406.3331); h_SL3L370->SetBinContent(37,327.2728); h_SL3L370->SetBinContent(38,330.95); h_SL3L370->SetBinContent(39,351.1747); h_SL3L370->SetBinContent(40,253.7283); h_SL3L370->SetBinContent(41,246.3739); h_SL3L370->SetBinContent(42,165.475); h_SL3L370->SetBinContent(43,172.8295); h_SL3L370->SetBinContent(44,159.9592); h_SL3L370->SetBinContent(45,156.282); h_SL3L370->SetBinContent(46,141.5731); h_SL3L370->SetBinContent(47,169.1522); h_SL3L370->SetBinContent(48,178.3453); h_SL3L370->SetBinContent(49,123.1869); h_SL3L370->SetBinContent(50,113.9939); h_SL3L370->SetBinContent(51,137.8958); h_SL3L370->SetBinContent(52,126.8642); h_SL3L370->SetBinContent(53,744.6375); h_SL3L370->SetBinContent(54,152.6047); h_SL3L370->SetBinContent(55,125.0256); h_SL3L370->SetBinContent(56,176.5067); h_SL3L370->SetBinContent(57,101.1236); h_SL3L370->SetBinContent(58,117.6711); h_SL3L370->SetBinContent(59,86.41473); h_SL3L370->SetMaximum(22232.95); 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,42.28806); h_SL3L471->SetBinContent(3,49.6425); h_SL3L471->SetBinContent(4,49.6425); h_SL3L471->SetBinContent(5,64.35139); h_SL3L471->SetBinContent(6,53.31972); h_SL3L471->SetBinContent(7,64.35139); h_SL3L471->SetBinContent(8,60.67417); h_SL3L471->SetBinContent(9,66.19); h_SL3L471->SetBinContent(10,75.38306); h_SL3L471->SetBinContent(11,56.99694); h_SL3L471->SetBinContent(12,77.22166); h_SL3L471->SetBinContent(13,93.76917); h_SL3L471->SetBinContent(14,95.60778); h_SL3L471->SetBinContent(15,104.8008); h_SL3L471->SetBinContent(16,97.44639); h_SL3L471->SetBinContent(17,115.8325); h_SL3L471->SetBinContent(18,121.3483); h_SL3L471->SetBinContent(19,167.3136); h_SL3L471->SetBinContent(20,163.6364); h_SL3L471->SetBinContent(21,145.2503); h_SL3L471->SetBinContent(22,158.1206); h_SL3L471->SetBinContent(23,187.5383); h_SL3L471->SetBinContent(24,198.57); h_SL3L471->SetBinContent(25,207.7631); h_SL3L471->SetBinContent(26,239.0194); h_SL3L471->SetBinContent(27,239.0194); h_SL3L471->SetBinContent(28,270.2758); h_SL3L471->SetBinContent(29,321.757); h_SL3L471->SetBinContent(30,325.4342); h_SL3L471->SetBinContent(31,341.9817); h_SL3L471->SetBinContent(32,336.4659); h_SL3L471->SetBinContent(33,463.33); h_SL3L471->SetBinContent(34,492.7478); h_SL3L471->SetBinContent(35,391.6242); h_SL3L471->SetBinContent(36,422.8806); h_SL3L471->SetBinContent(37,327.2728); h_SL3L471->SetBinContent(38,354.852); h_SL3L471->SetBinContent(39,305.2094); h_SL3L471->SetBinContent(40,327.2728); h_SL3L471->SetBinContent(41,259.2442); h_SL3L471->SetBinContent(42,182.0225); h_SL3L471->SetBinContent(43,180.1839); h_SL3L471->SetBinContent(44,159.9592); h_SL3L471->SetBinContent(45,165.475); h_SL3L471->SetBinContent(46,139.7345); h_SL3L471->SetBinContent(47,172.8295); h_SL3L471->SetBinContent(48,152.6047); h_SL3L471->SetBinContent(49,148.9275); h_SL3L471->SetBinContent(51,125.0256); h_SL3L471->SetBinContent(52,134.2186); h_SL3L471->SetBinContent(53,137.8958); h_SL3L471->SetBinContent(54,143.4117); h_SL3L471->SetBinContent(55,143.4117); h_SL3L471->SetBinContent(56,145.2503); h_SL3L471->SetBinContent(57,130.5414); h_SL3L471->SetBinContent(58,126.8642); h_SL3L471->SetBinContent(59,117.6711); h_SL3L471->SetMaximum(22232.95); 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 5385"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }