void RatesPerCell_Removing_noisy_cells_run_6654_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:57:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14729.34,67.5,132564.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6654",60,0,60); h_SL3L168->SetBinContent(1,18318.27); h_SL3L168->SetBinContent(2,12640.19); h_SL3L168->SetBinContent(4,21596.07); h_SL3L168->SetBinContent(5,22559.63); h_SL3L168->SetBinContent(6,24065.18); h_SL3L168->SetBinContent(7,22931.71); h_SL3L168->SetBinContent(8,23069.37); h_SL3L168->SetBinContent(9,22045.59); h_SL3L168->SetBinContent(10,20598.11); h_SL3L168->SetBinContent(11,19684.02); h_SL3L168->SetBinContent(12,19679.72); h_SL3L168->SetBinContent(13,20484.12); h_SL3L168->SetBinContent(14,22176.79); h_SL3L168->SetBinContent(15,22032.69); h_SL3L168->SetBinContent(16,22215.5); h_SL3L168->SetBinContent(17,21705.77); h_SL3L168->SetBinContent(18,21348.73); h_SL3L168->SetBinContent(19,22271.42); h_SL3L168->SetBinContent(20,23551.14); h_SL3L168->SetBinContent(21,23725.36); h_SL3L168->SetBinContent(22,24929.8); h_SL3L168->SetBinContent(23,25258.87); h_SL3L168->SetBinContent(24,25646.01); h_SL3L168->SetBinContent(25,25671.82); h_SL3L168->SetBinContent(26,25794.42); h_SL3L168->SetBinContent(27,24981.42); h_SL3L168->SetBinContent(28,24566.31); h_SL3L168->SetBinContent(29,24663.1); h_SL3L168->SetBinContent(30,25764.3); h_SL3L168->SetBinContent(31,25940.67); h_SL3L168->SetBinContent(32,26811.74); h_SL3L168->SetBinContent(33,30102.45); h_SL3L168->SetBinContent(34,57458.34); h_SL3L168->SetBinContent(35,74845.31); h_SL3L168->SetBinContent(36,79798.59); h_SL3L168->SetBinContent(37,86347.73); h_SL3L168->SetBinContent(38,89100.75); h_SL3L168->SetBinContent(39,81783.76); h_SL3L168->SetBinContent(40,58796.12); h_SL3L168->SetBinContent(41,28259.22); h_SL3L168->SetBinContent(42,23344.67); h_SL3L168->SetBinContent(43,21989.67); h_SL3L168->SetBinContent(44,21303.57); h_SL3L168->SetBinContent(45,20935.78); h_SL3L168->SetBinContent(46,20613.16); h_SL3L168->SetBinContent(47,19998.04); h_SL3L168->SetBinContent(48,20133.54); h_SL3L168->SetBinContent(49,39292.77); h_SL3L168->SetBinContent(50,20043.21); h_SL3L168->SetBinContent(51,18972.11); h_SL3L168->SetBinContent(52,18535.5); h_SL3L168->SetBinContent(53,17984.9); h_SL3L168->SetBinContent(54,17417.09); h_SL3L168->SetBinContent(55,17709.6); h_SL3L168->SetBinContent(56,17939.73); h_SL3L168->SetBinContent(57,17782.73); h_SL3L168->SetBinContent(58,13956.47); h_SL3L168->SetBinContent(59,11680.94); h_SL3L168->SetMaximum(117834.7); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,18625.84); h_SL3L269->SetBinContent(2,13328.44); h_SL3L269->SetBinContent(4,18139.76); h_SL3L269->SetBinContent(5,20776.62); h_SL3L269->SetBinContent(6,22366.06); h_SL3L269->SetBinContent(7,22727.39); h_SL3L269->SetBinContent(8,21512.19); h_SL3L269->SetBinContent(9,21568.12); h_SL3L269->SetBinContent(10,20606.71); h_SL3L269->SetBinContent(11,18860.27); h_SL3L269->SetBinContent(12,18492.49); h_SL3L269->SetBinContent(13,19374.31); h_SL3L269->SetBinContent(14,20342.16); h_SL3L269->SetBinContent(15,21228.29); h_SL3L269->SetBinContent(16,21288.51); h_SL3L269->SetBinContent(17,20675.54); h_SL3L269->SetBinContent(18,20443.25); h_SL3L269->SetBinContent(19,20892.77); h_SL3L269->SetBinContent(20,22032.69); h_SL3L269->SetBinContent(21,22394.02); h_SL3L269->SetBinContent(22,23157.55); h_SL3L269->SetBinContent(23,23686.64); h_SL3L269->SetBinContent(24,24196.38); h_SL3L269->SetBinContent(25,23725.36); h_SL3L269->SetBinContent(26,24744.83); h_SL3L269->SetBinContent(27,24334.03); h_SL3L269->SetBinContent(28,23688.79); h_SL3L269->SetBinContent(29,24174.87); h_SL3L269->SetBinContent(30,24047.97); h_SL3L269->SetBinContent(31,24742.68); h_SL3L269->SetBinContent(32,24792.15); h_SL3L269->SetBinContent(33,27719.37); h_SL3L269->SetBinContent(34,38744.32); h_SL3L269->SetBinContent(35,68926.34); h_SL3L269->SetBinContent(36,76621.87); h_SL3L269->SetBinContent(37,82104.23); h_SL3L269->SetBinContent(38,87601.65); h_SL3L269->SetBinContent(39,85562.7); h_SL3L269->SetBinContent(40,73890.37); h_SL3L269->SetBinContent(41,37735.6); h_SL3L269->SetBinContent(42,24959.91); h_SL3L269->SetBinContent(43,21088.49); h_SL3L269->SetBinContent(44,20737.91); h_SL3L269->SetBinContent(45,20172.25); h_SL3L269->SetBinContent(46,19696.93); h_SL3L269->SetBinContent(47,18959.21); h_SL3L269->SetBinContent(48,18894.68); h_SL3L269->SetBinContent(49,19363.56); h_SL3L269->SetBinContent(50,18926.95); h_SL3L269->SetBinContent(51,18520.45); h_SL3L269->SetBinContent(52,18129); h_SL3L269->SetBinContent(53,17804.23); h_SL3L269->SetBinContent(54,17365.47); h_SL3L269->SetBinContent(55,16776.16); h_SL3L269->SetBinContent(56,17260.08); h_SL3L269->SetBinContent(57,16971.88); h_SL3L269->SetBinContent(58,15240.49); h_SL3L269->SetBinContent(59,12767.08); h_SL3L269->SetMaximum(102465.9); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,15965.31); h_SL3L370->SetBinContent(2,12293.91); h_SL3L370->SetBinContent(3,14449); h_SL3L370->SetBinContent(4,19929.21); h_SL3L370->SetBinContent(5,20206.67); h_SL3L370->SetBinContent(6,21026.12); h_SL3L370->SetBinContent(7,21400.35); h_SL3L370->SetBinContent(8,20987.4); h_SL3L370->SetBinContent(9,20032.45); h_SL3L370->SetBinContent(10,18238.69); h_SL3L370->SetBinContent(11,17733.26); h_SL3L370->SetBinContent(12,18227.94); h_SL3L370->SetBinContent(13,18612.93); h_SL3L370->SetBinContent(14,20180.86); h_SL3L370->SetBinContent(15,19929.21); h_SL3L370->SetBinContent(16,19974.38); h_SL3L370->SetBinContent(17,19187.19); h_SL3L370->SetBinContent(18,19912.01); h_SL3L370->SetBinContent(19,20367.97); h_SL3L370->SetBinContent(20,21159.46); h_SL3L370->SetBinContent(21,21843.42); h_SL3L370->SetBinContent(22,22611.25); h_SL3L370->SetBinContent(23,22839.23); h_SL3L370->SetBinContent(24,23295.2); h_SL3L370->SetBinContent(25,23157.55); h_SL3L370->SetBinContent(26,23359.72); h_SL3L370->SetBinContent(27,22858.59); h_SL3L370->SetBinContent(28,22779.01); h_SL3L370->SetBinContent(29,22880.1); h_SL3L370->SetBinContent(30,23267.24); h_SL3L370->SetBinContent(31,23329.61); h_SL3L370->SetBinContent(32,24779.24); h_SL3L370->SetBinContent(33,28254.92); h_SL3L370->SetBinContent(34,55892.56); h_SL3L370->SetBinContent(35,73397.84); h_SL3L370->SetBinContent(36,78179.04); h_SL3L370->SetBinContent(37,84184.04); h_SL3L370->SetBinContent(38,86885.44); h_SL3L370->SetBinContent(39,80549.21); h_SL3L370->SetBinContent(40,57598.14); h_SL3L370->SetBinContent(41,26747.21); h_SL3L370->SetBinContent(42,22054.19); h_SL3L370->SetBinContent(43,20204.51); h_SL3L370->SetBinContent(44,19430.23); h_SL3L370->SetBinContent(45,2137.885); h_SL3L370->SetBinContent(46,18836.61); h_SL3L370->SetBinContent(47,18146.21); h_SL3L370->SetBinContent(48,18234.39); h_SL3L370->SetBinContent(49,18329.03); h_SL3L370->SetBinContent(50,18524.75); h_SL3L370->SetBinContent(51,17524.63); h_SL3L370->SetBinContent(52,17096.62); h_SL3L370->SetBinContent(53,17182.66); h_SL3L370->SetBinContent(54,16156.73); h_SL3L370->SetBinContent(55,16262.12); h_SL3L370->SetBinContent(56,16281.47); h_SL3L370->SetBinContent(57,15945.95); h_SL3L370->SetBinContent(58,13349.95); h_SL3L370->SetBinContent(59,11186.25); h_SL3L370->SetMaximum(102465.9); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,12076.68); h_SL3L471->SetBinContent(3,13158.53); h_SL3L471->SetBinContent(4,16537.42); h_SL3L471->SetBinContent(5,19221.6); h_SL3L471->SetBinContent(6,20490.57); h_SL3L471->SetBinContent(7,20419.59); h_SL3L471->SetBinContent(8,19606.6); h_SL3L471->SetBinContent(9,20028.15); h_SL3L471->SetBinContent(10,18294.61); h_SL3L471->SetBinContent(11,17027.8); h_SL3L471->SetBinContent(12,16632.05); h_SL3L471->SetBinContent(13,17539.69); h_SL3L471->SetBinContent(14,18068.78); h_SL3L471->SetBinContent(15,19193.64); h_SL3L471->SetBinContent(16,19118.37); h_SL3L471->SetBinContent(17,18681.76); h_SL3L471->SetBinContent(18,18772.09); h_SL3L471->SetBinContent(19,19324.84); h_SL3L471->SetBinContent(20,20331.41); h_SL3L471->SetBinContent(21,20406.69); h_SL3L471->SetBinContent(22,21034.72); h_SL3L471->SetBinContent(23,21757.38); h_SL3L471->SetBinContent(24,21828.36); h_SL3L471->SetBinContent(25,22273.57); h_SL3L471->SetBinContent(26,22647.81); h_SL3L471->SetBinContent(27,22548.88); h_SL3L471->SetBinContent(28,21787.5); h_SL3L471->SetBinContent(29,21991.82); h_SL3L471->SetBinContent(30,22297.23); h_SL3L471->SetBinContent(31,22798.37); h_SL3L471->SetBinContent(32,22996.24); h_SL3L471->SetBinContent(33,25553.53); h_SL3L471->SetBinContent(34,37354.91); h_SL3L471->SetBinContent(35,67859.55); h_SL3L471->SetBinContent(36,75210.95); h_SL3L471->SetBinContent(37,80116.9); h_SL3L471->SetBinContent(38,85702.5); h_SL3L471->SetBinContent(39,83861.42); h_SL3L471->SetBinContent(40,72206.3); h_SL3L471->SetBinContent(41,36107.45); h_SL3L471->SetBinContent(42,23731.81); h_SL3L471->SetBinContent(43,20071.17); h_SL3L471->SetBinContent(44,18774.24); h_SL3L471->SetBinContent(45,18610.78); h_SL3L471->SetBinContent(46,18296.76); h_SL3L471->SetBinContent(47,17500.97); h_SL3L471->SetBinContent(48,17567.65); h_SL3L471->SetBinContent(49,17260.08); h_SL3L471->SetBinContent(50,17277.29); h_SL3L471->SetBinContent(51,16965.43); h_SL3L471->SetBinContent(52,16266.42); h_SL3L471->SetBinContent(53,16453.54); h_SL3L471->SetBinContent(54,16021.23); h_SL3L471->SetBinContent(55,15294.26); h_SL3L471->SetBinContent(56,15711.52); h_SL3L471->SetBinContent(57,15479.23); h_SL3L471->SetBinContent(58,14924.33); h_SL3L471->SetBinContent(59,12072.38); h_SL3L471->SetMaximum(102465.9); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6654"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }