void RatesPerCell_Removing_noisy_cells_run_6814_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:53 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13764.93,67.5,123884.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 6814",60,0,60); h_SL1L160->SetBinContent(1,18498.94); h_SL1L160->SetBinContent(2,18253.58); h_SL1L160->SetBinContent(3,18410.52); h_SL1L160->SetBinContent(4,17979.49); h_SL1L160->SetBinContent(5,17261.11); h_SL1L160->SetBinContent(6,18328.73); h_SL1L160->SetBinContent(7,17488.78); h_SL1L160->SetBinContent(8,17468.88); h_SL1L160->SetBinContent(9,16312.84); h_SL1L160->SetBinContent(10,14683.77); h_SL1L160->SetBinContent(11,14902.6); h_SL1L160->SetBinContent(12,15344.68); h_SL1L160->SetBinContent(13,16292.95); h_SL1L160->SetBinContent(14,16127.16); h_SL1L160->SetBinContent(15,15968.01); h_SL1L160->SetBinContent(16,15147.95); h_SL1L160->SetBinContent(17,15634.24); h_SL1L160->SetBinContent(18,16779.24); h_SL1L160->SetBinContent(19,17506.46); h_SL1L160->SetBinContent(20,16951.65); h_SL1L160->SetBinContent(21,17796.03); h_SL1L160->SetBinContent(22,17860.13); h_SL1L160->SetBinContent(23,18017.07); h_SL1L160->SetBinContent(24,16945.02); h_SL1L160->SetBinContent(25,17698.77); h_SL1L160->SetBinContent(26,16664.29); h_SL1L160->SetBinContent(27,16770.39); h_SL1L160->SetBinContent(28,17400.36); h_SL1L160->SetBinContent(29,17537.41); h_SL1L160->SetBinContent(30,18145.27); h_SL1L160->SetBinContent(31,17628.03); h_SL1L160->SetBinContent(32,19031.64); h_SL1L160->SetBinContent(33,39721.1); h_SL1L160->SetBinContent(34,55222.72); h_SL1L160->SetBinContent(35,58155.93); h_SL1L160->SetBinContent(36,58458.76); h_SL1L160->SetBinContent(37,63414.5); h_SL1L160->SetBinContent(38,60671.38); h_SL1L160->SetBinContent(39,42336.02); h_SL1L160->SetBinContent(40,18490.09); h_SL1L160->SetBinContent(41,16376.94); h_SL1L160->SetBinContent(42,16202.32); h_SL1L160->SetBinContent(43,15466.25); h_SL1L160->SetBinContent(44,15004.28); h_SL1L160->SetBinContent(45,13965.38); h_SL1L160->SetBinContent(46,13799.6); h_SL1L160->SetBinContent(47,13459.2); h_SL1L160->SetBinContent(48,12577.24); h_SL1L160->SetBinContent(49,12654.61); h_SL1L160->SetBinContent(50,12504.3); h_SL1L160->SetBinContent(51,11942.85); h_SL1L160->SetBinContent(52,11679.82); h_SL1L160->SetBinContent(53,12170.53); h_SL1L160->SetBinContent(54,11927.38); h_SL1L160->SetBinContent(55,12449.04); h_SL1L160->SetBinContent(56,11989.27); h_SL1L160->SetBinContent(57,13384.04); h_SL1L160->SetBinContent(58,13505.62); h_SL1L160->SetBinContent(59,13649.29); h_SL1L160->SetMaximum(110119.4); 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,19310.16); h_SL1L261->SetBinContent(2,18224.85); h_SL1L261->SetBinContent(3,18737.66); h_SL1L261->SetBinContent(4,18677.98); h_SL1L261->SetBinContent(5,18456.94); h_SL1L261->SetBinContent(6,19438.36); h_SL1L261->SetBinContent(7,19528.99); h_SL1L261->SetBinContent(8,19314.58); h_SL1L261->SetBinContent(9,18448.1); h_SL1L261->SetBinContent(10,16655.45); h_SL1L261->SetBinContent(11,16175.79); h_SL1L261->SetBinContent(12,16520.62); h_SL1L261->SetBinContent(13,17155.01); h_SL1L261->SetBinContent(14,17886.65); h_SL1L261->SetBinContent(15,18187.27); h_SL1L261->SetBinContent(16,18050.22); h_SL1L261->SetBinContent(17,17676.66); h_SL1L261->SetBinContent(18,17977.28); h_SL1L261->SetBinContent(19,19219.53); h_SL1L261->SetBinContent(20,19444.99); h_SL1L261->SetBinContent(21,20008.65); h_SL1L261->SetBinContent(22,20744.71); h_SL1L261->SetBinContent(23,20892.81); h_SL1L261->SetBinContent(24,20771.24); h_SL1L261->SetBinContent(25,21387.95); h_SL1L261->SetBinContent(26,20530.3); h_SL1L261->SetBinContent(27,19834.03); h_SL1L261->SetBinContent(28,20565.67); h_SL1L261->SetBinContent(29,21182.38); h_SL1L261->SetBinContent(30,21133.75); h_SL1L261->SetBinContent(31,21865.39); h_SL1L261->SetBinContent(32,23218.17); h_SL1L261->SetBinContent(33,34679.15); h_SL1L261->SetBinContent(34,67198.73); h_SL1L261->SetBinContent(35,75372.83); h_SL1L261->SetBinContent(36,79117.27); h_SL1L261->SetBinContent(37,83266.21); h_SL1L261->SetBinContent(38,81776.39); h_SL1L261->SetBinContent(39,68984.74); h_SL1L261->SetBinContent(40,33702.15); h_SL1L261->SetBinContent(41,22062.12); h_SL1L261->SetBinContent(42,18724.4); h_SL1L261->SetBinContent(43,18337.58); h_SL1L261->SetBinContent(44,18043.59); h_SL1L261->SetBinContent(45,17884.44); h_SL1L261->SetBinContent(46,17583.83); h_SL1L261->SetBinContent(47,17800.45); h_SL1L261->SetBinContent(48,16794.71); h_SL1L261->SetBinContent(49,23341.95); h_SL1L261->SetBinContent(50,16352.63); h_SL1L261->SetBinContent(51,15503.83); h_SL1L261->SetBinContent(52,14856.18); h_SL1L261->SetBinContent(53,15899.49); h_SL1L261->SetBinContent(54,15450.78); h_SL1L261->SetBinContent(55,15490.57); h_SL1L261->SetBinContent(56,17583.83); h_SL1L261->SetBinContent(57,14991.01); h_SL1L261->SetBinContent(58,14586.51); h_SL1L261->SetBinContent(59,14272.63); h_SL1L261->SetMaximum(95756.14); 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,3408.455); h_SL1L362->SetBinContent(2,3366.457); h_SL1L362->SetBinContent(3,3339.932); h_SL1L362->SetBinContent(4,3717.913); h_SL1L362->SetBinContent(5,3483.609); h_SL1L362->SetBinContent(6,3731.175); h_SL1L362->SetBinContent(7,3622.865); h_SL1L362->SetBinContent(8,3457.084); h_SL1L362->SetBinContent(9,3320.039); h_SL1L362->SetBinContent(10,3154.258); h_SL1L362->SetBinContent(11,3136.574); h_SL1L362->SetBinContent(12,3284.672); h_SL1L362->SetBinContent(13,3490.24); h_SL1L362->SetBinContent(14,3258.147); h_SL1L362->SetBinContent(15,3315.618); h_SL1L362->SetBinContent(16,3306.776); h_SL1L362->SetBinContent(17,3112.26); h_SL1L362->SetBinContent(18,3222.78); h_SL1L362->SetBinContent(19,3266.989); h_SL1L362->SetBinContent(20,3384.14); h_SL1L362->SetBinContent(21,3698.019); h_SL1L362->SetBinContent(22,3430.559); h_SL1L362->SetBinContent(23,3600.761); h_SL1L362->SetBinContent(24,3552.132); h_SL1L362->SetBinContent(25,3397.403); h_SL1L362->SetBinContent(26,3059.21); h_SL1L362->SetBinContent(27,3408.455); h_SL1L362->SetBinContent(28,3264.778); h_SL1L362->SetBinContent(29,3589.709); h_SL1L362->SetBinContent(30,3258.147); h_SL1L362->SetBinContent(31,3304.566); h_SL1L362->SetBinContent(32,3242.674); h_SL1L362->SetBinContent(33,4129.049); h_SL1L362->SetBinContent(34,5534.871); h_SL1L362->SetBinContent(35,5503.925); h_SL1L362->SetBinContent(36,5282.884); h_SL1L362->SetBinContent(37,5669.706); h_SL1L362->SetBinContent(38,5053.001); h_SL1L362->SetBinContent(39,4582.184); h_SL1L362->SetBinContent(40,2820.485); h_SL1L362->SetBinContent(41,2973.004); h_SL1L362->SetBinContent(42,3216.149); h_SL1L362->SetBinContent(43,3185.203); h_SL1L362->SetBinContent(44,3085.735); h_SL1L362->SetBinContent(45,2955.321); h_SL1L362->SetBinContent(46,3118.891); h_SL1L362->SetBinContent(47,2968.583); h_SL1L362->SetBinContent(48,2599.444); h_SL1L362->SetBinContent(49,2809.433); h_SL1L362->SetBinContent(50,2367.351); h_SL1L362->SetBinContent(51,2721.017); h_SL1L362->SetBinContent(52,2608.286); h_SL1L362->SetBinContent(53,4476.084); h_SL1L362->SetBinContent(54,2506.607); h_SL1L362->SetBinContent(55,2270.093); h_SL1L362->SetBinContent(56,5468.559); h_SL1L362->SetBinContent(57,2707.754); h_SL1L362->SetBinContent(58,2245.778); h_SL1L362->SetBinContent(59,2389.455); h_SL1L362->SetMaximum(95756.14); 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,16518.41); h_SL1L463->SetBinContent(3,16164.74); h_SL1L463->SetBinContent(4,15746.97); h_SL1L463->SetBinContent(5,15114.8); h_SL1L463->SetBinContent(6,16332.73); h_SL1L463->SetBinContent(7,15793.39); h_SL1L463->SetBinContent(8,15979.07); h_SL1L463->SetBinContent(9,15492.78); h_SL1L463->SetBinContent(10,14509.14); h_SL1L463->SetBinContent(11,14453.88); h_SL1L463->SetBinContent(12,14814.18); h_SL1L463->SetBinContent(13,15486.14); h_SL1L463->SetBinContent(14,16255.37); h_SL1L463->SetBinContent(15,16105.06); h_SL1L463->SetBinContent(16,15267.31); h_SL1L463->SetBinContent(17,14648.4); h_SL1L463->SetBinContent(18,15041.85); h_SL1L463->SetBinContent(19,15620.98); h_SL1L463->SetBinContent(20,15693.92); h_SL1L463->SetBinContent(21,15815.5); h_SL1L463->SetBinContent(22,16538.3); h_SL1L463->SetBinContent(23,16460.94); h_SL1L463->SetBinContent(24,16821.23); h_SL1L463->SetBinContent(25,16131.58); h_SL1L463->SetBinContent(26,16445.46); h_SL1L463->SetBinContent(27,16089.59); h_SL1L463->SetBinContent(28,16140.43); h_SL1L463->SetBinContent(29,16385.78); h_SL1L463->SetBinContent(30,17307.52); h_SL1L463->SetBinContent(31,17177.11); h_SL1L463->SetBinContent(32,17824.76); h_SL1L463->SetBinContent(33,24482.52); h_SL1L463->SetBinContent(34,52203.3); h_SL1L463->SetBinContent(35,62006.47); h_SL1L463->SetBinContent(36,62302.67); h_SL1L463->SetBinContent(37,60465.81); h_SL1L463->SetBinContent(38,62722.64); h_SL1L463->SetBinContent(39,57293.88); h_SL1L463->SetBinContent(40,25163.33); h_SL1L463->SetBinContent(41,16138.22); h_SL1L463->SetBinContent(42,14944.59); h_SL1L463->SetBinContent(43,14254.95); h_SL1L463->SetBinContent(44,13532.14); h_SL1L463->SetBinContent(45,12656.82); h_SL1L463->SetBinContent(46,13154.16); h_SL1L463->SetBinContent(47,12424.72); h_SL1L463->SetBinContent(48,12051.17); h_SL1L463->SetBinContent(49,10866.38); h_SL1L463->SetBinContent(50,11445.51); h_SL1L463->SetBinContent(51,10698.39); h_SL1L463->SetBinContent(52,10636.5); h_SL1L463->SetBinContent(53,10875.23); h_SL1L463->SetBinContent(54,10868.59); h_SL1L463->SetBinContent(56,10751.44); h_SL1L463->SetBinContent(57,11098.48); h_SL1L463->SetBinContent(58,12146.21); h_SL1L463->SetBinContent(59,12104.21); h_SL1L463->SetMaximum(95756.14); 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 6814"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }