void RatesPerCell_Removing_noisy_cells_run_6892_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:09:28 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9827.613,67.5,88448.51); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6892",60,0,60); h_SL2L164->SetBinContent(1,15816.33); h_SL2L164->SetBinContent(2,19367.35); h_SL2L164->SetBinContent(3,24484.69); h_SL2L164->SetBinContent(4,23709.18); h_SL2L164->SetBinContent(5,23765.31); h_SL2L164->SetBinContent(6,22086.73); h_SL2L164->SetBinContent(7,19668.37); h_SL2L164->SetBinContent(8,19867.35); h_SL2L164->SetBinContent(9,22454.08); h_SL2L164->SetBinContent(10,22882.65); h_SL2L164->SetBinContent(11,22336.73); h_SL2L164->SetBinContent(12,23428.57); h_SL2L164->SetBinContent(13,22596.94); h_SL2L164->SetBinContent(14,21163.27); h_SL2L164->SetBinContent(15,22290.82); h_SL2L164->SetBinContent(16,20663.27); h_SL2L164->SetBinContent(17,20989.79); h_SL2L164->SetBinContent(18,19938.78); h_SL2L164->SetBinContent(19,19903.06); h_SL2L164->SetBinContent(20,18653.06); h_SL2L164->SetBinContent(21,17607.14); h_SL2L164->SetBinContent(22,15872.45); h_SL2L164->SetBinContent(23,15632.65); h_SL2L164->SetBinContent(24,15418.37); h_SL2L164->SetBinContent(25,18750); h_SL2L164->SetBinContent(26,36903.06); h_SL2L164->SetBinContent(27,49989.8); h_SL2L164->SetBinContent(28,57989.8); h_SL2L164->SetBinContent(29,59448.98); h_SL2L164->SetBinContent(30,57469.39); h_SL2L164->SetBinContent(31,55765.3); h_SL2L164->SetBinContent(32,54928.57); h_SL2L164->SetBinContent(33,5.102041); h_SL2L164->SetBinContent(34,5.102041); h_SL2L164->SetBinContent(36,15.30612); h_SL2L164->SetBinContent(37,5.102041); h_SL2L164->SetBinContent(38,5.102041); h_SL2L164->SetBinContent(39,10.20408); h_SL2L164->SetBinContent(40,15.30612); h_SL2L164->SetBinContent(41,66.32653); h_SL2L164->SetBinContent(43,5.102041); h_SL2L164->SetBinContent(44,5.102041); h_SL2L164->SetBinContent(49,15.30612); h_SL2L164->SetBinContent(50,20.40816); h_SL2L164->SetBinContent(52,5.102041); h_SL2L164->SetBinContent(53,5.102041); h_SL2L164->SetBinContent(56,10.20408); h_SL2L164->SetBinContent(57,5.102041); h_SL2L164->SetMaximum(78620.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,12622.45); h_SL2L265->SetBinContent(2,18551.02); h_SL2L265->SetBinContent(3,20581.63); h_SL2L265->SetBinContent(4,23336.73); h_SL2L265->SetBinContent(5,23637.75); h_SL2L265->SetBinContent(6,22474.49); h_SL2L265->SetBinContent(7,19836.73); h_SL2L265->SetBinContent(8,17867.35); h_SL2L265->SetBinContent(9,20163.27); h_SL2L265->SetBinContent(10,21647.96); h_SL2L265->SetBinContent(11,22311.22); h_SL2L265->SetBinContent(12,21571.43); h_SL2L265->SetBinContent(13,21903.06); h_SL2L265->SetBinContent(14,21423.47); h_SL2L265->SetBinContent(15,21510.2); h_SL2L265->SetBinContent(16,20846.94); h_SL2L265->SetBinContent(17,19882.65); h_SL2L265->SetBinContent(18,19770.41); h_SL2L265->SetBinContent(19,19561.22); h_SL2L265->SetBinContent(20,17933.67); h_SL2L265->SetBinContent(21,16826.53); h_SL2L265->SetBinContent(22,15795.92); h_SL2L265->SetBinContent(23,14392.86); h_SL2L265->SetBinContent(24,14607.14); h_SL2L265->SetBinContent(25,15244.9); h_SL2L265->SetBinContent(26,27214.29); h_SL2L265->SetBinContent(27,43030.61); h_SL2L265->SetBinContent(28,53984.7); h_SL2L265->SetBinContent(29,58581.63); h_SL2L265->SetBinContent(30,58081.63); h_SL2L265->SetBinContent(31,55836.73); h_SL2L265->SetBinContent(32,54352.04); h_SL2L265->SetBinContent(34,10.20408); h_SL2L265->SetBinContent(35,15.30612); h_SL2L265->SetBinContent(38,15.30612); h_SL2L265->SetBinContent(39,5.102041); h_SL2L265->SetBinContent(40,15.30612); h_SL2L265->SetBinContent(42,10.20408); h_SL2L265->SetBinContent(43,5.102041); h_SL2L265->SetBinContent(49,5.102041); h_SL2L265->SetBinContent(50,5.102041); h_SL2L265->SetBinContent(51,5.102041); h_SL2L265->SetBinContent(52,5.102041); h_SL2L265->SetBinContent(53,5.102041); h_SL2L265->SetBinContent(55,5.102041); h_SL2L265->SetMaximum(68366.33); 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,15102.04); h_SL2L366->SetBinContent(2,18260.2); h_SL2L366->SetBinContent(3,22464.29); h_SL2L366->SetBinContent(4,22724.49); h_SL2L366->SetBinContent(5,22173.47); h_SL2L366->SetBinContent(6,20255.1); h_SL2L366->SetBinContent(7,17540.82); h_SL2L366->SetBinContent(8,18183.67); h_SL2L366->SetBinContent(9,20474.49); h_SL2L366->SetBinContent(10,21137.76); h_SL2L366->SetBinContent(11,21581.63); h_SL2L366->SetBinContent(12,20882.65); h_SL2L366->SetBinContent(13,21015.31); h_SL2L366->SetBinContent(14,20729.59); h_SL2L366->SetBinContent(15,19744.9); h_SL2L366->SetBinContent(16,19897.96); h_SL2L366->SetBinContent(17,19066.33); h_SL2L366->SetBinContent(18,19035.71); h_SL2L366->SetBinContent(19,18709.18); h_SL2L366->SetBinContent(20,17066.33); h_SL2L366->SetBinContent(21,15872.45); h_SL2L366->SetBinContent(22,14744.9); h_SL2L366->SetBinContent(23,14658.16); h_SL2L366->SetBinContent(24,14132.65); h_SL2L366->SetBinContent(25,18142.86); h_SL2L366->SetBinContent(26,36035.71); h_SL2L366->SetBinContent(27,48607.14); h_SL2L366->SetBinContent(28,57408.16); h_SL2L366->SetBinContent(29,58632.65); h_SL2L366->SetBinContent(30,56668.37); h_SL2L366->SetBinContent(31,55091.84); h_SL2L366->SetBinContent(32,54443.88); h_SL2L366->SetBinContent(33,20.40816); h_SL2L366->SetBinContent(34,5.102041); h_SL2L366->SetBinContent(35,10.20408); h_SL2L366->SetBinContent(36,10.20408); h_SL2L366->SetBinContent(41,10.20408); h_SL2L366->SetBinContent(43,5.102041); h_SL2L366->SetBinContent(49,5.102041); h_SL2L366->SetBinContent(50,15.30612); h_SL2L366->SetBinContent(51,15.30612); h_SL2L366->SetBinContent(52,15.30612); h_SL2L366->SetBinContent(55,5.102041); h_SL2L366->SetBinContent(57,5.102041); h_SL2L366->SetMaximum(68366.33); 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,17852.04); h_SL2L467->SetBinContent(3,19438.78); h_SL2L467->SetBinContent(4,21632.65); h_SL2L467->SetBinContent(5,21392.86); h_SL2L467->SetBinContent(6,20142.86); h_SL2L467->SetBinContent(7,18622.45); h_SL2L467->SetBinContent(8,16494.9); h_SL2L467->SetBinContent(9,19591.84); h_SL2L467->SetBinContent(10,20301.02); h_SL2L467->SetBinContent(11,20683.67); h_SL2L467->SetBinContent(12,20821.43); h_SL2L467->SetBinContent(13,19841.84); h_SL2L467->SetBinContent(14,19647.96); h_SL2L467->SetBinContent(15,20056.12); h_SL2L467->SetBinContent(16,19709.18); h_SL2L467->SetBinContent(17,19056.12); h_SL2L467->SetBinContent(18,18948.98); h_SL2L467->SetBinContent(19,18352.04); h_SL2L467->SetBinContent(20,17403.06); h_SL2L467->SetBinContent(21,15459.18); h_SL2L467->SetBinContent(22,14658.16); h_SL2L467->SetBinContent(23,13928.57); h_SL2L467->SetBinContent(24,13658.16); h_SL2L467->SetBinContent(25,13938.78); h_SL2L467->SetBinContent(26,25790.82); h_SL2L467->SetBinContent(27,42535.71); h_SL2L467->SetBinContent(28,53096.94); h_SL2L467->SetBinContent(29,58719.39); h_SL2L467->SetBinContent(30,57846.94); h_SL2L467->SetBinContent(31,54816.32); h_SL2L467->SetBinContent(32,54423.47); h_SL2L467->SetBinContent(34,10.20408); h_SL2L467->SetBinContent(35,25.5102); h_SL2L467->SetBinContent(36,5.102041); h_SL2L467->SetBinContent(38,10.20408); h_SL2L467->SetBinContent(41,5.102041); h_SL2L467->SetBinContent(42,5.102041); h_SL2L467->SetBinContent(44,5.102041); h_SL2L467->SetBinContent(49,10.20408); h_SL2L467->SetBinContent(50,5.102041); h_SL2L467->SetBinContent(52,5.102041); h_SL2L467->SetBinContent(55,5.102041); h_SL2L467->SetMaximum(68366.33); 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 6892"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }