void RatesPerCell_Removing_noisy_cells_run_7385_SL3() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 21:52:35 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14490.14,67.5,130411.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 7385",60,0,60); h_SL3L168->SetBinContent(1,43228.57); h_SL3L168->SetBinContent(2,52525); h_SL3L168->SetBinContent(3,3.571429); h_SL3L168->SetBinContent(4,78939.28); h_SL3L168->SetBinContent(5,70917.86); h_SL3L168->SetBinContent(6,70803.57); h_SL3L168->SetBinContent(7,69910.71); h_SL3L168->SetBinContent(8,64925); h_SL3L168->SetBinContent(9,62139.29); h_SL3L168->SetBinContent(10,58507.14); h_SL3L168->SetBinContent(11,54317.86); h_SL3L168->SetBinContent(12,53346.43); h_SL3L168->SetBinContent(13,51917.86); h_SL3L168->SetBinContent(14,57478.57); h_SL3L168->SetBinContent(15,57964.29); h_SL3L168->SetBinContent(16,59478.57); h_SL3L168->SetBinContent(17,71060.71); h_SL3L168->SetBinContent(18,72257.14); h_SL3L168->SetBinContent(19,75867.86); h_SL3L168->SetBinContent(20,78900); h_SL3L168->SetBinContent(21,72267.86); h_SL3L168->SetBinContent(22,71171.43); h_SL3L168->SetBinContent(23,71625); h_SL3L168->SetBinContent(24,71028.57); h_SL3L168->SetBinContent(25,67182.14); h_SL3L168->SetBinContent(26,64807.14); h_SL3L168->SetBinContent(27,66789.28); h_SL3L168->SetBinContent(28,68800); h_SL3L168->SetBinContent(29,69039.28); h_SL3L168->SetBinContent(30,69057.14); h_SL3L168->SetBinContent(31,68196.43); h_SL3L168->SetBinContent(32,66450); h_SL3L168->SetBinContent(33,72378.57); h_SL3L168->SetBinContent(34,74085.71); h_SL3L168->SetBinContent(35,72578.57); h_SL3L168->SetBinContent(36,73764.28); h_SL3L168->SetBinContent(37,65778.57); h_SL3L168->SetBinContent(38,65532.14); h_SL3L168->SetBinContent(39,65357.14); h_SL3L168->SetBinContent(40,64753.57); h_SL3L168->SetBinContent(41,66539.28); h_SL3L168->SetBinContent(42,67692.86); h_SL3L168->SetBinContent(43,69092.86); h_SL3L168->SetBinContent(44,68846.43); h_SL3L168->SetBinContent(45,68917.86); h_SL3L168->SetBinContent(46,68721.43); h_SL3L168->SetBinContent(47,70671.43); h_SL3L168->SetBinContent(48,72721.43); h_SL3L168->SetBinContent(49,87071.43); h_SL3L168->SetBinContent(50,83575); h_SL3L168->SetBinContent(51,85446.43); h_SL3L168->SetBinContent(52,87264.28); h_SL3L168->SetBinContent(53,69817.86); h_SL3L168->SetBinContent(54,68164.28); h_SL3L168->SetBinContent(55,69478.57); h_SL3L168->SetBinContent(56,68460.71); h_SL3L168->SetBinContent(57,82953.57); h_SL3L168->SetBinContent(58,78675); h_SL3L168->SetBinContent(59,74589.28); h_SL3L168->SetMaximum(115921.1); 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,40896.43); h_SL3L269->SetBinContent(2,47310.71); h_SL3L269->SetBinContent(3,3.571429); h_SL3L269->SetBinContent(4,72671.43); h_SL3L269->SetBinContent(5,69635.71); h_SL3L269->SetBinContent(6,68042.86); h_SL3L269->SetBinContent(7,66917.86); h_SL3L269->SetBinContent(8,63896.43); h_SL3L269->SetBinContent(9,60839.29); h_SL3L269->SetBinContent(10,57885.71); h_SL3L269->SetBinContent(11,52596.43); h_SL3L269->SetBinContent(12,52260.71); h_SL3L269->SetBinContent(13,49539.29); h_SL3L269->SetBinContent(14,52921.43); h_SL3L269->SetBinContent(15,53646.43); h_SL3L269->SetBinContent(16,56250); h_SL3L269->SetBinContent(17,65528.57); h_SL3L269->SetBinContent(18,69721.43); h_SL3L269->SetBinContent(19,72039.28); h_SL3L269->SetBinContent(20,74157.14); h_SL3L269->SetBinContent(21,67885.71); h_SL3L269->SetBinContent(22,67735.71); h_SL3L269->SetBinContent(23,67692.86); h_SL3L269->SetBinContent(24,67228.57); h_SL3L269->SetBinContent(25,64975); h_SL3L269->SetBinContent(26,60932.14); h_SL3L269->SetBinContent(27,61392.86); h_SL3L269->SetBinContent(28,66835.71); h_SL3L269->SetBinContent(29,65975); h_SL3L269->SetBinContent(30,65492.86); h_SL3L269->SetBinContent(31,64792.86); h_SL3L269->SetBinContent(32,63228.57); h_SL3L269->SetBinContent(33,71385.71); h_SL3L269->SetBinContent(34,71092.86); h_SL3L269->SetBinContent(35,70464.28); h_SL3L269->SetBinContent(36,70464.28); h_SL3L269->SetBinContent(37,62585.71); h_SL3L269->SetBinContent(38,63464.29); h_SL3L269->SetBinContent(39,62417.86); h_SL3L269->SetBinContent(40,62200); h_SL3L269->SetBinContent(41,62592.86); h_SL3L269->SetBinContent(42,63457.14); h_SL3L269->SetBinContent(43,66217.86); h_SL3L269->SetBinContent(44,65564.28); h_SL3L269->SetBinContent(45,65321.43); h_SL3L269->SetBinContent(46,67178.57); h_SL3L269->SetBinContent(47,66971.43); h_SL3L269->SetBinContent(48,68125); h_SL3L269->SetBinContent(49,82878.57); h_SL3L269->SetBinContent(50,83914.28); h_SL3L269->SetBinContent(51,78085.71); h_SL3L269->SetBinContent(52,85489.28); h_SL3L269->SetBinContent(53,66442.86); h_SL3L269->SetBinContent(54,66132.14); h_SL3L269->SetBinContent(55,65850); h_SL3L269->SetBinContent(56,66042.86); h_SL3L269->SetBinContent(57,87653.57); h_SL3L269->SetBinContent(58,77814.28); h_SL3L269->SetBinContent(59,71132.14); h_SL3L269->SetMaximum(100801.6); 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,40253.57); h_SL3L370->SetBinContent(2,50203.57); h_SL3L370->SetBinContent(3,62221.43); h_SL3L370->SetBinContent(4,72878.57); h_SL3L370->SetBinContent(5,64453.57); h_SL3L370->SetBinContent(6,64360.71); h_SL3L370->SetBinContent(7,63389.29); h_SL3L370->SetBinContent(8,58978.57); h_SL3L370->SetBinContent(9,56014.29); h_SL3L370->SetBinContent(10,52846.43); h_SL3L370->SetBinContent(11,48939.29); h_SL3L370->SetBinContent(12,48925); h_SL3L370->SetBinContent(13,49232.14); h_SL3L370->SetBinContent(14,50835.71); h_SL3L370->SetBinContent(15,53703.57); h_SL3L370->SetBinContent(16,54910.71); h_SL3L370->SetBinContent(17,66185.71); h_SL3L370->SetBinContent(18,66642.86); h_SL3L370->SetBinContent(19,69935.71); h_SL3L370->SetBinContent(20,71625); h_SL3L370->SetBinContent(21,64228.57); h_SL3L370->SetBinContent(22,63296.43); h_SL3L370->SetBinContent(23,64860.71); h_SL3L370->SetBinContent(24,64100); h_SL3L370->SetBinContent(25,60292.86); h_SL3L370->SetBinContent(26,59075); h_SL3L370->SetBinContent(27,60857.14); h_SL3L370->SetBinContent(28,63467.86); h_SL3L370->SetBinContent(29,63275); h_SL3L370->SetBinContent(30,61960.71); h_SL3L370->SetBinContent(31,61610.71); h_SL3L370->SetBinContent(32,59389.29); h_SL3L370->SetBinContent(33,68935.71); h_SL3L370->SetBinContent(34,68589.28); h_SL3L370->SetBinContent(35,67878.57); h_SL3L370->SetBinContent(36,68839.28); h_SL3L370->SetBinContent(37,59253.57); h_SL3L370->SetBinContent(38,58646.43); h_SL3L370->SetBinContent(39,59775); h_SL3L370->SetBinContent(40,59135.71); h_SL3L370->SetBinContent(41,60825); h_SL3L370->SetBinContent(42,61860.71); h_SL3L370->SetBinContent(43,63932.14); h_SL3L370->SetBinContent(44,62582.14); h_SL3L370->SetBinContent(45,8050); h_SL3L370->SetBinContent(46,62542.86); h_SL3L370->SetBinContent(47,63853.57); h_SL3L370->SetBinContent(48,64710.71); h_SL3L370->SetBinContent(49,81150); h_SL3L370->SetBinContent(50,77567.86); h_SL3L370->SetBinContent(51,78485.71); h_SL3L370->SetBinContent(52,81035.71); h_SL3L370->SetBinContent(53,62489.29); h_SL3L370->SetBinContent(54,61903.57); h_SL3L370->SetBinContent(55,62046.43); h_SL3L370->SetBinContent(56,62450); h_SL3L370->SetBinContent(57,78925); h_SL3L370->SetBinContent(58,73332.14); h_SL3L370->SetBinContent(59,69732.14); h_SL3L370->SetMaximum(100801.6); 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,45892.86); h_SL3L471->SetBinContent(3,52396.43); h_SL3L471->SetBinContent(4,65814.28); h_SL3L471->SetBinContent(5,61717.86); h_SL3L471->SetBinContent(6,80917.86); h_SL3L471->SetBinContent(7,61025); h_SL3L471->SetBinContent(8,56514.29); h_SL3L471->SetBinContent(9,53539.29); h_SL3L471->SetBinContent(10,50942.86); h_SL3L471->SetBinContent(11,47775); h_SL3L471->SetBinContent(12,46425); h_SL3L471->SetBinContent(13,45550); h_SL3L471->SetBinContent(14,48807.14); h_SL3L471->SetBinContent(15,49628.57); h_SL3L471->SetBinContent(16,51621.43); h_SL3L471->SetBinContent(17,61875); h_SL3L471->SetBinContent(18,63764.29); h_SL3L471->SetBinContent(19,64417.86); h_SL3L471->SetBinContent(20,67353.57); h_SL3L471->SetBinContent(21,61582.14); h_SL3L471->SetBinContent(22,60639.29); h_SL3L471->SetBinContent(23,60953.57); h_SL3L471->SetBinContent(24,61371.43); h_SL3L471->SetBinContent(25,58914.29); h_SL3L471->SetBinContent(26,56325); h_SL3L471->SetBinContent(27,56039.29); h_SL3L471->SetBinContent(28,60060.71); h_SL3L471->SetBinContent(29,59896.43); h_SL3L471->SetBinContent(30,59978.57); h_SL3L471->SetBinContent(31,58921.43); h_SL3L471->SetBinContent(32,57689.29); h_SL3L471->SetBinContent(33,64582.14); h_SL3L471->SetBinContent(34,66175); h_SL3L471->SetBinContent(35,64996.43); h_SL3L471->SetBinContent(36,64192.86); h_SL3L471->SetBinContent(37,56392.86); h_SL3L471->SetBinContent(38,57371.43); h_SL3L471->SetBinContent(39,57178.57); h_SL3L471->SetBinContent(40,55428.57); h_SL3L471->SetBinContent(41,56885.71); h_SL3L471->SetBinContent(42,57460.71); h_SL3L471->SetBinContent(43,60035.71); h_SL3L471->SetBinContent(44,59725); h_SL3L471->SetBinContent(45,59967.86); h_SL3L471->SetBinContent(46,59425); h_SL3L471->SetBinContent(47,59860.71); h_SL3L471->SetBinContent(48,61685.71); h_SL3L471->SetBinContent(49,76642.86); h_SL3L471->SetBinContent(50,77375); h_SL3L471->SetBinContent(51,71721.43); h_SL3L471->SetBinContent(52,78092.86); h_SL3L471->SetBinContent(53,59510.71); h_SL3L471->SetBinContent(54,60482.14); h_SL3L471->SetBinContent(55,59332.14); h_SL3L471->SetBinContent(56,59946.43); h_SL3L471->SetBinContent(57,81921.43); h_SL3L471->SetBinContent(58,71728.57); h_SL3L471->SetBinContent(59,67675); h_SL3L471->SetMaximum(100801.6); 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 7385"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }