void RatesPerCell_Removing_noisy_cells_run_6256_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:21:51 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4320.55,67.5,38884.95); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6256",60,0,60); h_SL1L160->SetBinContent(1,18685.71); h_SL1L160->SetBinContent(2,19514.29); h_SL1L160->SetBinContent(3,20100); h_SL1L160->SetBinContent(4,19507.14); h_SL1L160->SetBinContent(5,17939.29); h_SL1L160->SetBinContent(6,18335.71); h_SL1L160->SetBinContent(7,18403.57); h_SL1L160->SetBinContent(8,19139.29); h_SL1L160->SetBinContent(9,17921.43); h_SL1L160->SetBinContent(10,18857.14); h_SL1L160->SetBinContent(11,19121.43); h_SL1L160->SetBinContent(12,18878.57); h_SL1L160->SetBinContent(13,18839.29); h_SL1L160->SetBinContent(14,17232.14); h_SL1L160->SetBinContent(15,16014.29); h_SL1L160->SetBinContent(16,15860.71); h_SL1L160->SetBinContent(17,15392.86); h_SL1L160->SetBinContent(18,16764.29); h_SL1L160->SetBinContent(19,16382.14); h_SL1L160->SetBinContent(20,17110.71); h_SL1L160->SetBinContent(21,17285.71); h_SL1L160->SetBinContent(22,16532.14); h_SL1L160->SetBinContent(23,15910.71); h_SL1L160->SetBinContent(24,15121.43); h_SL1L160->SetBinContent(25,14585.71); h_SL1L160->SetBinContent(26,14135.71); h_SL1L160->SetBinContent(27,13778.57); h_SL1L160->SetBinContent(28,15032.14); h_SL1L160->SetBinContent(29,15164.29); h_SL1L160->SetBinContent(30,15039.29); h_SL1L160->SetBinContent(31,14921.43); h_SL1L160->SetBinContent(32,14232.14); h_SL1L160->SetBinContent(33,771.4286); h_SL1L160->SetBinContent(34,803.5714); h_SL1L160->SetBinContent(35,760.7143); h_SL1L160->SetBinContent(36,707.1428); h_SL1L160->SetBinContent(37,810.7143); h_SL1L160->SetBinContent(38,764.2857); h_SL1L160->SetBinContent(39,696.4286); h_SL1L160->SetBinContent(40,753.5714); h_SL1L160->SetBinContent(41,771.4286); h_SL1L160->SetBinContent(42,767.8571); h_SL1L160->SetBinContent(43,850); h_SL1L160->SetBinContent(44,707.1428); h_SL1L160->SetBinContent(45,671.4286); h_SL1L160->SetBinContent(46,650); h_SL1L160->SetBinContent(47,725); h_SL1L160->SetBinContent(48,810.7143); h_SL1L160->SetBinContent(49,13514.29); h_SL1L160->SetBinContent(50,14057.14); h_SL1L160->SetBinContent(51,13700); h_SL1L160->SetBinContent(52,13392.86); h_SL1L160->SetBinContent(53,13660.71); h_SL1L160->SetBinContent(54,13475); h_SL1L160->SetBinContent(55,13803.57); h_SL1L160->SetBinContent(56,14478.57); h_SL1L160->SetBinContent(57,17067.86); h_SL1L160->SetBinContent(58,19003.57); h_SL1L160->SetBinContent(59,19128.57); h_SL1L160->SetMaximum(34564.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,21796.43); h_SL1L261->SetBinContent(2,22057.14); h_SL1L261->SetBinContent(3,23239.29); h_SL1L261->SetBinContent(4,23775); h_SL1L261->SetBinContent(5,23557.14); h_SL1L261->SetBinContent(6,24821.43); h_SL1L261->SetBinContent(7,24021.43); h_SL1L261->SetBinContent(8,24439.29); h_SL1L261->SetBinContent(9,25403.57); h_SL1L261->SetBinContent(10,24796.43); h_SL1L261->SetBinContent(11,25914.29); h_SL1L261->SetBinContent(12,26135.71); h_SL1L261->SetBinContent(13,25932.14); h_SL1L261->SetBinContent(14,25957.14); h_SL1L261->SetBinContent(15,25539.29); h_SL1L261->SetBinContent(16,23796.43); h_SL1L261->SetBinContent(17,23196.43); h_SL1L261->SetBinContent(18,24842.86); h_SL1L261->SetBinContent(19,24717.86); h_SL1L261->SetBinContent(20,25325); h_SL1L261->SetBinContent(21,25346.43); h_SL1L261->SetBinContent(22,25400); h_SL1L261->SetBinContent(23,25146.43); h_SL1L261->SetBinContent(24,24682.14); h_SL1L261->SetBinContent(25,24903.57); h_SL1L261->SetBinContent(26,22707.14); h_SL1L261->SetBinContent(27,22185.71); h_SL1L261->SetBinContent(28,23785.71); h_SL1L261->SetBinContent(29,24960.71); h_SL1L261->SetBinContent(30,25617.86); h_SL1L261->SetBinContent(31,25525); h_SL1L261->SetBinContent(32,25789.29); h_SL1L261->SetBinContent(33,1357.143); h_SL1L261->SetBinContent(34,1457.143); h_SL1L261->SetBinContent(35,1117.857); h_SL1L261->SetBinContent(36,1253.571); h_SL1L261->SetBinContent(37,1303.571); h_SL1L261->SetBinContent(38,1214.286); h_SL1L261->SetBinContent(39,1325); h_SL1L261->SetBinContent(40,1239.286); h_SL1L261->SetBinContent(41,1214.286); h_SL1L261->SetBinContent(42,1253.571); h_SL1L261->SetBinContent(43,1242.857); h_SL1L261->SetBinContent(44,1310.714); h_SL1L261->SetBinContent(45,1221.429); h_SL1L261->SetBinContent(46,1300); h_SL1L261->SetBinContent(47,1414.286); h_SL1L261->SetBinContent(48,1285.714); h_SL1L261->SetBinContent(49,24564.29); h_SL1L261->SetBinContent(50,25485.71); h_SL1L261->SetBinContent(51,24175); h_SL1L261->SetBinContent(52,24071.43); h_SL1L261->SetBinContent(53,24600); h_SL1L261->SetBinContent(54,23967.86); h_SL1L261->SetBinContent(55,24507.14); h_SL1L261->SetBinContent(56,23492.86); h_SL1L261->SetBinContent(57,23960.71); h_SL1L261->SetBinContent(58,24392.86); h_SL1L261->SetBinContent(59,23282.14); h_SL1L261->SetMaximum(30056.07); 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,20550); h_SL1L362->SetBinContent(2,21635.71); h_SL1L362->SetBinContent(3,21671.43); h_SL1L362->SetBinContent(4,22935.71); h_SL1L362->SetBinContent(5,22321.43); h_SL1L362->SetBinContent(6,23132.14); h_SL1L362->SetBinContent(7,23032.14); h_SL1L362->SetBinContent(8,24003.57); h_SL1L362->SetBinContent(9,22900); h_SL1L362->SetBinContent(10,23860.71); h_SL1L362->SetBinContent(11,24807.14); h_SL1L362->SetBinContent(12,25107.14); h_SL1L362->SetBinContent(13,24575); h_SL1L362->SetBinContent(14,24457.14); h_SL1L362->SetBinContent(15,23132.14); h_SL1L362->SetBinContent(16,21957.14); h_SL1L362->SetBinContent(17,22314.29); h_SL1L362->SetBinContent(18,23439.29); h_SL1L362->SetBinContent(19,23732.14); h_SL1L362->SetBinContent(20,23310.71); h_SL1L362->SetBinContent(21,24082.14); h_SL1L362->SetBinContent(22,24521.43); h_SL1L362->SetBinContent(23,23121.43); h_SL1L362->SetBinContent(24,23128.57); h_SL1L362->SetBinContent(25,21450); h_SL1L362->SetBinContent(26,20482.14); h_SL1L362->SetBinContent(27,21785.71); h_SL1L362->SetBinContent(28,22907.14); h_SL1L362->SetBinContent(29,24060.71); h_SL1L362->SetBinContent(30,24085.71); h_SL1L362->SetBinContent(31,23478.57); h_SL1L362->SetBinContent(32,23678.57); h_SL1L362->SetBinContent(33,1346.429); h_SL1L362->SetBinContent(34,1317.857); h_SL1L362->SetBinContent(35,1214.286); h_SL1L362->SetBinContent(36,1057.143); h_SL1L362->SetBinContent(37,1064.286); h_SL1L362->SetBinContent(38,1021.429); h_SL1L362->SetBinContent(39,1125); h_SL1L362->SetBinContent(40,1114.286); h_SL1L362->SetBinContent(41,1239.286); h_SL1L362->SetBinContent(42,1367.857); h_SL1L362->SetBinContent(43,1278.571); h_SL1L362->SetBinContent(44,1300); h_SL1L362->SetBinContent(45,1121.429); h_SL1L362->SetBinContent(46,1250); h_SL1L362->SetBinContent(47,1346.429); h_SL1L362->SetBinContent(48,1189.286); h_SL1L362->SetBinContent(49,23732.14); h_SL1L362->SetBinContent(50,23996.43); h_SL1L362->SetBinContent(51,21900); h_SL1L362->SetBinContent(52,23303.57); h_SL1L362->SetBinContent(53,22014.29); h_SL1L362->SetBinContent(54,22900); h_SL1L362->SetBinContent(55,21996.43); h_SL1L362->SetBinContent(56,22425); h_SL1L362->SetBinContent(57,23217.86); h_SL1L362->SetBinContent(58,22571.43); h_SL1L362->SetBinContent(59,22582.14); h_SL1L362->SetMaximum(30056.07); 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,17085.71); h_SL1L463->SetBinContent(3,16353.57); h_SL1L463->SetBinContent(4,16814.29); h_SL1L463->SetBinContent(5,16117.86); h_SL1L463->SetBinContent(6,16182.14); h_SL1L463->SetBinContent(7,16350); h_SL1L463->SetBinContent(8,17317.86); h_SL1L463->SetBinContent(9,17539.29); h_SL1L463->SetBinContent(10,19425); h_SL1L463->SetBinContent(11,19939.29); h_SL1L463->SetBinContent(12,20625); h_SL1L463->SetBinContent(13,20939.29); h_SL1L463->SetBinContent(14,21125); h_SL1L463->SetBinContent(15,19917.86); h_SL1L463->SetBinContent(16,18303.57); h_SL1L463->SetBinContent(17,17371.43); h_SL1L463->SetBinContent(18,17500); h_SL1L463->SetBinContent(19,17210.71); h_SL1L463->SetBinContent(20,17003.57); h_SL1L463->SetBinContent(21,17289.29); h_SL1L463->SetBinContent(22,17425); h_SL1L463->SetBinContent(23,17157.14); h_SL1L463->SetBinContent(24,16764.29); h_SL1L463->SetBinContent(25,15603.57); h_SL1L463->SetBinContent(26,15260.71); h_SL1L463->SetBinContent(27,15075); h_SL1L463->SetBinContent(28,15500); h_SL1L463->SetBinContent(29,15975); h_SL1L463->SetBinContent(30,16685.71); h_SL1L463->SetBinContent(31,15892.86); h_SL1L463->SetBinContent(32,15242.86); h_SL1L463->SetBinContent(33,696.4286); h_SL1L463->SetBinContent(34,907.1428); h_SL1L463->SetBinContent(35,796.4286); h_SL1L463->SetBinContent(36,678.5714); h_SL1L463->SetBinContent(37,542.8571); h_SL1L463->SetBinContent(38,653.5714); h_SL1L463->SetBinContent(39,775); h_SL1L463->SetBinContent(40,664.2857); h_SL1L463->SetBinContent(41,689.2857); h_SL1L463->SetBinContent(42,657.1428); h_SL1L463->SetBinContent(43,689.2857); h_SL1L463->SetBinContent(44,700); h_SL1L463->SetBinContent(45,728.5714); h_SL1L463->SetBinContent(46,675); h_SL1L463->SetBinContent(47,707.1428); h_SL1L463->SetBinContent(48,628.5714); h_SL1L463->SetBinContent(49,11828.57); h_SL1L463->SetBinContent(50,12325); h_SL1L463->SetBinContent(51,12139.29); h_SL1L463->SetBinContent(52,11842.86); h_SL1L463->SetBinContent(53,12382.14); h_SL1L463->SetBinContent(54,12157.14); h_SL1L463->SetBinContent(56,13007.14); h_SL1L463->SetBinContent(57,14167.86); h_SL1L463->SetBinContent(58,16839.29); h_SL1L463->SetBinContent(59,18185.71); h_SL1L463->SetMaximum(30056.07); 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 6256"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }