void RatesPerCell_Removing_noisy_cells_run_7297_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:34 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8198.351,67.5,73785.15); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7297",60,0,60); h_SL2L164->SetBinContent(1,4183.445); h_SL2L164->SetBinContent(2,4870.41); h_SL2L164->SetBinContent(3,6261.956); h_SL2L164->SetBinContent(4,7213.139); h_SL2L164->SetBinContent(5,7952.949); h_SL2L164->SetBinContent(6,7494.971); h_SL2L164->SetBinContent(7,7820.84); h_SL2L164->SetBinContent(8,7900.105); h_SL2L164->SetBinContent(9,8181.937); h_SL2L164->SetBinContent(10,8137.901); h_SL2L164->SetBinContent(11,8437.348); h_SL2L164->SetBinContent(12,8208.358); h_SL2L164->SetBinContent(13,8886.518); h_SL2L164->SetBinContent(14,8745.602); h_SL2L164->SetBinContent(15,8877.71); h_SL2L164->SetBinContent(16,9036.24); h_SL2L164->SetBinContent(17,8278.816); h_SL2L164->SetBinContent(18,8463.77); h_SL2L164->SetBinContent(19,8578.264); h_SL2L164->SetBinContent(20,8595.878); h_SL2L164->SetBinContent(21,8657.528); h_SL2L164->SetBinContent(22,8402.118); h_SL2L164->SetBinContent(23,8243.588); h_SL2L164->SetBinContent(24,8173.13); h_SL2L164->SetBinContent(25,8816.06); h_SL2L164->SetBinContent(26,8331.66); h_SL2L164->SetBinContent(27,9115.506); h_SL2L164->SetBinContent(28,8754.408); h_SL2L164->SetBinContent(29,8772.022); h_SL2L164->SetBinContent(30,9018.626); h_SL2L164->SetBinContent(31,8816.06); h_SL2L164->SetBinContent(32,8428.54); h_SL2L164->SetBinContent(33,8243.588); h_SL2L164->SetBinContent(34,8270.01); h_SL2L164->SetBinContent(35,8.807252); h_SL2L164->SetBinContent(36,8085.057); h_SL2L164->SetBinContent(37,14065.18); h_SL2L164->SetBinContent(38,10436.59); h_SL2L164->SetBinContent(39,11555.11); h_SL2L164->SetBinContent(40,49593.64); h_SL2L164->SetBinContent(41,13677.66); h_SL2L164->SetBinContent(42,14435.09); h_SL2L164->SetBinContent(43,15060.4); h_SL2L164->SetBinContent(44,14857.83); h_SL2L164->SetBinContent(45,8129.094); h_SL2L164->SetBinContent(46,8507.806); h_SL2L164->SetBinContent(47,8754.408); h_SL2L164->SetBinContent(48,8217.166); h_SL2L164->SetBinContent(49,8789.638); h_SL2L164->SetBinContent(50,8305.238); h_SL2L164->SetBinContent(51,8322.854); h_SL2L164->SetBinContent(52,7838.454); h_SL2L164->SetBinContent(53,7812.032); h_SL2L164->SetBinContent(54,6887.271); h_SL2L164->SetBinContent(55,5346.002); h_SL2L164->SetBinContent(56,3963.263); h_SL2L164->SetBinContent(57,1867.137); h_SL2L164->SetMaximum(65586.8); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,2254.656); h_SL2L265->SetBinContent(2,4306.746); h_SL2L265->SetBinContent(3,5848.015); h_SL2L265->SetBinContent(4,7741.574); h_SL2L265->SetBinContent(5,7591.851); h_SL2L265->SetBinContent(6,7679.924); h_SL2L265->SetBinContent(7,7565.429); h_SL2L265->SetBinContent(8,8102.672); h_SL2L265->SetBinContent(9,8199.552); h_SL2L265->SetBinContent(10,7653.502); h_SL2L265->SetBinContent(11,8340.468); h_SL2L265->SetBinContent(12,8243.588); h_SL2L265->SetBinContent(13,9238.808); h_SL2L265->SetBinContent(14,8639.914); h_SL2L265->SetBinContent(15,8587.07); h_SL2L265->SetBinContent(16,8736.794); h_SL2L265->SetBinContent(17,8604.686); h_SL2L265->SetBinContent(18,8419.732); h_SL2L265->SetBinContent(19,8551.842); h_SL2L265->SetBinContent(20,8481.384); h_SL2L265->SetBinContent(21,8631.106); h_SL2L265->SetBinContent(22,8366.89); h_SL2L265->SetBinContent(23,7988.178); h_SL2L265->SetBinContent(24,8481.384); h_SL2L265->SetBinContent(25,8393.312); h_SL2L265->SetBinContent(26,8904.132); h_SL2L265->SetBinContent(27,8393.312); h_SL2L265->SetBinContent(28,8974.59); h_SL2L265->SetBinContent(29,9071.47); h_SL2L265->SetBinContent(30,8146.708); h_SL2L265->SetBinContent(31,9582.29); h_SL2L265->SetBinContent(32,8243.588); h_SL2L265->SetBinContent(33,7935.334); h_SL2L265->SetBinContent(34,8314.046); h_SL2L265->SetBinContent(35,7054.609); h_SL2L265->SetBinContent(36,6922.5); h_SL2L265->SetBinContent(37,8261.202); h_SL2L265->SetBinContent(38,8375.696); h_SL2L265->SetBinContent(39,8877.71); h_SL2L265->SetBinContent(40,9723.206); h_SL2L265->SetBinContent(41,7829.647); h_SL2L265->SetBinContent(42,8763.216); h_SL2L265->SetBinContent(43,8587.07); h_SL2L265->SetBinContent(44,8939.36); h_SL2L265->SetBinContent(45,8120.286); h_SL2L265->SetBinContent(46,8375.696); h_SL2L265->SetBinContent(47,8225.974); h_SL2L265->SetBinContent(48,8217.166); h_SL2L265->SetBinContent(49,8842.48); h_SL2L265->SetBinContent(50,8798.444); h_SL2L265->SetBinContent(51,8287.624); h_SL2L265->SetBinContent(52,8067.443); h_SL2L265->SetBinContent(53,7917.72); h_SL2L265->SetBinContent(54,7257.176); h_SL2L265->SetBinContent(55,6781.584); h_SL2L265->SetBinContent(56,5099.399); h_SL2L265->SetBinContent(57,3029.695); h_SL2L265->SetMaximum(57032.68); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,2783.092); h_SL2L366->SetBinContent(2,5134.628); h_SL2L366->SetBinContent(3,6948.922); h_SL2L366->SetBinContent(4,7873.683); h_SL2L366->SetBinContent(5,7776.803); h_SL2L366->SetBinContent(6,8146.708); h_SL2L366->SetBinContent(7,7697.538); h_SL2L366->SetBinContent(8,8507.806); h_SL2L366->SetBinContent(9,7812.032); h_SL2L366->SetBinContent(10,8005.792); h_SL2L366->SetBinContent(11,8296.432); h_SL2L366->SetBinContent(12,8560.648); h_SL2L366->SetBinContent(13,8683.95); h_SL2L366->SetBinContent(14,8349.274); h_SL2L366->SetBinContent(15,8974.59); h_SL2L366->SetBinContent(16,8155.515); h_SL2L366->SetBinContent(17,8463.77); h_SL2L366->SetBinContent(18,8639.914); h_SL2L366->SetBinContent(19,8314.046); h_SL2L366->SetBinContent(20,8155.515); h_SL2L366->SetBinContent(21,8331.66); h_SL2L366->SetBinContent(22,8507.806); h_SL2L366->SetBinContent(23,8120.286); h_SL2L366->SetBinContent(24,8639.914); h_SL2L366->SetBinContent(25,8710.372); h_SL2L366->SetBinContent(26,8992.204); h_SL2L366->SetBinContent(27,8525.42); h_SL2L366->SetBinContent(28,8587.07); h_SL2L366->SetBinContent(29,9203.578); h_SL2L366->SetBinContent(30,8507.806); h_SL2L366->SetBinContent(31,9194.771); h_SL2L366->SetBinContent(32,8199.552); h_SL2L366->SetBinContent(33,8058.636); h_SL2L366->SetBinContent(34,8252.396); h_SL2L366->SetBinContent(35,7195.525); h_SL2L366->SetBinContent(36,7583.044); h_SL2L366->SetBinContent(37,8023.407); h_SL2L366->SetBinContent(38,8322.854); h_SL2L366->SetBinContent(39,8217.166); h_SL2L366->SetBinContent(40,8789.638); h_SL2L366->SetBinContent(41,7900.105); h_SL2L366->SetBinContent(42,8692.758); h_SL2L366->SetBinContent(43,8657.528); h_SL2L366->SetBinContent(44,8199.552); h_SL2L366->SetBinContent(45,8305.238); h_SL2L366->SetBinContent(46,8472.576); h_SL2L366->SetBinContent(47,8181.937); h_SL2L366->SetBinContent(48,8340.468); h_SL2L366->SetBinContent(49,9036.24); h_SL2L366->SetBinContent(50,8895.324); h_SL2L366->SetBinContent(51,7679.924); h_SL2L366->SetBinContent(52,8129.094); h_SL2L366->SetBinContent(53,7494.971); h_SL2L366->SetBinContent(54,7644.695); h_SL2L366->SetBinContent(55,6543.788); h_SL2L366->SetBinContent(56,3928.034); h_SL2L366->SetBinContent(57,2800.706); h_SL2L366->SetMaximum(57032.68); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,3716.66); h_SL2L467->SetBinContent(3,6332.414); h_SL2L467->SetBinContent(4,7803.225); h_SL2L467->SetBinContent(5,7961.756); h_SL2L467->SetBinContent(6,8032.214); h_SL2L467->SetBinContent(7,8402.118); h_SL2L467->SetBinContent(8,8032.214); h_SL2L467->SetBinContent(9,8190.744); h_SL2L467->SetBinContent(10,7662.309); h_SL2L467->SetBinContent(11,8243.588); h_SL2L467->SetBinContent(12,8516.612); h_SL2L467->SetBinContent(13,8560.648); h_SL2L467->SetBinContent(14,8402.118); h_SL2L467->SetBinContent(15,8622.3); h_SL2L467->SetBinContent(16,8912.938); h_SL2L467->SetBinContent(17,8270.01); h_SL2L467->SetBinContent(18,9168.35); h_SL2L467->SetBinContent(19,8437.348); h_SL2L467->SetBinContent(20,8613.492); h_SL2L467->SetBinContent(21,8049.828); h_SL2L467->SetBinContent(22,8305.238); h_SL2L467->SetBinContent(23,8340.468); h_SL2L467->SetBinContent(24,8129.094); h_SL2L467->SetBinContent(25,8736.794); h_SL2L467->SetBinContent(26,8824.866); h_SL2L467->SetBinContent(27,8763.216); h_SL2L467->SetBinContent(28,8393.312); h_SL2L467->SetBinContent(29,8956.976); h_SL2L467->SetBinContent(30,8860.096); h_SL2L467->SetBinContent(31,8490.19); h_SL2L467->SetBinContent(32,9080.276); h_SL2L467->SetBinContent(33,8322.854); h_SL2L467->SetBinContent(34,8270.01); h_SL2L467->SetBinContent(35,8155.515); h_SL2L467->SetBinContent(36,7583.044); h_SL2L467->SetBinContent(37,7389.284); h_SL2L467->SetBinContent(38,8278.816); h_SL2L467->SetBinContent(39,8085.057); h_SL2L467->SetBinContent(40,8543.034); h_SL2L467->SetBinContent(41,7635.887); h_SL2L467->SetBinContent(42,8481.384); h_SL2L467->SetBinContent(43,8384.504); h_SL2L467->SetBinContent(44,8358.082); h_SL2L467->SetBinContent(45,8551.842); h_SL2L467->SetBinContent(46,8683.95); h_SL2L467->SetBinContent(47,8366.89); h_SL2L467->SetBinContent(48,8058.636); h_SL2L467->SetBinContent(49,8516.612); h_SL2L467->SetBinContent(50,8719.18); h_SL2L467->SetBinContent(51,8410.926); h_SL2L467->SetBinContent(52,8384.504); h_SL2L467->SetBinContent(53,8049.828); h_SL2L467->SetBinContent(54,8155.515); h_SL2L467->SetBinContent(55,7635.887); h_SL2L467->SetBinContent(56,5795.172); h_SL2L467->SetBinContent(57,2624.561); h_SL2L467->SetMaximum(57032.68); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7297"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }