void RatesPerCell_Removing_noisy_cells_run_5827_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:03:37 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1605.544,67.5,14449.89); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5827",60,0,60); h_SL3L168->SetBinContent(1,2197.398); h_SL3L168->SetBinContent(2,3457.618); h_SL3L168->SetBinContent(4,6404.048); h_SL3L168->SetBinContent(5,6638.343); h_SL3L168->SetBinContent(6,7689.118); h_SL3L168->SetBinContent(7,7724.617); h_SL3L168->SetBinContent(8,7738.817); h_SL3L168->SetBinContent(9,6861.988); h_SL3L168->SetBinContent(10,8665.345); h_SL3L168->SetBinContent(11,8232.255); h_SL3L168->SetBinContent(12,7611.02); h_SL3L168->SetBinContent(13,7273.778); h_SL3L168->SetBinContent(14,8324.553); h_SL3L168->SetBinContent(15,7863.064); h_SL3L168->SetBinContent(16,7387.375); h_SL3L168->SetBinContent(17,7401.575); h_SL3L168->SetBinContent(18,8260.654); h_SL3L168->SetBinContent(19,7937.612); h_SL3L168->SetBinContent(20,7486.773); h_SL3L168->SetBinContent(21,7451.274); h_SL3L168->SetBinContent(22,8431.051); h_SL3L168->SetBinContent(23,8232.255); h_SL3L168->SetBinContent(24,7806.265); h_SL3L168->SetBinContent(25,7692.668); h_SL3L168->SetBinContent(26,8068.959); h_SL3L168->SetBinContent(27,8360.053); h_SL3L168->SetBinContent(28,7987.311); h_SL3L168->SetBinContent(29,7749.467); h_SL3L168->SetBinContent(30,8903.189); h_SL3L168->SetBinContent(31,8551.748); h_SL3L168->SetBinContent(32,8218.056); h_SL3L168->SetBinContent(33,7905.663); h_SL3L168->SetBinContent(34,8917.389); h_SL3L168->SetBinContent(35,8693.744); h_SL3L168->SetBinContent(36,8434.601); h_SL3L168->SetBinContent(37,7802.715); h_SL3L168->SetBinContent(38,9371.778); h_SL3L168->SetBinContent(39,8761.192); h_SL3L168->SetBinContent(40,8189.656); h_SL3L168->SetBinContent(41,7898.563); h_SL3L168->SetBinContent(42,8711.494); h_SL3L168->SetBinContent(43,8867.69); h_SL3L168->SetBinContent(44,8313.903); h_SL3L168->SetBinContent(45,7958.912); h_SL3L168->SetBinContent(46,8775.393); h_SL3L168->SetBinContent(47,7969.562); h_SL3L168->SetBinContent(48,7621.67); h_SL3L168->SetBinContent(50,3880.058); h_SL3L168->SetBinContent(51,4895.334); h_SL3L168->SetBinContent(52,7014.634); h_SL3L168->SetBinContent(53,6485.697); h_SL3L168->SetBinContent(54,7618.12); h_SL3L168->SetBinContent(55,7408.675); h_SL3L168->SetBinContent(56,7046.583); h_SL3L168->SetBinContent(57,6716.441); h_SL3L168->SetBinContent(58,6730.641); h_SL3L168->SetBinContent(59,4756.888); h_SL3L168->SetMaximum(12844.35); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,635.435); h_SL3L269->SetBinContent(2,4874.035); h_SL3L269->SetBinContent(4,3606.715); h_SL3L269->SetBinContent(5,6098.756); h_SL3L269->SetBinContent(6,7582.621); h_SL3L269->SetBinContent(7,7596.82); h_SL3L269->SetBinContent(8,7579.071); h_SL3L269->SetBinContent(9,7256.028); h_SL3L269->SetBinContent(10,7859.514); h_SL3L269->SetBinContent(11,8590.797); h_SL3L269->SetBinContent(12,7898.563); h_SL3L269->SetBinContent(13,7351.876); h_SL3L269->SetBinContent(14,8118.658); h_SL3L269->SetBinContent(15,7980.211); h_SL3L269->SetBinContent(16,7568.421); h_SL3L269->SetBinContent(17,7124.682); h_SL3L269->SetBinContent(18,8086.708); h_SL3L269->SetBinContent(19,7958.912); h_SL3L269->SetBinContent(20,7863.064); h_SL3L269->SetBinContent(21,7085.632); h_SL3L269->SetBinContent(22,8047.66); h_SL3L269->SetBinContent(23,8168.357); h_SL3L269->SetBinContent(24,8136.408); h_SL3L269->SetBinContent(25,7515.172); h_SL3L269->SetBinContent(26,8313.903); h_SL3L269->SetBinContent(27,8040.56); h_SL3L269->SetBinContent(28,8047.66); h_SL3L269->SetBinContent(29,7490.323); h_SL3L269->SetBinContent(30,8665.345); h_SL3L269->SetBinContent(31,8619.196); h_SL3L269->SetBinContent(32,8065.409); h_SL3L269->SetBinContent(33,7912.763); h_SL3L269->SetBinContent(34,8874.79); h_SL3L269->SetBinContent(35,8615.646); h_SL3L269->SetBinContent(36,8594.347); h_SL3L269->SetBinContent(37,7653.619); h_SL3L269->SetBinContent(38,9020.337); h_SL3L269->SetBinContent(39,8672.445); h_SL3L269->SetBinContent(40,8537.548); h_SL3L269->SetBinContent(41,7621.67); h_SL3L269->SetBinContent(42,8906.739); h_SL3L269->SetBinContent(43,8463); h_SL3L269->SetBinContent(44,8530.448); h_SL3L269->SetBinContent(45,7827.565); h_SL3L269->SetBinContent(46,8718.594); h_SL3L269->SetBinContent(47,8338.753); h_SL3L269->SetBinContent(48,7639.419); h_SL3L269->SetBinContent(49,6879.737); h_SL3L269->SetBinContent(50,7195.68); h_SL3L269->SetBinContent(51,1902.755); h_SL3L269->SetBinContent(52,7163.73); h_SL3L269->SetBinContent(53,6492.796); h_SL3L269->SetBinContent(54,7330.577); h_SL3L269->SetBinContent(55,7405.125); h_SL3L269->SetBinContent(56,7256.028); h_SL3L269->SetBinContent(57,6783.89); h_SL3L269->SetBinContent(58,6563.795); h_SL3L269->SetBinContent(59,6006.458); h_SL3L269->SetMaximum(11169.46); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,2527.54); h_SL3L370->SetBinContent(2,3159.425); h_SL3L370->SetBinContent(3,1288.62); h_SL3L370->SetBinContent(4,5477.521); h_SL3L370->SetBinContent(5,6996.884); h_SL3L370->SetBinContent(6,7529.372); h_SL3L370->SetBinContent(7,7444.174); h_SL3L370->SetBinContent(8,7451.274); h_SL3L370->SetBinContent(9,7699.768); h_SL3L370->SetBinContent(10,8136.408); h_SL3L370->SetBinContent(11,8111.558); h_SL3L370->SetBinContent(12,7479.673); h_SL3L370->SetBinContent(13,8090.259); h_SL3L370->SetBinContent(14,7880.813); h_SL3L370->SetBinContent(15,7671.369); h_SL3L370->SetBinContent(16,7089.182); h_SL3L370->SetBinContent(17,8051.209); h_SL3L370->SetBinContent(18,8068.959); h_SL3L370->SetBinContent(19,7500.973); h_SL3L370->SetBinContent(20,6954.286); h_SL3L370->SetBinContent(21,8111.558); h_SL3L370->SetBinContent(22,8193.206); h_SL3L370->SetBinContent(23,8086.708); h_SL3L370->SetBinContent(24,7483.223); h_SL3L370->SetBinContent(25,8463); h_SL3L370->SetBinContent(26,7902.113); h_SL3L370->SetBinContent(27,7884.363); h_SL3L370->SetBinContent(28,7802.715); h_SL3L370->SetBinContent(29,8466.55); h_SL3L370->SetBinContent(30,8502.049); h_SL3L370->SetBinContent(31,8186.106); h_SL3L370->SetBinContent(32,7845.314); h_SL3L370->SetBinContent(33,8324.553); h_SL3L370->SetBinContent(34,8896.09); h_SL3L370->SetBinContent(35,8395.552); h_SL3L370->SetBinContent(36,8033.46); h_SL3L370->SetBinContent(37,8395.552); h_SL3L370->SetBinContent(38,9041.636); h_SL3L370->SetBinContent(39,8463); h_SL3L370->SetBinContent(40,7721.067); h_SL3L370->SetBinContent(41,8644.046); h_SL3L370->SetBinContent(42,8686.645); h_SL3L370->SetBinContent(43,8459.45); h_SL3L370->SetBinContent(44,7944.712); h_SL3L370->SetBinContent(45,9712.57); h_SL3L370->SetBinContent(46,8324.553); h_SL3L370->SetBinContent(47,8001.511); h_SL3L370->SetBinContent(48,7085.632); h_SL3L370->SetBinContent(49,7820.465); h_SL3L370->SetBinContent(50,3894.258); h_SL3L370->SetBinContent(51,4575.842); h_SL3L370->SetBinContent(52,6915.236); h_SL3L370->SetBinContent(53,7021.734); h_SL3L370->SetBinContent(54,7575.521); h_SL3L370->SetBinContent(55,7224.079); h_SL3L370->SetBinContent(56,7078.533); h_SL3L370->SetBinContent(57,6702.242); h_SL3L370->SetBinContent(58,6439.548); h_SL3L370->SetBinContent(59,4600.691); h_SL3L370->SetMaximum(11169.46); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,4650.39); h_SL3L471->SetBinContent(3,1143.073); h_SL3L471->SetBinContent(4,3255.273); h_SL3L471->SetBinContent(5,6347.25); h_SL3L471->SetBinContent(6,7458.374); h_SL3L471->SetBinContent(7,7334.126); h_SL3L471->SetBinContent(8,7309.277); h_SL3L471->SetBinContent(9,7593.271); h_SL3L471->SetBinContent(10,8037.01); h_SL3L471->SetBinContent(11,8104.458); h_SL3L471->SetBinContent(12,7767.216); h_SL3L471->SetBinContent(13,7703.318); h_SL3L471->SetBinContent(14,8313.903); h_SL3L471->SetBinContent(15,7784.966); h_SL3L471->SetBinContent(16,7327.027); h_SL3L471->SetBinContent(17,7529.372); h_SL3L471->SetBinContent(18,8381.352); h_SL3L471->SetBinContent(19,7561.321); h_SL3L471->SetBinContent(20,7366.076); h_SL3L471->SetBinContent(21,7621.67); h_SL3L471->SetBinContent(22,8345.853); h_SL3L471->SetBinContent(23,8207.406); h_SL3L471->SetBinContent(24,7866.614); h_SL3L471->SetBinContent(25,8058.31); h_SL3L471->SetBinContent(26,8583.697); h_SL3L471->SetBinContent(27,7880.813); h_SL3L471->SetBinContent(28,7770.766); h_SL3L471->SetBinContent(29,8125.758); h_SL3L471->SetBinContent(30,8502.049); h_SL3L471->SetBinContent(31,8612.097); h_SL3L471->SetBinContent(32,7958.912); h_SL3L471->SetBinContent(33,8242.905); h_SL3L471->SetBinContent(34,8771.843); h_SL3L471->SetBinContent(35,8420.4); h_SL3L471->SetBinContent(36,8189.656); h_SL3L471->SetBinContent(37,8214.506); h_SL3L471->SetBinContent(38,9052.286); h_SL3L471->SetBinContent(39,8626.296); h_SL3L471->SetBinContent(40,8068.959); h_SL3L471->SetBinContent(41,8285.504); h_SL3L471->SetBinContent(42,8952.889); h_SL3L471->SetBinContent(43,8381.352); h_SL3L471->SetBinContent(44,8118.658); h_SL3L471->SetBinContent(45,8345.853); h_SL3L471->SetBinContent(46,8803.792); h_SL3L471->SetBinContent(47,8125.758); h_SL3L471->SetBinContent(48,7479.673); h_SL3L471->SetBinContent(49,7163.73); h_SL3L471->SetBinContent(51,1973.753); h_SL3L471->SetBinContent(52,6773.24); h_SL3L471->SetBinContent(53,6979.135); h_SL3L471->SetBinContent(54,7398.025); h_SL3L471->SetBinContent(55,7554.221); h_SL3L471->SetBinContent(56,7103.382); h_SL3L471->SetBinContent(57,7028.833); h_SL3L471->SetBinContent(58,6627.693); h_SL3L471->SetBinContent(59,5349.724); h_SL3L471->SetMaximum(11169.46); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 5827"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }