void RatesPerCell_Removing_noisy_cells_run_7322_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:36:03 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13182.74,67.5,118644.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 7322",60,0,60); h_SL2L164->SetBinContent(1,18026.54); h_SL2L164->SetBinContent(2,25314.26); h_SL2L164->SetBinContent(3,29590.19); h_SL2L164->SetBinContent(4,31543.28); h_SL2L164->SetBinContent(5,32428.17); h_SL2L164->SetBinContent(6,31249.37); h_SL2L164->SetBinContent(7,29757.69); h_SL2L164->SetBinContent(8,28354.5); h_SL2L164->SetBinContent(9,30171.69); h_SL2L164->SetBinContent(10,30860.65); h_SL2L164->SetBinContent(11,32586.19); h_SL2L164->SetBinContent(12,32899.06); h_SL2L164->SetBinContent(13,33894.57); h_SL2L164->SetBinContent(14,33900.89); h_SL2L164->SetBinContent(15,34634.08); h_SL2L164->SetBinContent(16,34513.99); h_SL2L164->SetBinContent(17,34011.5); h_SL2L164->SetBinContent(18,33736.55); h_SL2L164->SetBinContent(19,33900.89); h_SL2L164->SetBinContent(20,32725.24); h_SL2L164->SetBinContent(21,33012.83); h_SL2L164->SetBinContent(22,32450.29); h_SL2L164->SetBinContent(23,32826.38); h_SL2L164->SetBinContent(24,31954.12); h_SL2L164->SetBinContent(25,31969.92); h_SL2L164->SetBinContent(26,31878.27); h_SL2L164->SetBinContent(27,32181.67); h_SL2L164->SetBinContent(28,31666.53); h_SL2L164->SetBinContent(29,30930.17); h_SL2L164->SetBinContent(30,30531.97); h_SL2L164->SetBinContent(31,29988.39); h_SL2L164->SetBinContent(32,29994.71); h_SL2L164->SetBinContent(33,30535.13); h_SL2L164->SetBinContent(34,30452.96); h_SL2L164->SetBinContent(36,29138.27); h_SL2L164->SetBinContent(37,36783.11); h_SL2L164->SetBinContent(38,32598.83); h_SL2L164->SetBinContent(39,33629.1); h_SL2L164->SetBinContent(40,79744.67); h_SL2L164->SetBinContent(41,69625.28); h_SL2L164->SetBinContent(42,35733.88); h_SL2L164->SetBinContent(43,35850.81); h_SL2L164->SetBinContent(44,34991.2); h_SL2L164->SetBinContent(45,27409.56); h_SL2L164->SetBinContent(46,26467.79); h_SL2L164->SetBinContent(47,26385.62); h_SL2L164->SetBinContent(48,26129.63); h_SL2L164->SetBinContent(49,24521.02); h_SL2L164->SetBinContent(50,23816.27); h_SL2L164->SetBinContent(51,24489.42); h_SL2L164->SetBinContent(52,24581.07); h_SL2L164->SetBinContent(53,25061.44); h_SL2L164->SetBinContent(54,24378.8); h_SL2L164->SetBinContent(55,21954.83); h_SL2L164->SetBinContent(56,18171.91); h_SL2L164->SetBinContent(57,15836.43); h_SL2L164->SetMaximum(105461.9); 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,14515.41); h_SL2L265->SetBinContent(2,22893.45); h_SL2L265->SetBinContent(3,26527.83); h_SL2L265->SetBinContent(4,30437.16); h_SL2L265->SetBinContent(5,30781.64); h_SL2L265->SetBinContent(6,30964.94); h_SL2L265->SetBinContent(7,29707.12); h_SL2L265->SetBinContent(8,28591.53); h_SL2L265->SetBinContent(9,28831.71); h_SL2L265->SetBinContent(10,29577.55); h_SL2L265->SetBinContent(11,30174.85); h_SL2L265->SetBinContent(12,31966.76); h_SL2L265->SetBinContent(13,32500.86); h_SL2L265->SetBinContent(14,33088.68); h_SL2L265->SetBinContent(15,33256.18); h_SL2L265->SetBinContent(16,33196.13); h_SL2L265->SetBinContent(17,32842.18); h_SL2L265->SetBinContent(18,32649.39); h_SL2L265->SetBinContent(19,33430); h_SL2L265->SetBinContent(20,32633.59); h_SL2L265->SetBinContent(21,32418.69); h_SL2L265->SetBinContent(22,31913.04); h_SL2L265->SetBinContent(23,31489.55); h_SL2L265->SetBinContent(24,31018.66); h_SL2L265->SetBinContent(25,31113.47); h_SL2L265->SetBinContent(26,30952.3); h_SL2L265->SetBinContent(27,31012.34); h_SL2L265->SetBinContent(28,31151.4); h_SL2L265->SetBinContent(29,30797.44); h_SL2L265->SetBinContent(30,29675.52); h_SL2L265->SetBinContent(31,28812.75); h_SL2L265->SetBinContent(32,28765.35); h_SL2L265->SetBinContent(33,29075.06); h_SL2L265->SetBinContent(34,29716.61); h_SL2L265->SetBinContent(35,28629.45); h_SL2L265->SetBinContent(36,27918.38); h_SL2L265->SetBinContent(37,28749.54); h_SL2L265->SetBinContent(38,28939.16); h_SL2L265->SetBinContent(39,29179.35); h_SL2L265->SetBinContent(40,29741.89); h_SL2L265->SetBinContent(41,27712.96); h_SL2L265->SetBinContent(42,28250.21); h_SL2L265->SetBinContent(43,26907.07); h_SL2L265->SetBinContent(44,27807.77); h_SL2L265->SetBinContent(45,26069.58); h_SL2L265->SetBinContent(46,26252.88); h_SL2L265->SetBinContent(47,25699.82); h_SL2L265->SetBinContent(48,24833.89); h_SL2L265->SetBinContent(49,24258.71); h_SL2L265->SetBinContent(50,23421.22); h_SL2L265->SetBinContent(51,23335.89); h_SL2L265->SetBinContent(52,24220.79); h_SL2L265->SetBinContent(53,23651.93); h_SL2L265->SetBinContent(54,23471.79); h_SL2L265->SetBinContent(55,22637.46); h_SL2L265->SetBinContent(56,19489.77); h_SL2L265->SetBinContent(57,16155.62); h_SL2L265->SetMaximum(91706.37); 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,17198.53); h_SL2L366->SetBinContent(2,24230.27); h_SL2L366->SetBinContent(3,27858.33); h_SL2L366->SetBinContent(4,29843.02); h_SL2L366->SetBinContent(5,30737.39); h_SL2L366->SetBinContent(6,29482.74); h_SL2L366->SetBinContent(7,28768.51); h_SL2L366->SetBinContent(8,27387.44); h_SL2L366->SetBinContent(9,28869.64); h_SL2L366->SetBinContent(10,29422.7); h_SL2L366->SetBinContent(11,30620.46); h_SL2L366->SetBinContent(12,30914.37); h_SL2L366->SetBinContent(13,31742.38); h_SL2L366->SetBinContent(14,31818.23); h_SL2L366->SetBinContent(15,32105.82); h_SL2L366->SetBinContent(16,32077.38); h_SL2L366->SetBinContent(17,31938.32); h_SL2L366->SetBinContent(18,32210.11); h_SL2L366->SetBinContent(19,31600.16); h_SL2L366->SetBinContent(20,30958.62); h_SL2L366->SetBinContent(21,31318.89); h_SL2L366->SetBinContent(22,31524.32); h_SL2L366->SetBinContent(23,30557.25); h_SL2L366->SetBinContent(24,30358.15); h_SL2L366->SetBinContent(25,30563.57); h_SL2L366->SetBinContent(26,30383.44); h_SL2L366->SetBinContent(27,30825.88); h_SL2L366->SetBinContent(28,29757.69); h_SL2L366->SetBinContent(29,29252.04); h_SL2L366->SetBinContent(30,29239.4); h_SL2L366->SetBinContent(31,28506.2); h_SL2L366->SetBinContent(32,28572.57); h_SL2L366->SetBinContent(33,28338.7); h_SL2L366->SetBinContent(34,28683.18); h_SL2L366->SetBinContent(35,26442.5); h_SL2L366->SetBinContent(36,27592.86); h_SL2L366->SetBinContent(37,28123.8); h_SL2L366->SetBinContent(38,27633.95); h_SL2L366->SetBinContent(39,26831.22); h_SL2L366->SetBinContent(40,26717.45); h_SL2L366->SetBinContent(41,26293.97); h_SL2L366->SetBinContent(42,26306.61); h_SL2L366->SetBinContent(43,25721.95); h_SL2L366->SetBinContent(44,25614.49); h_SL2L366->SetBinContent(45,24985.59); h_SL2L366->SetBinContent(46,24998.23); h_SL2L366->SetBinContent(47,24799.13); h_SL2L366->SetBinContent(48,24122.82); h_SL2L366->SetBinContent(49,23218.96); h_SL2L366->SetBinContent(50,22381.47); h_SL2L366->SetBinContent(51,22823.92); h_SL2L366->SetBinContent(52,23133.63); h_SL2L366->SetBinContent(53,22940.85); h_SL2L366->SetBinContent(54,22672.22); h_SL2L366->SetBinContent(55,21095.22); h_SL2L366->SetBinContent(56,17441.88); h_SL2L366->SetBinContent(57,13760.09); h_SL2L366->SetMaximum(91706.37); 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,21518.7); h_SL2L467->SetBinContent(3,25864.16); h_SL2L467->SetBinContent(4,28082.71); h_SL2L467->SetBinContent(5,29122.46); h_SL2L467->SetBinContent(6,28698.98); h_SL2L467->SetBinContent(7,28228.09); h_SL2L467->SetBinContent(8,27267.35); h_SL2L467->SetBinContent(9,27150.42); h_SL2L467->SetBinContent(10,27845.69); h_SL2L467->SetBinContent(11,29094.02); h_SL2L467->SetBinContent(12,29732.41); h_SL2L467->SetBinContent(13,30772.16); h_SL2L467->SetBinContent(14,30914.37); h_SL2L467->SetBinContent(15,31141.92); h_SL2L467->SetBinContent(16,31685.49); h_SL2L467->SetBinContent(17,31053.43); h_SL2L467->SetBinContent(18,31214.6); h_SL2L467->SetBinContent(19,31347.34); h_SL2L467->SetBinContent(20,30623.62); h_SL2L467->SetBinContent(21,30889.09); h_SL2L467->SetBinContent(22,30427.68); h_SL2L467->SetBinContent(23,29454.3); h_SL2L467->SetBinContent(24,29302.6); h_SL2L467->SetBinContent(25,29539.63); h_SL2L467->SetBinContent(26,29078.22); h_SL2L467->SetBinContent(27,29975.75); h_SL2L467->SetBinContent(28,29593.35); h_SL2L467->SetBinContent(29,28683.18); h_SL2L467->SetBinContent(30,28376.62); h_SL2L467->SetBinContent(31,27719.28); h_SL2L467->SetBinContent(32,27336.88); h_SL2L467->SetBinContent(33,27671.87); h_SL2L467->SetBinContent(34,28041.63); h_SL2L467->SetBinContent(35,27814.09); h_SL2L467->SetBinContent(36,26872.31); h_SL2L467->SetBinContent(37,27703.47); h_SL2L467->SetBinContent(38,26903.91); h_SL2L467->SetBinContent(39,26559.43); h_SL2L467->SetBinContent(40,25326.9); h_SL2L467->SetBinContent(41,24634.79); h_SL2L467->SetBinContent(42,25908.41); h_SL2L467->SetBinContent(43,25086.72); h_SL2L467->SetBinContent(44,25639.78); h_SL2L467->SetBinContent(45,24663.23); h_SL2L467->SetBinContent(46,24527.34); h_SL2L467->SetBinContent(47,24656.91); h_SL2L467->SetBinContent(48,23389.62); h_SL2L467->SetBinContent(49,23057.79); h_SL2L467->SetBinContent(50,22808.12); h_SL2L467->SetBinContent(51,21657.76); h_SL2L467->SetBinContent(52,22624.82); h_SL2L467->SetBinContent(53,22106.53); h_SL2L467->SetBinContent(54,22634.3); h_SL2L467->SetBinContent(55,21613.51); h_SL2L467->SetBinContent(56,19022.04); h_SL2L467->SetBinContent(57,15040.02); h_SL2L467->SetMaximum(91706.37); 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 7322"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }