void RatesPerCell_Removing_noisy_cells_run_6724_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:00:57 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19049.03,67.5,171441.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 6724",60,0,60); h_SL1L160->SetBinContent(1,50685.9); h_SL1L160->SetBinContent(2,48889.6); h_SL1L160->SetBinContent(3,48631.6); h_SL1L160->SetBinContent(4,45701.04); h_SL1L160->SetBinContent(5,42746.15); h_SL1L160->SetBinContent(6,44783.42); h_SL1L160->SetBinContent(7,43164.8); h_SL1L160->SetBinContent(8,42994.42); h_SL1L160->SetBinContent(9,40097.95); h_SL1L160->SetBinContent(10,36344.7); h_SL1L160->SetBinContent(11,35358.92); h_SL1L160->SetBinContent(12,34937.84); h_SL1L160->SetBinContent(13,37286.66); h_SL1L160->SetBinContent(14,36208.39); h_SL1L160->SetBinContent(15,35256.69); h_SL1L160->SetBinContent(16,34095.66); h_SL1L160->SetBinContent(17,34314.73); h_SL1L160->SetBinContent(18,36030.71); h_SL1L160->SetBinContent(19,37722.35); h_SL1L160->SetBinContent(20,36614.87); h_SL1L160->SetBinContent(21,38313.81); h_SL1L160->SetBinContent(22,39080.53); h_SL1L160->SetBinContent(23,37829.44); h_SL1L160->SetBinContent(24,34889.16); h_SL1L160->SetBinContent(25,34643.32); h_SL1L160->SetBinContent(26,34592.2); h_SL1L160->SetBinContent(27,34163.82); h_SL1L160->SetBinContent(28,34144.35); h_SL1L160->SetBinContent(29,32671.77); h_SL1L160->SetBinContent(30,31649.48); h_SL1L160->SetBinContent(31,30118.49); h_SL1L160->SetBinContent(32,30142.83); h_SL1L160->SetBinContent(33,38472.02); h_SL1L160->SetBinContent(34,45749.72); h_SL1L160->SetBinContent(35,48285.96); h_SL1L160->SetBinContent(36,46521.3); h_SL1L160->SetBinContent(37,49485.93); h_SL1L160->SetBinContent(38,50556.9); h_SL1L160->SetBinContent(39,39745.01); h_SL1L160->SetBinContent(40,29081.6); h_SL1L160->SetBinContent(41,28468.23); h_SL1L160->SetBinContent(42,27961.95); h_SL1L160->SetBinContent(43,27526.26); h_SL1L160->SetBinContent(44,27117.35); h_SL1L160->SetBinContent(45,25352.69); h_SL1L160->SetBinContent(46,24724.71); h_SL1L160->SetBinContent(47,23232.66); h_SL1L160->SetBinContent(48,21996.18); h_SL1L160->SetBinContent(49,23422.52); h_SL1L160->SetBinContent(50,24422.89); h_SL1L160->SetBinContent(51,23916.62); h_SL1L160->SetBinContent(52,23361.66); h_SL1L160->SetBinContent(53,24327.97); h_SL1L160->SetBinContent(54,23354.36); h_SL1L160->SetBinContent(55,24578.67); h_SL1L160->SetBinContent(56,26314.12); h_SL1L160->SetBinContent(57,29580.57); h_SL1L160->SetBinContent(58,30919.28); h_SL1L160->SetBinContent(59,33282.71); h_SL1L160->SetMaximum(152392.2); 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,58744.93); h_SL1L261->SetBinContent(2,54879.71); h_SL1L261->SetBinContent(3,55164.49); h_SL1L261->SetBinContent(4,55507.69); h_SL1L261->SetBinContent(5,55456.57); h_SL1L261->SetBinContent(6,59993.57); h_SL1L261->SetBinContent(7,56916.98); h_SL1L261->SetBinContent(8,57425.69); h_SL1L261->SetBinContent(9,55780.3); h_SL1L261->SetBinContent(10,49563.82); h_SL1L261->SetBinContent(11,48473.39); h_SL1L261->SetBinContent(12,49342.33); h_SL1L261->SetBinContent(13,50924.44); h_SL1L261->SetBinContent(14,54787.22); h_SL1L261->SetBinContent(15,54290.68); h_SL1L261->SetBinContent(16,53192.94); h_SL1L261->SetBinContent(17,52859.48); h_SL1L261->SetBinContent(18,54125.16); h_SL1L261->SetBinContent(19,56473.99); h_SL1L261->SetBinContent(20,56578.65); h_SL1L261->SetBinContent(21,58564.81); h_SL1L261->SetBinContent(22,60833.31); h_SL1L261->SetBinContent(23,60937.97); h_SL1L261->SetBinContent(24,61254.39); h_SL1L261->SetBinContent(25,61234.92); h_SL1L261->SetBinContent(26,59039.44); h_SL1L261->SetBinContent(27,56851.26); h_SL1L261->SetBinContent(28,56641.94); h_SL1L261->SetBinContent(29,59711.23); h_SL1L261->SetBinContent(30,58718.15); h_SL1L261->SetBinContent(31,57914.93); h_SL1L261->SetBinContent(32,56805.02); h_SL1L261->SetBinContent(33,68293.56); h_SL1L261->SetBinContent(34,99215.27); h_SL1L261->SetBinContent(35,107882.8); h_SL1L261->SetBinContent(36,111716.4); h_SL1L261->SetBinContent(37,115231.1); h_SL1L261->SetBinContent(38,112159.4); h_SL1L261->SetBinContent(39,100459.1); h_SL1L261->SetBinContent(40,64182.51); h_SL1L261->SetBinContent(41,52878.95); h_SL1L261->SetBinContent(42,50121.21); h_SL1L261->SetBinContent(43,47898.96); h_SL1L261->SetBinContent(44,47163.89); h_SL1L261->SetBinContent(45,47159.02); h_SL1L261->SetBinContent(46,48074.21); h_SL1L261->SetBinContent(47,48315.18); h_SL1L261->SetBinContent(48,46202.45); h_SL1L261->SetBinContent(49,44644.68); h_SL1L261->SetBinContent(50,44824.8); h_SL1L261->SetBinContent(51,43546.94); h_SL1L261->SetBinContent(52,41475.6); h_SL1L261->SetBinContent(53,43705.15); h_SL1L261->SetBinContent(54,43615.09); h_SL1L261->SetBinContent(55,43843.89); h_SL1L261->SetBinContent(56,44038.61); h_SL1L261->SetBinContent(57,42320.2); h_SL1L261->SetBinContent(58,41894.25); h_SL1L261->SetBinContent(59,40368.12); h_SL1L261->SetMaximum(132515.7); 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,54750.71); h_SL1L362->SetBinContent(2,54575.46); h_SL1L362->SetBinContent(3,53492.32); h_SL1L362->SetBinContent(4,53416.87); h_SL1L362->SetBinContent(5,56444.78); h_SL1L362->SetBinContent(6,57944.13); h_SL1L362->SetBinContent(7,55884.96); h_SL1L362->SetBinContent(8,55188.83); h_SL1L362->SetBinContent(9,50693.21); h_SL1L362->SetBinContent(10,46601.63); h_SL1L362->SetBinContent(11,46913.18); h_SL1L362->SetBinContent(12,48777.64); h_SL1L362->SetBinContent(13,50766.23); h_SL1L362->SetBinContent(14,52774.29); h_SL1L362->SetBinContent(15,53107.75); h_SL1L362->SetBinContent(16,49933.79); h_SL1L362->SetBinContent(17,51649.77); h_SL1L362->SetBinContent(18,52981.18); h_SL1L362->SetBinContent(19,55488.21); h_SL1L362->SetBinContent(20,55451.7); h_SL1L362->SetBinContent(21,58046.36); h_SL1L362->SetBinContent(22,57824.87); h_SL1L362->SetBinContent(23,58866.62); h_SL1L362->SetBinContent(24,59219.56); h_SL1L362->SetBinContent(25,60022.78); h_SL1L362->SetBinContent(26,54719.07); h_SL1L362->SetBinContent(27,55692.67); h_SL1L362->SetBinContent(28,56481.29); h_SL1L362->SetBinContent(29,56561.61); h_SL1L362->SetBinContent(30,56749.03); h_SL1L362->SetBinContent(31,55286.19); h_SL1L362->SetBinContent(32,55855.75); h_SL1L362->SetBinContent(33,84231.48); h_SL1L362->SetBinContent(34,103197.3); h_SL1L362->SetBinContent(35,108574.1); h_SL1L362->SetBinContent(36,112324.9); h_SL1L362->SetBinContent(37,113958.1); h_SL1L362->SetBinContent(38,105996.4); h_SL1L362->SetBinContent(39,82780.81); h_SL1L362->SetBinContent(40,53652.97); h_SL1L362->SetBinContent(41,49342.33); h_SL1L362->SetBinContent(42,47940.34); h_SL1L362->SetBinContent(43,46781.75); h_SL1L362->SetBinContent(44,45635.32); h_SL1L362->SetBinContent(45,45800.84); h_SL1L362->SetBinContent(46,46387.44); h_SL1L362->SetBinContent(47,46153.77); h_SL1L362->SetBinContent(48,44559.49); h_SL1L362->SetBinContent(49,43773.3); h_SL1L362->SetBinContent(50,43150.2); h_SL1L362->SetBinContent(51,41005.83); h_SL1L362->SetBinContent(52,42154.69); h_SL1L362->SetBinContent(53,42553.86); h_SL1L362->SetBinContent(54,41468.29); h_SL1L362->SetBinContent(55,43055.27); h_SL1L362->SetBinContent(56,41614.34); h_SL1L362->SetBinContent(57,40716.18); h_SL1L362->SetBinContent(58,39448.06); h_SL1L362->SetBinContent(59,38442.82); h_SL1L362->SetMaximum(132515.7); 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,6050.958); h_SL1L463->SetBinContent(3,5211.224); h_SL1L463->SetBinContent(4,4836.386); h_SL1L463->SetBinContent(5,4339.847); h_SL1L463->SetBinContent(6,4588.116); h_SL1L463->SetBinContent(7,4816.914); h_SL1L463->SetBinContent(8,4773.101); h_SL1L463->SetBinContent(9,5196.62); h_SL1L463->SetBinContent(10,5062.749); h_SL1L463->SetBinContent(11,5868.407); h_SL1L463->SetBinContent(12,5661.516); h_SL1L463->SetBinContent(13,5870.841); h_SL1L463->SetBinContent(14,6004.712); h_SL1L463->SetBinContent(15,5919.521); h_SL1L463->SetBinContent(16,5384.039); h_SL1L463->SetBinContent(17,4512.662); h_SL1L463->SetBinContent(18,4305.771); h_SL1L463->SetBinContent(19,4235.184); h_SL1L463->SetBinContent(20,4444.509); h_SL1L463->SetBinContent(21,4047.765); h_SL1L463->SetBinContent(22,4186.504); h_SL1L463->SetBinContent(23,3950.405); h_SL1L463->SetBinContent(24,3991.783); h_SL1L463->SetBinContent(25,3242.106); h_SL1L463->SetBinContent(26,3996.651); h_SL1L463->SetBinContent(27,3724.041); h_SL1L463->SetBinContent(28,3480.64); h_SL1L463->SetBinContent(29,3368.675); h_SL1L463->SetBinContent(30,3417.355); h_SL1L463->SetBinContent(31,3633.983); h_SL1L463->SetBinContent(32,3217.766); h_SL1L463->SetBinContent(33,3210.464); h_SL1L463->SetBinContent(34,3984.481); h_SL1L463->SetBinContent(35,4636.796); h_SL1L463->SetBinContent(36,4145.125); h_SL1L463->SetBinContent(37,3395.449); h_SL1L463->SetBinContent(38,3789.76); h_SL1L463->SetBinContent(39,4106.181); h_SL1L463->SetBinContent(40,2497.298); h_SL1L463->SetBinContent(41,2526.506); h_SL1L463->SetBinContent(42,2867.268); h_SL1L463->SetBinContent(43,3071.726); h_SL1L463->SetBinContent(44,3268.881); h_SL1L463->SetBinContent(45,2623.867); h_SL1L463->SetBinContent(46,2838.06); h_SL1L463->SetBinContent(47,2414.542); h_SL1L463->SetBinContent(48,2217.387); h_SL1L463->SetBinContent(49,2029.968); h_SL1L463->SetBinContent(50,2093.252); h_SL1L463->SetBinContent(51,2151.668); h_SL1L463->SetBinContent(52,2064.044); h_SL1L463->SetBinContent(53,1910.701); h_SL1L463->SetBinContent(54,2037.27); h_SL1L463->SetBinContent(56,2115.158); h_SL1L463->SetBinContent(57,2127.328); h_SL1L463->SetBinContent(58,3273.749); h_SL1L463->SetBinContent(59,3702.135); h_SL1L463->SetMaximum(132515.7); 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 6724"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }