void RatesPerCell_Removing_noisy_cells_run_6792_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9242.838,67.5,83185.54); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6792",60,0,60); h_SL2L164->SetBinContent(1,4580.664); h_SL2L164->SetBinContent(2,5437.59); h_SL2L164->SetBinContent(3,6664.986); h_SL2L164->SetBinContent(4,6947.167); h_SL2L164->SetBinContent(5,6770.587); h_SL2L164->SetBinContent(6,6251.238); h_SL2L164->SetBinContent(7,6090.239); h_SL2L164->SetBinContent(8,5827.103); h_SL2L164->SetBinContent(9,6523.031); h_SL2L164->SetBinContent(10,6694.416); h_SL2L164->SetBinContent(11,7021.606); h_SL2L164->SetBinContent(12,6729.04); h_SL2L164->SetBinContent(13,7000.833); h_SL2L164->SetBinContent(14,7454.398); h_SL2L164->SetBinContent(15,7051.036); h_SL2L164->SetBinContent(16,6976.596); h_SL2L164->SetBinContent(17,7090.853); h_SL2L164->SetBinContent(18,6741.158); h_SL2L164->SetBinContent(19,6952.36); h_SL2L164->SetBinContent(20,6471.096); h_SL2L164->SetBinContent(21,6204.497); h_SL2L164->SetBinContent(22,6168.142); h_SL2L164->SetBinContent(23,6161.217); h_SL2L164->SetBinContent(24,6654.6); h_SL2L164->SetBinContent(25,11288.93); h_SL2L164->SetBinContent(26,29879.91); h_SL2L164->SetBinContent(27,44551.54); h_SL2L164->SetBinContent(28,52191.17); h_SL2L164->SetBinContent(29,55911.45); h_SL2L164->SetBinContent(30,53557.06); h_SL2L164->SetBinContent(31,50764.69); h_SL2L164->SetBinContent(32,51441.58); h_SL2L164->SetBinContent(33,10.38699); h_SL2L164->SetBinContent(34,17.31165); h_SL2L164->SetBinContent(36,1.731165); h_SL2L164->SetBinContent(39,1.731165); h_SL2L164->SetBinContent(40,6.924661); h_SL2L164->SetBinContent(41,1.731165); h_SL2L164->SetBinContent(42,1.731165); h_SL2L164->SetBinContent(44,6.924661); h_SL2L164->SetBinContent(50,1.731165); h_SL2L164->SetBinContent(52,1.731165); h_SL2L164->SetBinContent(55,1.731165); h_SL2L164->SetBinContent(57,3.462331); h_SL2L164->SetMaximum(73942.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,3829.338); h_SL2L265->SetBinContent(2,5181.378); h_SL2L265->SetBinContent(3,5835.758); h_SL2L265->SetBinContent(4,6730.771); h_SL2L265->SetBinContent(5,6524.762); h_SL2L265->SetBinContent(6,6465.902); h_SL2L265->SetBinContent(7,6107.551); h_SL2L265->SetBinContent(8,5543.191); h_SL2L265->SetBinContent(9,6157.755); h_SL2L265->SetBinContent(10,6420.892); h_SL2L265->SetBinContent(11,6486.676); h_SL2L265->SetBinContent(12,6642.481); h_SL2L265->SetBinContent(13,6864.07); h_SL2L265->SetBinContent(14,7059.692); h_SL2L265->SetBinContent(15,6916.005); h_SL2L265->SetBinContent(16,6632.094); h_SL2L265->SetBinContent(17,6734.233); h_SL2L265->SetBinContent(18,6715.19); h_SL2L265->SetBinContent(19,6666.718); h_SL2L265->SetBinContent(20,6590.546); h_SL2L265->SetBinContent(21,6323.947); h_SL2L265->SetBinContent(22,6201.034); h_SL2L265->SetBinContent(23,5901.542); h_SL2L265->SetBinContent(24,6142.174); h_SL2L265->SetBinContent(25,7180.874); h_SL2L265->SetBinContent(26,20268.48); h_SL2L265->SetBinContent(27,37576.67); h_SL2L265->SetBinContent(28,48912.34); h_SL2L265->SetBinContent(29,54104.11); h_SL2L265->SetBinContent(30,54491.89); h_SL2L265->SetBinContent(31,51642.39); h_SL2L265->SetBinContent(32,50633.12); h_SL2L265->SetBinContent(33,12.11816); h_SL2L265->SetBinContent(34,20.77398); h_SL2L265->SetBinContent(35,1.731165); h_SL2L265->SetBinContent(36,3.462331); h_SL2L265->SetBinContent(38,1.731165); h_SL2L265->SetBinContent(39,1.731165); h_SL2L265->SetBinContent(40,1.731165); h_SL2L265->SetBinContent(50,1.731165); h_SL2L265->SetBinContent(52,3.462331); h_SL2L265->SetBinContent(57,1.731165); h_SL2L265->SetMaximum(64298.16); 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,4436.977); h_SL2L366->SetBinContent(2,5300.828); h_SL2L366->SetBinContent(3,6202.765); h_SL2L366->SetBinContent(4,6458.978); h_SL2L366->SetBinContent(5,6247.775); h_SL2L366->SetBinContent(6,6007.144); h_SL2L366->SetBinContent(7,5378.73); h_SL2L366->SetBinContent(8,5565.696); h_SL2L366->SetBinContent(9,6014.068); h_SL2L366->SetBinContent(10,6311.829); h_SL2L366->SetBinContent(11,6420.892); h_SL2L366->SetBinContent(12,6488.408); h_SL2L366->SetBinContent(13,6595.74); h_SL2L366->SetBinContent(14,6756.738); h_SL2L366->SetBinContent(15,6685.76); h_SL2L366->SetBinContent(16,6621.707); h_SL2L366->SetBinContent(17,6483.214); h_SL2L366->SetBinContent(18,6597.471); h_SL2L366->SetBinContent(19,6445.128); h_SL2L366->SetBinContent(20,6005.413); h_SL2L366->SetBinContent(21,5894.618); h_SL2L366->SetBinContent(22,5766.512); h_SL2L366->SetBinContent(23,5738.813); h_SL2L366->SetBinContent(24,6197.572); h_SL2L366->SetBinContent(25,11127.93); h_SL2L366->SetBinContent(26,29590.81); h_SL2L366->SetBinContent(27,43846.95); h_SL2L366->SetBinContent(28,51832.82); h_SL2L366->SetBinContent(29,54836.39); h_SL2L366->SetBinContent(30,53368.36); h_SL2L366->SetBinContent(31,50771.62); h_SL2L366->SetBinContent(32,51180.17); h_SL2L366->SetBinContent(33,13.84932); h_SL2L366->SetBinContent(34,19.04282); h_SL2L366->SetBinContent(35,1.731165); h_SL2L366->SetBinContent(36,3.462331); h_SL2L366->SetBinContent(37,1.731165); h_SL2L366->SetBinContent(38,3.462331); h_SL2L366->SetBinContent(40,1.731165); h_SL2L366->SetBinContent(44,1.731165); h_SL2L366->SetBinContent(49,3.462331); h_SL2L366->SetBinContent(50,1.731165); h_SL2L366->SetBinContent(52,3.462331); h_SL2L366->SetBinContent(55,1.731165); h_SL2L366->SetBinContent(57,1.731165); h_SL2L366->SetMaximum(64298.16); 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,4911.316); h_SL2L467->SetBinContent(3,5489.525); h_SL2L467->SetBinContent(4,6187.185); h_SL2L467->SetBinContent(5,6228.733); h_SL2L467->SetBinContent(6,5837.489); h_SL2L467->SetBinContent(7,5550.116); h_SL2L467->SetBinContent(8,4925.165); h_SL2L467->SetBinContent(9,5738.813); h_SL2L467->SetBinContent(10,6091.971); h_SL2L467->SetBinContent(11,6263.356); h_SL2L467->SetBinContent(12,6194.109); h_SL2L467->SetBinContent(13,6490.139); h_SL2L467->SetBinContent(14,6348.183); h_SL2L467->SetBinContent(15,6654.6); h_SL2L467->SetBinContent(16,6410.505); h_SL2L467->SetBinContent(17,6320.484); h_SL2L467->SetBinContent(18,6273.743); h_SL2L467->SetBinContent(19,6317.022); h_SL2L467->SetBinContent(20,6175.066); h_SL2L467->SetBinContent(21,5754.394); h_SL2L467->SetBinContent(22,5622.825); h_SL2L467->SetBinContent(23,5641.868); h_SL2L467->SetBinContent(24,5595.126); h_SL2L467->SetBinContent(25,6867.533); h_SL2L467->SetBinContent(26,20074.59); h_SL2L467->SetBinContent(27,37547.24); h_SL2L467->SetBinContent(28,48711.53); h_SL2L467->SetBinContent(29,53884.25); h_SL2L467->SetBinContent(30,54755.03); h_SL2L467->SetBinContent(31,51606.04); h_SL2L467->SetBinContent(32,50757.77); h_SL2L467->SetBinContent(33,15.58049); h_SL2L467->SetBinContent(34,20.77398); h_SL2L467->SetBinContent(35,3.462331); h_SL2L467->SetBinContent(36,1.731165); h_SL2L467->SetBinContent(49,1.731165); h_SL2L467->SetBinContent(50,3.462331); h_SL2L467->SetBinContent(54,1.731165); h_SL2L467->SetBinContent(55,1.731165); h_SL2L467->SetBinContent(57,1.731165); h_SL2L467->SetMaximum(64298.16); 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 6792"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }