void RatesPerCell_Removing_noisy_cells_run_6815_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:59 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13302.48,67.5,119722.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 6815",60,0,60); h_SL3L168->SetBinContent(1,9585.714); h_SL3L168->SetBinContent(2,6730.952); h_SL3L168->SetBinContent(4,11600); h_SL3L168->SetBinContent(5,11821.43); h_SL3L168->SetBinContent(6,12859.52); h_SL3L168->SetBinContent(7,12254.76); h_SL3L168->SetBinContent(8,11919.05); h_SL3L168->SetBinContent(9,11654.76); h_SL3L168->SetBinContent(10,10721.43); h_SL3L168->SetBinContent(11,10335.71); h_SL3L168->SetBinContent(12,10530.95); h_SL3L168->SetBinContent(13,11109.52); h_SL3L168->SetBinContent(14,11821.43); h_SL3L168->SetBinContent(15,11997.62); h_SL3L168->SetBinContent(16,11621.43); h_SL3L168->SetBinContent(17,11300); h_SL3L168->SetBinContent(18,11292.86); h_SL3L168->SetBinContent(19,12171.43); h_SL3L168->SetBinContent(20,12376.19); h_SL3L168->SetBinContent(21,12604.76); h_SL3L168->SetBinContent(22,13480.95); h_SL3L168->SetBinContent(23,13442.86); h_SL3L168->SetBinContent(24,13647.62); h_SL3L168->SetBinContent(25,13114.29); h_SL3L168->SetBinContent(26,13795.24); h_SL3L168->SetBinContent(27,13554.76); h_SL3L168->SetBinContent(28,13188.09); h_SL3L168->SetBinContent(29,13942.86); h_SL3L168->SetBinContent(30,14269.05); h_SL3L168->SetBinContent(31,14302.38); h_SL3L168->SetBinContent(32,15476.19); h_SL3L168->SetBinContent(33,19276.19); h_SL3L168->SetBinContent(34,48790.48); h_SL3L168->SetBinContent(35,67780.95); h_SL3L168->SetBinContent(36,72019.05); h_SL3L168->SetBinContent(37,78135.71); h_SL3L168->SetBinContent(38,80469.05); h_SL3L168->SetBinContent(39,72773.81); h_SL3L168->SetBinContent(40,49509.52); h_SL3L168->SetBinContent(41,18859.52); h_SL3L168->SetBinContent(42,14250); h_SL3L168->SetBinContent(43,12361.9); h_SL3L168->SetBinContent(44,12033.33); h_SL3L168->SetBinContent(45,11759.52); h_SL3L168->SetBinContent(46,11507.14); h_SL3L168->SetBinContent(47,11345.24); h_SL3L168->SetBinContent(48,11083.33); h_SL3L168->SetBinContent(49,11007.14); h_SL3L168->SetBinContent(50,10569.05); h_SL3L168->SetBinContent(51,10388.09); h_SL3L168->SetBinContent(52,10428.57); h_SL3L168->SetBinContent(53,9845.238); h_SL3L168->SetBinContent(54,9692.857); h_SL3L168->SetBinContent(55,10245.24); h_SL3L168->SetBinContent(56,9814.285); h_SL3L168->SetBinContent(57,9480.952); h_SL3L168->SetBinContent(58,7500); h_SL3L168->SetBinContent(59,6516.667); h_SL3L168->SetMaximum(106419.8); 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,9647.619); h_SL3L269->SetBinContent(2,7095.238); h_SL3L269->SetBinContent(4,9516.667); h_SL3L269->SetBinContent(5,11238.09); h_SL3L269->SetBinContent(6,11821.43); h_SL3L269->SetBinContent(7,11916.67); h_SL3L269->SetBinContent(8,11469.05); h_SL3L269->SetBinContent(9,11111.9); h_SL3L269->SetBinContent(10,10926.19); h_SL3L269->SetBinContent(11,9866.667); h_SL3L269->SetBinContent(12,9840.477); h_SL3L269->SetBinContent(13,10673.81); h_SL3L269->SetBinContent(14,10892.86); h_SL3L269->SetBinContent(15,11285.71); h_SL3L269->SetBinContent(16,11019.05); h_SL3L269->SetBinContent(17,10919.05); h_SL3L269->SetBinContent(18,11021.43); h_SL3L269->SetBinContent(19,11371.43); h_SL3L269->SetBinContent(20,11488.09); h_SL3L269->SetBinContent(21,11761.9); h_SL3L269->SetBinContent(22,12183.33); h_SL3L269->SetBinContent(23,12819.05); h_SL3L269->SetBinContent(24,12519.05); h_SL3L269->SetBinContent(25,13128.57); h_SL3L269->SetBinContent(26,13578.57); h_SL3L269->SetBinContent(27,13011.9); h_SL3L269->SetBinContent(28,12585.71); h_SL3L269->SetBinContent(29,12914.29); h_SL3L269->SetBinContent(30,13016.67); h_SL3L269->SetBinContent(31,13709.52); h_SL3L269->SetBinContent(32,14059.52); h_SL3L269->SetBinContent(33,16788.1); h_SL3L269->SetBinContent(34,28930.95); h_SL3L269->SetBinContent(35,60357.14); h_SL3L269->SetBinContent(36,69485.71); h_SL3L269->SetBinContent(37,73628.57); h_SL3L269->SetBinContent(38,79211.91); h_SL3L269->SetBinContent(39,76173.81); h_SL3L269->SetBinContent(40,64376.19); h_SL3L269->SetBinContent(41,28533.33); h_SL3L269->SetBinContent(42,15880.95); h_SL3L269->SetBinContent(43,12576.19); h_SL3L269->SetBinContent(44,11988.09); h_SL3L269->SetBinContent(45,11116.67); h_SL3L269->SetBinContent(46,10869.05); h_SL3L269->SetBinContent(47,10759.52); h_SL3L269->SetBinContent(48,10788.09); h_SL3L269->SetBinContent(49,11873.81); h_SL3L269->SetBinContent(50,10316.67); h_SL3L269->SetBinContent(51,10216.67); h_SL3L269->SetBinContent(52,10507.14); h_SL3L269->SetBinContent(53,11716.67); h_SL3L269->SetBinContent(54,9292.857); h_SL3L269->SetBinContent(55,9140.477); h_SL3L269->SetBinContent(56,9552.381); h_SL3L269->SetBinContent(57,9097.619); h_SL3L269->SetBinContent(58,8295.238); h_SL3L269->SetBinContent(59,7011.905); h_SL3L269->SetMaximum(92539.4); 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,8392.857); h_SL3L370->SetBinContent(2,6278.571); h_SL3L370->SetBinContent(3,7430.952); h_SL3L370->SetBinContent(4,10419.05); h_SL3L370->SetBinContent(5,10640.48); h_SL3L370->SetBinContent(6,11309.52); h_SL3L370->SetBinContent(7,11159.52); h_SL3L370->SetBinContent(8,10580.95); h_SL3L370->SetBinContent(9,10359.52); h_SL3L370->SetBinContent(10,9802.381); h_SL3L370->SetBinContent(11,9757.143); h_SL3L370->SetBinContent(12,9604.762); h_SL3L370->SetBinContent(13,10042.86); h_SL3L370->SetBinContent(14,10495.24); h_SL3L370->SetBinContent(15,10404.76); h_SL3L370->SetBinContent(16,10550); h_SL3L370->SetBinContent(17,10019.05); h_SL3L370->SetBinContent(18,10104.76); h_SL3L370->SetBinContent(19,11014.29); h_SL3L370->SetBinContent(20,11185.71); h_SL3L370->SetBinContent(21,11207.14); h_SL3L370->SetBinContent(22,11902.38); h_SL3L370->SetBinContent(23,12083.33); h_SL3L370->SetBinContent(24,12128.57); h_SL3L370->SetBinContent(25,12090.48); h_SL3L370->SetBinContent(26,12557.14); h_SL3L370->SetBinContent(27,12438.09); h_SL3L370->SetBinContent(28,11964.29); h_SL3L370->SetBinContent(29,12428.57); h_SL3L370->SetBinContent(30,12866.67); h_SL3L370->SetBinContent(31,13430.95); h_SL3L370->SetBinContent(32,14147.62); h_SL3L370->SetBinContent(33,18171.43); h_SL3L370->SetBinContent(34,47264.29); h_SL3L370->SetBinContent(35,66480.95); h_SL3L370->SetBinContent(36,70930.95); h_SL3L370->SetBinContent(37,76283.34); h_SL3L370->SetBinContent(38,78257.14); h_SL3L370->SetBinContent(39,71519.05); h_SL3L370->SetBinContent(40,48457.14); h_SL3L370->SetBinContent(41,17561.9); h_SL3L370->SetBinContent(42,13323.81); h_SL3L370->SetBinContent(43,11769.05); h_SL3L370->SetBinContent(44,11214.29); h_SL3L370->SetBinContent(45,935.7143); h_SL3L370->SetBinContent(46,10135.71); h_SL3L370->SetBinContent(47,10183.33); h_SL3L370->SetBinContent(48,10202.38); h_SL3L370->SetBinContent(49,10176.19); h_SL3L370->SetBinContent(50,9830.952); h_SL3L370->SetBinContent(51,9552.381); h_SL3L370->SetBinContent(52,9502.381); h_SL3L370->SetBinContent(53,9476.19); h_SL3L370->SetBinContent(54,8811.904); h_SL3L370->SetBinContent(55,8919.048); h_SL3L370->SetBinContent(56,9050); h_SL3L370->SetBinContent(57,8469.048); h_SL3L370->SetBinContent(58,7257.143); h_SL3L370->SetBinContent(59,6114.286); h_SL3L370->SetMaximum(92539.4); 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,6266.667); h_SL3L471->SetBinContent(3,7004.762); h_SL3L471->SetBinContent(4,8890.477); h_SL3L471->SetBinContent(5,9990.477); h_SL3L471->SetBinContent(6,10447.62); h_SL3L471->SetBinContent(7,10971.43); h_SL3L471->SetBinContent(8,10357.14); h_SL3L471->SetBinContent(9,10216.67); h_SL3L471->SetBinContent(10,9771.429); h_SL3L471->SetBinContent(11,9214.285); h_SL3L471->SetBinContent(12,9354.762); h_SL3L471->SetBinContent(13,9033.333); h_SL3L471->SetBinContent(14,10047.62); h_SL3L471->SetBinContent(15,10378.57); h_SL3L471->SetBinContent(16,9942.857); h_SL3L471->SetBinContent(17,9859.523); h_SL3L471->SetBinContent(18,9842.857); h_SL3L471->SetBinContent(19,10457.14); h_SL3L471->SetBinContent(20,10457.14); h_SL3L471->SetBinContent(21,10754.76); h_SL3L471->SetBinContent(22,11547.62); h_SL3L471->SetBinContent(23,11376.19); h_SL3L471->SetBinContent(24,11740.48); h_SL3L471->SetBinContent(25,11459.52); h_SL3L471->SetBinContent(26,11495.24); h_SL3L471->SetBinContent(27,11930.95); h_SL3L471->SetBinContent(28,11533.33); h_SL3L471->SetBinContent(29,11890.48); h_SL3L471->SetBinContent(30,12204.76); h_SL3L471->SetBinContent(31,12526.19); h_SL3L471->SetBinContent(32,13392.86); h_SL3L471->SetBinContent(33,15440.48); h_SL3L471->SetBinContent(34,27978.57); h_SL3L471->SetBinContent(35,59771.43); h_SL3L471->SetBinContent(36,68783.34); h_SL3L471->SetBinContent(37,73345.23); h_SL3L471->SetBinContent(38,78273.81); h_SL3L471->SetBinContent(39,75392.86); h_SL3L471->SetBinContent(40,63307.14); h_SL3L471->SetBinContent(41,27966.67); h_SL3L471->SetBinContent(42,14942.86); h_SL3L471->SetBinContent(43,11550); h_SL3L471->SetBinContent(44,11083.33); h_SL3L471->SetBinContent(45,10340.48); h_SL3L471->SetBinContent(46,9954.762); h_SL3L471->SetBinContent(47,10047.62); h_SL3L471->SetBinContent(48,9721.429); h_SL3L471->SetBinContent(49,9657.143); h_SL3L471->SetBinContent(50,9200); h_SL3L471->SetBinContent(51,9385.714); h_SL3L471->SetBinContent(52,9223.81); h_SL3L471->SetBinContent(53,8904.762); h_SL3L471->SetBinContent(54,8700); h_SL3L471->SetBinContent(55,8535.714); h_SL3L471->SetBinContent(56,8714.285); h_SL3L471->SetBinContent(57,8378.571); h_SL3L471->SetBinContent(58,7790.476); h_SL3L471->SetBinContent(59,6352.381); h_SL3L471->SetMaximum(92539.4); 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 6815"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }