void RatesPerCell_Removing_noisy_cells_run_7041_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:19:07 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1651.544,67.5,14863.89); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7041",60,0,60); h_SL3L168->SetBinContent(1,2482.412); h_SL3L168->SetBinContent(2,3323.987); h_SL3L168->SetBinContent(4,6506.927); h_SL3L168->SetBinContent(5,6121.401); h_SL3L168->SetBinContent(6,7400.219); h_SL3L168->SetBinContent(7,7028.798); h_SL3L168->SetBinContent(8,7151.038); h_SL3L168->SetBinContent(9,6845.438); h_SL3L168->SetBinContent(10,7860.97); h_SL3L168->SetBinContent(11,7955.001); h_SL3L168->SetBinContent(12,7136.934); h_SL3L168->SetBinContent(13,7461.339); h_SL3L168->SetBinContent(14,8227.69); h_SL3L168->SetBinContent(15,8133.659); h_SL3L168->SetBinContent(16,7875.075); h_SL3L168->SetBinContent(17,7466.041); h_SL3L168->SetBinContent(18,8951.727); h_SL3L168->SetBinContent(19,8519.186); h_SL3L168->SetBinContent(20,8476.871); h_SL3L168->SetBinContent(21,7719.924); h_SL3L168->SetBinContent(22,8890.606); h_SL3L168->SetBinContent(23,9055.16); h_SL3L168->SetBinContent(24,7766.939); h_SL3L168->SetBinContent(25,8086.644); h_SL3L168->SetBinContent(26,9247.924); h_SL3L168->SetBinContent(27,9191.505); h_SL3L168->SetBinContent(28,8660.231); h_SL3L168->SetBinContent(29,8171.271); h_SL3L168->SetBinContent(30,9990.767); h_SL3L168->SetBinContent(31,8805.979); h_SL3L168->SetBinContent(32,7865.671); h_SL3L168->SetBinContent(49,7386.115); h_SL3L168->SetBinContent(50,4245.488); h_SL3L168->SetBinContent(51,5994.46); h_SL3L168->SetBinContent(52,7856.269); h_SL3L168->SetBinContent(53,6948.872); h_SL3L168->SetBinContent(54,7795.148); h_SL3L168->SetBinContent(55,7433.13); h_SL3L168->SetBinContent(56,7912.687); h_SL3L168->SetBinContent(57,7752.835); h_SL3L168->SetBinContent(58,8020.822); h_SL3L168->SetBinContent(59,5444.38); h_SL3L168->SetMaximum(13212.35); 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,662.9167); h_SL3L269->SetBinContent(2,4424.146); h_SL3L269->SetBinContent(4,3563.765); h_SL3L269->SetBinContent(5,5994.46); h_SL3L269->SetBinContent(6,7071.112); h_SL3L269->SetBinContent(7,7019.395); h_SL3L269->SetBinContent(8,7089.918); h_SL3L269->SetBinContent(9,6474.017); h_SL3L269->SetBinContent(10,7588.281); h_SL3L269->SetBinContent(11,7677.61); h_SL3L269->SetBinContent(12,7282.681); h_SL3L269->SetBinContent(13,6873.647); h_SL3L269->SetBinContent(14,8396.945); h_SL3L269->SetBinContent(15,8124.256); h_SL3L269->SetBinContent(16,7762.238); h_SL3L269->SetBinContent(17,7583.58); h_SL3L269->SetBinContent(18,8086.644); h_SL3L269->SetBinContent(19,8594.41); h_SL3L269->SetBinContent(20,8382.841); h_SL3L269->SetBinContent(21,7419.025); h_SL3L269->SetBinContent(22,8589.708); h_SL3L269->SetBinContent(23,9106.877); h_SL3L269->SetBinContent(24,8246.496); h_SL3L269->SetBinContent(25,7823.358); h_SL3L269->SetBinContent(26,8688.44); h_SL3L269->SetBinContent(27,8904.711); h_SL3L269->SetBinContent(28,8763.665); h_SL3L269->SetBinContent(29,7969.105); h_SL3L269->SetBinContent(30,9139.788); h_SL3L269->SetBinContent(31,9520.612); h_SL3L269->SetBinContent(32,7973.807); h_SL3L269->SetBinContent(49,7701.118); h_SL3L269->SetBinContent(50,7442.533); h_SL3L269->SetBinContent(51,2383.679); h_SL3L269->SetBinContent(52,7940.896); h_SL3L269->SetBinContent(53,7400.219); h_SL3L269->SetBinContent(54,7992.613); h_SL3L269->SetBinContent(55,7409.623); h_SL3L269->SetBinContent(56,7583.58); h_SL3L269->SetBinContent(57,7795.148); h_SL3L269->SetBinContent(58,7851.567); h_SL3L269->SetBinContent(59,6944.17); h_SL3L269->SetMaximum(11489.38); 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,2374.276); h_SL3L370->SetBinContent(2,2914.953); h_SL3L370->SetBinContent(3,1363.446); h_SL3L370->SetBinContent(4,5688.86); h_SL3L370->SetBinContent(5,6342.374); h_SL3L370->SetBinContent(6,7052.306); h_SL3L370->SetBinContent(7,6723.198); h_SL3L370->SetBinContent(8,6760.811); h_SL3L370->SetBinContent(9,7583.58); h_SL3L370->SetBinContent(10,7531.862); h_SL3L370->SetBinContent(11,7348.502); h_SL3L370->SetBinContent(12,6911.26); h_SL3L370->SetBinContent(13,8100.749); h_SL3L370->SetBinContent(14,7959.702); h_SL3L370->SetBinContent(15,7545.967); h_SL3L370->SetBinContent(16,7480.146); h_SL3L370->SetBinContent(17,8100.749); h_SL3L370->SetBinContent(18,8693.143); h_SL3L370->SetBinContent(19,7931.493); h_SL3L370->SetBinContent(20,7818.656); h_SL3L370->SetBinContent(21,8364.034); h_SL3L370->SetBinContent(22,8251.197); h_SL3L370->SetBinContent(23,8805.979); h_SL3L370->SetBinContent(24,7494.25); h_SL3L370->SetBinContent(25,8481.573); h_SL3L370->SetBinContent(26,8871.801); h_SL3L370->SetBinContent(27,8674.336); h_SL3L370->SetBinContent(28,8476.871); h_SL3L370->SetBinContent(29,8707.247); h_SL3L370->SetBinContent(30,9591.136); h_SL3L370->SetBinContent(31,8490.976); h_SL3L370->SetBinContent(32,7517.758); h_SL3L370->SetBinContent(49,8251.197); h_SL3L370->SetBinContent(50,4344.22); h_SL3L370->SetBinContent(51,5477.291); h_SL3L370->SetBinContent(52,7625.893); h_SL3L370->SetBinContent(53,8161.869); h_SL3L370->SetBinContent(54,7658.804); h_SL3L370->SetBinContent(55,7343.801); h_SL3L370->SetBinContent(56,7889.179); h_SL3L370->SetBinContent(57,7696.417); h_SL3L370->SetBinContent(58,7541.266); h_SL3L370->SetBinContent(59,5331.543); h_SL3L370->SetMaximum(11489.38); 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,4221.98); h_SL3L471->SetBinContent(3,1330.535); h_SL3L471->SetBinContent(4,3418.018); h_SL3L471->SetBinContent(5,6295.358); h_SL3L471->SetBinContent(6,6817.229); h_SL3L471->SetBinContent(7,6878.349); h_SL3L471->SetBinContent(8,6821.93); h_SL3L471->SetBinContent(9,6807.826); h_SL3L471->SetBinContent(10,8034.927); h_SL3L471->SetBinContent(11,7259.173); h_SL3L471->SetBinContent(12,7146.336); h_SL3L471->SetBinContent(13,7404.921); h_SL3L471->SetBinContent(14,8608.515); h_SL3L471->SetBinContent(15,7668.207); h_SL3L471->SetBinContent(16,7409.623); h_SL3L471->SetBinContent(17,7738.73); h_SL3L471->SetBinContent(18,8570.902); h_SL3L471->SetBinContent(19,8481.573); h_SL3L471->SetBinContent(20,7654.103); h_SL3L471->SetBinContent(21,8138.361); h_SL3L471->SetBinContent(22,8942.323); h_SL3L471->SetBinContent(23,8270.004); h_SL3L471->SetBinContent(24,8114.853); h_SL3L471->SetBinContent(25,7879.776); h_SL3L471->SetBinContent(26,9102.176); h_SL3L471->SetBinContent(27,8848.293); h_SL3L471->SetBinContent(28,8627.32); h_SL3L471->SetBinContent(29,8420.453); h_SL3L471->SetBinContent(30,9581.732); h_SL3L471->SetBinContent(31,9196.207); h_SL3L471->SetBinContent(32,7701.118); h_SL3L471->SetBinContent(49,7893.881); h_SL3L471->SetBinContent(50,7926.792); h_SL3L471->SetBinContent(51,2327.261); h_SL3L471->SetBinContent(52,7367.309); h_SL3L471->SetBinContent(53,7955.001); h_SL3L471->SetBinContent(54,8284.108); h_SL3L471->SetBinContent(55,7456.638); h_SL3L471->SetBinContent(56,7390.816); h_SL3L471->SetBinContent(57,7969.105); h_SL3L471->SetBinContent(58,7531.862); h_SL3L471->SetBinContent(59,6403.494); h_SL3L471->SetMaximum(11489.38); 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 7041"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }