void RatesPerCell_Removing_noisy_cells_run_6825_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-32802.03,67.5,295218.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6825",60,0,60); h_SL1L160->SetBinContent(1,56489.29); h_SL1L160->SetBinContent(2,56153.57); h_SL1L160->SetBinContent(3,56292.86); h_SL1L160->SetBinContent(4,55825); h_SL1L160->SetBinContent(5,52721.43); h_SL1L160->SetBinContent(6,55835.71); h_SL1L160->SetBinContent(7,54100); h_SL1L160->SetBinContent(8,53542.86); h_SL1L160->SetBinContent(9,48892.86); h_SL1L160->SetBinContent(10,45035.71); h_SL1L160->SetBinContent(11,44267.86); h_SL1L160->SetBinContent(12,45917.86); h_SL1L160->SetBinContent(13,48825); h_SL1L160->SetBinContent(14,47953.57); h_SL1L160->SetBinContent(15,46871.43); h_SL1L160->SetBinContent(16,44903.57); h_SL1L160->SetBinContent(17,47625); h_SL1L160->SetBinContent(18,49696.43); h_SL1L160->SetBinContent(19,51628.57); h_SL1L160->SetBinContent(20,50025); h_SL1L160->SetBinContent(21,53021.43); h_SL1L160->SetBinContent(22,54714.29); h_SL1L160->SetBinContent(23,53046.43); h_SL1L160->SetBinContent(24,49317.86); h_SL1L160->SetBinContent(25,49739.29); h_SL1L160->SetBinContent(26,49153.57); h_SL1L160->SetBinContent(27,47796.43); h_SL1L160->SetBinContent(28,48700); h_SL1L160->SetBinContent(29,47746.43); h_SL1L160->SetBinContent(30,48921.43); h_SL1L160->SetBinContent(31,45667.86); h_SL1L160->SetBinContent(32,45014.29); h_SL1L160->SetBinContent(33,66364.28); h_SL1L160->SetBinContent(34,85675); h_SL1L160->SetBinContent(35,91250); h_SL1L160->SetBinContent(36,86353.57); h_SL1L160->SetBinContent(37,97267.86); h_SL1L160->SetBinContent(38,111053.6); h_SL1L160->SetBinContent(39,70692.86); h_SL1L160->SetBinContent(40,44517.86); h_SL1L160->SetBinContent(41,42860.71); h_SL1L160->SetBinContent(42,43332.14); h_SL1L160->SetBinContent(43,42339.29); h_SL1L160->SetBinContent(44,42192.86); h_SL1L160->SetBinContent(45,38175); h_SL1L160->SetBinContent(46,37810.71); h_SL1L160->SetBinContent(47,37032.14); h_SL1L160->SetBinContent(48,34525); h_SL1L160->SetBinContent(49,34803.57); h_SL1L160->SetBinContent(50,35485.71); h_SL1L160->SetBinContent(51,33860.71); h_SL1L160->SetBinContent(52,34192.86); h_SL1L160->SetBinContent(53,35239.29); h_SL1L160->SetBinContent(54,33442.86); h_SL1L160->SetBinContent(55,35882.14); h_SL1L160->SetBinContent(56,36282.14); h_SL1L160->SetBinContent(57,38653.57); h_SL1L160->SetBinContent(58,37992.86); h_SL1L160->SetBinContent(59,40453.57); h_SL1L160->SetMaximum(262416.2); 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,59900); h_SL1L261->SetBinContent(2,56439.29); h_SL1L261->SetBinContent(3,56578.57); h_SL1L261->SetBinContent(4,57128.57); h_SL1L261->SetBinContent(5,56939.29); h_SL1L261->SetBinContent(6,60850); h_SL1L261->SetBinContent(7,58807.14); h_SL1L261->SetBinContent(8,58757.14); h_SL1L261->SetBinContent(9,58439.29); h_SL1L261->SetBinContent(10,49892.86); h_SL1L261->SetBinContent(11,48914.29); h_SL1L261->SetBinContent(12,49428.57); h_SL1L261->SetBinContent(13,52267.86); h_SL1L261->SetBinContent(14,55328.57); h_SL1L261->SetBinContent(15,55046.43); h_SL1L261->SetBinContent(16,53414.29); h_SL1L261->SetBinContent(17,52289.29); h_SL1L261->SetBinContent(18,54103.57); h_SL1L261->SetBinContent(19,58878.57); h_SL1L261->SetBinContent(20,58650); h_SL1L261->SetBinContent(21,60103.57); h_SL1L261->SetBinContent(22,61146.43); h_SL1L261->SetBinContent(23,62200); h_SL1L261->SetBinContent(24,61717.86); h_SL1L261->SetBinContent(25,62614.29); h_SL1L261->SetBinContent(26,60532.14); h_SL1L261->SetBinContent(27,58121.43); h_SL1L261->SetBinContent(28,62592.86); h_SL1L261->SetBinContent(29,59410.71); h_SL1L261->SetBinContent(30,58985.71); h_SL1L261->SetBinContent(31,58985.71); h_SL1L261->SetBinContent(32,58232.14); h_SL1L261->SetBinContent(33,68867.86); h_SL1L261->SetBinContent(34,103103.6); h_SL1L261->SetBinContent(35,111735.7); h_SL1L261->SetBinContent(36,114121.4); h_SL1L261->SetBinContent(37,118785.7); h_SL1L261->SetBinContent(38,115910.7); h_SL1L261->SetBinContent(39,102464.3); h_SL1L261->SetBinContent(40,64671.43); h_SL1L261->SetBinContent(41,55060.71); h_SL1L261->SetBinContent(42,50221.43); h_SL1L261->SetBinContent(43,50567.86); h_SL1L261->SetBinContent(44,48121.43); h_SL1L261->SetBinContent(45,48800); h_SL1L261->SetBinContent(46,49621.43); h_SL1L261->SetBinContent(47,49478.57); h_SL1L261->SetBinContent(48,47575); h_SL1L261->SetBinContent(49,198425); h_SL1L261->SetBinContent(50,45582.14); h_SL1L261->SetBinContent(51,43992.86); h_SL1L261->SetBinContent(52,60621.43); h_SL1L261->SetBinContent(53,69842.86); h_SL1L261->SetBinContent(54,44967.86); h_SL1L261->SetBinContent(55,44028.57); h_SL1L261->SetBinContent(56,167246.4); h_SL1L261->SetBinContent(57,50614.29); h_SL1L261->SetBinContent(58,42646.43); h_SL1L261->SetBinContent(59,40407.14); h_SL1L261->SetMaximum(228188.7); 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,54878.57); h_SL1L362->SetBinContent(2,54360.71); h_SL1L362->SetBinContent(3,54839.29); h_SL1L362->SetBinContent(4,54232.14); h_SL1L362->SetBinContent(5,56946.43); h_SL1L362->SetBinContent(6,58325); h_SL1L362->SetBinContent(7,57064.29); h_SL1L362->SetBinContent(8,56553.57); h_SL1L362->SetBinContent(9,50842.86); h_SL1L362->SetBinContent(10,47521.43); h_SL1L362->SetBinContent(11,47446.43); h_SL1L362->SetBinContent(12,49685.71); h_SL1L362->SetBinContent(13,51507.14); h_SL1L362->SetBinContent(14,53496.43); h_SL1L362->SetBinContent(15,53978.57); h_SL1L362->SetBinContent(16,52132.14); h_SL1L362->SetBinContent(17,52696.43); h_SL1L362->SetBinContent(18,54832.14); h_SL1L362->SetBinContent(19,56567.86); h_SL1L362->SetBinContent(20,57271.43); h_SL1L362->SetBinContent(21,58964.29); h_SL1L362->SetBinContent(22,58625); h_SL1L362->SetBinContent(23,59139.29); h_SL1L362->SetBinContent(24,61053.57); h_SL1L362->SetBinContent(25,60707.14); h_SL1L362->SetBinContent(26,55707.14); h_SL1L362->SetBinContent(27,56764.29); h_SL1L362->SetBinContent(28,57832.14); h_SL1L362->SetBinContent(29,57542.86); h_SL1L362->SetBinContent(30,57696.43); h_SL1L362->SetBinContent(31,57514.29); h_SL1L362->SetBinContent(32,56900); h_SL1L362->SetBinContent(33,87664.28); h_SL1L362->SetBinContent(34,106967.9); h_SL1L362->SetBinContent(35,111907.1); h_SL1L362->SetBinContent(36,115207.1); h_SL1L362->SetBinContent(37,117700); h_SL1L362->SetBinContent(38,107771.4); h_SL1L362->SetBinContent(39,84089.28); h_SL1L362->SetBinContent(40,54003.57); h_SL1L362->SetBinContent(41,50617.86); h_SL1L362->SetBinContent(42,48950); h_SL1L362->SetBinContent(43,47550); h_SL1L362->SetBinContent(44,46332.14); h_SL1L362->SetBinContent(45,47782.14); h_SL1L362->SetBinContent(46,47996.43); h_SL1L362->SetBinContent(47,47914.29); h_SL1L362->SetBinContent(48,45289.29); h_SL1L362->SetBinContent(49,48621.43); h_SL1L362->SetBinContent(50,43600); h_SL1L362->SetBinContent(51,41685.71); h_SL1L362->SetBinContent(52,42332.14); h_SL1L362->SetBinContent(53,125646.4); h_SL1L362->SetBinContent(54,42053.57); h_SL1L362->SetBinContent(55,43596.43); h_SL1L362->SetBinContent(56,154317.9); h_SL1L362->SetBinContent(57,72060.71); h_SL1L362->SetBinContent(58,40260.71); h_SL1L362->SetBinContent(59,39496.43); h_SL1L362->SetMaximum(228188.7); 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,51753.57); h_SL1L463->SetBinContent(3,50228.57); h_SL1L463->SetBinContent(4,49317.86); h_SL1L463->SetBinContent(5,48167.86); h_SL1L463->SetBinContent(6,50753.57); h_SL1L463->SetBinContent(7,49471.43); h_SL1L463->SetBinContent(8,49150); h_SL1L463->SetBinContent(9,49189.29); h_SL1L463->SetBinContent(10,44921.43); h_SL1L463->SetBinContent(11,44103.57); h_SL1L463->SetBinContent(12,45767.86); h_SL1L463->SetBinContent(13,47257.14); h_SL1L463->SetBinContent(14,50053.57); h_SL1L463->SetBinContent(15,50653.57); h_SL1L463->SetBinContent(16,48775); h_SL1L463->SetBinContent(17,46735.71); h_SL1L463->SetBinContent(18,46457.14); h_SL1L463->SetBinContent(19,49610.71); h_SL1L463->SetBinContent(20,49639.29); h_SL1L463->SetBinContent(21,50517.86); h_SL1L463->SetBinContent(22,50653.57); h_SL1L463->SetBinContent(23,51442.86); h_SL1L463->SetBinContent(24,51785.71); h_SL1L463->SetBinContent(25,49807.14); h_SL1L463->SetBinContent(26,50257.14); h_SL1L463->SetBinContent(27,47050); h_SL1L463->SetBinContent(28,47735.71); h_SL1L463->SetBinContent(29,48600); h_SL1L463->SetBinContent(30,50142.86); h_SL1L463->SetBinContent(31,51950); h_SL1L463->SetBinContent(32,46528.57); h_SL1L463->SetBinContent(33,51364.29); h_SL1L463->SetBinContent(34,83303.57); h_SL1L463->SetBinContent(35,118428.6); h_SL1L463->SetBinContent(36,89839.28); h_SL1L463->SetBinContent(37,84382.14); h_SL1L463->SetBinContent(38,87564.28); h_SL1L463->SetBinContent(39,92442.86); h_SL1L463->SetBinContent(40,47703.57); h_SL1L463->SetBinContent(41,39089.29); h_SL1L463->SetBinContent(42,40321.43); h_SL1L463->SetBinContent(43,41496.43); h_SL1L463->SetBinContent(44,38785.71); h_SL1L463->SetBinContent(45,34864.29); h_SL1L463->SetBinContent(46,36085.71); h_SL1L463->SetBinContent(47,35871.43); h_SL1L463->SetBinContent(48,33042.86); h_SL1L463->SetBinContent(49,30146.43); h_SL1L463->SetBinContent(50,32528.57); h_SL1L463->SetBinContent(51,30975); h_SL1L463->SetBinContent(52,30460.71); h_SL1L463->SetBinContent(53,31767.86); h_SL1L463->SetBinContent(54,30553.57); h_SL1L463->SetBinContent(55,14.28571); h_SL1L463->SetBinContent(56,33782.14); h_SL1L463->SetBinContent(57,34060.71); h_SL1L463->SetBinContent(58,36564.29); h_SL1L463->SetBinContent(59,36278.57); h_SL1L463->SetMaximum(228188.7); 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 6825"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }