void RatesPerCell_Removing_noisy_cells_run_6643_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:45 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12469.31,67.5,112223.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6643",60,0,60); h_SL1L160->SetBinContent(1,9539.413); h_SL1L160->SetBinContent(2,9360.043); h_SL1L160->SetBinContent(3,9386.292); h_SL1L160->SetBinContent(4,9294.42); h_SL1L160->SetBinContent(5,9165.361); h_SL1L160->SetBinContent(6,9202.548); h_SL1L160->SetBinContent(7,9073.489); h_SL1L160->SetBinContent(8,9163.174); h_SL1L160->SetBinContent(9,8496.006); h_SL1L160->SetBinContent(10,7870.398); h_SL1L160->SetBinContent(11,8216.014); h_SL1L160->SetBinContent(12,8213.826); h_SL1L160->SetBinContent(13,8622.877); h_SL1L160->SetBinContent(14,8668.813); h_SL1L160->SetBinContent(15,8640.376); h_SL1L160->SetBinContent(16,8345.072); h_SL1L160->SetBinContent(17,8563.816); h_SL1L160->SetBinContent(18,8979.429); h_SL1L160->SetBinContent(19,9699.096); h_SL1L160->SetBinContent(20,9705.658); h_SL1L160->SetBinContent(21,9911.277); h_SL1L160->SetBinContent(22,10270.02); h_SL1L160->SetBinContent(23,10088.46); h_SL1L160->SetBinContent(24,10081.9); h_SL1L160->SetBinContent(25,10064.4); h_SL1L160->SetBinContent(26,9729.72); h_SL1L160->SetBinContent(27,10084.08); h_SL1L160->SetBinContent(28,10862.81); h_SL1L160->SetBinContent(29,10856.25); h_SL1L160->SetBinContent(30,11217.18); h_SL1L160->SetBinContent(31,12264.96); h_SL1L160->SetBinContent(32,14338.65); h_SL1L160->SetBinContent(33,38113.9); h_SL1L160->SetBinContent(34,54257.19); h_SL1L160->SetBinContent(35,58030.52); h_SL1L160->SetBinContent(36,60686.07); h_SL1L160->SetBinContent(37,64842.2); h_SL1L160->SetBinContent(38,61033.87); h_SL1L160->SetBinContent(39,40489.46); h_SL1L160->SetBinContent(40,14187.72); h_SL1L160->SetBinContent(41,11309.05); h_SL1L160->SetBinContent(42,10484.39); h_SL1L160->SetBinContent(43,9856.592); h_SL1L160->SetBinContent(44,9346.919); h_SL1L160->SetBinContent(45,8907.244); h_SL1L160->SetBinContent(46,8587.878); h_SL1L160->SetBinContent(47,8618.502); h_SL1L160->SetBinContent(48,7898.835); h_SL1L160->SetBinContent(49,8030.082); h_SL1L160->SetBinContent(50,8019.144); h_SL1L160->SetBinContent(51,7170.418); h_SL1L160->SetBinContent(52,6999.799); h_SL1L160->SetBinContent(53,7599.156); h_SL1L160->SetBinContent(54,6991.049); h_SL1L160->SetBinContent(55,7443.848); h_SL1L160->SetBinContent(56,7236.042); h_SL1L160->SetBinContent(57,7413.224); h_SL1L160->SetBinContent(58,7526.971); h_SL1L160->SetBinContent(59,8051.956); h_SL1L160->SetMaximum(99754.45); 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,9898.152); h_SL1L261->SetBinContent(2,9241.922); h_SL1L261->SetBinContent(3,9618.161); h_SL1L261->SetBinContent(4,9567.85); h_SL1L261->SetBinContent(5,9270.358); h_SL1L261->SetBinContent(6,10215.33); h_SL1L261->SetBinContent(7,9834.717); h_SL1L261->SetBinContent(8,9961.588); h_SL1L261->SetBinContent(9,9482.54); h_SL1L261->SetBinContent(10,8526.63); h_SL1L261->SetBinContent(11,8369.134); h_SL1L261->SetBinContent(12,8579.128); h_SL1L261->SetBinContent(13,8876.619); h_SL1L261->SetBinContent(14,9447.541); h_SL1L261->SetBinContent(15,9469.415); h_SL1L261->SetBinContent(16,9224.422); h_SL1L261->SetBinContent(17,9471.603); h_SL1L261->SetBinContent(18,9712.221); h_SL1L261->SetBinContent(19,10469.07); h_SL1L261->SetBinContent(20,10637.51); h_SL1L261->SetBinContent(21,10956.87); h_SL1L261->SetBinContent(22,11166.87); h_SL1L261->SetBinContent(23,11199.68); h_SL1L261->SetBinContent(24,11486.23); h_SL1L261->SetBinContent(25,11731.22); h_SL1L261->SetBinContent(26,11044.37); h_SL1L261->SetBinContent(27,11464.36); h_SL1L261->SetBinContent(28,12173.09); h_SL1L261->SetBinContent(29,12194.96); h_SL1L261->SetBinContent(30,12639.01); h_SL1L261->SetBinContent(31,13538.05); h_SL1L261->SetBinContent(32,15600.8); h_SL1L261->SetBinContent(33,27528.89); h_SL1L261->SetBinContent(34,58573); h_SL1L261->SetBinContent(35,66887.45); h_SL1L261->SetBinContent(36,71588.25); h_SL1L261->SetBinContent(37,75429.39); h_SL1L261->SetBinContent(38,74215.37); h_SL1L261->SetBinContent(39,63111.93); h_SL1L261->SetBinContent(40,27132.97); h_SL1L261->SetBinContent(41,15272.69); h_SL1L261->SetBinContent(42,12157.78); h_SL1L261->SetBinContent(43,11387.8); h_SL1L261->SetBinContent(44,10615.63); h_SL1L261->SetBinContent(45,10477.82); h_SL1L261->SetBinContent(46,10399.08); h_SL1L261->SetBinContent(47,10079.71); h_SL1L261->SetBinContent(48,9863.153); h_SL1L261->SetBinContent(49,20850.65); h_SL1L261->SetBinContent(50,9265.983); h_SL1L261->SetBinContent(51,9086.613); h_SL1L261->SetBinContent(52,8535.38); h_SL1L261->SetBinContent(53,9099.738); h_SL1L261->SetBinContent(54,8496.006); h_SL1L261->SetBinContent(55,8349.447); h_SL1L261->SetBinContent(56,12422.46); h_SL1L261->SetBinContent(57,8526.63); h_SL1L261->SetBinContent(58,8294.762); h_SL1L261->SetBinContent(59,7767.589); h_SL1L261->SetMaximum(86743.8); 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,9121.612); h_SL1L362->SetBinContent(2,8723.499); h_SL1L362->SetBinContent(3,8966.305); h_SL1L362->SetBinContent(4,8948.805); h_SL1L362->SetBinContent(5,9239.734); h_SL1L362->SetBinContent(6,9696.908); h_SL1L362->SetBinContent(7,9248.483); h_SL1L362->SetBinContent(8,9276.921); h_SL1L362->SetBinContent(9,8671.001); h_SL1L362->SetBinContent(10,7892.273); h_SL1L362->SetBinContent(11,7909.772); h_SL1L362->SetBinContent(12,8384.446); h_SL1L362->SetBinContent(13,8850.37); h_SL1L362->SetBinContent(14,9143.487); h_SL1L362->SetBinContent(15,8898.494); h_SL1L362->SetBinContent(16,8482.881); h_SL1L362->SetBinContent(17,8907.244); h_SL1L362->SetBinContent(18,9541.601); h_SL1L362->SetBinContent(19,10018.46); h_SL1L362->SetBinContent(20,10000.96); h_SL1L362->SetBinContent(21,10598.13); h_SL1L362->SetBinContent(22,10552.2); h_SL1L362->SetBinContent(23,11013.75); h_SL1L362->SetBinContent(24,10897.81); h_SL1L362->SetBinContent(25,11046.56); h_SL1L362->SetBinContent(26,10838.75); h_SL1L362->SetBinContent(27,10843.13); h_SL1L362->SetBinContent(28,11547.48); h_SL1L362->SetBinContent(29,11984.97); h_SL1L362->SetBinContent(30,12072.46); h_SL1L362->SetBinContent(31,13203.37); h_SL1L362->SetBinContent(32,16788.58); h_SL1L362->SetBinContent(33,43945.61); h_SL1L362->SetBinContent(34,62110.09); h_SL1L362->SetBinContent(35,66843.7); h_SL1L362->SetBinContent(36,71726.06); h_SL1L362->SetBinContent(37,73126.02); h_SL1L362->SetBinContent(38,67215.56); h_SL1L362->SetBinContent(39,45549); h_SL1L362->SetBinContent(40,16136.72); h_SL1L362->SetBinContent(41,12264.96); h_SL1L362->SetBinContent(42,11228.11); h_SL1L362->SetBinContent(43,10368.45); h_SL1L362->SetBinContent(44,9957.214); h_SL1L362->SetBinContent(45,9815.03); h_SL1L362->SetBinContent(46,9583.162); h_SL1L362->SetBinContent(47,9710.033); h_SL1L362->SetBinContent(48,9250.671); h_SL1L362->SetBinContent(49,8782.56); h_SL1L362->SetBinContent(50,8795.685); h_SL1L362->SetBinContent(51,8150.391); h_SL1L362->SetBinContent(52,8159.14); h_SL1L362->SetBinContent(53,10727.19); h_SL1L362->SetBinContent(54,7968.833); h_SL1L362->SetBinContent(55,8019.144); h_SL1L362->SetBinContent(56,12219.02); h_SL1L362->SetBinContent(57,8119.767); h_SL1L362->SetBinContent(58,7813.525); h_SL1L362->SetBinContent(59,7507.284); h_SL1L362->SetMaximum(86743.8); 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,8323.198); h_SL1L463->SetBinContent(3,8255.388); h_SL1L463->SetBinContent(4,8283.824); h_SL1L463->SetBinContent(5,8150.391); h_SL1L463->SetBinContent(6,8723.499); h_SL1L463->SetBinContent(7,8439.132); h_SL1L463->SetBinContent(8,8546.316); h_SL1L463->SetBinContent(9,8686.312); h_SL1L463->SetBinContent(10,7533.533); h_SL1L463->SetBinContent(11,7570.72); h_SL1L463->SetBinContent(12,7671.342); h_SL1L463->SetBinContent(13,8062.893); h_SL1L463->SetBinContent(14,8323.198); h_SL1L463->SetBinContent(15,8264.137); h_SL1L463->SetBinContent(16,8283.824); h_SL1L463->SetBinContent(17,8305.698); h_SL1L463->SetBinContent(18,8240.075); h_SL1L463->SetBinContent(19,8666.626); h_SL1L463->SetBinContent(20,8889.744); h_SL1L463->SetBinContent(21,8972.867); h_SL1L463->SetBinContent(22,9545.976); h_SL1L463->SetBinContent(23,8970.68); h_SL1L463->SetBinContent(24,9640.035); h_SL1L463->SetBinContent(25,9226.609); h_SL1L463->SetBinContent(26,9567.85); h_SL1L463->SetBinContent(27,9416.917); h_SL1L463->SetBinContent(28,9710.033); h_SL1L463->SetBinContent(29,9990.025); h_SL1L463->SetBinContent(30,10690); h_SL1L463->SetBinContent(31,10847.5); h_SL1L463->SetBinContent(32,12840.26); h_SL1L463->SetBinContent(33,21734.38); h_SL1L463->SetBinContent(34,51846.63); h_SL1L463->SetBinContent(35,61989.78); h_SL1L463->SetBinContent(36,65098.12); h_SL1L463->SetBinContent(37,66690.58); h_SL1L463->SetBinContent(38,65585.92); h_SL1L463->SetBinContent(39,57612.72); h_SL1L463->SetBinContent(40,22860.9); h_SL1L463->SetBinContent(41,12875.25); h_SL1L463->SetBinContent(42,10305.02); h_SL1L463->SetBinContent(43,9633.473); h_SL1L463->SetBinContent(44,8762.873); h_SL1L463->SetBinContent(45,8369.134); h_SL1L463->SetBinContent(46,8686.312); h_SL1L463->SetBinContent(47,7887.898); h_SL1L463->SetBinContent(48,7778.526); h_SL1L463->SetBinContent(49,7277.603); h_SL1L463->SetBinContent(50,7365.101); h_SL1L463->SetBinContent(51,7161.669); h_SL1L463->SetBinContent(52,6546.999); h_SL1L463->SetBinContent(53,6549.187); h_SL1L463->SetBinContent(54,6553.562); h_SL1L463->SetBinContent(55,2.187437); h_SL1L463->SetBinContent(56,6398.253); h_SL1L463->SetBinContent(57,6533.875); h_SL1L463->SetBinContent(58,6956.05); h_SL1L463->SetBinContent(59,6918.863); h_SL1L463->SetMaximum(86743.8); 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 6643"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }