void RatesPerCell_Removing_noisy_cells_run_7294_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:35:02 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1476.169,67.5,13285.52); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7294",60,0,60); h_SL3L168->SetBinContent(1,2043.577); h_SL3L168->SetBinContent(2,3351.006); h_SL3L168->SetBinContent(4,6295.597); h_SL3L168->SetBinContent(5,6410.62); h_SL3L168->SetBinContent(6,7687.376); h_SL3L168->SetBinContent(7,7603.026); h_SL3L168->SetBinContent(8,7342.307); h_SL3L168->SetBinContent(9,6491.136); h_SL3L168->SetBinContent(10,7813.902); h_SL3L168->SetBinContent(11,7764.058); h_SL3L168->SetBinContent(12,7016.408); h_SL3L168->SetBinContent(13,7093.09); h_SL3L168->SetBinContent(14,7595.358); h_SL3L168->SetBinContent(15,7583.855); h_SL3L168->SetBinContent(16,7672.04); h_SL3L168->SetBinContent(17,7192.777); h_SL3L168->SetBinContent(18,7928.925); h_SL3L168->SetBinContent(19,7856.077); h_SL3L168->SetBinContent(20,7610.694); h_SL3L168->SetBinContent(21,7192.777); h_SL3L168->SetBinContent(22,7825.404); h_SL3L168->SetBinContent(23,7721.883); h_SL3L168->SetBinContent(24,7488.003); h_SL3L168->SetBinContent(25,7376.814); h_SL3L168->SetBinContent(26,7917.422); h_SL3L168->SetBinContent(27,8120.63); h_SL3L168->SetBinContent(28,7852.243); h_SL3L168->SetBinContent(29,7445.828); h_SL3L168->SetBinContent(30,8573.054); h_SL3L168->SetBinContent(31,8227.984); h_SL3L168->SetBinContent(32,7691.21); h_SL3L168->SetBinContent(33,7480.334); h_SL3L168->SetBinContent(34,8703.413); h_SL3L168->SetBinContent(35,8714.916); h_SL3L168->SetBinContent(36,8128.298); h_SL3L168->SetBinContent(37,7702.713); h_SL3L168->SetBinContent(38,8500.206); h_SL3L168->SetBinContent(39,8086.123); h_SL3L168->SetBinContent(40,7752.556); h_SL3L168->SetBinContent(41,7787.063); h_SL3L168->SetBinContent(42,8856.777); h_SL3L168->SetBinContent(43,8542.381); h_SL3L168->SetBinContent(44,6748.021); h_SL3L168->SetBinContent(45,2423.153); h_SL3L168->SetBinContent(46,7698.878); h_SL3L168->SetBinContent(47,7932.759); h_SL3L168->SetBinContent(48,7211.947); h_SL3L168->SetBinContent(49,6548.647); h_SL3L168->SetBinContent(50,3561.882); h_SL3L168->SetBinContent(51,4658.435); h_SL3L168->SetBinContent(52,6521.809); h_SL3L168->SetBinContent(53,6349.274); h_SL3L168->SetBinContent(54,7587.689); h_SL3L168->SetBinContent(55,6805.533); h_SL3L168->SetBinContent(56,6556.316); h_SL3L168->SetBinContent(57,6778.694); h_SL3L168->SetBinContent(58,6851.542); h_SL3L168->SetBinContent(59,4597.089); h_SL3L168->SetMaximum(11809.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,448.59); h_SL3L269->SetBinContent(2,4723.615); h_SL3L269->SetBinContent(4,3523.541); h_SL3L269->SetBinContent(5,6023.375); h_SL3L269->SetBinContent(6,7288.629); h_SL3L269->SetBinContent(7,7645.201); h_SL3L269->SetBinContent(8,7246.455); h_SL3L269->SetBinContent(9,6962.731); h_SL3L269->SetBinContent(10,7288.629); h_SL3L269->SetBinContent(11,7756.39); h_SL3L269->SetBinContent(12,7369.146); h_SL3L269->SetBinContent(13,6824.703); h_SL3L269->SetBinContent(14,7675.874); h_SL3L269->SetBinContent(15,7472.667); h_SL3L269->SetBinContent(16,7718.049); h_SL3L269->SetBinContent(17,7204.279); h_SL3L269->SetBinContent(18,7576.188); h_SL3L269->SetBinContent(19,7802.399); h_SL3L269->SetBinContent(20,7595.358); h_SL3L269->SetBinContent(21,7215.782); h_SL3L269->SetBinContent(22,7672.04); h_SL3L269->SetBinContent(23,7660.538); h_SL3L269->SetBinContent(24,7879.082); h_SL3L269->SetBinContent(25,7108.427); h_SL3L269->SetBinContent(26,7951.929); h_SL3L269->SetBinContent(27,8070.787); h_SL3L269->SetBinContent(28,7733.385); h_SL3L269->SetBinContent(29,7530.178); h_SL3L269->SetBinContent(30,8316.169); h_SL3L269->SetBinContent(31,8530.879); h_SL3L269->SetBinContent(32,7867.579); h_SL3L269->SetBinContent(33,7250.289); h_SL3L269->SetBinContent(34,8120.63); h_SL3L269->SetBinContent(35,8672.74); h_SL3L269->SetBinContent(36,8377.515); h_SL3L269->SetBinContent(37,7618.362); h_SL3L269->SetBinContent(38,8530.879); h_SL3L269->SetBinContent(39,8051.616); h_SL3L269->SetBinContent(40,8120.63); h_SL3L269->SetBinContent(41,7365.312); h_SL3L269->SetBinContent(42,8642.067); h_SL3L269->SetBinContent(43,8515.542); h_SL3L269->SetBinContent(44,8040.114); h_SL3L269->SetBinContent(45,4129.329); h_SL3L269->SetBinContent(46,4792.628); h_SL3L269->SetBinContent(47,8043.948); h_SL3L269->SetBinContent(48,7721.883); h_SL3L269->SetBinContent(49,6636.832); h_SL3L269->SetBinContent(50,6679.007); h_SL3L269->SetBinContent(51,1648.664); h_SL3L269->SetBinContent(52,6529.477); h_SL3L269->SetBinContent(53,6234.251); h_SL3L269->SetBinContent(54,7223.45); h_SL3L269->SetBinContent(55,7200.445); h_SL3L269->SetBinContent(56,6721.182); h_SL3L269->SetBinContent(57,6621.496); h_SL3L269->SetBinContent(58,6606.159); h_SL3L269->SetBinContent(59,6096.224); h_SL3L269->SetMaximum(10269.07); 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,2396.314); h_SL3L370->SetBinContent(2,3021.273); h_SL3L370->SetBinContent(3,1184.738); h_SL3L370->SetBinContent(4,5605.458); h_SL3L370->SetBinContent(5,6744.187); h_SL3L370->SetBinContent(6,7553.183); h_SL3L370->SetBinContent(7,7376.814); h_SL3L370->SetBinContent(8,7031.745); h_SL3L370->SetBinContent(9,7307.8); h_SL3L370->SetBinContent(10,7449.662); h_SL3L370->SetBinContent(11,7549.349); h_SL3L370->SetBinContent(12,6878.38); h_SL3L370->SetBinContent(13,7764.058); h_SL3L370->SetBinContent(14,7369.146); h_SL3L370->SetBinContent(15,7261.791); h_SL3L370->SetBinContent(16,7583.855); h_SL3L370->SetBinContent(17,7691.21); h_SL3L370->SetBinContent(18,7652.869); h_SL3L370->SetBinContent(19,7564.685); h_SL3L370->SetBinContent(20,7188.943); h_SL3L370->SetBinContent(21,7959.598); h_SL3L370->SetBinContent(22,7557.017); h_SL3L370->SetBinContent(23,7484.169); h_SL3L370->SetBinContent(24,7503.339); h_SL3L370->SetBinContent(25,7909.754); h_SL3L370->SetBinContent(26,7775.561); h_SL3L370->SetBinContent(27,7695.044); h_SL3L370->SetBinContent(28,7488.003); h_SL3L370->SetBinContent(29,8323.837); h_SL3L370->SetBinContent(30,8312.335); h_SL3L370->SetBinContent(31,8174.307); h_SL3L370->SetBinContent(32,7361.478); h_SL3L370->SetBinContent(33,7894.418); h_SL3L370->SetBinContent(34,8458.031); h_SL3L370->SetBinContent(35,8596.059); h_SL3L370->SetBinContent(36,7836.906); h_SL3L370->SetBinContent(37,8527.045); h_SL3L370->SetBinContent(38,8523.211); h_SL3L370->SetBinContent(39,7848.409); h_SL3L370->SetBinContent(40,7296.298); h_SL3L370->SetBinContent(41,8438.86); h_SL3L370->SetBinContent(42,8534.713); h_SL3L370->SetBinContent(43,8423.524); h_SL3L370->SetBinContent(44,7530.178); h_SL3L370->SetBinContent(45,153.3641); h_SL3L370->SetBinContent(46,8024.777); h_SL3L370->SetBinContent(47,7683.542); h_SL3L370->SetBinContent(48,6843.874); h_SL3L370->SetBinContent(49,7464.998); h_SL3L370->SetBinContent(50,3515.872); h_SL3L370->SetBinContent(51,3995.135); h_SL3L370->SetBinContent(52,6218.915); h_SL3L370->SetBinContent(53,7008.74); h_SL3L370->SetBinContent(54,7518.676); h_SL3L370->SetBinContent(55,6728.851); h_SL3L370->SetBinContent(56,6598.491); h_SL3L370->SetBinContent(57,6709.68); h_SL3L370->SetBinContent(58,6372.279); h_SL3L370->SetBinContent(59,4577.919); h_SL3L370->SetMaximum(10269.07); 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,4416.887); h_SL3L471->SetBinContent(3,1081.217); h_SL3L471->SetBinContent(4,3443.024); h_SL3L471->SetBinContent(5,6353.108); h_SL3L471->SetBinContent(6,7277.127); h_SL3L471->SetBinContent(7,7541.68); h_SL3L471->SetBinContent(8,6962.731); h_SL3L471->SetBinContent(9,7491.837); h_SL3L471->SetBinContent(10,7415.155); h_SL3L471->SetBinContent(11,7372.98); h_SL3L471->SetBinContent(12,7169.772); h_SL3L471->SetBinContent(13,7372.98); h_SL3L471->SetBinContent(14,7756.39); h_SL3L471->SetBinContent(15,7334.639); h_SL3L471->SetBinContent(16,7388.316); h_SL3L471->SetBinContent(17,7499.505); h_SL3L471->SetBinContent(18,8032.445); h_SL3L471->SetBinContent(19,7457.33); h_SL3L471->SetBinContent(20,7361.478); h_SL3L471->SetBinContent(21,7649.035); h_SL3L471->SetBinContent(22,8043.948); h_SL3L471->SetBinContent(23,7518.676); h_SL3L471->SetBinContent(24,7430.491); h_SL3L471->SetBinContent(25,7744.888); h_SL3L471->SetBinContent(26,7963.432); h_SL3L471->SetBinContent(27,7790.897); h_SL3L471->SetBinContent(28,7346.141); h_SL3L471->SetBinContent(29,7955.764); h_SL3L471->SetBinContent(30,8714.916); h_SL3L471->SetBinContent(31,8109.127); h_SL3L471->SetBinContent(32,7675.874); h_SL3L471->SetBinContent(33,7591.523); h_SL3L471->SetBinContent(34,8523.211); h_SL3L471->SetBinContent(35,8438.86); h_SL3L471->SetBinContent(36,8116.796); h_SL3L471->SetBinContent(37,8116.796); h_SL3L471->SetBinContent(38,8768.593); h_SL3L471->SetBinContent(39,7852.243); h_SL3L471->SetBinContent(40,7783.229); h_SL3L471->SetBinContent(41,7871.413); h_SL3L471->SetBinContent(42,8929.626); h_SL3L471->SetBinContent(43,8427.358); h_SL3L471->SetBinContent(44,8024.777); h_SL3L471->SetBinContent(45,4666.103); h_SL3L471->SetBinContent(46,4658.435); h_SL3L471->SetBinContent(47,7744.888); h_SL3L471->SetBinContent(48,7411.321); h_SL3L471->SetBinContent(49,7142.934); h_SL3L471->SetBinContent(50,6832.371); h_SL3L471->SetBinContent(51,1648.664); h_SL3L471->SetBinContent(52,6015.708); h_SL3L471->SetBinContent(53,6625.33); h_SL3L471->SetBinContent(54,7430.491); h_SL3L471->SetBinContent(55,7081.588); h_SL3L471->SetBinContent(56,6613.828); h_SL3L471->SetBinContent(57,6686.675); h_SL3L471->SetBinContent(58,6514.141); h_SL3L471->SetBinContent(59,5524.942); h_SL3L471->SetMaximum(10269.07); 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.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("SL3, run 7294"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }