void RatesPerCell_Removing_noisy_cells_run_6736_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:01 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16731.64,67.5,150584.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6736",60,0,60); h_SL1L160->SetBinContent(1,38428.17); h_SL1L160->SetBinContent(2,37390.39); h_SL1L160->SetBinContent(3,37599.96); h_SL1L160->SetBinContent(4,36713.68); h_SL1L160->SetBinContent(5,36090.01); h_SL1L160->SetBinContent(6,37895.39); h_SL1L160->SetBinContent(7,35686); h_SL1L160->SetBinContent(8,35754.18); h_SL1L160->SetBinContent(9,32890.82); h_SL1L160->SetBinContent(10,30310.25); h_SL1L160->SetBinContent(11,29711.82); h_SL1L160->SetBinContent(12,30565.28); h_SL1L160->SetBinContent(13,32411.06); h_SL1L160->SetBinContent(14,31870.71); h_SL1L160->SetBinContent(15,31014.73); h_SL1L160->SetBinContent(16,29451.75); h_SL1L160->SetBinContent(17,31130.88); h_SL1L160->SetBinContent(18,32375.71); h_SL1L160->SetBinContent(19,33915.97); h_SL1L160->SetBinContent(20,32264.61); h_SL1L160->SetBinContent(21,34259.37); h_SL1L160->SetBinContent(22,34883.05); h_SL1L160->SetBinContent(23,34176.05); h_SL1L160->SetBinContent(24,32633.26); h_SL1L160->SetBinContent(25,33216.54); h_SL1L160->SetBinContent(26,32423.69); h_SL1L160->SetBinContent(27,31287.43); h_SL1L160->SetBinContent(28,32049.99); h_SL1L160->SetBinContent(29,31512.16); h_SL1L160->SetBinContent(30,31580.33); h_SL1L160->SetBinContent(31,30577.9); h_SL1L160->SetBinContent(32,30406.2); h_SL1L160->SetBinContent(33,49384.2); h_SL1L160->SetBinContent(34,62115.31); h_SL1L160->SetBinContent(35,66953.23); h_SL1L160->SetBinContent(36,66354.81); h_SL1L160->SetBinContent(37,72548.66); h_SL1L160->SetBinContent(38,71904.79); h_SL1L160->SetBinContent(39,52666.71); h_SL1L160->SetBinContent(40,30295.1); h_SL1L160->SetBinContent(41,28567.99); h_SL1L160->SetBinContent(42,28204.39); h_SL1L160->SetBinContent(43,27411.54); h_SL1L160->SetBinContent(44,27315.59); h_SL1L160->SetBinContent(45,25618.78); h_SL1L160->SetBinContent(46,24810.78); h_SL1L160->SetBinContent(47,24111.35); h_SL1L160->SetBinContent(48,22459.99); h_SL1L160->SetBinContent(49,23704.82); h_SL1L160->SetBinContent(50,24336.07); h_SL1L160->SetBinContent(51,22952.37); h_SL1L160->SetBinContent(52,22911.96); h_SL1L160->SetBinContent(53,23257.89); h_SL1L160->SetBinContent(54,22401.91); h_SL1L160->SetBinContent(55,23437.17); h_SL1L160->SetBinContent(56,23611.39); h_SL1L160->SetBinContent(57,26017.73); h_SL1L160->SetBinContent(58,26108.63); h_SL1L160->SetBinContent(59,27275.19); h_SL1L160->SetMaximum(133853.1); 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,40385.05); h_SL1L261->SetBinContent(2,38203.44); h_SL1L261->SetBinContent(3,38726.12); h_SL1L261->SetBinContent(4,39657.85); h_SL1L261->SetBinContent(5,38392.82); h_SL1L261->SetBinContent(6,41660.18); h_SL1L261->SetBinContent(7,40579.48); h_SL1L261->SetBinContent(8,40213.35); h_SL1L261->SetBinContent(9,38615.02); h_SL1L261->SetBinContent(10,34622.97); h_SL1L261->SetBinContent(11,33221.59); h_SL1L261->SetBinContent(12,34350.27); h_SL1L261->SetBinContent(13,36077.38); h_SL1L261->SetBinContent(14,37367.66); h_SL1L261->SetBinContent(15,38342.32); h_SL1L261->SetBinContent(16,37660.57); h_SL1L261->SetBinContent(17,37296.96); h_SL1L261->SetBinContent(18,37375.24); h_SL1L261->SetBinContent(19,39415.45); h_SL1L261->SetBinContent(20,40299.2); h_SL1L261->SetBinContent(21,41081.96); h_SL1L261->SetBinContent(22,42498.49); h_SL1L261->SetBinContent(23,42513.64); h_SL1L261->SetBinContent(24,42773.71); h_SL1L261->SetBinContent(25,43652.42); h_SL1L261->SetBinContent(26,41536.46); h_SL1L261->SetBinContent(27,39516.45); h_SL1L261->SetBinContent(28,41145.08); h_SL1L261->SetBinContent(29,41960.66); h_SL1L261->SetBinContent(30,41864.71); h_SL1L261->SetBinContent(31,41001.16); h_SL1L261->SetBinContent(32,41801.59); h_SL1L261->SetBinContent(33,52984.87); h_SL1L261->SetBinContent(34,85820.13); h_SL1L261->SetBinContent(35,93922.9); h_SL1L261->SetBinContent(36,98273.49); h_SL1L261->SetBinContent(37,101212.6); h_SL1L261->SetBinContent(38,98702.75); h_SL1L261->SetBinContent(39,87062.44); h_SL1L261->SetBinContent(40,50401.78); h_SL1L261->SetBinContent(41,39536.65); h_SL1L261->SetBinContent(42,36221.31); h_SL1L261->SetBinContent(43,34670.95); h_SL1L261->SetBinContent(44,34385.62); h_SL1L261->SetBinContent(45,34075.05); h_SL1L261->SetBinContent(46,34673.48); h_SL1L261->SetBinContent(47,34963.85); h_SL1L261->SetBinContent(48,33517.02); h_SL1L261->SetBinContent(49,44596.77); h_SL1L261->SetBinContent(50,32565.09); h_SL1L261->SetBinContent(51,30822.83); h_SL1L261->SetBinContent(52,29605.77); h_SL1L261->SetBinContent(53,31325.31); h_SL1L261->SetBinContent(54,30724.36); h_SL1L261->SetBinContent(55,30158.75); h_SL1L261->SetBinContent(56,34569.95); h_SL1L261->SetBinContent(57,30305.2); h_SL1L261->SetBinContent(58,29716.88); h_SL1L261->SetBinContent(59,28769.99); h_SL1L261->SetMaximum(116394.5); 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,38402.92); h_SL1L362->SetBinContent(2,37668.14); h_SL1L362->SetBinContent(3,37887.82); h_SL1L362->SetBinContent(4,36913.16); h_SL1L362->SetBinContent(5,39135.17); h_SL1L362->SetBinContent(6,39933.08); h_SL1L362->SetBinContent(7,39041.75); h_SL1L362->SetBinContent(8,38650.37); h_SL1L362->SetBinContent(9,35231.5); h_SL1L362->SetBinContent(10,32638.31); h_SL1L362->SetBinContent(11,32522.16); h_SL1L362->SetBinContent(12,34213.92); h_SL1L362->SetBinContent(13,35847.61); h_SL1L362->SetBinContent(14,36701.06); h_SL1L362->SetBinContent(15,36933.36); h_SL1L362->SetBinContent(16,34941.12); h_SL1L362->SetBinContent(17,35771.86); h_SL1L362->SetBinContent(18,37514.11); h_SL1L362->SetBinContent(19,38150.42); h_SL1L362->SetBinContent(20,38208.49); h_SL1L362->SetBinContent(21,40491.11); h_SL1L362->SetBinContent(22,40922.88); h_SL1L362->SetBinContent(23,42097.01); h_SL1L362->SetBinContent(24,41584.43); h_SL1L362->SetBinContent(25,41246.08); h_SL1L362->SetBinContent(26,39087.2); h_SL1L362->SetBinContent(27,38950.85); h_SL1L362->SetBinContent(28,40084.58); h_SL1L362->SetBinContent(29,40180.53); h_SL1L362->SetBinContent(30,40655.23); h_SL1L362->SetBinContent(31,39708.35); h_SL1L362->SetBinContent(32,42483.34); h_SL1L362->SetBinContent(33,70488.26); h_SL1L362->SetBinContent(34,89875.3); h_SL1L362->SetBinContent(35,95392.45); h_SL1L362->SetBinContent(36,99351.68); h_SL1L362->SetBinContent(37,100397); h_SL1L362->SetBinContent(38,94581.93); h_SL1L362->SetBinContent(39,70170.1); h_SL1L362->SetBinContent(40,40475.95); h_SL1L362->SetBinContent(41,36203.63); h_SL1L362->SetBinContent(42,34569.95); h_SL1L362->SetBinContent(43,34077.57); h_SL1L362->SetBinContent(44,32729.21); h_SL1L362->SetBinContent(45,32893.34); h_SL1L362->SetBinContent(46,33830.12); h_SL1L362->SetBinContent(47,32903.44); h_SL1L362->SetBinContent(48,31734.36); h_SL1L362->SetBinContent(49,31295.01); h_SL1L362->SetBinContent(50,31095.53); h_SL1L362->SetBinContent(51,29370.95); h_SL1L362->SetBinContent(52,29466.9); h_SL1L362->SetBinContent(53,32438.84); h_SL1L362->SetBinContent(54,28767.47); h_SL1L362->SetBinContent(55,30221.88); h_SL1L362->SetBinContent(56,33756.89); h_SL1L362->SetBinContent(57,29454.27); h_SL1L362->SetBinContent(58,28297.82); h_SL1L362->SetBinContent(59,27141.36); h_SL1L362->SetMaximum(116394.5); 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,31055.13); h_SL1L463->SetBinContent(3,29628.5); h_SL1L463->SetBinContent(4,28540.22); h_SL1L463->SetBinContent(5,26964.61); h_SL1L463->SetBinContent(6,28464.47); h_SL1L463->SetBinContent(7,28550.32); h_SL1L463->SetBinContent(8,28924.02); h_SL1L463->SetBinContent(9,28580.62); h_SL1L463->SetBinContent(10,27138.84); h_SL1L463->SetBinContent(11,27810.49); h_SL1L463->SetBinContent(12,28315.49); h_SL1L463->SetBinContent(13,28929.07); h_SL1L463->SetBinContent(14,30860.71); h_SL1L463->SetBinContent(15,30643.55); h_SL1L463->SetBinContent(16,28913.92); h_SL1L463->SetBinContent(17,27037.84); h_SL1L463->SetBinContent(18,26681.81); h_SL1L463->SetBinContent(19,27797.87); h_SL1L463->SetBinContent(20,27638.79); h_SL1L463->SetBinContent(21,28315.49); h_SL1L463->SetBinContent(22,28224.59); h_SL1L463->SetBinContent(23,27843.31); h_SL1L463->SetBinContent(24,28893.72); h_SL1L463->SetBinContent(25,26689.38); h_SL1L463->SetBinContent(26,27118.64); h_SL1L463->SetBinContent(27,25613.73); h_SL1L463->SetBinContent(28,25825.83); h_SL1L463->SetBinContent(29,26318.21); h_SL1L463->SetBinContent(30,27098.44); h_SL1L463->SetBinContent(31,26459.61); h_SL1L463->SetBinContent(32,25459.7); h_SL1L463->SetBinContent(33,28108.44); h_SL1L463->SetBinContent(34,46828.89); h_SL1L463->SetBinContent(35,58196.49); h_SL1L463->SetBinContent(36,54472.1); h_SL1L463->SetBinContent(37,48316.12); h_SL1L463->SetBinContent(38,51495.11); h_SL1L463->SetBinContent(39,53512.59); h_SL1L463->SetBinContent(40,26063.18); h_SL1L463->SetBinContent(41,21634.31); h_SL1L463->SetBinContent(42,21280.81); h_SL1L463->SetBinContent(43,21091.43); h_SL1L463->SetBinContent(44,20662.18); h_SL1L463->SetBinContent(45,17965.46); h_SL1L463->SetBinContent(46,18955.27); h_SL1L463->SetBinContent(47,18909.82); h_SL1L463->SetBinContent(48,17170.09); h_SL1L463->SetBinContent(49,15978.28); h_SL1L463->SetBinContent(50,17728.12); h_SL1L463->SetBinContent(51,16382.28); h_SL1L463->SetBinContent(52,16273.71); h_SL1L463->SetBinContent(53,15887.38); h_SL1L463->SetBinContent(54,16253.51); h_SL1L463->SetBinContent(56,17440.26); h_SL1L463->SetBinContent(57,18397.24); h_SL1L463->SetBinContent(58,20616.73); h_SL1L463->SetBinContent(59,21980.24); h_SL1L463->SetMaximum(116394.5); 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 6736"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }