void RatesPerCell_Removing_noisy_cells_run_6653_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:58:05 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19934.1,67.5,179406.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6653",60,0,60); h_SL2L164->SetBinContent(1,31680.28); h_SL2L164->SetBinContent(2,39002.28); h_SL2L164->SetBinContent(3,47176.46); h_SL2L164->SetBinContent(4,47783.45); h_SL2L164->SetBinContent(5,46869.39); h_SL2L164->SetBinContent(6,43239.33); h_SL2L164->SetBinContent(7,39178.43); h_SL2L164->SetBinContent(8,38257.23); h_SL2L164->SetBinContent(9,42948.93); h_SL2L164->SetBinContent(10,44598.52); h_SL2L164->SetBinContent(11,44893.69); h_SL2L164->SetBinContent(12,43420.24); h_SL2L164->SetBinContent(13,43363.11); h_SL2L164->SetBinContent(14,42618.06); h_SL2L164->SetBinContent(15,41730.18); h_SL2L164->SetBinContent(16,41104.14); h_SL2L164->SetBinContent(17,39318.87); h_SL2L164->SetBinContent(18,38754.73); h_SL2L164->SetBinContent(19,37569.3); h_SL2L164->SetBinContent(20,34591.46); h_SL2L164->SetBinContent(21,31880.23); h_SL2L164->SetBinContent(22,29390.37); h_SL2L164->SetBinContent(23,28942.86); h_SL2L164->SetBinContent(24,26950.49); h_SL2L164->SetBinContent(25,30190.17); h_SL2L164->SetBinContent(26,44910.35); h_SL2L164->SetBinContent(27,57778.6); h_SL2L164->SetBinContent(28,64748.31); h_SL2L164->SetBinContent(29,67247.7); h_SL2L164->SetBinContent(30,65107.75); h_SL2L164->SetBinContent(31,62691.68); h_SL2L164->SetBinContent(32,64517.42); h_SL2L164->SetBinContent(33,62391.75); h_SL2L164->SetBinContent(34,42622.82); h_SL2L164->SetBinContent(36,18785.84); h_SL2L164->SetBinContent(37,19202.41); h_SL2L164->SetBinContent(38,18888.2); h_SL2L164->SetBinContent(39,18583.51); h_SL2L164->SetBinContent(40,46438.54); h_SL2L164->SetBinContent(41,120584.5); h_SL2L164->SetBinContent(42,19092.91); h_SL2L164->SetBinContent(43,19242.87); h_SL2L164->SetBinContent(44,18576.37); h_SL2L164->SetBinContent(45,14772.55); h_SL2L164->SetBinContent(46,14432.15); h_SL2L164->SetBinContent(47,14491.66); h_SL2L164->SetBinContent(48,14879.66); h_SL2L164->SetBinContent(49,15662.8); h_SL2L164->SetBinContent(50,14729.7); h_SL2L164->SetBinContent(51,15422.39); h_SL2L164->SetBinContent(52,17857.5); h_SL2L164->SetBinContent(53,19576.12); h_SL2L164->SetBinContent(54,20873.42); h_SL2L164->SetBinContent(55,20925.79); h_SL2L164->SetBinContent(56,18288.35); h_SL2L164->SetBinContent(57,15774.68); h_SL2L164->SetMaximum(159472.8); 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,25988.83); h_SL2L265->SetBinContent(2,37321.75); h_SL2L265->SetBinContent(3,40525.71); h_SL2L265->SetBinContent(4,46833.68); h_SL2L265->SetBinContent(5,45952.95); h_SL2L265->SetBinContent(6,44115.31); h_SL2L265->SetBinContent(7,39623.56); h_SL2L265->SetBinContent(8,35384.13); h_SL2L265->SetBinContent(9,40944.66); h_SL2L265->SetBinContent(10,42075.34); h_SL2L265->SetBinContent(11,43196.48); h_SL2L265->SetBinContent(12,41894.43); h_SL2L265->SetBinContent(13,42068.19); h_SL2L265->SetBinContent(14,41511.19); h_SL2L265->SetBinContent(15,40592.37); h_SL2L265->SetBinContent(16,39787.8); h_SL2L265->SetBinContent(17,38331.02); h_SL2L265->SetBinContent(18,37252.71); h_SL2L265->SetBinContent(19,37307.46); h_SL2L265->SetBinContent(20,34401.04); h_SL2L265->SetBinContent(21,32715.74); h_SL2L265->SetBinContent(22,29216.6); h_SL2L265->SetBinContent(23,27359.92); h_SL2L265->SetBinContent(24,27071.89); h_SL2L265->SetBinContent(25,25898.37); h_SL2L265->SetBinContent(26,36298.19); h_SL2L265->SetBinContent(27,51370.66); h_SL2L265->SetBinContent(28,61646.7); h_SL2L265->SetBinContent(29,65424.34); h_SL2L265->SetBinContent(30,65838.52); h_SL2L265->SetBinContent(31,61972.8); h_SL2L265->SetBinContent(32,62755.95); h_SL2L265->SetBinContent(33,63777.12); h_SL2L265->SetBinContent(34,55438.7); h_SL2L265->SetBinContent(35,28959.52); h_SL2L265->SetBinContent(36,19757.03); h_SL2L265->SetBinContent(37,17645.65); h_SL2L265->SetBinContent(38,17878.92); h_SL2L265->SetBinContent(39,17043.41); h_SL2L265->SetBinContent(40,17552.81); h_SL2L265->SetBinContent(41,16774.43); h_SL2L265->SetBinContent(42,16162.68); h_SL2L265->SetBinContent(43,15798.48); h_SL2L265->SetBinContent(44,15686.61); h_SL2L265->SetBinContent(45,14993.92); h_SL2L265->SetBinContent(46,14056.06); h_SL2L265->SetBinContent(47,13563.32); h_SL2L265->SetBinContent(48,14044.15); h_SL2L265->SetBinContent(49,14646.39); h_SL2L265->SetBinContent(50,14874.9); h_SL2L265->SetBinContent(51,13772.79); h_SL2L265->SetBinContent(52,16455.46); h_SL2L265->SetBinContent(53,18166.95); h_SL2L265->SetBinContent(54,19245.25); h_SL2L265->SetBinContent(55,20533.03); h_SL2L265->SetBinContent(56,18283.58); h_SL2L265->SetBinContent(57,17650.41); h_SL2L265->SetMaximum(138672.2); 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,29595.08); h_SL2L366->SetBinContent(2,36093.48); h_SL2L366->SetBinContent(3,44415.23); h_SL2L366->SetBinContent(4,44239.09); h_SL2L366->SetBinContent(5,42584.73); h_SL2L366->SetBinContent(6,39787.8); h_SL2L366->SetBinContent(7,35100.86); h_SL2L366->SetBinContent(8,36038.73); h_SL2L366->SetBinContent(9,40697.1); h_SL2L366->SetBinContent(10,40966.08); h_SL2L366->SetBinContent(11,40394.8); h_SL2L366->SetBinContent(12,40442.4); h_SL2L366->SetBinContent(13,39609.28); h_SL2L366->SetBinContent(14,40385.27); h_SL2L366->SetBinContent(15,38938.01); h_SL2L366->SetBinContent(16,37890.65); h_SL2L366->SetBinContent(17,36538.61); h_SL2L366->SetBinContent(18,36307.71); h_SL2L366->SetBinContent(19,34617.65); h_SL2L366->SetBinContent(20,32063.52); h_SL2L366->SetBinContent(21,29535.57); h_SL2L366->SetBinContent(22,27369.44); h_SL2L366->SetBinContent(23,26343.5); h_SL2L366->SetBinContent(24,25548.46); h_SL2L366->SetBinContent(25,28450.12); h_SL2L366->SetBinContent(26,43970.11); h_SL2L366->SetBinContent(27,56659.83); h_SL2L366->SetBinContent(28,63334.38); h_SL2L366->SetBinContent(29,65498.13); h_SL2L366->SetBinContent(30,63631.92); h_SL2L366->SetBinContent(31,61684.78); h_SL2L366->SetBinContent(32,63115.38); h_SL2L366->SetBinContent(33,61192.05); h_SL2L366->SetBinContent(34,41404.07); h_SL2L366->SetBinContent(35,21611.34); h_SL2L366->SetBinContent(36,17369.52); h_SL2L366->SetBinContent(37,16443.56); h_SL2L366->SetBinContent(38,17174.33); h_SL2L366->SetBinContent(39,16141.26); h_SL2L366->SetBinContent(40,16181.72); h_SL2L366->SetBinContent(41,15660.42); h_SL2L366->SetBinContent(42,15041.53); h_SL2L366->SetBinContent(43,14860.62); h_SL2L366->SetBinContent(44,14294.09); h_SL2L366->SetBinContent(45,13996.55); h_SL2L366->SetBinContent(46,13037.26); h_SL2L366->SetBinContent(47,13610.93); h_SL2L366->SetBinContent(48,13539.52); h_SL2L366->SetBinContent(49,14491.66); h_SL2L366->SetBinContent(50,14213.16); h_SL2L366->SetBinContent(51,14636.87); h_SL2L366->SetBinContent(52,16486.41); h_SL2L366->SetBinContent(53,17514.73); h_SL2L366->SetBinContent(54,19071.49); h_SL2L366->SetBinContent(55,20135.51); h_SL2L366->SetBinContent(56,16960.1); h_SL2L366->SetBinContent(57,16864.89); h_SL2L366->SetMaximum(138672.2); 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,34727.15); h_SL2L467->SetBinContent(3,38749.96); h_SL2L467->SetBinContent(4,42915.6); h_SL2L467->SetBinContent(5,41958.7); h_SL2L467->SetBinContent(6,39456.93); h_SL2L467->SetBinContent(7,36962.31); h_SL2L467->SetBinContent(8,33084.7); h_SL2L467->SetBinContent(9,38504.79); h_SL2L467->SetBinContent(10,39321.25); h_SL2L467->SetBinContent(11,39785.42); h_SL2L467->SetBinContent(12,38964.2); h_SL2L467->SetBinContent(13,38583.34); h_SL2L467->SetBinContent(14,38421.47); h_SL2L467->SetBinContent(15,37507.41); h_SL2L467->SetBinContent(16,36736.18); h_SL2L467->SetBinContent(17,35719.76); h_SL2L467->SetBinContent(18,34881.87); h_SL2L467->SetBinContent(19,33991.61); h_SL2L467->SetBinContent(20,31563.64); h_SL2L467->SetBinContent(21,30137.8); h_SL2L467->SetBinContent(22,27736.01); h_SL2L467->SetBinContent(23,25810.3); h_SL2L467->SetBinContent(24,24148.8); h_SL2L467->SetBinContent(25,23660.83); h_SL2L467->SetBinContent(26,35112.77); h_SL2L467->SetBinContent(27,50018.61); h_SL2L467->SetBinContent(28,60142.3); h_SL2L467->SetBinContent(29,64495.99); h_SL2L467->SetBinContent(30,65174.4); h_SL2L467->SetBinContent(31,61189.67); h_SL2L467->SetBinContent(32,61737.15); h_SL2L467->SetBinContent(33,62977.32); h_SL2L467->SetBinContent(34,54119.98); h_SL2L467->SetBinContent(35,28057.36); h_SL2L467->SetBinContent(36,18283.58); h_SL2L467->SetBinContent(37,16879.17); h_SL2L467->SetBinContent(38,16403.1); h_SL2L467->SetBinContent(39,15665.18); h_SL2L467->SetBinContent(40,15234.34); h_SL2L467->SetBinContent(41,14793.97); h_SL2L467->SetBinContent(42,14553.55); h_SL2L467->SetBinContent(43,14765.41); h_SL2L467->SetBinContent(44,14201.26); h_SL2L467->SetBinContent(45,14034.63); h_SL2L467->SetBinContent(46,12975.37); h_SL2L467->SetBinContent(47,13075.35); h_SL2L467->SetBinContent(48,12827.79); h_SL2L467->SetBinContent(49,13622.83); h_SL2L467->SetBinContent(50,14627.34); h_SL2L467->SetBinContent(51,13111.05); h_SL2L467->SetBinContent(52,15001.06); h_SL2L467->SetBinContent(53,16803); h_SL2L467->SetBinContent(54,17957.47); h_SL2L467->SetBinContent(55,18697.77); h_SL2L467->SetBinContent(56,17752.76); h_SL2L467->SetBinContent(57,16241.23); h_SL2L467->SetMaximum(138672.2); 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 6653"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }