void RatesPerCell_Removing_noisy_cells_run_6638_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-44840.8,67.5,403567.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6638",60,0,60); h_SL2L164->SetBinContent(1,8309.164); h_SL2L164->SetBinContent(2,10499.88); h_SL2L164->SetBinContent(3,12686.39); h_SL2L164->SetBinContent(4,12827.12); h_SL2L164->SetBinContent(5,12749.4); h_SL2L164->SetBinContent(6,11949.15); h_SL2L164->SetBinContent(7,10665.81); h_SL2L164->SetBinContent(8,10554.49); h_SL2L164->SetBinContent(9,11829.43); h_SL2L164->SetBinContent(10,12369.23); h_SL2L164->SetBinContent(11,12207.5); h_SL2L164->SetBinContent(12,12257.91); h_SL2L164->SetBinContent(13,12381.83); h_SL2L164->SetBinContent(14,12436.44); h_SL2L164->SetBinContent(15,12325.12); h_SL2L164->SetBinContent(16,12037.37); h_SL2L164->SetBinContent(17,11728.61); h_SL2L164->SetBinContent(18,11741.21); h_SL2L164->SetBinContent(19,11142.6); h_SL2L164->SetBinContent(20,10758.23); h_SL2L164->SetBinContent(21,10048.29); h_SL2L164->SetBinContent(22,9915.967); h_SL2L164->SetBinContent(23,9792.044); h_SL2L164->SetBinContent(24,9678.622); h_SL2L164->SetBinContent(25,14377.21); h_SL2L164->SetBinContent(26,32518.32); h_SL2L164->SetBinContent(27,45752.91); h_SL2L164->SetBinContent(28,53530.68); h_SL2L164->SetBinContent(29,56225.48); h_SL2L164->SetBinContent(30,55698.29); h_SL2L164->SetBinContent(31,53709.21); h_SL2L164->SetBinContent(32,54183.9); h_SL2L164->SetBinContent(33,52667.41); h_SL2L164->SetBinContent(34,31831.49); h_SL2L164->SetBinContent(35,4.200791); h_SL2L164->SetBinContent(36,7815.571); h_SL2L164->SetBinContent(37,8464.594); h_SL2L164->SetBinContent(38,7261.067); h_SL2L164->SetBinContent(39,7569.825); h_SL2L164->SetBinContent(40,71087.88); h_SL2L164->SetBinContent(41,271249.3); h_SL2L164->SetBinContent(42,10512.48); h_SL2L164->SetBinContent(43,10333.95); h_SL2L164->SetBinContent(44,10287.74); h_SL2L164->SetBinContent(45,4940.13); h_SL2L164->SetBinContent(46,4538.955); h_SL2L164->SetBinContent(47,4742.693); h_SL2L164->SetBinContent(48,4583.063); h_SL2L164->SetBinContent(49,4662.878); h_SL2L164->SetBinContent(50,4683.882); h_SL2L164->SetBinContent(51,4925.427); h_SL2L164->SetBinContent(52,5299.298); h_SL2L164->SetBinContent(53,5591.252); h_SL2L164->SetBinContent(54,5918.915); h_SL2L164->SetBinContent(55,5874.806); h_SL2L164->SetBinContent(56,5072.455); h_SL2L164->SetBinContent(57,10728.82); h_SL2L164->SetMaximum(358726.4); 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,6891.397); h_SL2L265->SetBinContent(2,10119.71); h_SL2L265->SetBinContent(3,10936.76); h_SL2L265->SetBinContent(4,12186.49); h_SL2L265->SetBinContent(5,12312.52); h_SL2L265->SetBinContent(6,11947.05); h_SL2L265->SetBinContent(7,11235.02); h_SL2L265->SetBinContent(8,9729.031); h_SL2L265->SetBinContent(9,11182.5); h_SL2L265->SetBinContent(10,11272.82); h_SL2L265->SetBinContent(11,12257.91); h_SL2L265->SetBinContent(12,11926.04); h_SL2L265->SetBinContent(13,11772.72); h_SL2L265->SetBinContent(14,12007.96); h_SL2L265->SetBinContent(15,12100.38); h_SL2L265->SetBinContent(16,11921.84); h_SL2L265->SetBinContent(17,11447.16); h_SL2L265->SetBinContent(18,11165.7); h_SL2L265->SetBinContent(19,11117.39); h_SL2L265->SetBinContent(20,10516.68); h_SL2L265->SetBinContent(21,10285.64); h_SL2L265->SetBinContent(22,9556.799); h_SL2L265->SetBinContent(23,9256.442); h_SL2L265->SetBinContent(24,9298.45); h_SL2L265->SetBinContent(25,9995.782); h_SL2L265->SetBinContent(26,23053.94); h_SL2L265->SetBinContent(27,39365.61); h_SL2L265->SetBinContent(28,50104.93); h_SL2L265->SetBinContent(29,55017.76); h_SL2L265->SetBinContent(30,55544.96); h_SL2L265->SetBinContent(31,53978.06); h_SL2L265->SetBinContent(32,53654.6); h_SL2L265->SetBinContent(33,54148.2); h_SL2L265->SetBinContent(34,45129.1); h_SL2L265->SetBinContent(35,18680.92); h_SL2L265->SetBinContent(36,8741.846); h_SL2L265->SetBinContent(37,7025.823); h_SL2L265->SetBinContent(38,6809.482); h_SL2L265->SetBinContent(39,6227.672); h_SL2L265->SetBinContent(40,7599.23); h_SL2L265->SetBinContent(41,6859.892); h_SL2L265->SetBinContent(42,6351.596); h_SL2L265->SetBinContent(43,5906.312); h_SL2L265->SetBinContent(44,6170.962); h_SL2L265->SetBinContent(45,4667.079); h_SL2L265->SetBinContent(46,4723.79); h_SL2L265->SetBinContent(47,4444.437); h_SL2L265->SetBinContent(48,4442.336); h_SL2L265->SetBinContent(49,4421.333); h_SL2L265->SetBinContent(50,4522.151); h_SL2L265->SetBinContent(51,4352.02); h_SL2L265->SetBinContent(52,4898.122); h_SL2L265->SetBinContent(53,5139.667); h_SL2L265->SetBinContent(54,5528.241); h_SL2L265->SetBinContent(55,5704.674); h_SL2L265->SetBinContent(56,5074.555); h_SL2L265->SetBinContent(57,4809.906); h_SL2L265->SetMaximum(311936.7); 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,8216.747); h_SL2L366->SetBinContent(2,9962.176); h_SL2L366->SetBinContent(3,11976.46); h_SL2L366->SetBinContent(4,11932.35); h_SL2L366->SetBinContent(5,11550.07); h_SL2L366->SetBinContent(6,10936.76); h_SL2L366->SetBinContent(7,9957.975); h_SL2L366->SetBinContent(8,10300.34); h_SL2L366->SetBinContent(9,10772.93); h_SL2L366->SetBinContent(10,11386.24); h_SL2L366->SetBinContent(11,11928.15); h_SL2L366->SetBinContent(12,11621.49); h_SL2L366->SetBinContent(13,11346.34); h_SL2L366->SetBinContent(14,11413.55); h_SL2L366->SetBinContent(15,11438.75); h_SL2L366->SetBinContent(16,10995.57); h_SL2L366->SetBinContent(17,10888.45); h_SL2L366->SetBinContent(18,10997.67); h_SL2L366->SetBinContent(19,10537.68); h_SL2L366->SetBinContent(20,9943.272); h_SL2L366->SetBinContent(21,9363.562); h_SL2L366->SetBinContent(22,9065.307); h_SL2L366->SetBinContent(23,9409.771); h_SL2L366->SetBinContent(24,8857.367); h_SL2L366->SetBinContent(25,14013.84); h_SL2L366->SetBinContent(26,31888.2); h_SL2L366->SetBinContent(27,45171.11); h_SL2L366->SetBinContent(28,53236.62); h_SL2L366->SetBinContent(29,55236.2); h_SL2L366->SetBinContent(30,54751.01); h_SL2L366->SetBinContent(31,53444.56); h_SL2L366->SetBinContent(32,53795.33); h_SL2L366->SetBinContent(33,52119.21); h_SL2L366->SetBinContent(34,31453.42); h_SL2L366->SetBinContent(35,11167.8); h_SL2L366->SetBinContent(36,7532.018); h_SL2L366->SetBinContent(37,6435.612); h_SL2L366->SetBinContent(38,6183.564); h_SL2L366->SetBinContent(39,5689.971); h_SL2L366->SetBinContent(40,5757.184); h_SL2L366->SetBinContent(41,5545.044); h_SL2L366->SetBinContent(42,5280.394); h_SL2L366->SetBinContent(43,5221.583); h_SL2L366->SetBinContent(44,4696.484); h_SL2L366->SetBinContent(45,4591.464); h_SL2L366->SetBinContent(46,4190.289); h_SL2L366->SetBinContent(47,4251.2); h_SL2L366->SetBinContent(48,4066.365); h_SL2L366->SetBinContent(49,4360.421); h_SL2L366->SetBinContent(50,4175.586); h_SL2L366->SetBinContent(51,4505.348); h_SL2L366->SetBinContent(52,4669.179); h_SL2L366->SetBinContent(53,5173.274); h_SL2L366->SetBinContent(54,5383.313); h_SL2L366->SetBinContent(55,5292.997); h_SL2L366->SetBinContent(56,4694.384); h_SL2L366->SetBinContent(57,4572.561); h_SL2L366->SetMaximum(311936.7); 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,9294.25); h_SL2L467->SetBinContent(3,9997.882); h_SL2L467->SetBinContent(4,11550.07); h_SL2L467->SetBinContent(5,11541.67); h_SL2L467->SetBinContent(6,10934.66); h_SL2L467->SetBinContent(7,9907.565); h_SL2L467->SetBinContent(8,8905.677); h_SL2L467->SetBinContent(9,10674.21); h_SL2L467->SetBinContent(10,10751.92); h_SL2L467->SetBinContent(11,11327.43); h_SL2L467->SetBinContent(12,11201.41); h_SL2L467->SetBinContent(13,11398.85); h_SL2L467->SetBinContent(14,11081.69); h_SL2L467->SetBinContent(15,11226.61); h_SL2L467->SetBinContent(16,10947.26); h_SL2L467->SetBinContent(17,10615.4); h_SL2L467->SetBinContent(18,10560.79); h_SL2L467->SetBinContent(19,10768.73); h_SL2L467->SetBinContent(20,10088.2); h_SL2L467->SetBinContent(21,9340.459); h_SL2L467->SetBinContent(22,9019.098); h_SL2L467->SetBinContent(23,8641.026); h_SL2L467->SetBinContent(24,8785.954); h_SL2L467->SetBinContent(25,9197.632); h_SL2L467->SetBinContent(26,22455.33); h_SL2L467->SetBinContent(27,39124.07); h_SL2L467->SetBinContent(28,49665.95); h_SL2L467->SetBinContent(29,54423.35); h_SL2L467->SetBinContent(30,55923.03); h_SL2L467->SetBinContent(31,53618.89); h_SL2L467->SetBinContent(32,53455.06); h_SL2L467->SetBinContent(33,54114.59); h_SL2L467->SetBinContent(34,44782.53); h_SL2L467->SetBinContent(35,18311.25); h_SL2L467->SetBinContent(36,8237.751); h_SL2L467->SetBinContent(37,6807.382); h_SL2L467->SetBinContent(38,6007.131); h_SL2L467->SetBinContent(39,5624.859); h_SL2L467->SetBinContent(40,5301.398); h_SL2L467->SetBinContent(41,4954.833); h_SL2L467->SetBinContent(42,5326.603); h_SL2L467->SetBinContent(43,4946.431); h_SL2L467->SetBinContent(44,4570.46); h_SL2L467->SetBinContent(45,4425.533); h_SL2L467->SetBinContent(46,4255.401); h_SL2L467->SetBinContent(47,4291.108); h_SL2L467->SetBinContent(48,4156.683); h_SL2L467->SetBinContent(49,4247); h_SL2L467->SetBinContent(50,4282.707); h_SL2L467->SetBinContent(51,3919.338); h_SL2L467->SetBinContent(52,4486.445); h_SL2L467->SetBinContent(53,4696.484); h_SL2L467->SetBinContent(54,5080.856); h_SL2L467->SetBinContent(55,5236.286); h_SL2L467->SetBinContent(56,4952.732); h_SL2L467->SetBinContent(57,4492.746); h_SL2L467->SetMaximum(311936.7); 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 6638"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }