void RatesPerCell_Removing_noisy_cells_run_6873_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13399.94,67.5,120599.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 6873",60,0,60); h_SL1L160->SetBinContent(1,16756.29); h_SL1L160->SetBinContent(2,16131.59); h_SL1L160->SetBinContent(3,16333.26); h_SL1L160->SetBinContent(4,15474.91); h_SL1L160->SetBinContent(5,15467.53); h_SL1L160->SetBinContent(6,15526.56); h_SL1L160->SetBinContent(7,14862.51); h_SL1L160->SetBinContent(8,15315.05); h_SL1L160->SetBinContent(9,13861.51); h_SL1L160->SetBinContent(10,12705.56); h_SL1L160->SetBinContent(11,12921.99); h_SL1L160->SetBinContent(12,13246.64); h_SL1L160->SetBinContent(13,14026.29); h_SL1L160->SetBinContent(14,13588.51); h_SL1L160->SetBinContent(15,13618.02); h_SL1L160->SetBinContent(16,12909.7); h_SL1L160->SetBinContent(17,13519.64); h_SL1L160->SetBinContent(18,13654.91); h_SL1L160->SetBinContent(19,14419.8); h_SL1L160->SetBinContent(20,14104.99); h_SL1L160->SetBinContent(21,14985.48); h_SL1L160->SetBinContent(22,15022.37); h_SL1L160->SetBinContent(23,14678.05); h_SL1L160->SetBinContent(24,14402.59); h_SL1L160->SetBinContent(25,14235.34); h_SL1L160->SetBinContent(26,14250.1); h_SL1L160->SetBinContent(27,14016.45); h_SL1L160->SetBinContent(28,13996.78); h_SL1L160->SetBinContent(29,14240.26); h_SL1L160->SetBinContent(30,14370.62); h_SL1L160->SetBinContent(31,14341.1); h_SL1L160->SetBinContent(32,15056.8); h_SL1L160->SetBinContent(33,29415.12); h_SL1L160->SetBinContent(34,41087.71); h_SL1L160->SetBinContent(35,42875.74); h_SL1L160->SetBinContent(36,42115.77); h_SL1L160->SetBinContent(37,46692.82); h_SL1L160->SetBinContent(38,45517.2); h_SL1L160->SetBinContent(39,30991.63); h_SL1L160->SetBinContent(40,14626.4); h_SL1L160->SetBinContent(41,13268.78); h_SL1L160->SetBinContent(42,12720.32); h_SL1L160->SetBinContent(43,12162.02); h_SL1L160->SetBinContent(44,11972.64); h_SL1L160->SetBinContent(45,11429.1); h_SL1L160->SetBinContent(46,10747.83); h_SL1L160->SetBinContent(47,10388.75); h_SL1L160->SetBinContent(48,9724.698); h_SL1L160->SetBinContent(49,9820.617); h_SL1L160->SetBinContent(50,10081.32); h_SL1L160->SetBinContent(51,9709.941); h_SL1L160->SetBinContent(52,9665.671); h_SL1L160->SetBinContent(53,9916.536); h_SL1L160->SetBinContent(54,9643.536); h_SL1L160->SetBinContent(55,10046.89); h_SL1L160->SetBinContent(56,10405.97); h_SL1L160->SetBinContent(57,11375); h_SL1L160->SetBinContent(58,11697.18); h_SL1L160->SetBinContent(59,12366.16); h_SL1L160->SetMaximum(107199.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,18623.02); h_SL1L261->SetBinContent(2,17260.48); h_SL1L261->SetBinContent(3,17403.13); h_SL1L261->SetBinContent(4,17531.02); h_SL1L261->SetBinContent(5,17540.86); h_SL1L261->SetBinContent(6,19006.69); h_SL1L261->SetBinContent(7,18436.1); h_SL1L261->SetBinContent(8,18281.15); h_SL1L261->SetBinContent(9,17658.91); h_SL1L261->SetBinContent(10,15774.97); h_SL1L261->SetBinContent(11,15115.83); h_SL1L261->SetBinContent(12,15560.99); h_SL1L261->SetBinContent(13,16721.86); h_SL1L261->SetBinContent(14,18113.91); h_SL1L261->SetBinContent(15,17850.75); h_SL1L261->SetBinContent(16,17135.05); h_SL1L261->SetBinContent(17,17122.75); h_SL1L261->SetBinContent(18,17275.24); h_SL1L261->SetBinContent(19,18930.45); h_SL1L261->SetBinContent(20,18937.83); h_SL1L261->SetBinContent(21,19786.34); h_SL1L261->SetBinContent(22,20113.45); h_SL1L261->SetBinContent(23,20777.5); h_SL1L261->SetBinContent(24,20435.64); h_SL1L261->SetBinContent(25,21048.04); h_SL1L261->SetBinContent(26,19877.34); h_SL1L261->SetBinContent(27,19587.13); h_SL1L261->SetBinContent(28,19596.96); h_SL1L261->SetBinContent(29,20644.69); h_SL1L261->SetBinContent(30,21461.23); h_SL1L261->SetBinContent(31,21360.4); h_SL1L261->SetBinContent(32,23293.53); h_SL1L261->SetBinContent(33,33844.61); h_SL1L261->SetBinContent(34,64732.95); h_SL1L261->SetBinContent(35,73606.67); h_SL1L261->SetBinContent(36,78242.75); h_SL1L261->SetBinContent(37,80778.45); h_SL1L261->SetBinContent(38,81058.83); h_SL1L261->SetBinContent(39,67740.86); h_SL1L261->SetBinContent(40,32632.09); h_SL1L261->SetBinContent(41,22105.61); h_SL1L261->SetBinContent(42,18841.91); h_SL1L261->SetBinContent(43,18022.91); h_SL1L261->SetBinContent(44,17415.42); h_SL1L261->SetBinContent(45,17223.59); h_SL1L261->SetBinContent(46,17501.51); h_SL1L261->SetBinContent(47,17361.32); h_SL1L261->SetBinContent(48,16623.48); h_SL1L261->SetBinContent(49,16348.02); h_SL1L261->SetBinContent(50,16018.45); h_SL1L261->SetBinContent(51,15078.94); h_SL1L261->SetBinContent(52,14678.05); h_SL1L261->SetBinContent(53,15029.75); h_SL1L261->SetBinContent(54,15270.78); h_SL1L261->SetBinContent(55,14567.37); h_SL1L261->SetBinContent(56,15012.53); h_SL1L261->SetBinContent(57,14773.97); h_SL1L261->SetBinContent(58,14077.94); h_SL1L261->SetBinContent(59,13822.16); h_SL1L261->SetMaximum(93217.65); 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,12243.18); h_SL1L362->SetBinContent(2,11911.16); h_SL1L362->SetBinContent(3,11911.16); h_SL1L362->SetBinContent(4,12046.43); h_SL1L362->SetBinContent(5,12388.29); h_SL1L362->SetBinContent(6,12324.35); h_SL1L362->SetBinContent(7,12543.24); h_SL1L362->SetBinContent(8,12437.48); h_SL1L362->SetBinContent(9,11569.29); h_SL1L362->SetBinContent(10,10568.29); h_SL1L362->SetBinContent(11,10590.43); h_SL1L362->SetBinContent(12,11138.89); h_SL1L362->SetBinContent(13,11537.32); h_SL1L362->SetBinContent(14,11576.67); h_SL1L362->SetBinContent(15,11795.56); h_SL1L362->SetBinContent(16,11355.32); h_SL1L362->SetBinContent(17,11451.24); h_SL1L362->SetBinContent(18,12398.13); h_SL1L362->SetBinContent(19,12371.08); h_SL1L362->SetBinContent(20,12454.7); h_SL1L362->SetBinContent(21,13413.89); h_SL1L362->SetBinContent(22,13106.45); h_SL1L362->SetBinContent(23,13276.16); h_SL1L362->SetBinContent(24,13458.16); h_SL1L362->SetBinContent(25,12823.62); h_SL1L362->SetBinContent(26,11957.89); h_SL1L362->SetBinContent(27,13074.48); h_SL1L362->SetBinContent(28,12447.32); h_SL1L362->SetBinContent(29,13332.72); h_SL1L362->SetBinContent(30,12887.56); h_SL1L362->SetBinContent(31,13445.86); h_SL1L362->SetBinContent(32,14382.91); h_SL1L362->SetBinContent(33,25408.66); h_SL1L362->SetBinContent(34,36119.61); h_SL1L362->SetBinContent(35,36928.77); h_SL1L362->SetBinContent(36,37774.82); h_SL1L362->SetBinContent(37,39958.82); h_SL1L362->SetBinContent(38,36154.04); h_SL1L362->SetBinContent(39,27376.23); h_SL1L362->SetBinContent(40,12870.35); h_SL1L362->SetBinContent(41,11652.91); h_SL1L362->SetBinContent(42,11997.24); h_SL1L362->SetBinContent(43,11657.83); h_SL1L362->SetBinContent(44,11569.29); h_SL1L362->SetBinContent(45,10865.89); h_SL1L362->SetBinContent(46,11057.72); h_SL1L362->SetBinContent(47,11109.37); h_SL1L362->SetBinContent(48,9874.726); h_SL1L362->SetBinContent(49,10420.72); h_SL1L362->SetBinContent(50,9946.05); h_SL1L362->SetBinContent(51,9714.86); h_SL1L362->SetBinContent(52,9567.293); h_SL1L362->SetBinContent(53,9724.698); h_SL1L362->SetBinContent(54,9535.32); h_SL1L362->SetBinContent(55,9559.915); h_SL1L362->SetBinContent(56,9495.969); h_SL1L362->SetBinContent(57,9638.617); h_SL1L362->SetBinContent(58,8893.401); h_SL1L362->SetBinContent(59,8844.212); h_SL1L362->SetMaximum(93217.65); 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,14488.67); h_SL1L463->SetBinContent(3,14021.37); h_SL1L463->SetBinContent(4,13649.99); h_SL1L463->SetBinContent(5,13288.45); h_SL1L463->SetBinContent(6,14077.94); h_SL1L463->SetBinContent(7,13809.86); h_SL1L463->SetBinContent(8,14171.4); h_SL1L463->SetBinContent(9,13871.34); h_SL1L463->SetBinContent(10,12885.1); h_SL1L463->SetBinContent(11,13170.4); h_SL1L463->SetBinContent(12,13440.94); h_SL1L463->SetBinContent(13,13620.48); h_SL1L463->SetBinContent(14,14746.91); h_SL1L463->SetBinContent(15,14422.26); h_SL1L463->SetBinContent(16,13603.26); h_SL1L463->SetBinContent(17,12909.7); h_SL1L463->SetBinContent(18,13285.99); h_SL1L463->SetBinContent(19,13413.89); h_SL1L463->SetBinContent(20,13367.16); h_SL1L463->SetBinContent(21,13903.32); h_SL1L463->SetBinContent(22,14011.53); h_SL1L463->SetBinContent(23,14223.05); h_SL1L463->SetBinContent(24,14540.32); h_SL1L463->SetBinContent(25,13863.97); h_SL1L463->SetBinContent(26,14117.29); h_SL1L463->SetBinContent(27,13654.91); h_SL1L463->SetBinContent(28,13517.18); h_SL1L463->SetBinContent(29,13613.1); h_SL1L463->SetBinContent(30,14146.8); h_SL1L463->SetBinContent(31,14129.59); h_SL1L463->SetBinContent(32,14682.97); h_SL1L463->SetBinContent(33,18706.64); h_SL1L463->SetBinContent(34,39803.88); h_SL1L463->SetBinContent(35,46702.66); h_SL1L463->SetBinContent(36,47939.76); h_SL1L463->SetBinContent(37,44444.87); h_SL1L463->SetBinContent(38,48146.36); h_SL1L463->SetBinContent(39,43921.01); h_SL1L463->SetBinContent(40,18475.45); h_SL1L463->SetBinContent(41,12949.05); h_SL1L463->SetBinContent(42,11441.4); h_SL1L463->SetBinContent(43,11146.27); h_SL1L463->SetBinContent(44,10944.59); h_SL1L463->SetBinContent(45,10115.75); h_SL1L463->SetBinContent(46,10105.91); h_SL1L463->SetBinContent(47,9778.807); h_SL1L463->SetBinContent(48,9427.104); h_SL1L463->SetBinContent(49,8735.996); h_SL1L463->SetBinContent(50,8922.915); h_SL1L463->SetBinContent(51,8522.023); h_SL1L463->SetBinContent(52,8359.699); h_SL1L463->SetBinContent(53,8681.888); h_SL1L463->SetBinContent(54,8684.348); h_SL1L463->SetBinContent(56,8701.563); h_SL1L463->SetBinContent(57,9190.996); h_SL1L463->SetBinContent(58,10531.4); h_SL1L463->SetBinContent(59,10769.97); h_SL1L463->SetMaximum(93217.65); 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 6873"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }