void RatesPerCell_Removing_noisy_cells_run_6532_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:41:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-22972.26,67.5,206750.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6532",60,0,60); h_SL3L168->SetBinContent(1,9660.265); h_SL3L168->SetBinContent(2,6526.445); h_SL3L168->SetBinContent(4,11865.75); h_SL3L168->SetBinContent(5,12237.08); h_SL3L168->SetBinContent(6,12456.51); h_SL3L168->SetBinContent(7,11488.79); h_SL3L168->SetBinContent(8,11646.33); h_SL3L168->SetBinContent(9,10701.12); h_SL3L168->SetBinContent(10,9322.689); h_SL3L168->SetBinContent(11,9750.284); h_SL3L168->SetBinContent(12,10020.34); h_SL3L168->SetBinContent(13,11426.91); h_SL3L168->SetBinContent(14,11173.72); h_SL3L168->SetBinContent(15,11578.81); h_SL3L168->SetBinContent(16,11168.1); h_SL3L168->SetBinContent(17,11646.33); h_SL3L168->SetBinContent(18,11803.86); h_SL3L168->SetBinContent(19,12045.79); h_SL3L168->SetBinContent(20,12270.84); h_SL3L168->SetBinContent(21,11792.61); h_SL3L168->SetBinContent(22,12653.43); h_SL3L168->SetBinContent(23,13317.32); h_SL3L168->SetBinContent(24,13553.63); h_SL3L168->SetBinContent(25,12777.21); h_SL3L168->SetBinContent(26,13621.14); h_SL3L168->SetBinContent(27,13429.85); h_SL3L168->SetBinContent(28,13474.86); h_SL3L168->SetBinContent(29,13660.53); h_SL3L168->SetBinContent(30,14223.15); h_SL3L168->SetBinContent(31,14735.14); h_SL3L168->SetBinContent(32,15612.83); h_SL3L168->SetBinContent(33,19776.25); h_SL3L168->SetBinContent(34,48998.98); h_SL3L168->SetBinContent(35,66986.09); h_SL3L168->SetBinContent(36,69720.44); h_SL3L168->SetBinContent(37,76072.47); h_SL3L168->SetBinContent(38,80984.19); h_SL3L168->SetBinContent(39,74502.75); h_SL3L168->SetBinContent(40,50231.12); h_SL3L168->SetBinContent(41,18724.15); h_SL3L168->SetBinContent(42,14273.79); h_SL3L168->SetBinContent(43,12636.55); h_SL3L168->SetBinContent(44,12569.03); h_SL3L168->SetBinContent(45,11561.94); h_SL3L168->SetBinContent(46,10937.42); h_SL3L168->SetBinContent(47,11460.66); h_SL3L168->SetBinContent(48,11055.57); h_SL3L168->SetBinContent(49,28665.72); h_SL3L168->SetBinContent(50,10644.86); h_SL3L168->SetBinContent(51,10324.16); h_SL3L168->SetBinContent(52,10678.62); h_SL3L168->SetBinContent(53,9986.587); h_SL3L168->SetBinContent(54,8962.609); h_SL3L168->SetBinContent(55,10031.6); h_SL3L168->SetBinContent(56,9001.993); h_SL3L168->SetBinContent(57,9300.185); h_SL3L168->SetBinContent(58,7201.595); h_SL3L168->SetBinContent(59,6695.233); h_SL3L168->SetMaximum(183778); 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,9350.821); h_SL3L269->SetBinContent(2,6864.02); h_SL3L269->SetBinContent(4,9243.922); h_SL3L269->SetBinContent(5,11173.72); h_SL3L269->SetBinContent(6,12028.91); h_SL3L269->SetBinContent(7,11882.63); h_SL3L269->SetBinContent(8,11004.94); h_SL3L269->SetBinContent(9,10487.32); h_SL3L269->SetBinContent(10,9266.427); h_SL3L269->SetBinContent(11,9232.67); h_SL3L269->SetBinContent(12,9902.193); h_SL3L269->SetBinContent(13,10166.63); h_SL3L269->SetBinContent(14,10380.42); h_SL3L269->SetBinContent(15,10549.21); h_SL3L269->SetBinContent(16,11229.99); h_SL3L269->SetBinContent(17,11021.82); h_SL3L269->SetBinContent(18,10723.62); h_SL3L269->SetBinContent(19,10909.29); h_SL3L269->SetBinContent(20,11443.78); h_SL3L269->SetBinContent(21,11910.76); h_SL3L269->SetBinContent(22,12237.08); h_SL3L269->SetBinContent(23,13052.89); h_SL3L269->SetBinContent(24,12878.48); h_SL3L269->SetBinContent(25,12220.21); h_SL3L269->SetBinContent(26,12794.08); h_SL3L269->SetBinContent(27,13379.21); h_SL3L269->SetBinContent(28,12653.43); h_SL3L269->SetBinContent(29,12929.11); h_SL3L269->SetBinContent(30,13373.59); h_SL3L269->SetBinContent(31,13705.54); h_SL3L269->SetBinContent(32,14616.99); h_SL3L269->SetBinContent(33,17587.64); h_SL3L269->SetBinContent(34,28885.15); h_SL3L269->SetBinContent(35,61117.91); h_SL3L269->SetBinContent(36,66946.7); h_SL3L269->SetBinContent(37,72122.84); h_SL3L269->SetBinContent(38,78126.05); h_SL3L269->SetBinContent(39,78986.87); h_SL3L269->SetBinContent(40,65782.07); h_SL3L269->SetBinContent(41,29352.12); h_SL3L269->SetBinContent(42,16057.31); h_SL3L269->SetBinContent(43,12580.29); h_SL3L269->SetBinContent(44,12068.3); h_SL3L269->SetBinContent(45,11421.28); h_SL3L269->SetBinContent(46,10819.27); h_SL3L269->SetBinContent(47,10582.97); h_SL3L269->SetBinContent(48,10144.12); h_SL3L269->SetBinContent(49,12917.86); h_SL3L269->SetBinContent(50,10751.76); h_SL3L269->SetBinContent(51,10228.52); h_SL3L269->SetBinContent(52,10566.09); h_SL3L269->SetBinContent(53,14031.86); h_SL3L269->SetBinContent(54,8720.682); h_SL3L269->SetBinContent(55,9187.66); h_SL3L269->SetBinContent(56,9587.123); h_SL3L269->SetBinContent(57,9058.256); h_SL3L269->SetBinContent(58,8450.621); h_SL3L269->SetBinContent(59,6993.424); h_SL3L269->SetMaximum(159807.1); 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,8259.329); h_SL3L370->SetBinContent(2,6453.304); h_SL3L370->SetBinContent(3,7899.25); h_SL3L370->SetBinContent(4,10746.13); h_SL3L370->SetBinContent(5,10993.68); h_SL3L370->SetBinContent(6,11837.62); h_SL3L370->SetBinContent(7,10661.74); h_SL3L370->SetBinContent(8,10222.89); h_SL3L370->SetBinContent(9,9497.104); h_SL3L370->SetBinContent(10,8940.104); h_SL3L370->SetBinContent(11,8979.488); h_SL3L370->SetBinContent(12,9688.396); h_SL3L370->SetBinContent(13,10161); h_SL3L370->SetBinContent(14,10335.41); h_SL3L370->SetBinContent(15,9874.062); h_SL3L370->SetBinContent(16,10571.72); h_SL3L370->SetBinContent(17,10194.76); h_SL3L370->SetBinContent(18,10611.1); h_SL3L370->SetBinContent(19,10672.99); h_SL3L370->SetBinContent(20,10864.28); h_SL3L370->SetBinContent(21,11128.71); h_SL3L370->SetBinContent(22,11916.39); h_SL3L370->SetBinContent(23,11561.94); h_SL3L370->SetBinContent(24,12040.17); h_SL3L370->SetBinContent(25,12467.76); h_SL3L370->SetBinContent(26,12647.8); h_SL3L370->SetBinContent(27,12591.54); h_SL3L370->SetBinContent(28,12405.87); h_SL3L370->SetBinContent(29,12417.12); h_SL3L370->SetBinContent(30,12805.34); h_SL3L370->SetBinContent(31,13654.9); h_SL3L370->SetBinContent(32,14380.68); h_SL3L370->SetBinContent(33,18538.48); h_SL3L370->SetBinContent(34,47406.75); h_SL3L370->SetBinContent(35,64583.68); h_SL3L370->SetBinContent(36,68516.42); h_SL3L370->SetBinContent(37,75116.01); h_SL3L370->SetBinContent(38,78677.42); h_SL3L370->SetBinContent(39,73377.5); h_SL3L370->SetBinContent(40,50084.84); h_SL3L370->SetBinContent(41,17857.71); h_SL3L370->SetBinContent(42,13446.73); h_SL3L370->SetBinContent(43,11657.58); h_SL3L370->SetBinContent(44,11393.15); h_SL3L370->SetBinContent(45,9941.576); h_SL3L370->SetBinContent(46,10352.29); h_SL3L370->SetBinContent(47,9885.314); h_SL3L370->SetBinContent(48,10183.5); h_SL3L370->SetBinContent(49,9682.77); h_SL3L370->SetBinContent(50,9592.749); h_SL3L370->SetBinContent(51,9682.77); h_SL3L370->SetBinContent(52,9491.477); h_SL3L370->SetBinContent(53,9288.932); h_SL3L370->SetBinContent(54,8698.177); h_SL3L370->SetBinContent(55,8715.055); h_SL3L370->SetBinContent(56,8782.57); h_SL3L370->SetBinContent(57,8174.936); h_SL3L370->SetBinContent(58,7117.201); h_SL3L370->SetBinContent(59,6278.891); h_SL3L370->SetMaximum(159807.1); 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,6239.507); h_SL3L471->SetBinContent(3,6976.545); h_SL3L471->SetBinContent(4,9227.043); h_SL3L471->SetBinContent(5,10976.81); h_SL3L471->SetBinContent(6,138962.7); h_SL3L471->SetBinContent(7,11471.92); h_SL3L471->SetBinContent(8,11134.34); h_SL3L471->SetBinContent(9,9266.427); h_SL3L471->SetBinContent(10,8754.438); h_SL3L471->SetBinContent(11,8754.438); h_SL3L471->SetBinContent(12,8923.227); h_SL3L471->SetBinContent(13,9114.519); h_SL3L471->SetBinContent(14,9435.215); h_SL3L471->SetBinContent(15,10296.03); h_SL3L471->SetBinContent(16,9626.507); h_SL3L471->SetBinContent(17,9913.445); h_SL3L471->SetBinContent(18,9390.204); h_SL3L471->SetBinContent(19,10442.31); h_SL3L471->SetBinContent(20,10622.35); h_SL3L471->SetBinContent(21,10824.9); h_SL3L471->SetBinContent(22,10841.78); h_SL3L471->SetBinContent(23,11545.06); h_SL3L471->SetBinContent(24,11201.86); h_SL3L471->SetBinContent(25,11736.35); h_SL3L471->SetBinContent(26,11944.52); h_SL3L471->SetBinContent(27,12310.23); h_SL3L471->SetBinContent(28,11426.91); h_SL3L471->SetBinContent(29,12248.34); h_SL3L471->SetBinContent(30,12614.04); h_SL3L471->SetBinContent(31,12760.33); h_SL3L471->SetBinContent(32,13086.65); h_SL3L471->SetBinContent(33,16383.63); h_SL3L471->SetBinContent(34,27894.93); h_SL3L471->SetBinContent(35,60898.49); h_SL3L471->SetBinContent(36,65883.34); h_SL3L471->SetBinContent(37,71155.13); h_SL3L471->SetBinContent(38,76893.91); h_SL3L471->SetBinContent(39,77991.02); h_SL3L471->SetBinContent(40,64504.91); h_SL3L471->SetBinContent(41,28502.56); h_SL3L471->SetBinContent(42,15697.23); h_SL3L471->SetBinContent(43,11663.21); h_SL3L471->SetBinContent(44,10892.41); h_SL3L471->SetBinContent(45,10532.33); h_SL3L471->SetBinContent(46,10014.72); h_SL3L471->SetBinContent(47,10076.61); h_SL3L471->SetBinContent(48,9581.497); h_SL3L471->SetBinContent(49,9958.455); h_SL3L471->SetBinContent(50,9958.455); h_SL3L471->SetBinContent(51,9542.113); h_SL3L471->SetBinContent(52,9007.62); h_SL3L471->SetBinContent(53,8692.55); h_SL3L471->SetBinContent(54,8259.329); h_SL3L471->SetBinContent(55,8287.46); h_SL3L471->SetBinContent(56,8236.824); h_SL3L471->SetBinContent(57,9075.135); h_SL3L471->SetBinContent(58,8377.48); h_SL3L471->SetBinContent(59,7179.09); h_SL3L471->SetMaximum(159807.1); 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 6532"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }