void RatesPerCell_Removing_noisy_cells_run_5827_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:03:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1359.013,67.5,12231.11); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5827",60,0,60); h_SL1L160->SetBinContent(1,3120.376); h_SL1L160->SetBinContent(2,3883.608); h_SL1L160->SetBinContent(3,4625.541); h_SL1L160->SetBinContent(4,5285.825); h_SL1L160->SetBinContent(5,5786.363); h_SL1L160->SetBinContent(6,6198.153); h_SL1L160->SetBinContent(7,6066.807); h_SL1L160->SetBinContent(8,6393.399); h_SL1L160->SetBinContent(9,6744.84); h_SL1L160->SetBinContent(10,7177.93); h_SL1L160->SetBinContent(11,6435.998); h_SL1L160->SetBinContent(12,6854.888); h_SL1L160->SetBinContent(13,6808.739); h_SL1L160->SetBinContent(14,7145.981); h_SL1L160->SetBinContent(15,6641.893); h_SL1L160->SetBinContent(16,6730.641); h_SL1L160->SetBinContent(17,6957.835); h_SL1L160->SetBinContent(18,7149.531); h_SL1L160->SetBinContent(19,6343.7); h_SL1L160->SetBinContent(20,6890.387); h_SL1L160->SetBinContent(21,6833.588); h_SL1L160->SetBinContent(22,7351.876); h_SL1L160->SetBinContent(23,6989.785); h_SL1L160->SetBinContent(24,6751.94); h_SL1L160->SetBinContent(25,7238.279); h_SL1L160->SetBinContent(26,7241.829); h_SL1L160->SetBinContent(27,6666.742); h_SL1L160->SetBinContent(28,7067.883); h_SL1L160->SetBinContent(29,7014.634); h_SL1L160->SetBinContent(30,7650.069); h_SL1L160->SetBinContent(31,7163.73); h_SL1L160->SetBinContent(32,7227.629); h_SL1L160->SetBinContent(33,8019.26); h_SL1L160->SetBinContent(34,7944.712); h_SL1L160->SetBinContent(35,7050.133); h_SL1L160->SetBinContent(36,7287.978); h_SL1L160->SetBinContent(37,7561.321); h_SL1L160->SetBinContent(38,7515.172); h_SL1L160->SetBinContent(39,6688.042); h_SL1L160->SetBinContent(40,7145.981); h_SL1L160->SetBinContent(41,7841.765); h_SL1L160->SetBinContent(42,7816.915); h_SL1L160->SetBinContent(43,7153.081); h_SL1L160->SetBinContent(44,6940.086); h_SL1L160->SetBinContent(45,7447.724); h_SL1L160->SetBinContent(46,6883.287); h_SL1L160->SetBinContent(47,5520.12); h_SL1L160->SetBinContent(48,5502.37); h_SL1L160->SetBinContent(49,5456.221); h_SL1L160->SetBinContent(50,5747.314); h_SL1L160->SetBinContent(51,4877.584); h_SL1L160->SetBinContent(52,5175.777); h_SL1L160->SetBinContent(53,5413.622); h_SL1L160->SetBinContent(54,5094.129); h_SL1L160->SetBinContent(55,4274.099); h_SL1L160->SetBinContent(56,3798.41); h_SL1L160->SetBinContent(57,3656.414); h_SL1L160->SetBinContent(58,3294.322); h_SL1L160->SetBinContent(59,2726.335); h_SL1L160->SetMaximum(10872.1); 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,2896.731); h_SL1L261->SetBinContent(2,3283.672); h_SL1L261->SetBinContent(3,4235.05); h_SL1L261->SetBinContent(4,5087.03); h_SL1L261->SetBinContent(5,5722.465); h_SL1L261->SetBinContent(6,6159.104); h_SL1L261->SetBinContent(7,6205.253); h_SL1L261->SetBinContent(8,6173.304); h_SL1L261->SetBinContent(9,7018.184); h_SL1L261->SetBinContent(10,7060.783); h_SL1L261->SetBinContent(11,6915.236); h_SL1L261->SetBinContent(12,6741.291); h_SL1L261->SetBinContent(13,7043.033); h_SL1L261->SetBinContent(14,7192.13); h_SL1L261->SetBinContent(15,6954.286); h_SL1L261->SetBinContent(16,6861.988); h_SL1L261->SetBinContent(17,7003.984); h_SL1L261->SetBinContent(18,7280.878); h_SL1L261->SetBinContent(19,6663.192); h_SL1L261->SetBinContent(20,6783.89); h_SL1L261->SetBinContent(21,7309.277); h_SL1L261->SetBinContent(22,7429.974); h_SL1L261->SetBinContent(23,7142.431); h_SL1L261->SetBinContent(24,6893.937); h_SL1L261->SetBinContent(25,7135.331); h_SL1L261->SetBinContent(26,7515.172); h_SL1L261->SetBinContent(27,6979.135); h_SL1L261->SetBinContent(28,7564.871); h_SL1L261->SetBinContent(29,7177.93); h_SL1L261->SetBinContent(30,7703.318); h_SL1L261->SetBinContent(31,7408.675); h_SL1L261->SetBinContent(32,7362.526); h_SL1L261->SetBinContent(33,7909.213); h_SL1L261->SetBinContent(34,8221.605); h_SL1L261->SetBinContent(35,7749.467); h_SL1L261->SetBinContent(36,7032.384); h_SL1L261->SetBinContent(37,7479.673); h_SL1L261->SetBinContent(38,7845.314); h_SL1L261->SetBinContent(39,6968.485); h_SL1L261->SetBinContent(40,6954.286); h_SL1L261->SetBinContent(41,7930.512); h_SL1L261->SetBinContent(42,7855.964); h_SL1L261->SetBinContent(43,7504.522); h_SL1L261->SetBinContent(44,7195.68); h_SL1L261->SetBinContent(45,7451.274); h_SL1L261->SetBinContent(46,7319.927); h_SL1L261->SetBinContent(47,5974.509); h_SL1L261->SetBinContent(48,5388.772); h_SL1L261->SetBinContent(49,5853.812); h_SL1L261->SetBinContent(50,5662.116); h_SL1L261->SetBinContent(51,5324.874); h_SL1L261->SetBinContent(52,5129.628); h_SL1L261->SetBinContent(53,5562.718); h_SL1L261->SetBinContent(54,5690.516); h_SL1L261->SetBinContent(55,4614.891); h_SL1L261->SetBinContent(56,4217.3); h_SL1L261->SetBinContent(57,4075.304); h_SL1L261->SetBinContent(58,3592.515); h_SL1L261->SetBinContent(59,3095.527); h_SL1L261->SetMaximum(9454.846); 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,3056.478); h_SL1L362->SetBinContent(2,3663.513); h_SL1L362->SetBinContent(3,4700.089); h_SL1L362->SetBinContent(4,5644.367); h_SL1L362->SetBinContent(5,6244.302); h_SL1L362->SetBinContent(6,6368.549); h_SL1L362->SetBinContent(7,6286.901); h_SL1L362->SetBinContent(8,6684.492); h_SL1L362->SetBinContent(9,7344.776); h_SL1L362->SetBinContent(10,7131.781); h_SL1L362->SetBinContent(11,6514.096); h_SL1L362->SetBinContent(12,7011.084); h_SL1L362->SetBinContent(13,7238.279); h_SL1L362->SetBinContent(14,7099.832); h_SL1L362->SetBinContent(15,6695.142); h_SL1L362->SetBinContent(16,7138.881); h_SL1L362->SetBinContent(17,7110.482); h_SL1L362->SetBinContent(18,7259.578); h_SL1L362->SetBinContent(19,6531.846); h_SL1L362->SetBinContent(20,7312.827); h_SL1L362->SetBinContent(21,7334.126); h_SL1L362->SetBinContent(22,7376.726); h_SL1L362->SetBinContent(23,6925.886); h_SL1L362->SetBinContent(24,7241.829); h_SL1L362->SetBinContent(25,7405.125); h_SL1L362->SetBinContent(26,7163.73); h_SL1L362->SetBinContent(27,6975.585); h_SL1L362->SetBinContent(28,7305.727); h_SL1L362->SetBinContent(29,7493.873); h_SL1L362->SetBinContent(30,7277.328); h_SL1L362->SetBinContent(31,7362.526); h_SL1L362->SetBinContent(32,7923.413); h_SL1L362->SetBinContent(33,8076.059); h_SL1L362->SetBinContent(34,8040.56); h_SL1L362->SetBinContent(35,7234.729); h_SL1L362->SetBinContent(36,7447.724); h_SL1L362->SetBinContent(37,7926.962); h_SL1L362->SetBinContent(38,7451.274); h_SL1L362->SetBinContent(39,7014.634); h_SL1L362->SetBinContent(40,7319.927); h_SL1L362->SetBinContent(41,8193.206); h_SL1L362->SetBinContent(42,7848.864); h_SL1L362->SetBinContent(43,7415.774); h_SL1L362->SetBinContent(44,7458.374); h_SL1L362->SetBinContent(45,7493.873); h_SL1L362->SetBinContent(46,6936.536); h_SL1L362->SetBinContent(47,5498.82); h_SL1L362->SetBinContent(48,6010.008); h_SL1L362->SetBinContent(49,5772.164); h_SL1L362->SetBinContent(50,5505.92); h_SL1L362->SetBinContent(51,4969.882); h_SL1L362->SetBinContent(52,5584.018); h_SL1L362->SetBinContent(53,5903.51); h_SL1L362->SetBinContent(54,5225.477); h_SL1L362->SetBinContent(55,4533.243); h_SL1L362->SetBinContent(56,4227.95); h_SL1L362->SetBinContent(57,4164.051); h_SL1L362->SetBinContent(58,3390.17); h_SL1L362->SetBinContent(59,2665.987); h_SL1L362->SetMaximum(9454.846); 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,543.1371); h_SL1L463->SetBinContent(3,578.6363); h_SL1L463->SetBinContent(4,731.2827); h_SL1L463->SetBinContent(5,891.0289); h_SL1L463->SetBinContent(6,823.5805); h_SL1L463->SetBinContent(7,933.6279); h_SL1L463->SetBinContent(8,777.4316); h_SL1L463->SetBinContent(9,1018.826); h_SL1L463->SetBinContent(10,983.3267); h_SL1L463->SetBinContent(11,922.9781); h_SL1L463->SetBinContent(12,1047.225); h_SL1L463->SetBinContent(13,1064.975); h_SL1L463->SetBinContent(14,1128.873); h_SL1L463->SetBinContent(15,1011.726); h_SL1L463->SetBinContent(16,1025.926); h_SL1L463->SetBinContent(17,1033.026); h_SL1L463->SetBinContent(18,883.9291); h_SL1L463->SetBinContent(19,933.6279); h_SL1L463->SetBinContent(20,951.3775); h_SL1L463->SetBinContent(21,901.6786); h_SL1L463->SetBinContent(22,1040.125); h_SL1L463->SetBinContent(23,901.6786); h_SL1L463->SetBinContent(24,876.8293); h_SL1L463->SetBinContent(25,802.281); h_SL1L463->SetBinContent(26,944.2776); h_SL1L463->SetBinContent(27,862.6296); h_SL1L463->SetBinContent(28,1001.076); h_SL1L463->SetBinContent(29,1050.775); h_SL1L463->SetBinContent(30,915.8784); h_SL1L463->SetBinContent(31,1057.875); h_SL1L463->SetBinContent(32,841.3301); h_SL1L463->SetBinContent(33,876.8293); h_SL1L463->SetBinContent(34,1096.924); h_SL1L463->SetBinContent(35,1153.723); h_SL1L463->SetBinContent(36,1018.826); h_SL1L463->SetBinContent(37,912.3284); h_SL1L463->SetBinContent(38,901.6786); h_SL1L463->SetBinContent(39,1079.174); h_SL1L463->SetBinContent(40,837.7802); h_SL1L463->SetBinContent(41,1072.075); h_SL1L463->SetBinContent(42,1036.575); h_SL1L463->SetBinContent(43,1146.623); h_SL1L463->SetBinContent(44,1153.723); h_SL1L463->SetBinContent(45,894.5789); h_SL1L463->SetBinContent(46,1104.024); h_SL1L463->SetBinContent(47,812.9308); h_SL1L463->SetBinContent(48,713.5331); h_SL1L463->SetBinContent(49,848.4299); h_SL1L463->SetBinContent(50,805.8309); h_SL1L463->SetBinContent(51,724.1829); h_SL1L463->SetBinContent(52,617.6854); h_SL1L463->SetBinContent(53,827.1304); h_SL1L463->SetBinContent(54,784.5314); h_SL1L463->SetBinContent(55,3.549916); h_SL1L463->SetBinContent(56,678.0339); h_SL1L463->SetBinContent(57,511.1879); h_SL1L463->SetBinContent(58,539.5872); h_SL1L463->SetBinContent(59,489.8884); h_SL1L463->SetMaximum(9454.846); 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 5827"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }