void RatesPerCell_Removing_noisy_cells_run_7384_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:21:36 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12449.18,67.5,112042.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7384",60,0,60); h_SL1L160->SetBinContent(1,46850); h_SL1L160->SetBinContent(2,47117.86); h_SL1L160->SetBinContent(3,46560.71); h_SL1L160->SetBinContent(4,42453.57); h_SL1L160->SetBinContent(5,32742.86); h_SL1L160->SetBinContent(6,33375); h_SL1L160->SetBinContent(7,32560.71); h_SL1L160->SetBinContent(8,32432.14); h_SL1L160->SetBinContent(9,30875); h_SL1L160->SetBinContent(10,29289.29); h_SL1L160->SetBinContent(11,30710.71); h_SL1L160->SetBinContent(12,27164.29); h_SL1L160->SetBinContent(13,27496.43); h_SL1L160->SetBinContent(14,43303.57); h_SL1L160->SetBinContent(15,40957.14); h_SL1L160->SetBinContent(16,27046.43); h_SL1L160->SetBinContent(17,26910.71); h_SL1L160->SetBinContent(18,28700); h_SL1L160->SetBinContent(19,29303.57); h_SL1L160->SetBinContent(20,28557.14); h_SL1L160->SetBinContent(21,26346.43); h_SL1L160->SetBinContent(22,26428.57); h_SL1L160->SetBinContent(23,25175); h_SL1L160->SetBinContent(24,22821.43); h_SL1L160->SetBinContent(25,21810.71); h_SL1L160->SetBinContent(26,22853.57); h_SL1L160->SetBinContent(27,21839.29); h_SL1L160->SetBinContent(28,21950); h_SL1L160->SetBinContent(29,22178.57); h_SL1L160->SetBinContent(30,20907.14); h_SL1L160->SetBinContent(31,21110.71); h_SL1L160->SetBinContent(32,19578.57); h_SL1L160->SetBinContent(33,60417.86); h_SL1L160->SetBinContent(34,61860.71); h_SL1L160->SetBinContent(35,60567.86); h_SL1L160->SetBinContent(36,61989.29); h_SL1L160->SetBinContent(37,59853.57); h_SL1L160->SetBinContent(38,58889.29); h_SL1L160->SetBinContent(39,63175); h_SL1L160->SetBinContent(41,20378.57); h_SL1L160->SetBinContent(42,20778.57); h_SL1L160->SetBinContent(43,19928.57); h_SL1L160->SetBinContent(44,20346.43); h_SL1L160->SetBinContent(45,19475); h_SL1L160->SetBinContent(46,18607.14); h_SL1L160->SetBinContent(47,18614.29); h_SL1L160->SetBinContent(48,19610.71); h_SL1L160->SetBinContent(49,21214.29); h_SL1L160->SetBinContent(50,23064.29); h_SL1L160->SetBinContent(51,24314.29); h_SL1L160->SetBinContent(52,23535.71); h_SL1L160->SetBinContent(53,22428.57); h_SL1L160->SetBinContent(54,23096.43); h_SL1L160->SetBinContent(55,25100); h_SL1L160->SetBinContent(56,29350); h_SL1L160->SetMaximum(99593.45); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,60103.57); h_SL1L261->SetBinContent(2,62082.14); h_SL1L261->SetBinContent(3,64571.43); h_SL1L261->SetBinContent(4,64428.57); h_SL1L261->SetBinContent(5,60310.71); h_SL1L261->SetBinContent(6,60810.71); h_SL1L261->SetBinContent(7,59475); h_SL1L261->SetBinContent(8,60035.71); h_SL1L261->SetBinContent(9,56642.86); h_SL1L261->SetBinContent(10,52650); h_SL1L261->SetBinContent(11,54582.14); h_SL1L261->SetBinContent(12,50014.29); h_SL1L261->SetBinContent(13,48610.71); h_SL1L261->SetBinContent(14,48053.57); h_SL1L261->SetBinContent(15,51028.57); h_SL1L261->SetBinContent(16,52128.57); h_SL1L261->SetBinContent(17,55196.43); h_SL1L261->SetBinContent(18,58642.86); h_SL1L261->SetBinContent(19,60246.43); h_SL1L261->SetBinContent(20,61296.43); h_SL1L261->SetBinContent(21,57342.86); h_SL1L261->SetBinContent(22,57846.43); h_SL1L261->SetBinContent(23,60028.57); h_SL1L261->SetBinContent(24,60678.57); h_SL1L261->SetBinContent(25,61135.71); h_SL1L261->SetBinContent(26,57007.14); h_SL1L261->SetBinContent(27,56200); h_SL1L261->SetBinContent(28,59832.14); h_SL1L261->SetBinContent(29,60692.86); h_SL1L261->SetBinContent(30,60082.14); h_SL1L261->SetBinContent(31,61746.43); h_SL1L261->SetBinContent(32,59857.14); h_SL1L261->SetBinContent(33,59953.57); h_SL1L261->SetBinContent(34,61082.14); h_SL1L261->SetBinContent(35,60135.71); h_SL1L261->SetBinContent(36,60928.57); h_SL1L261->SetBinContent(37,58796.43); h_SL1L261->SetBinContent(38,58810.71); h_SL1L261->SetBinContent(39,62825); h_SL1L261->SetBinContent(40,64178.57); h_SL1L261->SetBinContent(41,62096.43); h_SL1L261->SetBinContent(42,63739.29); h_SL1L261->SetBinContent(43,62900); h_SL1L261->SetBinContent(44,63782.14); h_SL1L261->SetBinContent(45,63757.14); h_SL1L261->SetBinContent(46,66303.57); h_SL1L261->SetBinContent(47,64110.71); h_SL1L261->SetBinContent(48,65839.28); h_SL1L261->SetBinContent(49,73953.57); h_SL1L261->SetBinContent(50,72853.57); h_SL1L261->SetBinContent(51,73567.86); h_SL1L261->SetBinContent(52,75235.71); h_SL1L261->SetBinContent(53,69385.71); h_SL1L261->SetBinContent(54,70485.71); h_SL1L261->SetBinContent(55,74553.57); h_SL1L261->SetBinContent(56,75307.14); h_SL1L261->SetMaximum(86603.21); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,59928.57); h_SL1L362->SetBinContent(2,61014.29); h_SL1L362->SetBinContent(3,62246.43); h_SL1L362->SetBinContent(4,62657.14); h_SL1L362->SetBinContent(5,59735.71); h_SL1L362->SetBinContent(6,58242.86); h_SL1L362->SetBinContent(7,57325); h_SL1L362->SetBinContent(8,56967.86); h_SL1L362->SetBinContent(9,51371.43); h_SL1L362->SetBinContent(10,51046.43); h_SL1L362->SetBinContent(11,49678.57); h_SL1L362->SetBinContent(12,47678.57); h_SL1L362->SetBinContent(13,46950); h_SL1L362->SetBinContent(14,48510.71); h_SL1L362->SetBinContent(15,50428.57); h_SL1L362->SetBinContent(16,51625); h_SL1L362->SetBinContent(17,55703.57); h_SL1L362->SetBinContent(18,59128.57); h_SL1L362->SetBinContent(19,59500); h_SL1L362->SetBinContent(20,61975); h_SL1L362->SetBinContent(21,56578.57); h_SL1L362->SetBinContent(22,55021.43); h_SL1L362->SetBinContent(23,58600); h_SL1L362->SetBinContent(24,58925); h_SL1L362->SetBinContent(25,56628.57); h_SL1L362->SetBinContent(26,53392.86); h_SL1L362->SetBinContent(27,54914.29); h_SL1L362->SetBinContent(28,58896.43); h_SL1L362->SetBinContent(29,58889.29); h_SL1L362->SetBinContent(30,58428.57); h_SL1L362->SetBinContent(31,58803.57); h_SL1L362->SetBinContent(32,57817.86); h_SL1L362->SetBinContent(33,58553.57); h_SL1L362->SetBinContent(34,58975); h_SL1L362->SetBinContent(35,58317.86); h_SL1L362->SetBinContent(36,60967.86); h_SL1L362->SetBinContent(37,57917.86); h_SL1L362->SetBinContent(38,57610.71); h_SL1L362->SetBinContent(39,61950); h_SL1L362->SetBinContent(40,61210.71); h_SL1L362->SetBinContent(41,61289.29); h_SL1L362->SetBinContent(42,63096.43); h_SL1L362->SetBinContent(43,62275); h_SL1L362->SetBinContent(44,61092.86); h_SL1L362->SetBinContent(45,64175); h_SL1L362->SetBinContent(46,64435.71); h_SL1L362->SetBinContent(47,64610.71); h_SL1L362->SetBinContent(48,64300); h_SL1L362->SetBinContent(49,72053.57); h_SL1L362->SetBinContent(50,71439.28); h_SL1L362->SetBinContent(51,71800); h_SL1L362->SetBinContent(52,74825); h_SL1L362->SetBinContent(53,68292.86); h_SL1L362->SetBinContent(54,68764.28); h_SL1L362->SetBinContent(55,73314.28); h_SL1L362->SetBinContent(56,73846.43); h_SL1L362->SetMaximum(86603.21); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,41775); h_SL1L463->SetBinContent(3,36178.57); h_SL1L463->SetBinContent(4,33671.43); h_SL1L463->SetBinContent(5,28375); h_SL1L463->SetBinContent(6,28046.43); h_SL1L463->SetBinContent(7,27857.14); h_SL1L463->SetBinContent(8,29042.86); h_SL1L463->SetBinContent(9,30514.29); h_SL1L463->SetBinContent(10,30964.29); h_SL1L463->SetBinContent(11,34139.29); h_SL1L463->SetBinContent(12,32542.86); h_SL1L463->SetBinContent(13,32660.71); h_SL1L463->SetBinContent(14,32867.86); h_SL1L463->SetBinContent(15,58907.14); h_SL1L463->SetBinContent(16,38664.29); h_SL1L463->SetBinContent(17,31964.29); h_SL1L463->SetBinContent(18,31896.43); h_SL1L463->SetBinContent(19,31517.86); h_SL1L463->SetBinContent(20,31632.14); h_SL1L463->SetBinContent(21,30342.86); h_SL1L463->SetBinContent(22,29250); h_SL1L463->SetBinContent(23,29289.29); h_SL1L463->SetBinContent(24,29532.14); h_SL1L463->SetBinContent(25,25539.29); h_SL1L463->SetBinContent(26,25582.14); h_SL1L463->SetBinContent(27,24896.43); h_SL1L463->SetBinContent(28,24228.57); h_SL1L463->SetBinContent(29,23589.29); h_SL1L463->SetBinContent(30,24000); h_SL1L463->SetBinContent(31,23971.43); h_SL1L463->SetBinContent(32,22685.71); h_SL1L463->SetBinContent(33,21914.29); h_SL1L463->SetBinContent(34,23942.86); h_SL1L463->SetBinContent(35,24475); h_SL1L463->SetBinContent(36,21532.14); h_SL1L463->SetBinContent(37,46.42857); h_SL1L463->SetBinContent(40,3.571429); h_SL1L463->SetBinContent(41,19457.14); h_SL1L463->SetBinContent(42,20814.29); h_SL1L463->SetBinContent(43,21014.29); h_SL1L463->SetBinContent(44,20067.86); h_SL1L463->SetBinContent(45,19046.43); h_SL1L463->SetBinContent(46,19735.71); h_SL1L463->SetBinContent(47,18496.43); h_SL1L463->SetBinContent(48,18392.86); h_SL1L463->SetBinContent(49,18457.14); h_SL1L463->SetBinContent(50,20450); h_SL1L463->SetBinContent(51,19825); h_SL1L463->SetBinContent(52,20842.86); h_SL1L463->SetBinContent(53,20632.14); h_SL1L463->SetBinContent(54,20089.29); h_SL1L463->SetBinContent(55,10.71429); h_SL1L463->SetBinContent(56,24928.57); h_SL1L463->SetMaximum(86603.21); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 7384"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }