void RatesPerCell_Removing_noisy_cells_run_7301_SL3() { //=========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,-1449.431,67.5,13044.88); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7301",60,0,60); h_SL3L168->SetBinContent(1,1958.685); h_SL3L168->SetBinContent(2,3531.151); h_SL3L168->SetBinContent(4,6574.93); h_SL3L168->SetBinContent(5,6777.235); h_SL3L168->SetBinContent(6,7604.849); h_SL3L168->SetBinContent(7,7669.219); h_SL3L168->SetBinContent(8,7315.185); h_SL3L168->SetBinContent(9,7195.64); h_SL3L168->SetBinContent(10,7816.351); h_SL3L168->SetBinContent(11,7466.914); h_SL3L168->SetBinContent(12,7365.761); h_SL3L168->SetBinContent(13,7066.9); h_SL3L168->SetBinContent(14,8106.015); h_SL3L168->SetBinContent(15,7614.045); h_SL3L168->SetBinContent(16,7430.131); h_SL3L168->SetBinContent(17,7066.9); h_SL3L168->SetBinContent(18,8046.243); h_SL3L168->SetBinContent(19,7977.275); h_SL3L168->SetBinContent(20,7577.262); h_SL3L168->SetBinContent(21,6896.78); h_SL3L168->SetBinContent(22,7995.667); h_SL3L168->SetBinContent(23,7968.08); h_SL3L168->SetBinContent(24,7788.763); h_SL3L168->SetBinContent(25,7319.782); h_SL3L168->SetBinContent(26,7986.471); h_SL3L168->SetBinContent(27,8317.517); h_SL3L168->SetBinContent(28,7641.632); h_SL3L168->SetBinContent(29,7420.935); h_SL3L168->SetBinContent(30,8768.106); h_SL3L168->SetBinContent(31,8174.983); h_SL3L168->SetBinContent(32,7673.817); h_SL3L168->SetBinContent(33,7471.511); h_SL3L168->SetBinContent(34,7945.09); h_SL3L168->SetBinContent(35,8552.007); h_SL3L168->SetBinContent(36,8294.527); h_SL3L168->SetBinContent(37,7572.664); h_SL3L168->SetBinContent(38,8680.747); h_SL3L168->SetBinContent(39,8326.712); h_SL3L168->SetBinContent(40,8248.549); h_SL3L168->SetBinContent(41,7462.316); h_SL3L168->SetBinContent(42,8450.854); h_SL3L168->SetBinContent(43,8119.809); h_SL3L168->SetBinContent(44,6947.356); h_SL3L168->SetBinContent(45,2234.557); h_SL3L168->SetBinContent(46,7554.273); h_SL3L168->SetBinContent(47,8202.57); h_SL3L168->SetBinContent(48,7549.675); h_SL3L168->SetBinContent(49,6754.246); h_SL3L168->SetBinContent(50,3586.325); h_SL3L168->SetBinContent(51,4951.888); h_SL3L168->SetBinContent(52,6487.571); h_SL3L168->SetBinContent(53,6326.646); h_SL3L168->SetBinContent(54,7356.565); h_SL3L168->SetBinContent(55,7007.128); h_SL3L168->SetBinContent(56,6602.517); h_SL3L168->SetBinContent(57,6414.005); h_SL3L168->SetBinContent(58,6639.3); h_SL3L168->SetBinContent(59,4735.789); h_SL3L168->SetMaximum(11595.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,588.5252); h_SL3L269->SetBinContent(2,4800.159); h_SL3L269->SetBinContent(4,3779.435); h_SL3L269->SetBinContent(5,6179.515); h_SL3L269->SetBinContent(6,7301.391); h_SL3L269->SetBinContent(7,7457.718); h_SL3L269->SetBinContent(8,7411.739); h_SL3L269->SetBinContent(9,6901.377); h_SL3L269->SetBinContent(10,7577.262); h_SL3L269->SetBinContent(11,7591.056); h_SL3L269->SetBinContent(12,7283); h_SL3L269->SetBinContent(13,6841.605); h_SL3L269->SetBinContent(14,7876.123); h_SL3L269->SetBinContent(15,7839.34); h_SL3L269->SetBinContent(16,7572.664); h_SL3L269->SetBinContent(17,6988.737); h_SL3L269->SetBinContent(18,7793.361); h_SL3L269->SetBinContent(19,7623.241); h_SL3L269->SetBinContent(20,7627.838); h_SL3L269->SetBinContent(21,7011.726); h_SL3L269->SetBinContent(22,7972.677); h_SL3L269->SetBinContent(23,7747.383); h_SL3L269->SetBinContent(24,8027.852); h_SL3L269->SetBinContent(25,7076.096); h_SL3L269->SetBinContent(26,8018.656); h_SL3L269->SetBinContent(27,7912.905); h_SL3L269->SetBinContent(28,8110.613); h_SL3L269->SetBinContent(29,7287.597); h_SL3L269->SetBinContent(30,8156.591); h_SL3L269->SetBinContent(31,8469.245); h_SL3L269->SetBinContent(32,7931.297); h_SL3L269->SetBinContent(33,7315.185); h_SL3L269->SetBinContent(34,8230.157); h_SL3L269->SetBinContent(35,8000.265); h_SL3L269->SetBinContent(36,8110.613); h_SL3L269->SetBinContent(37,7991.069); h_SL3L269->SetBinContent(38,8230.157); h_SL3L269->SetBinContent(39,8593.388); h_SL3L269->SetBinContent(40,8257.744); h_SL3L269->SetBinContent(41,7494.5); h_SL3L269->SetBinContent(42,8271.538); h_SL3L269->SetBinContent(43,8156.591); h_SL3L269->SetBinContent(44,8184.179); h_SL3L269->SetBinContent(45,3779.435); h_SL3L269->SetBinContent(46,4717.397); h_SL3L269->SetBinContent(47,7770.372); h_SL3L269->SetBinContent(48,7912.905); h_SL3L269->SetBinContent(49,6712.866); h_SL3L269->SetBinContent(50,6970.345); h_SL3L269->SetBinContent(51,1696.608); h_SL3L269->SetBinContent(52,6846.204); h_SL3L269->SetBinContent(53,6266.874); h_SL3L269->SetBinContent(54,6993.334); h_SL3L269->SetBinContent(55,7489.903); h_SL3L269->SetBinContent(56,6873.791); h_SL3L269->SetBinContent(57,6414.005); h_SL3L269->SetBinContent(58,6423.201); h_SL3L269->SetBinContent(59,5954.22); h_SL3L269->SetMaximum(10083.32); 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,2363.297); h_SL3L370->SetBinContent(2,3052.975); h_SL3L370->SetBinContent(3,1337.975); h_SL3L370->SetBinContent(4,5696.74); h_SL3L370->SetBinContent(5,6956.552); h_SL3L370->SetBinContent(6,7480.707); h_SL3L370->SetBinContent(7,7278.401); h_SL3L370->SetBinContent(8,7057.705); h_SL3L370->SetBinContent(9,7807.155); h_SL3L370->SetBinContent(10,7315.185); h_SL3L370->SetBinContent(11,7430.131); h_SL3L370->SetBinContent(12,6818.616); h_SL3L370->SetBinContent(13,7664.621); h_SL3L370->SetBinContent(14,7797.959); h_SL3L370->SetBinContent(15,7439.327); h_SL3L370->SetBinContent(16,7122.075); h_SL3L370->SetBinContent(17,7632.437); h_SL3L370->SetBinContent(18,7917.503); h_SL3L370->SetBinContent(19,7402.543); h_SL3L370->SetBinContent(20,7039.313); h_SL3L370->SetBinContent(21,7862.329); h_SL3L370->SetBinContent(22,7393.348); h_SL3L370->SetBinContent(23,8004.862); h_SL3L370->SetBinContent(24,7310.586); h_SL3L370->SetBinContent(25,7834.742); h_SL3L370->SetBinContent(26,7761.176); h_SL3L370->SetBinContent(27,8211.766); h_SL3L370->SetBinContent(28,7351.967); h_SL3L370->SetBinContent(29,7945.09); h_SL3L370->SetBinContent(30,8469.245); h_SL3L370->SetBinContent(31,8119.809); h_SL3L370->SetBinContent(32,7191.042); h_SL3L370->SetBinContent(33,8087.624); h_SL3L370->SetBinContent(34,7825.546); h_SL3L370->SetBinContent(35,7908.308); h_SL3L370->SetBinContent(36,7917.503); h_SL3L370->SetBinContent(37,8597.985); h_SL3L370->SetBinContent(38,8243.951); h_SL3L370->SetBinContent(39,8147.396); h_SL3L370->SetBinContent(40,7968.08); h_SL3L370->SetBinContent(41,8115.211); h_SL3L370->SetBinContent(42,8234.755); h_SL3L370->SetBinContent(43,7917.503); h_SL3L370->SetBinContent(44,7586.458); h_SL3L370->SetBinContent(45,160.9249); h_SL3L370->SetBinContent(46,7894.514); h_SL3L370->SetBinContent(47,8046.243); h_SL3L370->SetBinContent(48,6951.954); h_SL3L370->SetBinContent(49,7471.511); h_SL3L370->SetBinContent(50,3797.827); h_SL3L370->SetBinContent(51,4372.559); h_SL3L370->SetBinContent(52,6216.297); h_SL3L370->SetBinContent(53,7002.53); h_SL3L370->SetBinContent(54,7374.957); h_SL3L370->SetBinContent(55,7080.694); h_SL3L370->SetBinContent(56,6712.866); h_SL3L370->SetBinContent(57,6285.265); h_SL3L370->SetBinContent(58,6216.297); h_SL3L370->SetBinContent(59,4648.43); h_SL3L370->SetMaximum(10083.32); 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,4377.156); h_SL3L471->SetBinContent(3,1080.495); h_SL3L471->SetBinContent(4,3517.358); h_SL3L471->SetBinContent(5,6515.158); h_SL3L471->SetBinContent(6,7425.533); h_SL3L471->SetBinContent(7,7347.37); h_SL3L471->SetBinContent(8,7158.857); h_SL3L471->SetBinContent(9,7305.989); h_SL3L471->SetBinContent(10,8050.841); h_SL3L471->SetBinContent(11,7466.914); h_SL3L471->SetBinContent(12,6956.552); h_SL3L471->SetBinContent(13,7416.337); h_SL3L471->SetBinContent(14,7646.23); h_SL3L471->SetBinContent(15,7876.123); h_SL3L471->SetBinContent(16,7122.075); h_SL3L471->SetBinContent(17,7292.195); h_SL3L471->SetBinContent(18,8124.407); h_SL3L471->SetBinContent(19,7853.133); h_SL3L471->SetBinContent(20,7227.825); h_SL3L471->SetBinContent(21,7554.273); h_SL3L471->SetBinContent(22,7876.123); h_SL3L471->SetBinContent(23,7558.871); h_SL3L471->SetBinContent(24,7880.72); h_SL3L471->SetBinContent(25,7586.458); h_SL3L471->SetBinContent(26,7779.567); h_SL3L471->SetBinContent(27,8055.439); h_SL3L471->SetBinContent(28,7774.97); h_SL3L471->SetBinContent(29,7650.828); h_SL3L471->SetBinContent(30,8427.865); h_SL3L471->SetBinContent(31,8216.363); h_SL3L471->SetBinContent(32,7499.099); h_SL3L471->SetBinContent(33,7756.578); h_SL3L471->SetBinContent(34,8220.962); h_SL3L471->SetBinContent(35,7871.524); h_SL3L471->SetBinContent(36,7784.166); h_SL3L471->SetBinContent(37,8496.833); h_SL3L471->SetBinContent(38,8699.139); h_SL3L471->SetBinContent(39,7871.524); h_SL3L471->SetBinContent(40,7940.493); h_SL3L471->SetBinContent(41,8037.047); h_SL3L471->SetBinContent(42,8749.715); h_SL3L471->SetBinContent(43,7963.482); h_SL3L471->SetBinContent(44,7738.187); h_SL3L471->SetBinContent(45,4666.821); h_SL3L471->SetBinContent(46,4699.006); h_SL3L471->SetBinContent(47,7499.099); h_SL3L471->SetBinContent(48,7834.742); h_SL3L471->SetBinContent(49,7007.128); h_SL3L471->SetBinContent(50,6956.552); h_SL3L471->SetBinContent(51,1862.13); h_SL3L471->SetBinContent(52,6317.45); h_SL3L471->SetBinContent(53,6501.364); h_SL3L471->SetBinContent(54,7347.37); h_SL3L471->SetBinContent(55,7439.327); h_SL3L471->SetBinContent(56,6671.485); h_SL3L471->SetBinContent(57,6459.984); h_SL3L471->SetBinContent(58,6161.123); h_SL3L471->SetBinContent(59,5338.107); h_SL3L471->SetMaximum(10083.32); 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.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("SL3, run 7301"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }