void RatesPerCell_Removing_noisy_cells_run_6276_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:45 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19354.5,67.5,174190.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6276",60,0,60); h_SL1L160->SetBinContent(1,32367.66); h_SL1L160->SetBinContent(2,32166.84); h_SL1L160->SetBinContent(3,31371.43); h_SL1L160->SetBinContent(4,26929.73); h_SL1L160->SetBinContent(5,20468.02); h_SL1L160->SetBinContent(6,22070.65); h_SL1L160->SetBinContent(7,21743.82); h_SL1L160->SetBinContent(8,23169.26); h_SL1L160->SetBinContent(9,21932.83); h_SL1L160->SetBinContent(10,23586.65); h_SL1L160->SetBinContent(11,23531.53); h_SL1L160->SetBinContent(12,21550.88); h_SL1L160->SetBinContent(13,21822.57); h_SL1L160->SetBinContent(14,17534.45); h_SL1L160->SetBinContent(15,15415.98); h_SL1L160->SetBinContent(16,15309.67); h_SL1L160->SetBinContent(17,15345.11); h_SL1L160->SetBinContent(18,15766.44); h_SL1L160->SetBinContent(19,16699.66); h_SL1L160->SetBinContent(20,15904.25); h_SL1L160->SetBinContent(21,15967.26); h_SL1L160->SetBinContent(22,15723.12); h_SL1L160->SetBinContent(23,14726.89); h_SL1L160->SetBinContent(24,12049.27); h_SL1L160->SetBinContent(25,11588.57); h_SL1L160->SetBinContent(26,13553.46); h_SL1L160->SetBinContent(27,12718.68); h_SL1L160->SetBinContent(28,12403.67); h_SL1L160->SetBinContent(29,13951.17); h_SL1L160->SetBinContent(30,12376.1); h_SL1L160->SetBinContent(31,12147.72); h_SL1L160->SetBinContent(32,10871.91); h_SL1L160->SetBinContent(33,11553.13); h_SL1L160->SetBinContent(34,12131.97); h_SL1L160->SetBinContent(35,12108.34); h_SL1L160->SetBinContent(36,11446.81); h_SL1L160->SetBinContent(37,11990.21); h_SL1L160->SetBinContent(38,13356.58); h_SL1L160->SetBinContent(39,13045.51); h_SL1L160->SetBinContent(40,10549.02); h_SL1L160->SetBinContent(41,11848.45); h_SL1L160->SetBinContent(42,11706.7); h_SL1L160->SetBinContent(43,11257.8); h_SL1L160->SetBinContent(44,11765.76); h_SL1L160->SetBinContent(45,11505.88); h_SL1L160->SetBinContent(46,9765.425); h_SL1L160->SetBinContent(47,9596.105); h_SL1L160->SetBinContent(48,9233.84); h_SL1L160->SetBinContent(49,10927.04); h_SL1L160->SetBinContent(50,12399.73); h_SL1L160->SetBinContent(51,12706.87); h_SL1L160->SetBinContent(52,12364.29); h_SL1L160->SetBinContent(53,12458.79); h_SL1L160->SetBinContent(54,12183.16); h_SL1L160->SetBinContent(55,12143.78); h_SL1L160->SetBinContent(56,15888.5); h_SL1L160->SetBinContent(57,23019.63); h_SL1L160->SetBinContent(58,28619); h_SL1L160->SetBinContent(59,33596.21); h_SL1L160->SetMaximum(154836); 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,89105.57); h_SL1L261->SetBinContent(2,89330.02); h_SL1L261->SetBinContent(3,98945.8); h_SL1L261->SetBinContent(4,98508.73); h_SL1L261->SetBinContent(5,96295.76); h_SL1L261->SetBinContent(6,101966); h_SL1L261->SetBinContent(7,99977.48); h_SL1L261->SetBinContent(8,102123.5); h_SL1L261->SetBinContent(9,102852); h_SL1L261->SetBinContent(10,100516.9); h_SL1L261->SetBinContent(11,111432.2); h_SL1L261->SetBinContent(12,108872.7); h_SL1L261->SetBinContent(13,115306.8); h_SL1L261->SetBinContent(14,110199.7); h_SL1L261->SetBinContent(15,108742.7); h_SL1L261->SetBinContent(16,101336); h_SL1L261->SetBinContent(17,95082.95); h_SL1L261->SetBinContent(18,105860.4); h_SL1L261->SetBinContent(19,104190.8); h_SL1L261->SetBinContent(20,105781.6); h_SL1L261->SetBinContent(21,108124.5); h_SL1L261->SetBinContent(22,109971.3); h_SL1L261->SetBinContent(23,107490.6); h_SL1L261->SetBinContent(24,97693.62); h_SL1L261->SetBinContent(25,100513); h_SL1L261->SetBinContent(26,88463.73); h_SL1L261->SetBinContent(27,91216.16); h_SL1L261->SetBinContent(28,96492.64); h_SL1L261->SetBinContent(29,104572.7); h_SL1L261->SetBinContent(30,109581.5); h_SL1L261->SetBinContent(31,110376.9); h_SL1L261->SetBinContent(32,106195.1); h_SL1L261->SetBinContent(33,110999); h_SL1L261->SetBinContent(34,106600.6); h_SL1L261->SetBinContent(35,103911.2); h_SL1L261->SetBinContent(36,101887.2); h_SL1L261->SetBinContent(37,94716.75); h_SL1L261->SetBinContent(38,104612.1); h_SL1L261->SetBinContent(39,103828.5); h_SL1L261->SetBinContent(40,101749.4); h_SL1L261->SetBinContent(41,104269.5); h_SL1L261->SetBinContent(42,104931.1); h_SL1L261->SetBinContent(43,117078.8); h_SL1L261->SetBinContent(44,114113.7); h_SL1L261->SetBinContent(45,108223); h_SL1L261->SetBinContent(46,109057.8); h_SL1L261->SetBinContent(47,100056.2); h_SL1L261->SetBinContent(48,102580.3); h_SL1L261->SetBinContent(49,110246.9); h_SL1L261->SetBinContent(50,109802); h_SL1L261->SetBinContent(51,108278.1); h_SL1L261->SetBinContent(52,109160.1); h_SL1L261->SetBinContent(53,115232); h_SL1L261->SetBinContent(54,105376); h_SL1L261->SetBinContent(55,107829.2); h_SL1L261->SetBinContent(56,109577.5); h_SL1L261->SetBinContent(57,100922.5); h_SL1L261->SetBinContent(58,102166.8); h_SL1L261->SetBinContent(59,102099.9); h_SL1L261->SetMaximum(134640.6); 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,86439.77); h_SL1L362->SetBinContent(2,90030.92); h_SL1L362->SetBinContent(3,93216.49); h_SL1L362->SetBinContent(4,99449.83); h_SL1L362->SetBinContent(5,94405.67); h_SL1L362->SetBinContent(6,98910.37); h_SL1L362->SetBinContent(7,101123.3); h_SL1L362->SetBinContent(8,103718.3); h_SL1L362->SetBinContent(9,99587.65); h_SL1L362->SetBinContent(10,103104); h_SL1L362->SetBinContent(11,108514.4); h_SL1L362->SetBinContent(12,109656.3); h_SL1L362->SetBinContent(13,110463.5); h_SL1L362->SetBinContent(14,105498.1); h_SL1L362->SetBinContent(15,100855.6); h_SL1L362->SetBinContent(16,98347.28); h_SL1L362->SetBinContent(17,98063.77); h_SL1L362->SetBinContent(18,103635.6); h_SL1L362->SetBinContent(19,100650.8); h_SL1L362->SetBinContent(20,102111.7); h_SL1L362->SetBinContent(21,106494.3); h_SL1L362->SetBinContent(22,99737.28); h_SL1L362->SetBinContent(23,98300.03); h_SL1L362->SetBinContent(24,96587.14); h_SL1L362->SetBinContent(25,88270.78); h_SL1L362->SetBinContent(26,85616.79); h_SL1L362->SetBinContent(27,98138.59); h_SL1L362->SetBinContent(28,97319.55); h_SL1L362->SetBinContent(29,106147.8); h_SL1L362->SetBinContent(30,102190.4); h_SL1L362->SetBinContent(31,106545.5); h_SL1L362->SetBinContent(32,103548.9); h_SL1L362->SetBinContent(33,101989.6); h_SL1L362->SetBinContent(34,102202.3); h_SL1L362->SetBinContent(35,98870.99); h_SL1L362->SetBinContent(36,93173.18); h_SL1L362->SetBinContent(37,95736.6); h_SL1L362->SetBinContent(38,95972.87); h_SL1L362->SetBinContent(39,101489.5); h_SL1L362->SetBinContent(40,93216.49); h_SL1L362->SetBinContent(41,100682.3); h_SL1L362->SetBinContent(42,111951.9); h_SL1L362->SetBinContent(43,115267.5); h_SL1L362->SetBinContent(44,111416.4); h_SL1L362->SetBinContent(45,103970.3); h_SL1L362->SetBinContent(46,105592.6); h_SL1L362->SetBinContent(47,104836.6); h_SL1L362->SetBinContent(48,98689.86); h_SL1L362->SetBinContent(49,108163.9); h_SL1L362->SetBinContent(50,103485.9); h_SL1L362->SetBinContent(51,106136); h_SL1L362->SetBinContent(52,101749.4); h_SL1L362->SetBinContent(53,101686.4); h_SL1L362->SetBinContent(54,100056.2); h_SL1L362->SetBinContent(55,98552.04); h_SL1L362->SetBinContent(56,101320.2); h_SL1L362->SetBinContent(57,103675); h_SL1L362->SetBinContent(58,100138.9); h_SL1L362->SetBinContent(59,98410.28); h_SL1L362->SetMaximum(134640.6); 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,27551.89); h_SL1L463->SetBinContent(3,23696.91); h_SL1L463->SetBinContent(4,21519.38); h_SL1L463->SetBinContent(5,20235.69); h_SL1L463->SetBinContent(6,19834.05); h_SL1L463->SetBinContent(7,19652.92); h_SL1L463->SetBinContent(8,20680.65); h_SL1L463->SetBinContent(9,23626.03); h_SL1L463->SetBinContent(10,28363.05); h_SL1L463->SetBinContent(11,33088.25); h_SL1L463->SetBinContent(12,36892.04); h_SL1L463->SetBinContent(13,36391.96); h_SL1L463->SetBinContent(14,37234.62); h_SL1L463->SetBinContent(15,34702.7); h_SL1L463->SetBinContent(16,30135); h_SL1L463->SetBinContent(17,26784.04); h_SL1L463->SetBinContent(18,25122.34); h_SL1L463->SetBinContent(19,24496.25); h_SL1L463->SetBinContent(20,22145.46); h_SL1L463->SetBinContent(21,22208.47); h_SL1L463->SetBinContent(22,22090.34); h_SL1L463->SetBinContent(23,21468.19); h_SL1L463->SetBinContent(24,21314.62); h_SL1L463->SetBinContent(25,17333.63); h_SL1L463->SetBinContent(26,17857.34); h_SL1L463->SetBinContent(27,18766.94); h_SL1L463->SetBinContent(28,18192.04); h_SL1L463->SetBinContent(29,17065.87); h_SL1L463->SetBinContent(30,17101.31); h_SL1L463->SetBinContent(31,17514.76); h_SL1L463->SetBinContent(32,15065.53); h_SL1L463->SetBinContent(33,13210.89); h_SL1L463->SetBinContent(34,13714.91); h_SL1L463->SetBinContent(35,14455.19); h_SL1L463->SetBinContent(36,11462.56); h_SL1L463->SetBinContent(37,8584.124); h_SL1L463->SetBinContent(38,10171); h_SL1L463->SetBinContent(39,12458.79); h_SL1L463->SetBinContent(40,8741.631); h_SL1L463->SetBinContent(41,9088.146); h_SL1L463->SetBinContent(42,9816.615); h_SL1L463->SetBinContent(43,11604.32); h_SL1L463->SetBinContent(44,10155.25); h_SL1L463->SetBinContent(45,7989.535); h_SL1L463->SetBinContent(46,8670.753); h_SL1L463->SetBinContent(47,7808.402); h_SL1L463->SetBinContent(48,7761.15); h_SL1L463->SetBinContent(49,7205.938); h_SL1L463->SetBinContent(50,7843.841); h_SL1L463->SetBinContent(51,8639.251); h_SL1L463->SetBinContent(52,9509.477); h_SL1L463->SetBinContent(53,8446.306); h_SL1L463->SetBinContent(54,10005.62); h_SL1L463->SetBinContent(56,12931.31); h_SL1L463->SetBinContent(57,16238.96); h_SL1L463->SetBinContent(58,25965.01); h_SL1L463->SetBinContent(59,30627.21); h_SL1L463->SetMaximum(134640.6); 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 6276"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }