void RatesPerCell_Removing_noisy_cells_run_6574_SL1() { //=========Macro generated from canvas: c/c //========= (Wed Jan 16 13:20:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12028.28,67.5,108254.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6574",60,0,60); h_SL1L160->SetBinContent(1,218.4145); h_SL1L160->SetBinContent(2,228.1218); h_SL1L160->SetBinContent(3,277.8717); h_SL1L160->SetBinContent(4,268.1644); h_SL1L160->SetBinContent(5,276.6583); h_SL1L160->SetBinContent(6,305.7802); h_SL1L160->SetBinContent(7,283.9388); h_SL1L160->SetBinContent(8,354.3168); h_SL1L160->SetBinContent(9,327.6217); h_SL1L160->SetBinContent(10,412.5607); h_SL1L160->SetBinContent(11,456.2436); h_SL1L160->SetBinContent(12,513.274); h_SL1L160->SetBinContent(13,505.9935); h_SL1L160->SetBinContent(14,539.9691); h_SL1L160->SetBinContent(15,499.9265); h_SL1L160->SetBinContent(16,486.5789); h_SL1L160->SetBinContent(17,610.3471); h_SL1L160->SetBinContent(18,903.9932); h_SL1L160->SetBinContent(19,920.981); h_SL1L160->SetBinContent(20,1027.761); h_SL1L160->SetBinContent(21,1204.92); h_SL1L160->SetBinContent(22,1331.115); h_SL1L160->SetBinContent(23,1422.121); h_SL1L160->SetBinContent(24,1573.798); h_SL1L160->SetBinContent(25,1630.828); h_SL1L160->SetBinContent(26,1657.523); h_SL1L160->SetBinContent(27,1947.529); h_SL1L160->SetBinContent(28,2618.547); h_SL1L160->SetBinContent(29,2890.352); h_SL1L160->SetBinContent(30,3431.534); h_SL1L160->SetBinContent(31,4795.411); h_SL1L160->SetBinContent(32,8139.579); h_SL1L160->SetBinContent(33,33016.99); h_SL1L160->SetBinContent(34,50118.84); h_SL1L160->SetBinContent(35,56963.71); h_SL1L160->SetBinContent(36,63760.04); h_SL1L160->SetBinContent(37,68975.29); h_SL1L160->SetBinContent(38,62722.57); h_SL1L160->SetBinContent(39,36443.67); h_SL1L160->SetBinContent(40,8646.786); h_SL1L160->SetBinContent(41,4950.728); h_SL1L160->SetBinContent(42,3779.784); h_SL1L160->SetBinContent(43,3294.418); h_SL1L160->SetBinContent(44,2839.388); h_SL1L160->SetBinContent(45,2539.675); h_SL1L160->SetBinContent(46,2281.218); h_SL1L160->SetBinContent(47,2117.407); h_SL1L160->SetBinContent(48,1958.45); h_SL1L160->SetBinContent(49,1691.499); h_SL1L160->SetBinContent(50,1537.395); h_SL1L160->SetBinContent(51,1392.999); h_SL1L160->SetBinContent(52,1298.353); h_SL1L160->SetBinContent(53,1198.853); h_SL1L160->SetBinContent(54,1061.737); h_SL1L160->SetBinContent(55,964.6639); h_SL1L160->SetBinContent(56,920.981); h_SL1L160->SetBinContent(57,933.1152); h_SL1L160->SetBinContent(58,817.8408); h_SL1L160->SetBinContent(59,836.0421); h_SL1L160->SetMaximum(96226.25); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,179.5852); h_SL1L261->SetBinContent(2,196.573); h_SL1L261->SetBinContent(3,188.0791); h_SL1L261->SetBinContent(4,217.201); h_SL1L261->SetBinContent(5,219.6279); h_SL1L261->SetBinContent(6,234.1888); h_SL1L261->SetBinContent(7,234.1888); h_SL1L261->SetBinContent(8,280.2986); h_SL1L261->SetBinContent(9,269.3778); h_SL1L261->SetBinContent(10,299.7132); h_SL1L261->SetBinContent(11,407.707); h_SL1L261->SetBinContent(12,430.7619); h_SL1L261->SetBinContent(13,434.4021); h_SL1L261->SetBinContent(14,504.7801); h_SL1L261->SetBinContent(15,462.3106); h_SL1L261->SetBinContent(16,425.9082); h_SL1L261->SetBinContent(17,530.2618); h_SL1L261->SetBinContent(18,745.036); h_SL1L261->SetBinContent(19,804.4933); h_SL1L261->SetBinContent(20,877.2981); h_SL1L261->SetBinContent(21,1062.95); h_SL1L261->SetBinContent(22,1226.761); h_SL1L261->SetBinContent(23,1280.151); h_SL1L261->SetBinContent(24,1384.505); h_SL1L261->SetBinContent(25,1575.011); h_SL1L261->SetBinContent(26,1532.542); h_SL1L261->SetBinContent(27,1783.718); h_SL1L261->SetBinContent(28,2282.431); h_SL1L261->SetBinContent(29,2773.864); h_SL1L261->SetBinContent(30,3168.223); h_SL1L261->SetBinContent(31,3867.149); h_SL1L261->SetBinContent(32,6784.196); h_SL1L261->SetBinContent(33,17686.72); h_SL1L261->SetBinContent(34,47324.35); h_SL1L261->SetBinContent(35,56765.92); h_SL1L261->SetBinContent(36,64046.4); h_SL1L261->SetBinContent(37,71318.39); h_SL1L261->SetBinContent(38,70774.78); h_SL1L261->SetBinContent(39,55008.9); h_SL1L261->SetBinContent(40,17884.5); h_SL1L261->SetBinContent(41,7377.555); h_SL1L261->SetBinContent(42,4136.527); h_SL1L261->SetBinContent(43,3632.961); h_SL1L261->SetBinContent(44,3057.802); h_SL1L261->SetBinContent(45,2676.791); h_SL1L261->SetBinContent(46,2485.071); h_SL1L261->SetBinContent(47,2230.254); h_SL1L261->SetBinContent(48,1946.316); h_SL1L261->SetBinContent(49,12443.56); h_SL1L261->SetBinContent(50,1585.932); h_SL1L261->SetBinContent(51,1464.59); h_SL1L261->SetBinContent(52,1374.798); h_SL1L261->SetBinContent(53,1373.584); h_SL1L261->SetBinContent(54,1147.889); h_SL1L261->SetBinContent(55,1019.268); h_SL1L261->SetBinContent(56,4163.223); h_SL1L261->SetBinContent(57,911.2737); h_SL1L261->SetBinContent(58,884.5786); h_SL1L261->SetBinContent(59,757.1702); h_SL1L261->SetMaximum(83675.31); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,135.9023); h_SL1L362->SetBinContent(2,165.0243); h_SL1L362->SetBinContent(3,157.7438); h_SL1L362->SetBinContent(4,171.0913); h_SL1L362->SetBinContent(5,192.9328); h_SL1L362->SetBinContent(6,191.7194); h_SL1L362->SetBinContent(7,225.6949); h_SL1L362->SetBinContent(8,276.6583); h_SL1L362->SetBinContent(9,253.6035); h_SL1L362->SetBinContent(10,311.8473); h_SL1L362->SetBinContent(11,366.4509); h_SL1L362->SetBinContent(12,410.1339); h_SL1L362->SetBinContent(13,434.4021); h_SL1L362->SetBinContent(14,435.6155); h_SL1L362->SetBinContent(15,414.9875); h_SL1L362->SetBinContent(16,445.3228); h_SL1L362->SetBinContent(17,530.2618); h_SL1L362->SetBinContent(18,729.2617); h_SL1L362->SetBinContent(19,764.4506); h_SL1L362->SetBinContent(20,903.9932); h_SL1L362->SetBinContent(21,1087.219); h_SL1L362->SetBinContent(22,1153.956); h_SL1L362->SetBinContent(23,1197.639); h_SL1L362->SetBinContent(24,1473.084); h_SL1L362->SetBinContent(25,1433.042); h_SL1L362->SetBinContent(26,1491.285); h_SL1L362->SetBinContent(27,1915.98); h_SL1L362->SetBinContent(28,2438.962); h_SL1L362->SetBinContent(29,2772.65); h_SL1L362->SetBinContent(30,3298.059); h_SL1L362->SetBinContent(31,4867.002); h_SL1L362->SetBinContent(32,8514.524); h_SL1L362->SetBinContent(33,34966.94); h_SL1L362->SetBinContent(34,53156.02); h_SL1L362->SetBinContent(35,60502.02); h_SL1L362->SetBinContent(36,68280); h_SL1L362->SetBinContent(37,72761.14); h_SL1L362->SetBinContent(38,64422.56); h_SL1L362->SetBinContent(39,38016.25); h_SL1L362->SetBinContent(40,8890.683); h_SL1L362->SetBinContent(41,4930.1); h_SL1L362->SetBinContent(42,3744.595); h_SL1L362->SetBinContent(43,3207.052); h_SL1L362->SetBinContent(44,2722.9); h_SL1L362->SetBinContent(45,2464.443); h_SL1L362->SetBinContent(46,2153.809); h_SL1L362->SetBinContent(47,2048.242); h_SL1L362->SetBinContent(48,1792.212); h_SL1L362->SetBinContent(49,1505.846); h_SL1L362->SetBinContent(50,1399.066); h_SL1L362->SetBinContent(51,1297.139); h_SL1L362->SetBinContent(52,1191.572); h_SL1L362->SetBinContent(53,3259.229); h_SL1L362->SetBinContent(54,976.798); h_SL1L362->SetBinContent(55,936.7554); h_SL1L362->SetBinContent(56,4413.186); h_SL1L362->SetBinContent(57,1003.493); h_SL1L362->SetBinContent(58,749.8896); h_SL1L362->SetBinContent(59,706.2068); h_SL1L362->SetMaximum(83675.31); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,129.8353); h_SL1L463->SetBinContent(3,138.3292); h_SL1L463->SetBinContent(4,133.4755); h_SL1L463->SetBinContent(5,151.6767); h_SL1L463->SetBinContent(6,144.3962); h_SL1L463->SetBinContent(7,188.0791); h_SL1L463->SetBinContent(8,213.5608); h_SL1L463->SetBinContent(9,201.4267); h_SL1L463->SetBinContent(10,248.7498); h_SL1L463->SetBinContent(11,282.7254); h_SL1L463->SetBinContent(12,348.2497); h_SL1L463->SetBinContent(13,349.4631); h_SL1L463->SetBinContent(14,388.2924); h_SL1L463->SetBinContent(15,385.8656); h_SL1L463->SetBinContent(16,367.6644); h_SL1L463->SetBinContent(17,423.4814); h_SL1L463->SetBinContent(18,593.3593); h_SL1L463->SetBinContent(19,603.0666); h_SL1L463->SetBinContent(20,707.4202); h_SL1L463->SetBinContent(21,860.3103); h_SL1L463->SetBinContent(22,1008.347); h_SL1L463->SetBinContent(23,1048.389); h_SL1L463->SetBinContent(24,1122.408); h_SL1L463->SetBinContent(25,1272.871); h_SL1L463->SetBinContent(26,1285.005); h_SL1L463->SetBinContent(27,1513.127); h_SL1L463->SetBinContent(28,2064.017); h_SL1L463->SetBinContent(29,2276.364); h_SL1L463->SetBinContent(30,2799.345); h_SL1L463->SetBinContent(31,3526.18); h_SL1L463->SetBinContent(32,6156.861); h_SL1L463->SetBinContent(33,16293.72); h_SL1L463->SetBinContent(34,46090.3); h_SL1L463->SetBinContent(35,55916.53); h_SL1L463->SetBinContent(36,62188.67); h_SL1L463->SetBinContent(37,68764.16); h_SL1L463->SetBinContent(38,67822.55); h_SL1L463->SetBinContent(39,54085.49); h_SL1L463->SetBinContent(40,17314.2); h_SL1L463->SetBinContent(41,6949.22); h_SL1L463->SetBinContent(42,3873.217); h_SL1L463->SetBinContent(43,3302.912); h_SL1L463->SetBinContent(44,2801.772); h_SL1L463->SetBinContent(45,2349.169); h_SL1L463->SetBinContent(46,2214.48); h_SL1L463->SetBinContent(47,1942.675); h_SL1L463->SetBinContent(48,1778.865); h_SL1L463->SetBinContent(49,1536.182); h_SL1L463->SetBinContent(50,1327.475); h_SL1L463->SetBinContent(51,1210.987); h_SL1L463->SetBinContent(52,1118.767); h_SL1L463->SetBinContent(53,1061.737); h_SL1L463->SetBinContent(54,948.8895); h_SL1L463->SetBinContent(55,2.426827); h_SL1L463->SetBinContent(56,792.3591); h_SL1L463->SetBinContent(57,709.847); h_SL1L463->SetBinContent(58,684.3654); h_SL1L463->SetBinContent(59,593.3593); h_SL1L463->SetMaximum(83675.31); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6574"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }