void RatesPerCell_Removing_noisy_cells_run_6802_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:18:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11640.59,67.5,104765.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6802",60,0,60); h_SL1L160->SetBinContent(1,4935.099); h_SL1L160->SetBinContent(2,4765.068); h_SL1L160->SetBinContent(3,4849.034); h_SL1L160->SetBinContent(4,4590.838); h_SL1L160->SetBinContent(5,4584.541); h_SL1L160->SetBinContent(6,4708.391); h_SL1L160->SetBinContent(7,4408.212); h_SL1L160->SetBinContent(8,4870.025); h_SL1L160->SetBinContent(9,4229.785); h_SL1L160->SetBinContent(10,4007.275); h_SL1L160->SetBinContent(11,4145.819); h_SL1L160->SetBinContent(12,4126.926); h_SL1L160->SetBinContent(13,4359.932); h_SL1L160->SetBinContent(14,4414.51); h_SL1L160->SetBinContent(15,4368.329); h_SL1L160->SetBinContent(16,4326.346); h_SL1L160->SetBinContent(17,4359.932); h_SL1L160->SetBinContent(18,4727.283); h_SL1L160->SetBinContent(19,4916.207); h_SL1L160->SetBinContent(20,5014.866); h_SL1L160->SetBinContent(21,5088.336); h_SL1L160->SetBinContent(22,5424.2); h_SL1L160->SetBinContent(23,5300.351); h_SL1L160->SetBinContent(24,5516.563); h_SL1L160->SetBinContent(25,5409.506); h_SL1L160->SetBinContent(26,5489.274); h_SL1L160->SetBinContent(27,5600.529); h_SL1L160->SetBinContent(28,5850.328); h_SL1L160->SetBinContent(29,6335.231); h_SL1L160->SetBinContent(30,6209.282); h_SL1L160->SetBinContent(31,6981.769); h_SL1L160->SetBinContent(32,9748.447); h_SL1L160->SetBinContent(33,29908.67); h_SL1L160->SetBinContent(34,43706.38); h_SL1L160->SetBinContent(35,47419.77); h_SL1L160->SetBinContent(36,48759.03); h_SL1L160->SetBinContent(37,52508.11); h_SL1L160->SetBinContent(38,49063.4); h_SL1L160->SetBinContent(39,32431.85); h_SL1L160->SetBinContent(40,9744.248); h_SL1L160->SetBinContent(41,6826.432); h_SL1L160->SetBinContent(42,5896.509); h_SL1L160->SetBinContent(43,5892.311); h_SL1L160->SetBinContent(44,5409.506); h_SL1L160->SetBinContent(45,5241.574); h_SL1L160->SetBinContent(46,4830.141); h_SL1L160->SetBinContent(47,4632.821); h_SL1L160->SetBinContent(48,4261.272); h_SL1L160->SetBinContent(49,4278.065); h_SL1L160->SetBinContent(50,4364.13); h_SL1L160->SetBinContent(51,4072.349); h_SL1L160->SetBinContent(52,3851.938); h_SL1L160->SetBinContent(53,4042.96); h_SL1L160->SetBinContent(54,3946.4); h_SL1L160->SetBinContent(55,4053.456); h_SL1L160->SetBinContent(56,3770.071); h_SL1L160->SetBinContent(57,4055.555); h_SL1L160->SetBinContent(58,4026.167); h_SL1L160->SetBinContent(59,4168.909); h_SL1L160->SetMaximum(93124.7); 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,4714.688); h_SL1L261->SetBinContent(2,4637.02); h_SL1L261->SetBinContent(3,4664.309); h_SL1L261->SetBinContent(4,4739.878); h_SL1L261->SetBinContent(5,4783.96); h_SL1L261->SetBinContent(6,5103.031); h_SL1L261->SetBinContent(7,5109.328); h_SL1L261->SetBinContent(8,5342.333); h_SL1L261->SetBinContent(9,5023.263); h_SL1L261->SetBinContent(10,4580.343); h_SL1L261->SetBinContent(11,4578.244); h_SL1L261->SetBinContent(12,4613.929); h_SL1L261->SetBinContent(13,4475.385); h_SL1L261->SetBinContent(14,5056.849); h_SL1L261->SetBinContent(15,4882.62); h_SL1L261->SetBinContent(16,4945.594); h_SL1L261->SetBinContent(17,4935.099); h_SL1L261->SetBinContent(18,5098.833); h_SL1L261->SetBinContent(19,5768.461); h_SL1L261->SetBinContent(20,5793.65); h_SL1L261->SetBinContent(21,6131.613); h_SL1L261->SetBinContent(22,5900.707); h_SL1L261->SetBinContent(23,6373.016); h_SL1L261->SetBinContent(24,6668.996); h_SL1L261->SetBinContent(25,6773.953); h_SL1L261->SetBinContent(26,6265.959); h_SL1L261->SetBinContent(27,6618.616); h_SL1L261->SetBinContent(28,6740.367); h_SL1L261->SetBinContent(29,7735.363); h_SL1L261->SetBinContent(30,7691.281); h_SL1L261->SetBinContent(31,8402.893); h_SL1L261->SetBinContent(32,11226.25); h_SL1L261->SetBinContent(33,22979.38); h_SL1L261->SetBinContent(34,53727.71); h_SL1L261->SetBinContent(35,61232.17); h_SL1L261->SetBinContent(36,66207.15); h_SL1L261->SetBinContent(37,70012.91); h_SL1L261->SetBinContent(38,68279.01); h_SL1L261->SetBinContent(39,57296.27); h_SL1L261->SetBinContent(40,22681.3); h_SL1L261->SetBinContent(41,11138.08); h_SL1L261->SetBinContent(42,8243.357); h_SL1L261->SetBinContent(43,7468.771); h_SL1L261->SetBinContent(44,6902.001); h_SL1L261->SetBinContent(45,6366.718); h_SL1L261->SetBinContent(46,6568.236); h_SL1L261->SetBinContent(47,6427.593); h_SL1L261->SetBinContent(48,6003.565); h_SL1L261->SetBinContent(49,5793.65); h_SL1L261->SetBinContent(50,5682.396); h_SL1L261->SetBinContent(51,5493.472); h_SL1L261->SetBinContent(52,5163.906); h_SL1L261->SetBinContent(53,5281.458); h_SL1L261->SetBinContent(54,5214.286); h_SL1L261->SetBinContent(55,5071.543); h_SL1L261->SetBinContent(56,5069.444); h_SL1L261->SetBinContent(57,4664.309); h_SL1L261->SetBinContent(58,4739.878); h_SL1L261->SetBinContent(59,4580.343); h_SL1L261->SetMaximum(80978.34); 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,4949.793); h_SL1L362->SetBinContent(2,4603.433); h_SL1L362->SetBinContent(3,4693.697); h_SL1L362->SetBinContent(4,4416.609); h_SL1L362->SetBinContent(5,4798.654); h_SL1L362->SetBinContent(6,4834.339); h_SL1L362->SetBinContent(7,5006.47); h_SL1L362->SetBinContent(8,4928.801); h_SL1L362->SetBinContent(9,4481.683); h_SL1L362->SetBinContent(10,4284.363); h_SL1L362->SetBinContent(11,4175.207); h_SL1L362->SetBinContent(12,4548.855); h_SL1L362->SetBinContent(13,4632.821); h_SL1L362->SetBinContent(14,4956.09); h_SL1L362->SetBinContent(15,4916.207); h_SL1L362->SetBinContent(16,4731.481); h_SL1L362->SetBinContent(17,4842.736); h_SL1L362->SetBinContent(18,5279.359); h_SL1L362->SetBinContent(19,5453.588); h_SL1L362->SetBinContent(20,5650.908); h_SL1L362->SetBinContent(21,5827.237); h_SL1L362->SetBinContent(22,6112.721); h_SL1L362->SetBinContent(23,6154.704); h_SL1L362->SetBinContent(24,6492.667); h_SL1L362->SetBinContent(25,6440.188); h_SL1L362->SetBinContent(26,6257.562); h_SL1L362->SetBinContent(27,6425.494); h_SL1L362->SetBinContent(28,7202.179); h_SL1L362->SetBinContent(29,7512.854); h_SL1L362->SetBinContent(30,7821.428); h_SL1L362->SetBinContent(31,9053.629); h_SL1L362->SetBinContent(32,12785.92); h_SL1L362->SetBinContent(33,41122.32); h_SL1L362->SetBinContent(34,58778.27); h_SL1L362->SetBinContent(35,64219.26); h_SL1L362->SetBinContent(36,68535.11); h_SL1L362->SetBinContent(37,70415.95); h_SL1L362->SetBinContent(38,64410.28); h_SL1L362->SetBinContent(39,42121.52); h_SL1L362->SetBinContent(40,12771.22); h_SL1L362->SetBinContent(41,8805.929); h_SL1L362->SetBinContent(42,7462.474); h_SL1L362->SetBinContent(43,6967.075); h_SL1L362->SetBinContent(44,6379.313); h_SL1L362->SetBinContent(45,6551.443); h_SL1L362->SetBinContent(46,6215.58); h_SL1L362->SetBinContent(47,6089.63); h_SL1L362->SetBinContent(48,5613.124); h_SL1L362->SetBinContent(49,5485.076); h_SL1L362->SetBinContent(50,5413.705); h_SL1L362->SetBinContent(51,4964.487); h_SL1L362->SetBinContent(52,4960.289); h_SL1L362->SetBinContent(53,5096.733); h_SL1L362->SetBinContent(54,4790.257); h_SL1L362->SetBinContent(55,4878.422); h_SL1L362->SetBinContent(56,4790.257); h_SL1L362->SetBinContent(57,4563.549); h_SL1L362->SetBinContent(58,4326.346); h_SL1L362->SetBinContent(59,4250.776); h_SL1L362->SetMaximum(80978.34); 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,3104.641); h_SL1L463->SetBinContent(3,2863.239); h_SL1L463->SetBinContent(4,2796.066); h_SL1L463->SetBinContent(5,2741.488); h_SL1L463->SetBinContent(6,3054.261); h_SL1L463->SetBinContent(7,2905.222); h_SL1L463->SetBinContent(8,3005.981); h_SL1L463->SetBinContent(9,2957.701); h_SL1L463->SetBinContent(10,2802.364); h_SL1L463->SetBinContent(11,3014.378); h_SL1L463->SetBinContent(12,2984.99); h_SL1L463->SetBinContent(13,3203.301); h_SL1L463->SetBinContent(14,3194.904); h_SL1L463->SetBinContent(15,3209.598); h_SL1L463->SetBinContent(16,2859.041); h_SL1L463->SetBinContent(17,2787.669); h_SL1L463->SetBinContent(18,2835.95); h_SL1L463->SetBinContent(19,2963.998); h_SL1L463->SetBinContent(20,2972.395); h_SL1L463->SetBinContent(21,2961.899); h_SL1L463->SetBinContent(22,3186.508); h_SL1L463->SetBinContent(23,3047.964); h_SL1L463->SetBinContent(24,3203.301); h_SL1L463->SetBinContent(25,2961.899); h_SL1L463->SetBinContent(26,3047.964); h_SL1L463->SetBinContent(27,3119.335); h_SL1L463->SetBinContent(28,3247.383); h_SL1L463->SetBinContent(29,3201.202); h_SL1L463->SetBinContent(30,3495.083); h_SL1L463->SetBinContent(31,3574.85); h_SL1L463->SetBinContent(32,4210.893); h_SL1L463->SetBinContent(33,6964.976); h_SL1L463->SetBinContent(34,21262.28); h_SL1L463->SetBinContent(35,27154.59); h_SL1L463->SetBinContent(36,28393.09); h_SL1L463->SetBinContent(37,25676.79); h_SL1L463->SetBinContent(38,28577.81); h_SL1L463->SetBinContent(39,26251.96); h_SL1L463->SetBinContent(40,8560.328); h_SL1L463->SetBinContent(41,4731.481); h_SL1L463->SetBinContent(42,3549.661); h_SL1L463->SetBinContent(43,3434.207); h_SL1L463->SetBinContent(44,3253.681); h_SL1L463->SetBinContent(45,3005.981); h_SL1L463->SetBinContent(46,3052.162); h_SL1L463->SetBinContent(47,2703.704); h_SL1L463->SetBinContent(48,2615.539); h_SL1L463->SetBinContent(49,2189.412); h_SL1L463->SetBinContent(50,2264.981); h_SL1L463->SetBinContent(51,2225.098); h_SL1L463->SetBinContent(52,2082.355); h_SL1L463->SetBinContent(53,2151.627); h_SL1L463->SetBinContent(54,2040.373); h_SL1L463->SetBinContent(56,1956.407); h_SL1L463->SetBinContent(57,2071.86); h_SL1L463->SetBinContent(58,2500.086); h_SL1L463->SetBinContent(59,2453.905); h_SL1L463->SetMaximum(80978.34); 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 6802"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }