void RatesPerCell_Removing_noisy_cells_run_6580_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:33:46 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15729.84,67.5,141568.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6580",60,0,60); h_SL2L164->SetBinContent(1,61389.66); h_SL2L164->SetBinContent(2,76664.02); h_SL2L164->SetBinContent(3,93387.91); h_SL2L164->SetBinContent(4,95152.54); h_SL2L164->SetBinContent(5,90924.3); h_SL2L164->SetBinContent(6,83195.45); h_SL2L164->SetBinContent(7,73816.55); h_SL2L164->SetBinContent(8,73759.26); h_SL2L164->SetBinContent(9,84169.44); h_SL2L164->SetBinContent(10,84599.13); h_SL2L164->SetBinContent(11,85298.11); h_SL2L164->SetBinContent(12,82760.02); h_SL2L164->SetBinContent(13,81276.12); h_SL2L164->SetBinContent(14,83012.11); h_SL2L164->SetBinContent(15,77855.73); h_SL2L164->SetBinContent(16,77861.45); h_SL2L164->SetBinContent(17,74034.27); h_SL2L164->SetBinContent(18,73828.02); h_SL2L164->SetBinContent(19,69760.2); h_SL2L164->SetBinContent(20,63790.24); h_SL2L164->SetBinContent(21,60003.16); h_SL2L164->SetBinContent(22,52973.29); h_SL2L164->SetBinContent(23,51346.16); h_SL2L164->SetBinContent(24,46401.76); h_SL2L164->SetBinContent(25,42752.18); h_SL2L164->SetBinContent(26,39314.59); h_SL2L164->SetBinContent(27,36467.12); h_SL2L164->SetBinContent(28,33115.47); h_SL2L164->SetBinContent(29,31585.74); h_SL2L164->SetBinContent(30,28881.5); h_SL2L164->SetBinContent(31,28595.03); h_SL2L164->SetBinContent(32,28703.89); h_SL2L164->SetBinContent(33,29483.08); h_SL2L164->SetBinContent(34,30021.63); h_SL2L164->SetBinContent(36,30044.55); h_SL2L164->SetBinContent(37,33986.32); h_SL2L164->SetBinContent(38,33917.57); h_SL2L164->SetBinContent(39,34335.81); h_SL2L164->SetBinContent(40,51231.57); h_SL2L164->SetBinContent(41,75437.95); h_SL2L164->SetBinContent(42,39360.43); h_SL2L164->SetBinContent(43,40242.74); h_SL2L164->SetBinContent(44,38609.88); h_SL2L164->SetBinContent(45,27924.7); h_SL2L164->SetBinContent(46,26578.31); h_SL2L164->SetBinContent(47,27076.76); h_SL2L164->SetBinContent(48,26904.88); h_SL2L164->SetBinContent(49,29465.89); h_SL2L164->SetBinContent(50,28933.06); h_SL2L164->SetBinContent(51,30743.53); h_SL2L164->SetBinContent(52,34925.93); h_SL2L164->SetBinContent(53,38346.34); h_SL2L164->SetBinContent(54,42070.39); h_SL2L164->SetBinContent(55,41514.65); h_SL2L164->SetBinContent(56,34696.76); h_SL2L164->SetBinContent(57,30743.53); h_SL2L164->SetMaximum(125838.7); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,49959.67); h_SL2L265->SetBinContent(2,72636.31); h_SL2L265->SetBinContent(3,78858.35); h_SL2L265->SetBinContent(4,92087.35); h_SL2L265->SetBinContent(5,89234.15); h_SL2L265->SetBinContent(6,84656.43); h_SL2L265->SetBinContent(7,77947.39); h_SL2L265->SetBinContent(8,68092.96); h_SL2L265->SetBinContent(9,78875.54); h_SL2L265->SetBinContent(10,81700.09); h_SL2L265->SetBinContent(11,82221.47); h_SL2L265->SetBinContent(12,81327.69); h_SL2L265->SetBinContent(13,80932.37); h_SL2L265->SetBinContent(14,79150.55); h_SL2L265->SetBinContent(15,77552.07); h_SL2L265->SetBinContent(16,75483.79); h_SL2L265->SetBinContent(17,71381.59); h_SL2L265->SetBinContent(18,70900.33); h_SL2L265->SetBinContent(19,69760.2); h_SL2L265->SetBinContent(20,63635.55); h_SL2L265->SetBinContent(21,60524.53); h_SL2L265->SetBinContent(22,53299.86); h_SL2L265->SetBinContent(23,50429.47); h_SL2L265->SetBinContent(24,47536.16); h_SL2L265->SetBinContent(25,44247.54); h_SL2L265->SetBinContent(26,39263.03); h_SL2L265->SetBinContent(27,35819.71); h_SL2L265->SetBinContent(28,33883.2); h_SL2L265->SetBinContent(29,31322.19); h_SL2L265->SetBinContent(30,31310.73); h_SL2L265->SetBinContent(31,26406.43); h_SL2L265->SetBinContent(32,28434.61); h_SL2L265->SetBinContent(33,27649.7); h_SL2L265->SetBinContent(34,29242.45); h_SL2L265->SetBinContent(35,29208.07); h_SL2L265->SetBinContent(36,29104.94); h_SL2L265->SetBinContent(37,29339.85); h_SL2L265->SetBinContent(38,30491.44); h_SL2L265->SetBinContent(39,30915.41); h_SL2L265->SetBinContent(40,32049.81); h_SL2L265->SetBinContent(41,29832.57); h_SL2L265->SetBinContent(42,29402.87); h_SL2L265->SetBinContent(43,28383.05); h_SL2L265->SetBinContent(44,29082.03); h_SL2L265->SetBinContent(45,27867.41); h_SL2L265->SetBinContent(46,25163.17); h_SL2L265->SetBinContent(47,25489.74); h_SL2L265->SetBinContent(48,26773.11); h_SL2L265->SetBinContent(49,27695.53); h_SL2L265->SetBinContent(50,28640.87); h_SL2L265->SetBinContent(51,26755.92); h_SL2L265->SetBinContent(52,31207.6); h_SL2L265->SetBinContent(53,34593.63); h_SL2L265->SetBinContent(54,37739.03); h_SL2L265->SetBinContent(55,40248.47); h_SL2L265->SetBinContent(56,36455.66); h_SL2L265->SetBinContent(57,35183.75); h_SL2L265->SetMaximum(109425.4); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,59178.14); h_SL2L366->SetBinContent(2,70487.82); h_SL2L366->SetBinContent(3,87544); h_SL2L366->SetBinContent(4,86443.98); h_SL2L366->SetBinContent(5,85091.85); h_SL2L366->SetBinContent(6,76979.14); h_SL2L366->SetBinContent(7,69256.02); h_SL2L366->SetBinContent(8,69817.49); h_SL2L366->SetBinContent(9,77328.62); h_SL2L366->SetBinContent(10,78967.21); h_SL2L366->SetBinContent(11,79815.15); h_SL2L366->SetBinContent(12,76234.33); h_SL2L366->SetBinContent(13,77729.68); h_SL2L366->SetBinContent(14,76028.07); h_SL2L366->SetBinContent(15,73157.68); h_SL2L366->SetBinContent(16,71341.48); h_SL2L366->SetBinContent(17,67605.97); h_SL2L366->SetBinContent(18,67583.05); h_SL2L366->SetBinContent(19,64088.17); h_SL2L366->SetBinContent(20,59246.89); h_SL2L366->SetBinContent(21,55522.84); h_SL2L366->SetBinContent(22,49415.38); h_SL2L366->SetBinContent(23,47490.33); h_SL2L366->SetBinContent(24,43983.99); h_SL2L366->SetBinContent(25,40265.66); h_SL2L366->SetBinContent(26,36088.98); h_SL2L366->SetBinContent(27,32765.98); h_SL2L366->SetBinContent(28,31213.33); h_SL2L366->SetBinContent(29,28686.7); h_SL2L366->SetBinContent(30,27529.38); h_SL2L366->SetBinContent(31,26624.15); h_SL2L366->SetBinContent(32,26910.61); h_SL2L366->SetBinContent(33,27386.15); h_SL2L366->SetBinContent(34,27088.22); h_SL2L366->SetBinContent(35,27821.58); h_SL2L366->SetBinContent(36,27626.78); h_SL2L366->SetBinContent(37,28090.85); h_SL2L366->SetBinContent(38,28818.48); h_SL2L366->SetBinContent(39,27271.56); h_SL2L366->SetBinContent(40,30090.39); h_SL2L366->SetBinContent(41,28331.48); h_SL2L366->SetBinContent(42,27197.08); h_SL2L366->SetBinContent(43,27529.38); h_SL2L366->SetBinContent(44,26635.61); h_SL2L366->SetBinContent(45,25587.14); h_SL2L366->SetBinContent(46,24120.44); h_SL2L366->SetBinContent(47,24750.66); h_SL2L366->SetBinContent(48,25953.82); h_SL2L366->SetBinContent(49,26538.21); h_SL2L366->SetBinContent(50,26097.05); h_SL2L366->SetBinContent(51,28165.34); h_SL2L366->SetBinContent(52,31849.29); h_SL2L366->SetBinContent(53,35149.38); h_SL2L366->SetBinContent(54,37320.79); h_SL2L366->SetBinContent(55,38781.77); h_SL2L366->SetBinContent(56,33081.09); h_SL2L366->SetBinContent(57,32290.45); h_SL2L366->SetMaximum(109425.4); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,68224.73); h_SL2L467->SetBinContent(3,75472.33); h_SL2L467->SetBinContent(4,83447.54); h_SL2L467->SetBinContent(5,83539.21); h_SL2L467->SetBinContent(6,77890.1); h_SL2L467->SetBinContent(7,71444.62); h_SL2L467->SetBinContent(8,63916.29); h_SL2L467->SetBinContent(9,74292.09); h_SL2L467->SetBinContent(10,75243.16); h_SL2L467->SetBinContent(11,76772.88); h_SL2L467->SetBinContent(12,73862.39); h_SL2L467->SetBinContent(13,73810.82); h_SL2L467->SetBinContent(14,74022.81); h_SL2L467->SetBinContent(15,71158.15); h_SL2L467->SetBinContent(16,69095.59); h_SL2L467->SetBinContent(17,66838.24); h_SL2L467->SetBinContent(18,64535.05); h_SL2L467->SetBinContent(19,64890.27); h_SL2L467->SetBinContent(20,59155.22); h_SL2L467->SetBinContent(21,55918.16); h_SL2L467->SetBinContent(22,49432.57); h_SL2L467->SetBinContent(23,46172.59); h_SL2L467->SetBinContent(24,43600.12); h_SL2L467->SetBinContent(25,40701.09); h_SL2L467->SetBinContent(26,36140.55); h_SL2L467->SetBinContent(27,33527.98); h_SL2L467->SetBinContent(28,31316.46); h_SL2L467->SetBinContent(29,28881.5); h_SL2L467->SetBinContent(30,27414.79); h_SL2L467->SetBinContent(31,24813.68); h_SL2L467->SetBinContent(32,26463.73); h_SL2L467->SetBinContent(33,25850.69); h_SL2L467->SetBinContent(34,26836.13); h_SL2L467->SetBinContent(35,26824.67); h_SL2L467->SetBinContent(36,26738.73); h_SL2L467->SetBinContent(37,27357.5); h_SL2L467->SetBinContent(38,27575.21); h_SL2L467->SetBinContent(39,27701.26); h_SL2L467->SetBinContent(40,27540.84); h_SL2L467->SetBinContent(41,27025.2); h_SL2L467->SetBinContent(42,27093.95); h_SL2L467->SetBinContent(43,26194.45); h_SL2L467->SetBinContent(44,25598.6); h_SL2L467->SetBinContent(45,25077.23); h_SL2L467->SetBinContent(46,24240.75); h_SL2L467->SetBinContent(47,23541.77); h_SL2L467->SetBinContent(48,24263.67); h_SL2L467->SetBinContent(49,24469.92); h_SL2L467->SetBinContent(50,26555.4); h_SL2L467->SetBinContent(51,24292.31); h_SL2L467->SetBinContent(52,28503.37); h_SL2L467->SetBinContent(53,31746.16); h_SL2L467->SetBinContent(54,34198.31); h_SL2L467->SetBinContent(55,36421.29); h_SL2L467->SetBinContent(56,34009.24); h_SL2L467->SetBinContent(57,32244.61); h_SL2L467->SetMaximum(109425.4); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6580"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }