void RatesPerCell_Removing_noisy_cells_run_6751_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:03:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16476.48,67.5,148288.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6751",60,0,60); h_SL1L160->SetBinContent(1,34686.5); h_SL1L160->SetBinContent(2,33548.55); h_SL1L160->SetBinContent(3,33888.9); h_SL1L160->SetBinContent(4,32415.81); h_SL1L160->SetBinContent(5,30825.8); h_SL1L160->SetBinContent(6,32369.04); h_SL1L160->SetBinContent(7,30100.95); h_SL1L160->SetBinContent(8,30818.01); h_SL1L160->SetBinContent(9,28578.5); h_SL1L160->SetBinContent(10,25460.84); h_SL1L160->SetBinContent(11,25395.89); h_SL1L160->SetBinContent(12,25619.32); h_SL1L160->SetBinContent(13,27071.63); h_SL1L160->SetBinContent(14,26183.1); h_SL1L160->SetBinContent(15,25759.62); h_SL1L160->SetBinContent(16,24567.12); h_SL1L160->SetBinContent(17,25172.46); h_SL1L160->SetBinContent(18,26492.27); h_SL1L160->SetBinContent(19,27687.37); h_SL1L160->SetBinContent(20,27053.44); h_SL1L160->SetBinContent(21,28705.8); h_SL1L160->SetBinContent(22,28290.11); h_SL1L160->SetBinContent(23,27827.66); h_SL1L160->SetBinContent(24,25325.74); h_SL1L160->SetBinContent(25,25356.92); h_SL1L160->SetBinContent(26,26086.97); h_SL1L160->SetBinContent(27,25442.66); h_SL1L160->SetBinContent(28,25606.33); h_SL1L160->SetBinContent(29,24751.58); h_SL1L160->SetBinContent(30,24018.93); h_SL1L160->SetBinContent(31,23655.2); h_SL1L160->SetBinContent(32,23296.67); h_SL1L160->SetBinContent(33,34725.47); h_SL1L160->SetBinContent(34,42015.59); h_SL1L160->SetBinContent(35,44779.91); h_SL1L160->SetBinContent(36,44023.88); h_SL1L160->SetBinContent(37,48463.93); h_SL1L160->SetBinContent(38,48578.25); h_SL1L160->SetBinContent(39,37154.64); h_SL1L160->SetBinContent(40,23005.69); h_SL1L160->SetBinContent(41,21303.97); h_SL1L160->SetBinContent(42,21249.41); h_SL1L160->SetBinContent(43,20714.21); h_SL1L160->SetBinContent(44,20916.86); h_SL1L160->SetBinContent(45,19433.38); h_SL1L160->SetBinContent(46,19196.96); h_SL1L160->SetBinContent(47,18027.84); h_SL1L160->SetBinContent(48,17030.19); h_SL1L160->SetBinContent(49,17879.75); h_SL1L160->SetBinContent(50,18752.69); h_SL1L160->SetBinContent(51,17882.34); h_SL1L160->SetBinContent(52,17843.37); h_SL1L160->SetBinContent(53,18118.77); h_SL1L160->SetBinContent(54,17700.48); h_SL1L160->SetBinContent(55,18110.97); h_SL1L160->SetBinContent(56,19350.24); h_SL1L160->SetBinContent(57,21532.6); h_SL1L160->SetBinContent(58,22953.73); h_SL1L160->SetBinContent(59,23751.33); h_SL1L160->SetMaximum(131811.8); 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,39934.55); h_SL1L261->SetBinContent(2,37902.88); h_SL1L261->SetBinContent(3,37983.42); h_SL1L261->SetBinContent(4,37702.83); h_SL1L261->SetBinContent(5,37747); h_SL1L261->SetBinContent(6,40269.7); h_SL1L261->SetBinContent(7,40051.46); h_SL1L261->SetBinContent(8,39703.32); h_SL1L261->SetBinContent(9,38225.04); h_SL1L261->SetBinContent(10,33922.68); h_SL1L261->SetBinContent(11,32792.52); h_SL1L261->SetBinContent(12,34208.46); h_SL1L261->SetBinContent(13,35013.86); h_SL1L261->SetBinContent(14,37027.34); h_SL1L261->SetBinContent(15,37546.95); h_SL1L261->SetBinContent(16,35907.58); h_SL1L261->SetBinContent(17,35912.78); h_SL1L261->SetBinContent(18,36798.71); h_SL1L261->SetBinContent(19,38440.68); h_SL1L261->SetBinContent(20,38835.58); h_SL1L261->SetBinContent(21,39589.01); h_SL1L261->SetBinContent(22,41683.04); h_SL1L261->SetBinContent(23,41420.63); h_SL1L261->SetBinContent(24,41815.54); h_SL1L261->SetBinContent(25,43039.21); h_SL1L261->SetBinContent(26,40952.98); h_SL1L261->SetBinContent(27,39188.91); h_SL1L261->SetBinContent(28,39614.99); h_SL1L261->SetBinContent(29,41030.93); h_SL1L261->SetBinContent(30,40703.57); h_SL1L261->SetBinContent(31,40399.6); h_SL1L261->SetBinContent(32,40228.13); h_SL1L261->SetBinContent(33,52384.38); h_SL1L261->SetBinContent(34,83334.9); h_SL1L261->SetBinContent(35,91370.65); h_SL1L261->SetBinContent(36,95072.86); h_SL1L261->SetBinContent(37,99141.4); h_SL1L261->SetBinContent(38,98291.84); h_SL1L261->SetBinContent(39,85405.54); h_SL1L261->SetBinContent(40,50482.61); h_SL1L261->SetBinContent(41,37814.55); h_SL1L261->SetBinContent(42,35084); h_SL1L261->SetBinContent(43,33595.32); h_SL1L261->SetBinContent(44,33096.5); h_SL1L261->SetBinContent(45,33234.19); h_SL1L261->SetBinContent(46,33551.16); h_SL1L261->SetBinContent(47,33379.68); h_SL1L261->SetBinContent(48,32571.69); h_SL1L261->SetBinContent(49,31683.16); h_SL1L261->SetBinContent(50,31215.51); h_SL1L261->SetBinContent(51,30126.93); h_SL1L261->SetBinContent(52,29425.46); h_SL1L261->SetBinContent(53,30207.47); h_SL1L261->SetBinContent(54,30046.39); h_SL1L261->SetBinContent(55,30417.91); h_SL1L261->SetBinContent(56,29706.05); h_SL1L261->SetBinContent(57,29290.36); h_SL1L261->SetBinContent(58,28578.5); h_SL1L261->SetBinContent(59,27760.11); h_SL1L261->SetMaximum(114619.1); 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,37274.15); h_SL1L362->SetBinContent(2,36855.87); h_SL1L362->SetBinContent(3,37201.41); h_SL1L362->SetBinContent(4,36172.58); h_SL1L362->SetBinContent(5,38256.21); h_SL1L362->SetBinContent(6,39300.63); h_SL1L362->SetBinContent(7,37879.5); h_SL1L362->SetBinContent(8,37871.7); h_SL1L362->SetBinContent(9,34990.47); h_SL1L362->SetBinContent(10,31888.41); h_SL1L362->SetBinContent(11,31342.82); h_SL1L362->SetBinContent(12,33345.91); h_SL1L362->SetBinContent(13,34608.56); h_SL1L362->SetBinContent(14,36629.84); h_SL1L362->SetBinContent(15,36318.07); h_SL1L362->SetBinContent(16,34561.79); h_SL1L362->SetBinContent(17,34548.8); h_SL1L362->SetBinContent(18,36819.5); h_SL1L362->SetBinContent(19,37432.63); h_SL1L362->SetBinContent(20,37928.86); h_SL1L362->SetBinContent(21,39370.78); h_SL1L362->SetBinContent(22,39900.78); h_SL1L362->SetBinContent(23,40069.65); h_SL1L362->SetBinContent(24,41246.56); h_SL1L362->SetBinContent(25,40428.18); h_SL1L362->SetBinContent(26,38063.96); h_SL1L362->SetBinContent(27,38118.52); h_SL1L362->SetBinContent(28,38773.23); h_SL1L362->SetBinContent(29,38981.07); h_SL1L362->SetBinContent(30,39012.25); h_SL1L362->SetBinContent(31,38999.25); h_SL1L362->SetBinContent(32,41295.93); h_SL1L362->SetBinContent(33,69928.98); h_SL1L362->SetBinContent(34,86616.23); h_SL1L362->SetBinContent(35,92352.71); h_SL1L362->SetBinContent(36,96429.04); h_SL1L362->SetBinContent(37,99668.8); h_SL1L362->SetBinContent(38,91531.73); h_SL1L362->SetBinContent(39,68788.44); h_SL1L362->SetBinContent(40,39188.91); h_SL1L362->SetBinContent(41,34600.77); h_SL1L362->SetBinContent(42,33561.55); h_SL1L362->SetBinContent(43,32194.97); h_SL1L362->SetBinContent(44,31862.43); h_SL1L362->SetBinContent(45,31740.32); h_SL1L362->SetBinContent(46,32213.16); h_SL1L362->SetBinContent(47,32143.01); h_SL1L362->SetBinContent(48,30402.32); h_SL1L362->SetBinContent(49,30113.94); h_SL1L362->SetBinContent(50,29825.56); h_SL1L362->SetBinContent(51,28477.17); h_SL1L362->SetBinContent(52,28305.7); h_SL1L362->SetBinContent(53,29170.85); h_SL1L362->SetBinContent(54,28586.29); h_SL1L362->SetBinContent(55,29347.52); h_SL1L362->SetBinContent(56,28827.91); h_SL1L362->SetBinContent(57,28469.38); h_SL1L362->SetBinContent(58,27108); h_SL1L362->SetBinContent(59,26996.29); h_SL1L362->SetMaximum(114619.1); 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,4918.1); h_SL1L463->SetBinContent(3,4120.5); h_SL1L463->SetBinContent(4,3886.676); h_SL1L463->SetBinContent(5,3489.175); h_SL1L463->SetBinContent(6,3697.018); h_SL1L463->SetBinContent(7,3777.558); h_SL1L463->SetBinContent(8,3912.656); h_SL1L463->SetBinContent(9,4227.02); h_SL1L463->SetBinContent(10,4156.872); h_SL1L463->SetBinContent(11,4356.922); h_SL1L463->SetBinContent(12,4473.833); h_SL1L463->SetBinContent(13,4497.216); h_SL1L463->SetBinContent(14,4624.521); h_SL1L463->SetBinContent(15,4427.069); h_SL1L463->SetBinContent(16,4175.059); h_SL1L463->SetBinContent(17,3569.714); h_SL1L463->SetBinContent(18,3372.262); h_SL1L463->SetBinContent(19,3624.273); h_SL1L463->SetBinContent(20,3302.115); h_SL1L463->SetBinContent(21,3156.625); h_SL1L463->SetBinContent(22,3367.066); h_SL1L463->SetBinContent(23,3268.341); h_SL1L463->SetBinContent(24,3330.694); h_SL1L463->SetBinContent(25,2655.202); h_SL1L463->SetBinContent(26,3068.291); h_SL1L463->SetBinContent(27,2940.987); h_SL1L463->SetBinContent(28,2863.046); h_SL1L463->SetBinContent(29,2904.615); h_SL1L463->SetBinContent(30,2756.526); h_SL1L463->SetBinContent(31,3026.723); h_SL1L463->SetBinContent(32,2494.123); h_SL1L463->SetBinContent(33,2618.83); h_SL1L463->SetBinContent(34,3328.096); h_SL1L463->SetBinContent(35,4268.588); h_SL1L463->SetBinContent(36,3668.44); h_SL1L463->SetBinContent(37,2982.556); h_SL1L463->SetBinContent(38,3328.096); h_SL1L463->SetBinContent(39,3335.89); h_SL1L463->SetBinContent(40,2197.946); h_SL1L463->SetBinContent(41,2348.633); h_SL1L463->SetBinContent(42,2218.73); h_SL1L463->SetBinContent(43,2457.751); h_SL1L463->SetBinContent(44,2395.398); h_SL1L463->SetBinContent(45,2145.985); h_SL1L463->SetBinContent(46,2530.496); h_SL1L463->SetBinContent(47,2197.946); h_SL1L463->SetBinContent(48,1893.975); h_SL1L463->SetBinContent(49,1680.935); h_SL1L463->SetBinContent(50,1867.994); h_SL1L463->SetBinContent(51,1784.857); h_SL1L463->SetBinContent(52,1810.837); h_SL1L463->SetBinContent(53,1571.817); h_SL1L463->SetBinContent(54,1678.337); h_SL1L463->SetBinContent(56,1748.484); h_SL1L463->SetBinContent(57,1787.455); h_SL1L463->SetBinContent(58,2709.761); h_SL1L463->SetBinContent(59,2772.114); h_SL1L463->SetMaximum(114619.1); 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.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("SL1, run 6751"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }