void RatesPerCell_Removing_noisy_cells_run_6811_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13736.32,67.5,123626.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6811",60,0,60); h_SL1L160->SetBinContent(1,18370.67); h_SL1L160->SetBinContent(2,18268.05); h_SL1L160->SetBinContent(3,18353.2); h_SL1L160->SetBinContent(4,17746.23); h_SL1L160->SetBinContent(5,17375.06); h_SL1L160->SetBinContent(6,18051.9); h_SL1L160->SetBinContent(7,17700.38); h_SL1L160->SetBinContent(8,17785.53); h_SL1L160->SetBinContent(9,16108.72); h_SL1L160->SetBinContent(10,14761.6); h_SL1L160->SetBinContent(11,14737.58); h_SL1L160->SetBinContent(12,15285.6); h_SL1L160->SetBinContent(13,16206.97); h_SL1L160->SetBinContent(14,15962.44); h_SL1L160->SetBinContent(15,16069.42); h_SL1L160->SetBinContent(16,15191.71); h_SL1L160->SetBinContent(17,15805.24); h_SL1L160->SetBinContent(18,16250.64); h_SL1L160->SetBinContent(19,17189.48); h_SL1L160->SetBinContent(20,17016.99); h_SL1L160->SetBinContent(21,17940.55); h_SL1L160->SetBinContent(22,17892.51); h_SL1L160->SetBinContent(23,17645.79); h_SL1L160->SetBinContent(24,17250.61); h_SL1L160->SetBinContent(25,17689.46); h_SL1L160->SetBinContent(26,17436.19); h_SL1L160->SetBinContent(27,17220.04); h_SL1L160->SetBinContent(28,17486.41); h_SL1L160->SetBinContent(29,17479.86); h_SL1L160->SetBinContent(30,18113.03); h_SL1L160->SetBinContent(31,17272.44); h_SL1L160->SetBinContent(32,19003.84); h_SL1L160->SetBinContent(33,39516.36); h_SL1L160->SetBinContent(34,54893.66); h_SL1L160->SetBinContent(35,57539.88); h_SL1L160->SetBinContent(36,58714.52); h_SL1L160->SetBinContent(37,63421.81); h_SL1L160->SetBinContent(38,61166.41); h_SL1L160->SetBinContent(39,41859.09); h_SL1L160->SetBinContent(40,18702.53); h_SL1L160->SetBinContent(41,16698.22); h_SL1L160->SetBinContent(42,15534.5); h_SL1L160->SetBinContent(43,15436.25); h_SL1L160->SetBinContent(44,15250.67); h_SL1L160->SetBinContent(45,14351.13); h_SL1L160->SetBinContent(46,13947.21); h_SL1L160->SetBinContent(47,13473.42); h_SL1L160->SetBinContent(48,12604.45); h_SL1L160->SetBinContent(49,12761.65); h_SL1L160->SetBinContent(50,12709.25); h_SL1L160->SetBinContent(51,12067.35); h_SL1L160->SetBinContent(52,12073.9); h_SL1L160->SetBinContent(53,12593.53); h_SL1L160->SetBinContent(54,11800.98); h_SL1L160->SetBinContent(55,12218); h_SL1L160->SetBinContent(56,12294.42); h_SL1L160->SetBinContent(57,13290.02); h_SL1L160->SetBinContent(58,13268.19); h_SL1L160->SetBinContent(59,13859.88); h_SL1L160->SetMaximum(109890.5); 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,18824.8); h_SL1L261->SetBinContent(2,18171.98); h_SL1L261->SetBinContent(3,18327); h_SL1L261->SetBinContent(4,18617.38); h_SL1L261->SetBinContent(5,17936.18); h_SL1L261->SetBinContent(6,19497.27); h_SL1L261->SetBinContent(7,18918.69); h_SL1L261->SetBinContent(8,19191.6); h_SL1L261->SetBinContent(9,18030.06); h_SL1L261->SetBinContent(10,16429.67); h_SL1L261->SetBinContent(11,16132.74); h_SL1L261->SetBinContent(12,16488.62); h_SL1L261->SetBinContent(13,17130.53); h_SL1L261->SetBinContent(14,17768.06); h_SL1L261->SetBinContent(15,18003.86); h_SL1L261->SetBinContent(16,17918.71); h_SL1L261->SetBinContent(17,17619.6); h_SL1L261->SetBinContent(18,18115.21); h_SL1L261->SetBinContent(19,19348.8); h_SL1L261->SetBinContent(20,19481.99); h_SL1L261->SetBinContent(21,20204.68); h_SL1L261->SetBinContent(22,20374.98); h_SL1L261->SetBinContent(23,20654.45); h_SL1L261->SetBinContent(24,20942.65); h_SL1L261->SetBinContent(25,20861.86); h_SL1L261->SetBinContent(26,20752.7); h_SL1L261->SetBinContent(27,20045.29); h_SL1L261->SetBinContent(28,20973.21); h_SL1L261->SetBinContent(29,21027.8); h_SL1L261->SetBinContent(30,21547.43); h_SL1L261->SetBinContent(31,21388.05); h_SL1L261->SetBinContent(32,23267.91); h_SL1L261->SetBinContent(33,34798.15); h_SL1L261->SetBinContent(34,66620.41); h_SL1L261->SetBinContent(35,74687.87); h_SL1L261->SetBinContent(36,79716.11); h_SL1L261->SetBinContent(37,83093.75); h_SL1L261->SetBinContent(38,81886.36); h_SL1L261->SetBinContent(39,69410.73); h_SL1L261->SetBinContent(40,33289.46); h_SL1L261->SetBinContent(41,22492.82); h_SL1L261->SetBinContent(42,19390.29); h_SL1L261->SetBinContent(43,18634.85); h_SL1L261->SetBinContent(44,17831.38); h_SL1L261->SetBinContent(45,17630.51); h_SL1L261->SetBinContent(46,17781.16); h_SL1L261->SetBinContent(47,17737.5); h_SL1L261->SetBinContent(48,17200.39); h_SL1L261->SetBinContent(49,23451.31); h_SL1L261->SetBinContent(50,16252.82); h_SL1L261->SetBinContent(51,15386.03); h_SL1L261->SetBinContent(52,14899.15); h_SL1L261->SetBinContent(53,15641.48); h_SL1L261->SetBinContent(54,15512.67); h_SL1L261->SetBinContent(55,15383.85); h_SL1L261->SetBinContent(56,17968.93); h_SL1L261->SetBinContent(57,14988.66); h_SL1L261->SetBinContent(58,14731.03); h_SL1L261->SetBinContent(59,14198.29); h_SL1L261->SetMaximum(95557.81); 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,16846.69); h_SL1L362->SetBinContent(2,16744.07); h_SL1L362->SetBinContent(3,17097.78); h_SL1L362->SetBinContent(4,16532.29); h_SL1L362->SetBinContent(5,17390.34); h_SL1L362->SetBinContent(6,17722.21); h_SL1L362->SetBinContent(7,17333.58); h_SL1L362->SetBinContent(8,17032.28); h_SL1L362->SetBinContent(9,15877.29); h_SL1L362->SetBinContent(10,14848.93); h_SL1L362->SetBinContent(11,15008.31); h_SL1L362->SetBinContent(12,15137.13); h_SL1L362->SetBinContent(13,15990.82); h_SL1L362->SetBinContent(14,16320.5); h_SL1L362->SetBinContent(15,16519.19); h_SL1L362->SetBinContent(16,15586.9); h_SL1L362->SetBinContent(17,16394.74); h_SL1L362->SetBinContent(18,16857.61); h_SL1L362->SetBinContent(19,17034.46); h_SL1L362->SetBinContent(20,17617.41); h_SL1L362->SetBinContent(21,18973.27); h_SL1L362->SetBinContent(22,18658.87); h_SL1L362->SetBinContent(23,19104.27); h_SL1L362->SetBinContent(24,18966.72); h_SL1L362->SetBinContent(25,18778.95); h_SL1L362->SetBinContent(26,17652.35); h_SL1L362->SetBinContent(27,18296.43); h_SL1L362->SetBinContent(28,18744.02); h_SL1L362->SetBinContent(29,18914.32); h_SL1L362->SetBinContent(30,18840.08); h_SL1L362->SetBinContent(31,19650.11); h_SL1L362->SetBinContent(32,21811.62); h_SL1L362->SetBinContent(33,45426.68); h_SL1L362->SetBinContent(34,63048.46); h_SL1L362->SetBinContent(35,66847.48); h_SL1L362->SetBinContent(36,70019.88); h_SL1L362->SetBinContent(37,72377.89); h_SL1L362->SetBinContent(38,66426.09); h_SL1L362->SetBinContent(39,47374.22); h_SL1L362->SetBinContent(40,20582.39); h_SL1L362->SetBinContent(41,17656.71); h_SL1L362->SetBinContent(42,16691.67); h_SL1L362->SetBinContent(43,16519.19); h_SL1L362->SetBinContent(44,15883.84); h_SL1L362->SetBinContent(45,15567.25); h_SL1L362->SetBinContent(46,15916.59); h_SL1L362->SetBinContent(47,15864.19); h_SL1L362->SetBinContent(48,14464.66); h_SL1L362->SetBinContent(49,14711.38); h_SL1L362->SetBinContent(50,14593.48); h_SL1L362->SetBinContent(51,13447.22); h_SL1L362->SetBinContent(52,13619.71); h_SL1L362->SetBinContent(53,15333.63); h_SL1L362->SetBinContent(54,13567.31); h_SL1L362->SetBinContent(55,13429.76); h_SL1L362->SetBinContent(56,16017.02); h_SL1L362->SetBinContent(57,13296.57); h_SL1L362->SetBinContent(58,12960.34); h_SL1L362->SetBinContent(59,12870.82); h_SL1L362->SetMaximum(95557.81); 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,16464.61); h_SL1L463->SetBinContent(3,15809.6); h_SL1L463->SetBinContent(4,15482.1); h_SL1L463->SetBinContent(5,14973.38); h_SL1L463->SetBinContent(6,16827.04); h_SL1L463->SetBinContent(7,15746.29); h_SL1L463->SetBinContent(8,15942.79); h_SL1L463->SetBinContent(9,15800.87); h_SL1L463->SetBinContent(10,14774.7); h_SL1L463->SetBinContent(11,14268.16); h_SL1L463->SetBinContent(12,14881.68); h_SL1L463->SetBinContent(13,15132.76); h_SL1L463->SetBinContent(14,16099.99); h_SL1L463->SetBinContent(15,16128.37); h_SL1L463->SetBinContent(16,15093.46); h_SL1L463->SetBinContent(17,14683); h_SL1L463->SetBinContent(18,15250.67); h_SL1L463->SetBinContent(19,15774.67); h_SL1L463->SetBinContent(20,15739.73); h_SL1L463->SetBinContent(21,16012.65); h_SL1L463->SetBinContent(22,16726.61); h_SL1L463->SetBinContent(23,16519.19); h_SL1L463->SetBinContent(24,17115.24); h_SL1L463->SetBinContent(25,16287.75); h_SL1L463->SetBinContent(26,16204.79); h_SL1L463->SetBinContent(27,15737.55); h_SL1L463->SetBinContent(28,15846.72); h_SL1L463->SetBinContent(29,16073.79); h_SL1L463->SetBinContent(30,16829.22); h_SL1L463->SetBinContent(31,17268.08); h_SL1L463->SetBinContent(32,17931.81); h_SL1L463->SetBinContent(33,24342.12); h_SL1L463->SetBinContent(34,52070.6); h_SL1L463->SetBinContent(35,62144.55); h_SL1L463->SetBinContent(36,62972.04); h_SL1L463->SetBinContent(37,60714.46); h_SL1L463->SetBinContent(38,63196.92); h_SL1L463->SetBinContent(39,58020.21); h_SL1L463->SetBinContent(40,24427.27); h_SL1L463->SetBinContent(41,16287.75); h_SL1L463->SetBinContent(42,14427.54); h_SL1L463->SetBinContent(43,14076.03); h_SL1L463->SetBinContent(44,13634.99); h_SL1L463->SetBinContent(45,12294.42); h_SL1L463->SetBinContent(46,12842.44); h_SL1L463->SetBinContent(47,12473.45); h_SL1L463->SetBinContent(48,11851.2); h_SL1L463->SetBinContent(49,10849.04); h_SL1L463->SetBinContent(50,11397.06); h_SL1L463->SetBinContent(51,10672.19); h_SL1L463->SetBinContent(52,10615.42); h_SL1L463->SetBinContent(53,10877.42); h_SL1L463->SetBinContent(54,10429.84); h_SL1L463->SetBinContent(56,11069.56); h_SL1L463->SetBinContent(57,10807.56); h_SL1L463->SetBinContent(58,11993.11); h_SL1L463->SetBinContent(59,11997.48); h_SL1L463->SetMaximum(95557.81); 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 6811"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }