void RatesPerCell_Removing_noisy_cells_run_6342_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:01:38 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1379.138,67.5,12412.24); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6342",60,0,60); h_SL1L160->SetBinContent(1,2987.941); h_SL1L160->SetBinContent(2,3894.395); h_SL1L160->SetBinContent(3,4599.415); h_SL1L160->SetBinContent(4,4912.756); h_SL1L160->SetBinContent(5,5489.082); h_SL1L160->SetBinContent(6,6098.98); h_SL1L160->SetBinContent(7,5947.904); h_SL1L160->SetBinContent(8,6429.108); h_SL1L160->SetBinContent(9,6244.46); h_SL1L160->SetBinContent(10,6524.23); h_SL1L160->SetBinContent(11,6401.131); h_SL1L160->SetBinContent(12,6658.52); h_SL1L160->SetBinContent(13,6507.444); h_SL1L160->SetBinContent(14,6899.122); h_SL1L160->SetBinContent(15,6182.911); h_SL1L160->SetBinContent(16,6591.375); h_SL1L160->SetBinContent(17,6725.665); h_SL1L160->SetBinContent(18,6624.947); h_SL1L160->SetBinContent(19,6451.49); h_SL1L160->SetBinContent(20,6776.023); h_SL1L160->SetBinContent(21,7251.631); h_SL1L160->SetBinContent(22,7022.22); h_SL1L160->SetBinContent(23,6708.878); h_SL1L160->SetBinContent(24,6596.97); h_SL1L160->SetBinContent(25,7329.967); h_SL1L160->SetBinContent(26,7106.151); h_SL1L160->SetBinContent(27,6658.52); h_SL1L160->SetBinContent(28,6513.04); h_SL1L160->SetBinContent(29,6949.48); h_SL1L160->SetBinContent(30,7453.065); h_SL1L160->SetBinContent(31,6781.618); h_SL1L160->SetBinContent(32,7514.615); h_SL1L160->SetBinContent(33,7710.454); h_SL1L160->SetBinContent(34,7788.789); h_SL1L160->SetBinContent(35,6988.648); h_SL1L160->SetBinContent(36,7150.915); h_SL1L160->SetBinContent(37,7441.875); h_SL1L160->SetBinContent(38,7363.54); h_SL1L160->SetBinContent(39,6596.97); h_SL1L160->SetBinContent(40,7122.938); h_SL1L160->SetBinContent(41,7447.47); h_SL1L160->SetBinContent(42,7520.21); h_SL1L160->SetBinContent(43,6781.618); h_SL1L160->SetBinContent(44,6708.878); h_SL1L160->SetBinContent(45,7162.105); h_SL1L160->SetBinContent(46,7178.891); h_SL1L160->SetBinContent(47,5343.602); h_SL1L160->SetBinContent(48,5108.595); h_SL1L160->SetBinContent(49,5421.938); h_SL1L160->SetBinContent(50,5600.99); h_SL1L160->SetBinContent(51,4840.016); h_SL1L160->SetBinContent(52,4940.733); h_SL1L160->SetBinContent(53,5365.983); h_SL1L160->SetBinContent(54,4828.826); h_SL1L160->SetBinContent(55,4051.066); h_SL1L160->SetBinContent(56,4162.974); h_SL1L160->SetBinContent(57,3967.135); h_SL1L160->SetBinContent(58,3346.046); h_SL1L160->SetBinContent(59,2736.148); h_SL1L160->SetMaximum(11033.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,2708.171); h_SL1L261->SetBinContent(2,3592.243); h_SL1L261->SetBinContent(3,4157.378); h_SL1L261->SetBinContent(4,5203.717); h_SL1L261->SetBinContent(5,5500.273); h_SL1L261->SetBinContent(6,5875.165); h_SL1L261->SetBinContent(7,6429.108); h_SL1L261->SetBinContent(8,6378.75); h_SL1L261->SetBinContent(9,6831.977); h_SL1L261->SetBinContent(10,6725.665); h_SL1L261->SetBinContent(11,6507.444); h_SL1L261->SetBinContent(12,6596.97); h_SL1L261->SetBinContent(13,6854.358); h_SL1L261->SetBinContent(14,7139.724); h_SL1L261->SetBinContent(15,6675.306); h_SL1L261->SetBinContent(16,6692.092); h_SL1L261->SetBinContent(17,6826.381); h_SL1L261->SetBinContent(18,7083.77); h_SL1L261->SetBinContent(19,6490.658); h_SL1L261->SetBinContent(20,6943.885); h_SL1L261->SetBinContent(21,7380.326); h_SL1L261->SetBinContent(22,7234.845); h_SL1L261->SetBinContent(23,6904.717); h_SL1L261->SetBinContent(24,6624.947); h_SL1L261->SetBinContent(25,7475.447); h_SL1L261->SetBinContent(26,7592.951); h_SL1L261->SetBinContent(27,7027.815); h_SL1L261->SetBinContent(28,6887.931); h_SL1L261->SetBinContent(29,7184.487); h_SL1L261->SetBinContent(30,7632.118); h_SL1L261->SetBinContent(31,6938.29); h_SL1L261->SetBinContent(32,7425.089); h_SL1L261->SetBinContent(33,8135.704); h_SL1L261->SetBinContent(34,8118.917); h_SL1L261->SetBinContent(35,7419.493); h_SL1L261->SetBinContent(36,7296.395); h_SL1L261->SetBinContent(37,7564.974); h_SL1L261->SetBinContent(38,7788.789); h_SL1L261->SetBinContent(39,7033.411); h_SL1L261->SetBinContent(40,7234.845); h_SL1L261->SetBinContent(41,7615.332); h_SL1L261->SetBinContent(42,7587.355); h_SL1L261->SetBinContent(43,7234.845); h_SL1L261->SetBinContent(44,7039.006); h_SL1L261->SetBinContent(45,7419.493); h_SL1L261->SetBinContent(46,7688.072); h_SL1L261->SetBinContent(47,6457.085); h_SL1L261->SetBinContent(48,5332.411); h_SL1L261->SetBinContent(49,5914.332); h_SL1L261->SetBinContent(50,5578.608); h_SL1L261->SetBinContent(51,5310.029); h_SL1L261->SetBinContent(52,5091.809); h_SL1L261->SetBinContent(53,5640.158); h_SL1L261->SetBinContent(54,5399.556); h_SL1L261->SetBinContent(55,4705.727); h_SL1L261->SetBinContent(56,4409.171); h_SL1L261->SetBinContent(57,4392.385); h_SL1L261->SetBinContent(58,3715.342); h_SL1L261->SetBinContent(59,3027.108); h_SL1L261->SetMaximum(9594.143); 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,3228.543); h_SL1L362->SetBinContent(2,3888.799); h_SL1L362->SetBinContent(3,4795.253); h_SL1L362->SetBinContent(4,5517.059); h_SL1L362->SetBinContent(5,5931.118); h_SL1L362->SetBinContent(6,6574.589); h_SL1L362->SetBinContent(7,6406.727); h_SL1L362->SetBinContent(8,6708.878); h_SL1L362->SetBinContent(9,6904.717); h_SL1L362->SetBinContent(10,6725.665); h_SL1L362->SetBinContent(11,6434.704); h_SL1L362->SetBinContent(12,7072.579); h_SL1L362->SetBinContent(13,7145.319); h_SL1L362->SetBinContent(14,7027.815); h_SL1L362->SetBinContent(15,6451.49); h_SL1L362->SetBinContent(16,7083.77); h_SL1L362->SetBinContent(17,7201.273); h_SL1L362->SetBinContent(18,6831.977); h_SL1L362->SetBinContent(19,6574.589); h_SL1L362->SetBinContent(20,7167.701); h_SL1L362->SetBinContent(21,7290.799); h_SL1L362->SetBinContent(22,6988.648); h_SL1L362->SetBinContent(23,6960.671); h_SL1L362->SetBinContent(24,6938.29); h_SL1L362->SetBinContent(25,7883.911); h_SL1L362->SetBinContent(26,7106.151); h_SL1L362->SetBinContent(27,6776.023); h_SL1L362->SetBinContent(28,6938.29); h_SL1L362->SetBinContent(29,7357.944); h_SL1L362->SetBinContent(30,7458.661); h_SL1L362->SetBinContent(31,6859.954); h_SL1L362->SetBinContent(32,8062.964); h_SL1L362->SetBinContent(33,8342.733); h_SL1L362->SetBinContent(34,7900.697); h_SL1L362->SetBinContent(35,6921.503); h_SL1L362->SetBinContent(36,7811.171); h_SL1L362->SetBinContent(37,7738.431); h_SL1L362->SetBinContent(38,7458.661); h_SL1L362->SetBinContent(39,6815.19); h_SL1L362->SetBinContent(40,7660.095); h_SL1L362->SetBinContent(41,7676.881); h_SL1L362->SetBinContent(42,7609.737); h_SL1L362->SetBinContent(43,7117.342); h_SL1L362->SetBinContent(44,7425.089); h_SL1L362->SetBinContent(45,7755.217); h_SL1L362->SetBinContent(46,7458.661); h_SL1L362->SetBinContent(47,5556.227); h_SL1L362->SetBinContent(48,5433.128); h_SL1L362->SetBinContent(49,5796.829); h_SL1L362->SetBinContent(50,5326.815); h_SL1L362->SetBinContent(51,5214.908); h_SL1L362->SetBinContent(52,5466.701); h_SL1L362->SetBinContent(53,5886.355); h_SL1L362->SetBinContent(54,5058.237); h_SL1L362->SetBinContent(55,4509.888); h_SL1L362->SetBinContent(56,4744.895); h_SL1L362->SetBinContent(57,4185.355); h_SL1L362->SetBinContent(58,3357.237); h_SL1L362->SetBinContent(59,2842.46); h_SL1L362->SetMaximum(9594.143); 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,39.16776); h_SL1L463->SetBinContent(3,44.76316); h_SL1L463->SetBinContent(4,61.54934); h_SL1L463->SetBinContent(5,67.14474); h_SL1L463->SetBinContent(6,83.93092); h_SL1L463->SetBinContent(7,83.93092); h_SL1L463->SetBinContent(8,95.12171); h_SL1L463->SetBinContent(9,95.12171); h_SL1L463->SetBinContent(10,61.54934); h_SL1L463->SetBinContent(11,100.7171); h_SL1L463->SetBinContent(12,117.5033); h_SL1L463->SetBinContent(13,67.14474); h_SL1L463->SetBinContent(14,173.4572); h_SL1L463->SetBinContent(15,117.5033); h_SL1L463->SetBinContent(16,123.0987); h_SL1L463->SetBinContent(17,106.3125); h_SL1L463->SetBinContent(18,117.5033); h_SL1L463->SetBinContent(19,67.14474); h_SL1L463->SetBinContent(20,128.6941); h_SL1L463->SetBinContent(21,128.6941); h_SL1L463->SetBinContent(22,173.4572); h_SL1L463->SetBinContent(23,156.6711); h_SL1L463->SetBinContent(24,95.12171); h_SL1L463->SetBinContent(25,55.95395); h_SL1L463->SetBinContent(26,111.9079); h_SL1L463->SetBinContent(27,100.7171); h_SL1L463->SetBinContent(28,123.0987); h_SL1L463->SetBinContent(29,61.54934); h_SL1L463->SetBinContent(30,72.74013); h_SL1L463->SetBinContent(31,106.3125); h_SL1L463->SetBinContent(32,83.93092); h_SL1L463->SetBinContent(33,95.12171); h_SL1L463->SetBinContent(34,83.93092); h_SL1L463->SetBinContent(35,100.7171); h_SL1L463->SetBinContent(36,100.7171); h_SL1L463->SetBinContent(37,100.7171); h_SL1L463->SetBinContent(38,83.93092); h_SL1L463->SetBinContent(39,78.33553); h_SL1L463->SetBinContent(40,72.74013); h_SL1L463->SetBinContent(41,72.74013); h_SL1L463->SetBinContent(42,55.95395); h_SL1L463->SetBinContent(43,95.12171); h_SL1L463->SetBinContent(44,134.2895); h_SL1L463->SetBinContent(45,83.93092); h_SL1L463->SetBinContent(46,100.7171); h_SL1L463->SetBinContent(47,50.35855); h_SL1L463->SetBinContent(48,67.14474); h_SL1L463->SetBinContent(49,61.54934); h_SL1L463->SetBinContent(50,50.35855); h_SL1L463->SetBinContent(51,83.93092); h_SL1L463->SetBinContent(52,78.33553); h_SL1L463->SetBinContent(53,55.95395); h_SL1L463->SetBinContent(54,72.74013); h_SL1L463->SetBinContent(56,50.35855); h_SL1L463->SetBinContent(57,44.76316); h_SL1L463->SetBinContent(58,44.76316); h_SL1L463->SetBinContent(59,27.97697); h_SL1L463->SetMaximum(9594.143); 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 6342"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }