void RatesPerCell_Removing_noisy_cells_run_6826_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12616.22,67.5,113546); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6826",60,0,60); h_SL2L164->SetBinContent(1,46764.97); h_SL2L164->SetBinContent(2,58602.44); h_SL2L164->SetBinContent(3,70682.44); h_SL2L164->SetBinContent(4,71609.75); h_SL2L164->SetBinContent(5,71488.48); h_SL2L164->SetBinContent(6,65375.38); h_SL2L164->SetBinContent(7,58160.19); h_SL2L164->SetBinContent(8,56409); h_SL2L164->SetBinContent(9,64644.23); h_SL2L164->SetBinContent(10,65981.69); h_SL2L164->SetBinContent(11,65753.43); h_SL2L164->SetBinContent(12,63848.88); h_SL2L164->SetBinContent(13,65746.3); h_SL2L164->SetBinContent(14,63666.98); h_SL2L164->SetBinContent(15,62839.54); h_SL2L164->SetBinContent(16,61031.28); h_SL2L164->SetBinContent(17,58299.28); h_SL2L164->SetBinContent(18,58752.24); h_SL2L164->SetBinContent(19,55492.39); h_SL2L164->SetBinContent(20,52553.53); h_SL2L164->SetBinContent(21,47503.25); h_SL2L164->SetBinContent(22,44111.44); h_SL2L164->SetBinContent(23,42452.98); h_SL2L164->SetBinContent(24,40266.66); h_SL2L164->SetBinContent(25,40844.45); h_SL2L164->SetBinContent(26,56590.89); h_SL2L164->SetBinContent(27,69320.01); h_SL2L164->SetBinContent(28,73995.79); h_SL2L164->SetBinContent(29,76317.63); h_SL2L164->SetBinContent(30,72629.79); h_SL2L164->SetBinContent(31,69098.88); h_SL2L164->SetBinContent(32,68685.16); h_SL2L164->SetBinContent(33,67914.77); h_SL2L164->SetBinContent(34,48476.93); h_SL2L164->SetBinContent(36,24901.85); h_SL2L164->SetBinContent(37,26956.2); h_SL2L164->SetBinContent(38,26439.04); h_SL2L164->SetBinContent(39,26075.25); h_SL2L164->SetBinContent(40,43226.93); h_SL2L164->SetBinContent(41,44781.95); h_SL2L164->SetBinContent(42,26546.04); h_SL2L164->SetBinContent(43,26353.44); h_SL2L164->SetBinContent(44,25918.32); h_SL2L164->SetBinContent(45,22184.12); h_SL2L164->SetBinContent(46,21353.1); h_SL2L164->SetBinContent(47,21713.33); h_SL2L164->SetBinContent(48,21681.23); h_SL2L164->SetBinContent(49,23282.62); h_SL2L164->SetBinContent(50,22176.98); h_SL2L164->SetBinContent(51,23450.25); h_SL2L164->SetBinContent(52,26414.08); h_SL2L164->SetBinContent(53,29110.41); h_SL2L164->SetBinContent(54,31524.98); h_SL2L164->SetBinContent(55,30943.63); h_SL2L164->SetBinContent(56,26963.33); h_SL2L164->SetBinContent(57,23100.72); h_SL2L164->SetMaximum(100929.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,38194.48); h_SL2L265->SetBinContent(2,55396.09); h_SL2L265->SetBinContent(3,61131.14); h_SL2L265->SetBinContent(4,69947.73); h_SL2L265->SetBinContent(5,69291.48); h_SL2L265->SetBinContent(6,64868.92); h_SL2L265->SetBinContent(7,59929.21); h_SL2L265->SetBinContent(8,52810.32); h_SL2L265->SetBinContent(9,60699.59); h_SL2L265->SetBinContent(10,63706.21); h_SL2L265->SetBinContent(11,63977.27); h_SL2L265->SetBinContent(12,62736.11); h_SL2L265->SetBinContent(13,63178.36); h_SL2L265->SetBinContent(14,62807.44); h_SL2L265->SetBinContent(15,60788.75); h_SL2L265->SetBinContent(16,58613.14); h_SL2L265->SetBinContent(17,57108.05); h_SL2L265->SetBinContent(18,55731.35); h_SL2L265->SetBinContent(19,54547.24); h_SL2L265->SetBinContent(20,51469.29); h_SL2L265->SetBinContent(21,47706.55); h_SL2L265->SetBinContent(22,42795.37); h_SL2L265->SetBinContent(23,40280.93); h_SL2L265->SetBinContent(24,39128.93); h_SL2L265->SetBinContent(25,37698.73); h_SL2L265->SetBinContent(26,46868.4); h_SL2L265->SetBinContent(27,61598.37); h_SL2L265->SetBinContent(28,71142.53); h_SL2L265->SetBinContent(29,73781.8); h_SL2L265->SetBinContent(30,73710.47); h_SL2L265->SetBinContent(31,68528.23); h_SL2L265->SetBinContent(32,67672.25); h_SL2L265->SetBinContent(33,68118.07); h_SL2L265->SetBinContent(34,60360.77); h_SL2L265->SetBinContent(35,36371.96); h_SL2L265->SetBinContent(36,26110.92); h_SL2L265->SetBinContent(37,25358.37); h_SL2L265->SetBinContent(38,25026.68); h_SL2L265->SetBinContent(39,24655.75); h_SL2L265->SetBinContent(40,25094.44); h_SL2L265->SetBinContent(41,23878.24); h_SL2L265->SetBinContent(42,22997.29); h_SL2L265->SetBinContent(43,22694.13); h_SL2L265->SetBinContent(44,22555.04); h_SL2L265->SetBinContent(45,21477.93); h_SL2L265->SetBinContent(46,20561.32); h_SL2L265->SetBinContent(47,20917.98); h_SL2L265->SetBinContent(48,20703.98); h_SL2L265->SetBinContent(49,21488.63); h_SL2L265->SetBinContent(50,22155.58); h_SL2L265->SetBinContent(51,20654.05); h_SL2L265->SetBinContent(52,24777.02); h_SL2L265->SetBinContent(53,27048.93); h_SL2L265->SetBinContent(54,29185.31); h_SL2L265->SetBinContent(55,30248.15); h_SL2L265->SetBinContent(56,27744.41); h_SL2L265->SetBinContent(57,26834.93); h_SL2L265->SetMaximum(87765.28); 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,44596.49); h_SL2L366->SetBinContent(2,54258.35); h_SL2L366->SetBinContent(3,67647.28); h_SL2L366->SetBinContent(4,67276.36); h_SL2L366->SetBinContent(5,65236.28); h_SL2L366->SetBinContent(6,60139.64); h_SL2L366->SetBinContent(7,52603.46); h_SL2L366->SetBinContent(8,54404.58); h_SL2L366->SetBinContent(9,59604.65); h_SL2L366->SetBinContent(10,61516.34); h_SL2L366->SetBinContent(11,61619.77); h_SL2L366->SetBinContent(12,60136.07); h_SL2L366->SetBinContent(13,59993.41); h_SL2L366->SetBinContent(14,59804.38); h_SL2L366->SetBinContent(15,58117.39); h_SL2L366->SetBinContent(16,56469.63); h_SL2L366->SetBinContent(17,53965.89); h_SL2L366->SetBinContent(18,54340.38); h_SL2L366->SetBinContent(19,50777.37); h_SL2L366->SetBinContent(20,46982.53); h_SL2L366->SetBinContent(21,44336.13); h_SL2L366->SetBinContent(22,40031.27); h_SL2L366->SetBinContent(23,38854.3); h_SL2L366->SetBinContent(24,36753.59); h_SL2L366->SetBinContent(25,38540.44); h_SL2L366->SetBinContent(26,53602.1); h_SL2L366->SetBinContent(27,66591.58); h_SL2L366->SetBinContent(28,72337.34); h_SL2L366->SetBinContent(29,74092.09); h_SL2L366->SetBinContent(30,70347.18); h_SL2L366->SetBinContent(31,67401.19); h_SL2L366->SetBinContent(32,66727.11); h_SL2L366->SetBinContent(33,65910.36); h_SL2L366->SetBinContent(34,47371.29); h_SL2L366->SetBinContent(35,27569.65); h_SL2L366->SetBinContent(36,24620.09); h_SL2L366->SetBinContent(37,24038.73); h_SL2L366->SetBinContent(38,24170.7); h_SL2L366->SetBinContent(39,23728.44); h_SL2L366->SetBinContent(40,22687); h_SL2L366->SetBinContent(41,22619.24); h_SL2L366->SetBinContent(42,21438.7); h_SL2L366->SetBinContent(43,22316.08); h_SL2L366->SetBinContent(44,21570.66); h_SL2L366->SetBinContent(45,20764.62); h_SL2L366->SetBinContent(46,20297.39); h_SL2L366->SetBinContent(47,19812.34); h_SL2L366->SetBinContent(48,20233.2); h_SL2L366->SetBinContent(49,21135.54); h_SL2L366->SetBinContent(50,20789.58); h_SL2L366->SetBinContent(51,21228.27); h_SL2L366->SetBinContent(52,24898.28); h_SL2L366->SetBinContent(53,26260.71); h_SL2L366->SetBinContent(54,29231.67); h_SL2L366->SetBinContent(55,29969.96); h_SL2L366->SetBinContent(56,25098.01); h_SL2L366->SetBinContent(57,24801.98); h_SL2L366->SetMaximum(87765.28); 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,52425.13); h_SL2L467->SetBinContent(3,58274.32); h_SL2L467->SetBinContent(4,64711.99); h_SL2L467->SetBinContent(5,63510.05); h_SL2L467->SetBinContent(6,59483.39); h_SL2L467->SetBinContent(7,53498.67); h_SL2L467->SetBinContent(8,48305.73); h_SL2L467->SetBinContent(9,56647.96); h_SL2L467->SetBinContent(10,58830.7); h_SL2L467->SetBinContent(11,59782.98); h_SL2L467->SetBinContent(12,58584.61); h_SL2L467->SetBinContent(13,57921.23); h_SL2L467->SetBinContent(14,58206.55); h_SL2L467->SetBinContent(15,57275.68); h_SL2L467->SetBinContent(16,55085.8); h_SL2L467->SetBinContent(17,53505.8); h_SL2L467->SetBinContent(18,52321.7); h_SL2L467->SetBinContent(19,51112.63); h_SL2L467->SetBinContent(20,47531.79); h_SL2L467->SetBinContent(21,44689.22); h_SL2L467->SetBinContent(22,40509.19); h_SL2L467->SetBinContent(23,37841.39); h_SL2L467->SetBinContent(24,36400.5); h_SL2L467->SetBinContent(25,34898.96); h_SL2L467->SetBinContent(26,44881.82); h_SL2L467->SetBinContent(27,59840.04); h_SL2L467->SetBinContent(28,69184.48); h_SL2L467->SetBinContent(29,72137.6); h_SL2L467->SetBinContent(30,72219.63); h_SL2L467->SetBinContent(31,66933.97); h_SL2L467->SetBinContent(32,66117.22); h_SL2L467->SetBinContent(33,66534.51); h_SL2L467->SetBinContent(34,58049.62); h_SL2L467->SetBinContent(35,34160.68); h_SL2L467->SetBinContent(36,24102.93); h_SL2L467->SetBinContent(37,23632.14); h_SL2L467->SetBinContent(38,23418.15); h_SL2L467->SetBinContent(39,23132.82); h_SL2L467->SetBinContent(40,22483.71); h_SL2L467->SetBinContent(41,21599.2); h_SL2L467->SetBinContent(42,21256.8); h_SL2L467->SetBinContent(43,21438.7); h_SL2L467->SetBinContent(44,20850.21); h_SL2L467->SetBinContent(45,19897.94); h_SL2L467->SetBinContent(46,19477.08); h_SL2L467->SetBinContent(47,19527.01); h_SL2L467->SetBinContent(48,19259.52); h_SL2L467->SetBinContent(49,19626.88); h_SL2L467->SetBinContent(50,20810.98); h_SL2L467->SetBinContent(51,19138.26); h_SL2L467->SetBinContent(52,22683.44); h_SL2L467->SetBinContent(53,24177.83); h_SL2L467->SetBinContent(54,27173.76); h_SL2L467->SetBinContent(55,28115.33); h_SL2L467->SetBinContent(56,25925.46); h_SL2L467->SetBinContent(57,24102.93); h_SL2L467->SetMaximum(87765.28); 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 6826"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }