void RatesPerCell_Removing_noisy_cells_run_6719_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:55:41 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18870.35,67.5,169833.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6719",60,0,60); h_SL1L160->SetBinContent(1,50612.07); h_SL1L160->SetBinContent(2,48451.2); h_SL1L160->SetBinContent(3,48914.59); h_SL1L160->SetBinContent(4,46075.71); h_SL1L160->SetBinContent(5,43431.95); h_SL1L160->SetBinContent(6,44368.48); h_SL1L160->SetBinContent(7,42441.75); h_SL1L160->SetBinContent(8,42549.06); h_SL1L160->SetBinContent(9,39841.88); h_SL1L160->SetBinContent(10,36690.82); h_SL1L160->SetBinContent(11,35407.96); h_SL1L160->SetBinContent(12,35217.73); h_SL1L160->SetBinContent(13,37432.25); h_SL1L160->SetBinContent(14,35842.09); h_SL1L160->SetBinContent(15,35476.25); h_SL1L160->SetBinContent(16,35266.5); h_SL1L160->SetBinContent(17,35149.44); h_SL1L160->SetBinContent(18,35837.21); h_SL1L160->SetBinContent(19,37837.11); h_SL1L160->SetBinContent(20,37124.95); h_SL1L160->SetBinContent(21,38290.74); h_SL1L160->SetBinContent(22,39690.67); h_SL1L160->SetBinContent(23,38549.27); h_SL1L160->SetBinContent(24,35471.37); h_SL1L160->SetBinContent(25,36593.27); h_SL1L160->SetBinContent(26,35466.49); h_SL1L160->SetBinContent(27,33910.48); h_SL1L160->SetBinContent(28,35212.85); h_SL1L160->SetBinContent(29,33520.25); h_SL1L160->SetBinContent(30,33442.21); h_SL1L160->SetBinContent(31,32637.37); h_SL1L160->SetBinContent(32,30647.23); h_SL1L160->SetBinContent(33,40485.75); h_SL1L160->SetBinContent(34,49914.54); h_SL1L160->SetBinContent(35,51982.73); h_SL1L160->SetBinContent(36,50197.45); h_SL1L160->SetBinContent(37,54002.14); h_SL1L160->SetBinContent(38,54099.7); h_SL1L160->SetBinContent(39,43236.83); h_SL1L160->SetBinContent(40,30344.8); h_SL1L160->SetBinContent(41,29764.34); h_SL1L160->SetBinContent(42,29452.16); h_SL1L160->SetBinContent(43,29222.91); h_SL1L160->SetBinContent(44,28871.71); h_SL1L160->SetBinContent(45,26988.88); h_SL1L160->SetBinContent(46,25179.21); h_SL1L160->SetBinContent(47,24218.28); h_SL1L160->SetBinContent(48,22950.06); h_SL1L160->SetBinContent(49,24067.07); h_SL1L160->SetBinContent(50,25169.46); h_SL1L160->SetBinContent(51,24237.79); h_SL1L160->SetBinContent(52,24647.53); h_SL1L160->SetBinContent(53,24842.64); h_SL1L160->SetBinContent(54,24657.29); h_SL1L160->SetBinContent(55,25637.72); h_SL1L160->SetBinContent(56,26364.52); h_SL1L160->SetBinContent(57,29383.88); h_SL1L160->SetBinContent(58,31330.12); h_SL1L160->SetBinContent(59,33417.82); h_SL1L160->SetMaximum(150962.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,57187.34); h_SL1L261->SetBinContent(2,55060.62); h_SL1L261->SetBinContent(3,55026.48); h_SL1L261->SetBinContent(4,55538.65); h_SL1L261->SetBinContent(5,55060.62); h_SL1L261->SetBinContent(6,59528.69); h_SL1L261->SetBinContent(7,57997.06); h_SL1L261->SetBinContent(8,57031.25); h_SL1L261->SetBinContent(9,55816.68); h_SL1L261->SetBinContent(10,49816.98); h_SL1L261->SetBinContent(11,47504.91); h_SL1L261->SetBinContent(12,49963.32); h_SL1L261->SetBinContent(13,51241.3); h_SL1L261->SetBinContent(14,53709.47); h_SL1L261->SetBinContent(15,53919.22); h_SL1L261->SetBinContent(16,53924.09); h_SL1L261->SetBinContent(17,53104.62); h_SL1L261->SetBinContent(18,53597.28); h_SL1L261->SetBinContent(19,56714.2); h_SL1L261->SetBinContent(20,57036.13); h_SL1L261->SetBinContent(21,58523.86); h_SL1L261->SetBinContent(22,59421.38); h_SL1L261->SetBinContent(23,61245.68); h_SL1L261->SetBinContent(24,61026.17); h_SL1L261->SetBinContent(25,61411.52); h_SL1L261->SetBinContent(26,59187.24); h_SL1L261->SetBinContent(27,56631.27); h_SL1L261->SetBinContent(28,56675.18); h_SL1L261->SetBinContent(29,59309.19); h_SL1L261->SetBinContent(30,58787.26); h_SL1L261->SetBinContent(31,57992.18); h_SL1L261->SetBinContent(32,56358.12); h_SL1L261->SetBinContent(33,66723.45); h_SL1L261->SetBinContent(34,98863.28); h_SL1L261->SetBinContent(35,107360.4); h_SL1L261->SetBinContent(36,110613.9); h_SL1L261->SetBinContent(37,114150.3); h_SL1L261->SetBinContent(38,111277.3); h_SL1L261->SetBinContent(39,101482.7); h_SL1L261->SetBinContent(40,63855.3); h_SL1L261->SetBinContent(41,53002.19); h_SL1L261->SetBinContent(42,49202.38); h_SL1L261->SetBinContent(43,47568.32); h_SL1L261->SetBinContent(44,47436.62); h_SL1L261->SetBinContent(45,47026.88); h_SL1L261->SetBinContent(46,48558.51); h_SL1L261->SetBinContent(47,48782.89); h_SL1L261->SetBinContent(48,46412.28); h_SL1L261->SetBinContent(49,45231.85); h_SL1L261->SetBinContent(50,44895.29); h_SL1L261->SetBinContent(51,42714.91); h_SL1L261->SetBinContent(52,41607.64); h_SL1L261->SetBinContent(53,42675.88); h_SL1L261->SetBinContent(54,43861.19); h_SL1L261->SetBinContent(55,43334.39); h_SL1L261->SetBinContent(56,43919.72); h_SL1L261->SetBinContent(57,42388.09); h_SL1L261->SetBinContent(58,40695.5); h_SL1L261->SetBinContent(59,39178.5); h_SL1L261->SetMaximum(131272.9); 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,54158.23); h_SL1L362->SetBinContent(2,53285.1); h_SL1L362->SetBinContent(3,54255.79); h_SL1L362->SetBinContent(4,51880.3); h_SL1L362->SetBinContent(5,56197.15); h_SL1L362->SetBinContent(6,56611.76); h_SL1L362->SetBinContent(7,55689.86); h_SL1L362->SetBinContent(8,55416.7); h_SL1L362->SetBinContent(9,50338.91); h_SL1L362->SetBinContent(10,46739.09); h_SL1L362->SetBinContent(11,46061.08); h_SL1L362->SetBinContent(12,48197.55); h_SL1L362->SetBinContent(13,50246.23); h_SL1L362->SetBinContent(14,53065.6); h_SL1L362->SetBinContent(15,52290.03); h_SL1L362->SetBinContent(16,49343.84); h_SL1L362->SetBinContent(17,50616.95); h_SL1L362->SetBinContent(18,54211.89); h_SL1L362->SetBinContent(19,55148.42); h_SL1L362->SetBinContent(20,54948.43); h_SL1L362->SetBinContent(21,57636.1); h_SL1L362->SetBinContent(22,58645.8); h_SL1L362->SetBinContent(23,59387.23); h_SL1L362->SetBinContent(24,58977.5); h_SL1L362->SetBinContent(25,59075.05); h_SL1L362->SetBinContent(26,55133.79); h_SL1L362->SetBinContent(27,55124.04); h_SL1L362->SetBinContent(28,55631.32); h_SL1L362->SetBinContent(29,57080.03); h_SL1L362->SetBinContent(30,56148.37); h_SL1L362->SetBinContent(31,55094.77); h_SL1L362->SetBinContent(32,56084.96); h_SL1L362->SetBinContent(33,83932.33); h_SL1L362->SetBinContent(34,102946); h_SL1L362->SetBinContent(35,108121.3); h_SL1L362->SetBinContent(36,111926); h_SL1L362->SetBinContent(37,113516.2); h_SL1L362->SetBinContent(38,108165.2); h_SL1L362->SetBinContent(39,82547.03); h_SL1L362->SetBinContent(40,53841.17); h_SL1L362->SetBinContent(41,49602.36); h_SL1L362->SetBinContent(42,47168.34); h_SL1L362->SetBinContent(43,46900.06); h_SL1L362->SetBinContent(44,44680.66); h_SL1L362->SetBinContent(45,45617.2); h_SL1L362->SetBinContent(46,46846.41); h_SL1L362->SetBinContent(47,45461.11); h_SL1L362->SetBinContent(48,44324.58); h_SL1L362->SetBinContent(49,43861.19); h_SL1L362->SetBinContent(50,42471.02); h_SL1L362->SetBinContent(51,40944.27); h_SL1L362->SetBinContent(52,40988.16); h_SL1L362->SetBinContent(53,42934.41); h_SL1L362->SetBinContent(54,39919.93); h_SL1L362->SetBinContent(55,42392.97); h_SL1L362->SetBinContent(56,41778.37); h_SL1L362->SetBinContent(57,41641.79); h_SL1L362->SetBinContent(58,39958.95); h_SL1L362->SetBinContent(59,39012.66); h_SL1L362->SetMaximum(131272.9); 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,42690.52); h_SL1L463->SetBinContent(3,41075.96); h_SL1L463->SetBinContent(4,39544.34); h_SL1L463->SetBinContent(5,36500.59); h_SL1L463->SetBinContent(6,38100.51); h_SL1L463->SetBinContent(7,38007.83); h_SL1L463->SetBinContent(8,39022.41); h_SL1L463->SetBinContent(9,39446.78); h_SL1L463->SetBinContent(10,37383.47); h_SL1L463->SetBinContent(11,38529.75); h_SL1L463->SetBinContent(12,38944.37); h_SL1L463->SetBinContent(13,39880.91); h_SL1L463->SetBinContent(14,43158.79); h_SL1L463->SetBinContent(15,41875.93); h_SL1L463->SetBinContent(16,40071.14); h_SL1L463->SetBinContent(17,36500.59); h_SL1L463->SetBinContent(18,37198.11); h_SL1L463->SetBinContent(19,38095.63); h_SL1L463->SetBinContent(20,37466.39); h_SL1L463->SetBinContent(21,37763.94); h_SL1L463->SetBinContent(22,38280.98); h_SL1L463->SetBinContent(23,37939.54); h_SL1L463->SetBinContent(24,38417.56); h_SL1L463->SetBinContent(25,36066.46); h_SL1L463->SetBinContent(26,36661.55); h_SL1L463->SetBinContent(27,34695.8); h_SL1L463->SetBinContent(28,34486.05); h_SL1L463->SetBinContent(29,35081.15); h_SL1L463->SetBinContent(30,34300.7); h_SL1L463->SetBinContent(31,33964.13); h_SL1L463->SetBinContent(32,32505.67); h_SL1L463->SetBinContent(33,34178.75); h_SL1L463->SetBinContent(34,51104.73); h_SL1L463->SetBinContent(35,56919.07); h_SL1L463->SetBinContent(36,58075.11); h_SL1L463->SetBinContent(37,54241.15); h_SL1L463->SetBinContent(38,54719.18); h_SL1L463->SetBinContent(39,53568.02); h_SL1L463->SetBinContent(40,30715.52); h_SL1L463->SetBinContent(41,25827.96); h_SL1L463->SetBinContent(42,25803.57); h_SL1L463->SetBinContent(43,25564.56); h_SL1L463->SetBinContent(44,25471.88); h_SL1L463->SetBinContent(45,23437.84); h_SL1L463->SetBinContent(46,24203.65); h_SL1L463->SetBinContent(47,23467.1); h_SL1L463->SetBinContent(48,22354.96); h_SL1L463->SetBinContent(49,21306.24); h_SL1L463->SetBinContent(50,21901.33); h_SL1L463->SetBinContent(51,21174.54); h_SL1L463->SetBinContent(52,20320.92); h_SL1L463->SetBinContent(53,20511.15); h_SL1L463->SetBinContent(54,21247.7); h_SL1L463->SetBinContent(56,22506.18); h_SL1L463->SetBinContent(57,24442.66); h_SL1L463->SetBinContent(58,28486.36); h_SL1L463->SetBinContent(59,29657.03); h_SL1L463->SetMaximum(131272.9); 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 6719"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }