void RatesPerCell_Removing_noisy_cells_run_7080_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Dec 23 11:46:16 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12072.56,67.5,108653); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7080",60,0,60); h_SL3L168->SetBinContent(1,123.3898); h_SL3L168->SetBinContent(2,105.7627); h_SL3L168->SetBinContent(4,229.1524); h_SL3L168->SetBinContent(5,52.88133); h_SL3L168->SetBinContent(6,246.7795); h_SL3L168->SetBinContent(7,123.3898); h_SL3L168->SetBinContent(8,193.8982); h_SL3L168->SetBinContent(9,334.9151); h_SL3L168->SetBinContent(10,282.0338); h_SL3L168->SetBinContent(11,229.1524); h_SL3L168->SetBinContent(12,246.7795); h_SL3L168->SetBinContent(13,229.1524); h_SL3L168->SetBinContent(14,581.6946); h_SL3L168->SetBinContent(15,334.9151); h_SL3L168->SetBinContent(16,475.9319); h_SL3L168->SetBinContent(17,757.9657); h_SL3L168->SetBinContent(18,722.7115); h_SL3L168->SetBinContent(19,934.2368); h_SL3L168->SetBinContent(20,1128.135); h_SL3L168->SetBinContent(21,1392.542); h_SL3L168->SetBinContent(22,1921.355); h_SL3L168->SetBinContent(23,2150.507); h_SL3L168->SetBinContent(24,3084.744); h_SL3L168->SetBinContent(25,8090.843); h_SL3L168->SetBinContent(26,23690.84); h_SL3L168->SetBinContent(27,37651.51); h_SL3L168->SetBinContent(28,52352.52); h_SL3L168->SetBinContent(29,67000.64); h_SL3L168->SetBinContent(30,73029.12); h_SL3L168->SetBinContent(31,54414.89); h_SL3L168->SetBinContent(32,36029.81); h_SL3L168->SetBinContent(33,12638.64); h_SL3L168->SetBinContent(34,7227.115); h_SL3L168->SetBinContent(35,2978.981); h_SL3L168->SetBinContent(36,2309.151); h_SL3L168->SetBinContent(37,2185.761); h_SL3L168->SetBinContent(38,1533.558); h_SL3L168->SetBinContent(39,1357.287); h_SL3L168->SetBinContent(40,1198.643); h_SL3L168->SetBinContent(41,1110.508); h_SL3L168->SetBinContent(42,987.1182); h_SL3L168->SetBinContent(43,987.1182); h_SL3L168->SetBinContent(44,757.9657); h_SL3L168->SetBinContent(45,1022.372); h_SL3L168->SetBinContent(46,705.0844); h_SL3L168->SetBinContent(47,687.4573); h_SL3L168->SetBinContent(48,546.4404); h_SL3L168->SetBinContent(49,599.3217); h_SL3L168->SetBinContent(50,652.2031); h_SL3L168->SetBinContent(51,440.6777); h_SL3L168->SetBinContent(52,511.1862); h_SL3L168->SetBinContent(53,317.288); h_SL3L168->SetBinContent(54,423.0506); h_SL3L168->SetBinContent(55,440.6777); h_SL3L168->SetBinContent(56,299.6609); h_SL3L168->SetBinContent(57,299.6609); h_SL3L168->SetBinContent(58,317.288); h_SL3L168->SetBinContent(59,405.4235); h_SL3L168->SetMaximum(96580.45); 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,105.7627); h_SL3L269->SetBinContent(2,105.7627); h_SL3L269->SetBinContent(4,123.3898); h_SL3L269->SetBinContent(5,229.1524); h_SL3L269->SetBinContent(6,176.2711); h_SL3L269->SetBinContent(7,141.0169); h_SL3L269->SetBinContent(8,141.0169); h_SL3L269->SetBinContent(9,264.4066); h_SL3L269->SetBinContent(10,282.0338); h_SL3L269->SetBinContent(11,317.288); h_SL3L269->SetBinContent(12,264.4066); h_SL3L269->SetBinContent(13,176.2711); h_SL3L269->SetBinContent(14,299.6609); h_SL3L269->SetBinContent(15,458.3048); h_SL3L269->SetBinContent(16,387.7964); h_SL3L269->SetBinContent(17,687.4573); h_SL3L269->SetBinContent(18,757.9657); h_SL3L269->SetBinContent(19,793.2199); h_SL3L269->SetBinContent(20,1110.508); h_SL3L269->SetBinContent(21,1374.915); h_SL3L269->SetBinContent(22,1903.728); h_SL3L269->SetBinContent(23,1956.609); h_SL3L269->SetBinContent(24,2414.914); h_SL3L269->SetBinContent(25,4988.472); h_SL3L269->SetBinContent(26,11210.84); h_SL3L269->SetBinContent(27,33227.1); h_SL3L269->SetBinContent(28,43274.55); h_SL3L269->SetBinContent(29,58433.87); h_SL3L269->SetBinContent(30,71143.02); h_SL3L269->SetBinContent(31,62611.49); h_SL3L269->SetBinContent(32,43627.1); h_SL3L269->SetBinContent(33,25524.05); h_SL3L269->SetBinContent(34,9130.843); h_SL3L269->SetBinContent(35,3560.676); h_SL3L269->SetBinContent(36,2256.27); h_SL3L269->SetBinContent(37,2079.999); h_SL3L269->SetBinContent(38,2168.135); h_SL3L269->SetBinContent(39,1480.677); h_SL3L269->SetBinContent(40,1092.881); h_SL3L269->SetBinContent(41,1040); h_SL3L269->SetBinContent(42,1040); h_SL3L269->SetBinContent(43,881.3555); h_SL3L269->SetBinContent(44,916.6097); h_SL3L269->SetBinContent(45,599.3217); h_SL3L269->SetBinContent(46,828.4741); h_SL3L269->SetBinContent(47,757.9657); h_SL3L269->SetBinContent(48,581.6946); h_SL3L269->SetBinContent(49,599.3217); h_SL3L269->SetBinContent(50,652.2031); h_SL3L269->SetBinContent(51,652.2031); h_SL3L269->SetBinContent(52,475.9319); h_SL3L269->SetBinContent(53,581.6946); h_SL3L269->SetBinContent(54,440.6777); h_SL3L269->SetBinContent(55,405.4235); h_SL3L269->SetBinContent(56,423.0506); h_SL3L269->SetBinContent(57,299.6609); h_SL3L269->SetBinContent(58,352.5422); h_SL3L269->SetBinContent(59,334.9151); h_SL3L269->SetMaximum(83983.48); 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,70.50844); h_SL3L370->SetBinContent(2,141.0169); h_SL3L370->SetBinContent(3,88.13554); h_SL3L370->SetBinContent(4,282.0338); h_SL3L370->SetBinContent(5,229.1524); h_SL3L370->SetBinContent(6,141.0169); h_SL3L370->SetBinContent(7,176.2711); h_SL3L370->SetBinContent(8,141.0169); h_SL3L370->SetBinContent(9,211.5253); h_SL3L370->SetBinContent(10,211.5253); h_SL3L370->SetBinContent(11,246.7795); h_SL3L370->SetBinContent(12,405.4235); h_SL3L370->SetBinContent(13,352.5422); h_SL3L370->SetBinContent(14,423.0506); h_SL3L370->SetBinContent(15,423.0506); h_SL3L370->SetBinContent(16,440.6777); h_SL3L370->SetBinContent(17,669.8301); h_SL3L370->SetBinContent(18,687.4573); h_SL3L370->SetBinContent(19,951.8639); h_SL3L370->SetBinContent(20,1128.135); h_SL3L370->SetBinContent(21,1304.406); h_SL3L370->SetBinContent(22,1656.948); h_SL3L370->SetBinContent(23,2379.66); h_SL3L370->SetBinContent(24,2573.558); h_SL3L370->SetBinContent(25,7720.674); h_SL3L370->SetBinContent(26,23849.48); h_SL3L370->SetBinContent(27,36946.42); h_SL3L370->SetBinContent(28,51823.7); h_SL3L370->SetBinContent(29,66542.34); h_SL3L370->SetBinContent(30,70860.98); h_SL3L370->SetBinContent(31,54467.77); h_SL3L370->SetBinContent(32,34831.17); h_SL3L370->SetBinContent(33,11774.91); h_SL3L370->SetBinContent(34,6574.912); h_SL3L370->SetBinContent(35,2714.575); h_SL3L370->SetBinContent(36,2132.88); h_SL3L370->SetBinContent(37,1745.084); h_SL3L370->SetBinContent(38,1586.44); h_SL3L370->SetBinContent(39,1251.525); h_SL3L370->SetBinContent(40,934.2368); h_SL3L370->SetBinContent(41,1057.627); h_SL3L370->SetBinContent(42,934.2368); h_SL3L370->SetBinContent(43,1110.508); h_SL3L370->SetBinContent(44,1004.745); h_SL3L370->SetBinContent(45,775.5928); h_SL3L370->SetBinContent(46,475.9319); h_SL3L370->SetBinContent(47,722.7115); h_SL3L370->SetBinContent(48,352.5422); h_SL3L370->SetBinContent(49,546.4404); h_SL3L370->SetBinContent(50,705.0844); h_SL3L370->SetBinContent(51,370.1693); h_SL3L370->SetBinContent(52,511.1862); h_SL3L370->SetBinContent(53,493.5591); h_SL3L370->SetBinContent(54,440.6777); h_SL3L370->SetBinContent(55,352.5422); h_SL3L370->SetBinContent(56,352.5422); h_SL3L370->SetBinContent(57,246.7795); h_SL3L370->SetBinContent(58,246.7795); h_SL3L370->SetBinContent(59,387.7964); h_SL3L370->SetMaximum(83983.48); 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,70.50844); h_SL3L471->SetBinContent(3,141.0169); h_SL3L471->SetBinContent(4,176.2711); h_SL3L471->SetBinContent(5,176.2711); h_SL3L471->SetBinContent(6,176.2711); h_SL3L471->SetBinContent(7,264.4066); h_SL3L471->SetBinContent(8,211.5253); h_SL3L471->SetBinContent(9,176.2711); h_SL3L471->SetBinContent(10,334.9151); h_SL3L471->SetBinContent(11,387.7964); h_SL3L471->SetBinContent(12,299.6609); h_SL3L471->SetBinContent(13,264.4066); h_SL3L471->SetBinContent(14,317.288); h_SL3L471->SetBinContent(15,564.0675); h_SL3L471->SetBinContent(16,370.1693); h_SL3L471->SetBinContent(17,616.9489); h_SL3L471->SetBinContent(18,528.8133); h_SL3L471->SetBinContent(19,599.3217); h_SL3L471->SetBinContent(20,934.2368); h_SL3L471->SetBinContent(21,1269.152); h_SL3L471->SetBinContent(22,1551.186); h_SL3L471->SetBinContent(23,1656.948); h_SL3L471->SetBinContent(24,2749.829); h_SL3L471->SetBinContent(25,4583.048); h_SL3L471->SetBinContent(26,11492.88); h_SL3L471->SetBinContent(27,33562.02); h_SL3L471->SetBinContent(28,43750.48); h_SL3L471->SetBinContent(29,58169.46); h_SL3L471->SetBinContent(30,72288.77); h_SL3L471->SetBinContent(31,62911.15); h_SL3L471->SetBinContent(32,43679.98); h_SL3L471->SetBinContent(33,24889.48); h_SL3L471->SetBinContent(34,8919.317); h_SL3L471->SetBinContent(35,3560.676); h_SL3L471->SetBinContent(36,2326.779); h_SL3L471->SetBinContent(37,1956.609); h_SL3L471->SetBinContent(38,1674.575); h_SL3L471->SetBinContent(39,1445.423); h_SL3L471->SetBinContent(40,1057.627); h_SL3L471->SetBinContent(41,1057.627); h_SL3L471->SetBinContent(42,1092.881); h_SL3L471->SetBinContent(43,863.7284); h_SL3L471->SetBinContent(44,1057.627); h_SL3L471->SetBinContent(45,810.847); h_SL3L471->SetBinContent(46,740.3386); h_SL3L471->SetBinContent(47,652.2031); h_SL3L471->SetBinContent(48,387.7964); h_SL3L471->SetBinContent(49,546.4404); h_SL3L471->SetBinContent(50,423.0506); h_SL3L471->SetBinContent(51,423.0506); h_SL3L471->SetBinContent(52,440.6777); h_SL3L471->SetBinContent(53,581.6946); h_SL3L471->SetBinContent(54,440.6777); h_SL3L471->SetBinContent(55,458.3048); h_SL3L471->SetBinContent(56,423.0506); h_SL3L471->SetBinContent(57,141.0169); h_SL3L471->SetBinContent(58,352.5422); h_SL3L471->SetBinContent(59,158.644); h_SL3L471->SetMaximum(83983.48); 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 7080"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }