void RatesPerCell_Removing_noisy_cells_run_7301_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:29:31 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1957.875,67.5,17620.88); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7301",60,0,60); h_SL1L160->SetBinContent(1,2915.039); h_SL1L160->SetBinContent(2,3715.065); h_SL1L160->SetBinContent(3,4588.658); h_SL1L160->SetBinContent(4,5149.596); h_SL1L160->SetBinContent(5,5761.11); h_SL1L160->SetBinContent(6,6202.504); h_SL1L160->SetBinContent(7,5761.11); h_SL1L160->SetBinContent(8,6128.938); h_SL1L160->SetBinContent(9,6478.375); h_SL1L160->SetBinContent(10,6354.233); h_SL1L160->SetBinContent(11,6151.928); h_SL1L160->SetBinContent(12,6510.56); h_SL1L160->SetBinContent(13,6758.844); h_SL1L160->SetBinContent(14,11844.07); h_SL1L160->SetBinContent(15,11149.79); h_SL1L160->SetBinContent(16,6027.786); h_SL1L160->SetBinContent(17,6671.485); h_SL1L160->SetBinContent(18,6772.638); h_SL1L160->SetBinContent(19,6312.853); h_SL1L160->SetBinContent(20,6712.866); h_SL1L160->SetBinContent(21,6717.463); h_SL1L160->SetBinContent(22,7135.868); h_SL1L160->SetBinContent(23,6473.777); h_SL1L160->SetBinContent(24,6317.45); h_SL1L160->SetBinContent(25,6869.193); h_SL1L160->SetBinContent(26,6846.204); h_SL1L160->SetBinContent(27,6473.777); h_SL1L160->SetBinContent(28,6685.278); h_SL1L160->SetBinContent(29,6735.855); h_SL1L160->SetBinContent(30,7361.163); h_SL1L160->SetBinContent(31,6772.638); h_SL1L160->SetBinContent(32,6740.453); h_SL1L160->SetBinContent(33,7581.86); h_SL1L160->SetBinContent(34,7347.37); h_SL1L160->SetBinContent(35,6496.767); h_SL1L160->SetBinContent(36,6722.062); h_SL1L160->SetBinContent(37,6997.933); h_SL1L160->SetBinContent(38,7089.89); h_SL1L160->SetBinContent(39,6620.909); h_SL1L160->SetBinContent(41,6565.734); h_SL1L160->SetBinContent(42,6666.887); h_SL1L160->SetBinContent(43,5871.458); h_SL1L160->SetBinContent(44,5581.794); h_SL1L160->SetBinContent(45,5977.209); h_SL1L160->SetBinContent(46,6381.82); h_SL1L160->SetBinContent(47,4758.778); h_SL1L160->SetBinContent(48,4873.725); h_SL1L160->SetBinContent(49,5080.628); h_SL1L160->SetBinContent(50,5103.617); h_SL1L160->SetBinContent(51,4744.984); h_SL1L160->SetBinContent(52,4915.105); h_SL1L160->SetBinContent(53,4800.159); h_SL1L160->SetBinContent(54,4496.7); h_SL1L160->SetBinContent(55,4184.046); h_SL1L160->SetBinContent(56,3963.349); h_SL1L160->SetMaximum(15663); 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,2836.875); h_SL1L261->SetBinContent(2,3273.671); h_SL1L261->SetBinContent(3,4262.21); h_SL1L261->SetBinContent(4,4951.888); h_SL1L261->SetBinContent(5,5820.882); h_SL1L261->SetBinContent(6,6308.254); h_SL1L261->SetBinContent(7,6128.938); h_SL1L261->SetBinContent(8,5940.426); h_SL1L261->SetBinContent(9,6905.976); h_SL1L261->SetBinContent(10,6717.463); h_SL1L261->SetBinContent(11,6505.962); h_SL1L261->SetBinContent(12,6391.016); h_SL1L261->SetBinContent(13,6979.541); h_SL1L261->SetBinContent(14,6942.758); h_SL1L261->SetBinContent(15,6519.756); h_SL1L261->SetBinContent(16,6478.375); h_SL1L261->SetBinContent(17,6630.104); h_SL1L261->SetBinContent(18,6901.377); h_SL1L261->SetBinContent(19,6758.844); h_SL1L261->SetBinContent(20,6781.833); h_SL1L261->SetBinContent(21,6804.823); h_SL1L261->SetBinContent(22,7365.761); h_SL1L261->SetBinContent(23,6754.246); h_SL1L261->SetBinContent(24,6492.168); h_SL1L261->SetBinContent(25,7053.107); h_SL1L261->SetBinContent(26,6993.334); h_SL1L261->SetBinContent(27,6749.648); h_SL1L261->SetBinContent(28,6597.919); h_SL1L261->SetBinContent(29,7053.107); h_SL1L261->SetBinContent(30,7545.077); h_SL1L261->SetBinContent(31,6910.573); h_SL1L261->SetBinContent(32,7287.597); h_SL1L261->SetBinContent(33,7443.924); h_SL1L261->SetBinContent(34,7751.98); h_SL1L261->SetBinContent(35,6676.083); h_SL1L261->SetBinContent(36,6685.278); h_SL1L261->SetBinContent(37,7057.705); h_SL1L261->SetBinContent(38,7443.924); h_SL1L261->SetBinContent(39,6795.627); h_SL1L261->SetBinContent(40,6404.81); h_SL1L261->SetBinContent(41,6524.354); h_SL1L261->SetBinContent(42,6915.171); h_SL1L261->SetBinContent(43,6326.646); h_SL1L261->SetBinContent(44,5857.665); h_SL1L261->SetBinContent(45,6000.198); h_SL1L261->SetBinContent(46,6547.343); h_SL1L261->SetBinContent(47,5531.217); h_SL1L261->SetBinContent(48,4901.312); h_SL1L261->SetBinContent(49,5232.357); h_SL1L261->SetBinContent(50,5365.695); h_SL1L261->SetBinContent(51,4850.735); h_SL1L261->SetBinContent(52,4974.877); h_SL1L261->SetBinContent(53,5085.226); h_SL1L261->SetBinContent(54,5076.03); h_SL1L261->SetBinContent(55,4473.711); h_SL1L261->SetBinContent(56,4165.655); h_SL1L261->SetMaximum(13620.68); 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,2910.441); h_SL1L362->SetBinContent(2,3830.012); h_SL1L362->SetBinContent(3,4625.44); h_SL1L362->SetBinContent(4,5397.879); h_SL1L362->SetBinContent(5,6427.799); h_SL1L362->SetBinContent(6,6574.93); h_SL1L362->SetBinContent(7,6115.145); h_SL1L362->SetBinContent(8,6588.724); h_SL1L362->SetBinContent(9,6905.976); h_SL1L362->SetBinContent(10,6579.528); h_SL1L362->SetBinContent(11,6211.7); h_SL1L362->SetBinContent(12,6951.954); h_SL1L362->SetBinContent(13,7186.444); h_SL1L362->SetBinContent(14,7126.672); h_SL1L362->SetBinContent(15,6317.45); h_SL1L362->SetBinContent(16,6602.517); h_SL1L362->SetBinContent(17,7094.487); h_SL1L362->SetBinContent(18,6901.377); h_SL1L362->SetBinContent(19,6469.179); h_SL1L362->SetBinContent(20,7112.879); h_SL1L362->SetBinContent(21,7126.672); h_SL1L362->SetBinContent(22,7181.847); h_SL1L362->SetBinContent(23,6758.844); h_SL1L362->SetBinContent(24,6864.595); h_SL1L362->SetBinContent(25,7163.455); h_SL1L362->SetBinContent(26,6469.179); h_SL1L362->SetBinContent(27,7016.324); h_SL1L362->SetBinContent(28,7338.174); h_SL1L362->SetBinContent(29,7365.761); h_SL1L362->SetBinContent(30,7200.238); h_SL1L362->SetBinContent(31,7177.249); h_SL1L362->SetBinContent(32,7204.836); h_SL1L362->SetBinContent(33,7825.546); h_SL1L362->SetBinContent(34,7397.946); h_SL1L362->SetBinContent(35,6492.168); h_SL1L362->SetBinContent(36,7080.694); h_SL1L362->SetBinContent(37,7531.284); h_SL1L362->SetBinContent(38,6915.171); h_SL1L362->SetBinContent(39,6653.094); h_SL1L362->SetBinContent(40,7016.324); h_SL1L362->SetBinContent(41,6869.193); h_SL1L362->SetBinContent(42,6671.485); h_SL1L362->SetBinContent(43,6036.981); h_SL1L362->SetBinContent(44,5908.241); h_SL1L362->SetBinContent(45,6317.45); h_SL1L362->SetBinContent(46,6496.767); h_SL1L362->SetBinContent(47,4979.475); h_SL1L362->SetBinContent(48,5149.596); h_SL1L362->SetBinContent(49,5471.445); h_SL1L362->SetBinContent(50,5112.812); h_SL1L362->SetBinContent(51,4827.746); h_SL1L362->SetBinContent(52,5112.812); h_SL1L362->SetBinContent(53,5287.531); h_SL1L362->SetBinContent(54,4749.583); h_SL1L362->SetBinContent(55,4455.32); h_SL1L362->SetBinContent(56,4220.829); h_SL1L362->SetMaximum(13620.68); 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,73.56565); h_SL1L463->SetBinContent(3,101.1528); h_SL1L463->SetBinContent(4,137.9356); h_SL1L463->SetBinContent(5,96.55492); h_SL1L463->SetBinContent(6,124.142); h_SL1L463->SetBinContent(7,137.9356); h_SL1L463->SetBinContent(8,105.7506); h_SL1L463->SetBinContent(9,234.4905); h_SL1L463->SetBinContent(10,142.5334); h_SL1L463->SetBinContent(11,179.3163); h_SL1L463->SetBinContent(12,170.1206); h_SL1L463->SetBinContent(13,211.5013); h_SL1L463->SetBinContent(14,321.8497); h_SL1L463->SetBinContent(15,6184.112); h_SL1L463->SetBinContent(16,3213.899); h_SL1L463->SetBinContent(17,188.512); h_SL1L463->SetBinContent(18,124.142); h_SL1L463->SetBinContent(19,156.327); h_SL1L463->SetBinContent(20,174.7184); h_SL1L463->SetBinContent(21,142.5334); h_SL1L463->SetBinContent(22,156.327); h_SL1L463->SetBinContent(23,156.327); h_SL1L463->SetBinContent(24,128.7399); h_SL1L463->SetBinContent(25,124.142); h_SL1L463->SetBinContent(26,124.142); h_SL1L463->SetBinContent(27,133.3377); h_SL1L463->SetBinContent(28,220.697); h_SL1L463->SetBinContent(29,133.3377); h_SL1L463->SetBinContent(30,220.697); h_SL1L463->SetBinContent(31,114.9463); h_SL1L463->SetBinContent(32,101.1528); h_SL1L463->SetBinContent(33,151.7292); h_SL1L463->SetBinContent(34,174.7184); h_SL1L463->SetBinContent(35,165.5227); h_SL1L463->SetBinContent(36,114.9463); h_SL1L463->SetBinContent(41,124.142); h_SL1L463->SetBinContent(42,133.3377); h_SL1L463->SetBinContent(43,160.9249); h_SL1L463->SetBinContent(44,165.5227); h_SL1L463->SetBinContent(45,110.3485); h_SL1L463->SetBinContent(46,128.7399); h_SL1L463->SetBinContent(47,119.5442); h_SL1L463->SetBinContent(48,96.55492); h_SL1L463->SetBinContent(49,128.7399); h_SL1L463->SetBinContent(50,105.7506); h_SL1L463->SetBinContent(51,114.9463); h_SL1L463->SetBinContent(52,87.35921); h_SL1L463->SetBinContent(53,64.36994); h_SL1L463->SetBinContent(54,128.7399); h_SL1L463->SetBinContent(55,4.597853); h_SL1L463->SetBinContent(56,87.35921); h_SL1L463->SetMaximum(13620.68); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 7301"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }