void RatesPerCell_Removing_noisy_cells_run_6630_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:50:37 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13002.76,67.5,117024.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6630",60,0,60); h_SL1L160->SetBinContent(1,9355.365); h_SL1L160->SetBinContent(2,9233.056); h_SL1L160->SetBinContent(3,9110.745); h_SL1L160->SetBinContent(4,9214.029); h_SL1L160->SetBinContent(5,8939.511); h_SL1L160->SetBinContent(6,9608.14); h_SL1L160->SetBinContent(7,9056.386); h_SL1L160->SetBinContent(8,9105.31); h_SL1L160->SetBinContent(9,8376.885); h_SL1L160->SetBinContent(10,7893.08); h_SL1L160->SetBinContent(11,7710.974); h_SL1L160->SetBinContent(12,8175.752); h_SL1L160->SetBinContent(13,8178.47); h_SL1L160->SetBinContent(14,8651.403); h_SL1L160->SetBinContent(15,8561.709); h_SL1L160->SetBinContent(17,8455.707); h_SL1L160->SetBinContent(18,8529.093); h_SL1L160->SetBinContent(19,9181.413); h_SL1L160->SetBinContent(20,9018.333); h_SL1L160->SetBinContent(21,9695.116); h_SL1L160->SetBinContent(22,9953.326); h_SL1L160->SetBinContent(23,9814.708); h_SL1L160->SetBinContent(24,9705.988); h_SL1L160->SetBinContent(25,9692.398); h_SL1L160->SetBinContent(26,9385.264); h_SL1L160->SetBinContent(27,9738.604); h_SL1L160->SetBinContent(28,10396.36); h_SL1L160->SetBinContent(29,10026.71); h_SL1L160->SetBinContent(30,10548.57); h_SL1L160->SetBinContent(31,11363.97); h_SL1L160->SetBinContent(32,13570.99); h_SL1L160->SetBinContent(33,35255.21); h_SL1L160->SetBinContent(34,52174.78); h_SL1L160->SetBinContent(35,58439.78); h_SL1L160->SetBinContent(36,62848.38); h_SL1L160->SetBinContent(37,69915.19); h_SL1L160->SetBinContent(38,65049.96); h_SL1L160->SetBinContent(39,39617.61); h_SL1L160->SetBinContent(40,13967.82); h_SL1L160->SetBinContent(41,10831.24); h_SL1L160->SetBinContent(42,10206.1); h_SL1L160->SetBinContent(43,9567.37); h_SL1L160->SetBinContent(44,8866.125); h_SL1L160->SetBinContent(45,8254.574); h_SL1L160->SetBinContent(46,8333.396); h_SL1L160->SetBinContent(47,7928.414); h_SL1L160->SetBinContent(48,7431.02); h_SL1L160->SetBinContent(49,7414.711); h_SL1L160->SetBinContent(50,7604.972); h_SL1L160->SetBinContent(51,6985.267); h_SL1L160->SetBinContent(52,6525.925); h_SL1L160->SetBinContent(53,7088.551); h_SL1L160->SetBinContent(54,6955.369); h_SL1L160->SetBinContent(55,6675.415); h_SL1L160->SetBinContent(56,6833.059); h_SL1L160->SetBinContent(57,7099.423); h_SL1L160->SetBinContent(58,6906.445); h_SL1L160->SetBinContent(59,7099.423); h_SL1L160->SetMaximum(104022.1); 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,9570.088); h_SL1L261->SetBinContent(2,9099.873); h_SL1L261->SetBinContent(3,9007.461); h_SL1L261->SetBinContent(4,9227.619); h_SL1L261->SetBinContent(5,8974.846); h_SL1L261->SetBinContent(6,9966.916); h_SL1L261->SetBinContent(7,9529.317); h_SL1L261->SetBinContent(8,9703.27); h_SL1L261->SetBinContent(9,8942.229); h_SL1L261->SetBinContent(10,8075.187); h_SL1L261->SetBinContent(11,8132.264); h_SL1L261->SetBinContent(12,8091.494); h_SL1L261->SetBinContent(13,8635.095); h_SL1L261->SetBinContent(14,8809.047); h_SL1L261->SetBinContent(15,9121.617); h_SL1L261->SetBinContent(16,9135.207); h_SL1L261->SetBinContent(17,8963.974); h_SL1L261->SetBinContent(18,9428.752); h_SL1L261->SetBinContent(19,9733.168); h_SL1L261->SetBinContent(20,9958.763); h_SL1L261->SetBinContent(21,10388.21); h_SL1L261->SetBinContent(22,10442.57); h_SL1L261->SetBinContent(23,10994.32); h_SL1L261->SetBinContent(24,10866.58); h_SL1L261->SetBinContent(25,10942.68); h_SL1L261->SetBinContent(26,10589.34); h_SL1L261->SetBinContent(27,10371.9); h_SL1L261->SetBinContent(28,11279.71); h_SL1L261->SetBinContent(29,11635.77); h_SL1L261->SetBinContent(30,11698.28); h_SL1L261->SetBinContent(31,12364.19); h_SL1L261->SetBinContent(32,14427.16); h_SL1L261->SetBinContent(33,24880.6); h_SL1L261->SetBinContent(34,54118.15); h_SL1L261->SetBinContent(35,63758.91); h_SL1L261->SetBinContent(36,71624.81); h_SL1L261->SetBinContent(37,78656.28); h_SL1L261->SetBinContent(38,77180.41); h_SL1L261->SetBinContent(39,62092.77); h_SL1L261->SetBinContent(40,24510.95); h_SL1L261->SetBinContent(41,14546.75); h_SL1L261->SetBinContent(42,11100.32); h_SL1L261->SetBinContent(43,10342); h_SL1L261->SetBinContent(44,9901.685); h_SL1L261->SetBinContent(45,9398.854); h_SL1L261->SetBinContent(46,9333.622); h_SL1L261->SetBinContent(47,9502.138); h_SL1L261->SetBinContent(48,9002.025); h_SL1L261->SetBinContent(49,20303.48); h_SL1L261->SetBinContent(50,8787.303); h_SL1L261->SetBinContent(51,8491.041); h_SL1L261->SetBinContent(52,7672.922); h_SL1L261->SetBinContent(53,8086.058); h_SL1L261->SetBinContent(54,7863.182); h_SL1L261->SetBinContent(55,7898.516); h_SL1L261->SetBinContent(56,11513.46); h_SL1L261->SetBinContent(57,7371.224); h_SL1L261->SetBinContent(58,7447.328); h_SL1L261->SetBinContent(59,6827.623); h_SL1L261->SetMaximum(90454.72); 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,8102.366); h_SL1L362->SetBinContent(2,8428.526); h_SL1L362->SetBinContent(3,8520.938); h_SL1L362->SetBinContent(4,8569.863); h_SL1L362->SetBinContent(5,8751.969); h_SL1L362->SetBinContent(6,8942.229); h_SL1L362->SetBinContent(7,9042.795); h_SL1L362->SetBinContent(8,8569.863); h_SL1L362->SetBinContent(9,8113.238); h_SL1L362->SetBinContent(10,7164.655); h_SL1L362->SetBinContent(11,7477.226); h_SL1L362->SetBinContent(12,7874.054); h_SL1L362->SetBinContent(13,8257.293); h_SL1L362->SetBinContent(14,8183.906); h_SL1L362->SetBinContent(15,8491.041); h_SL1L362->SetBinContent(16,8208.368); h_SL1L362->SetBinContent(17,8154.008); h_SL1L362->SetBinContent(18,8265.446); h_SL1L362->SetBinContent(19,8659.557); h_SL1L362->SetBinContent(20,8893.305); h_SL1L362->SetBinContent(21,9572.806); h_SL1L362->SetBinContent(22,9491.266); h_SL1L362->SetBinContent(23,9703.27); h_SL1L362->SetBinContent(24,9741.322); h_SL1L362->SetBinContent(25,9866.351); h_SL1L362->SetBinContent(26,9306.441); h_SL1L362->SetBinContent(27,9610.857); h_SL1L362->SetBinContent(28,10023.99); h_SL1L362->SetBinContent(29,10301.23); h_SL1L362->SetBinContent(30,10537.7); h_SL1L362->SetBinContent(31,11366.69); h_SL1L362->SetBinContent(32,14215.15); h_SL1L362->SetBinContent(33,36190.21); h_SL1L362->SetBinContent(34,52919.52); h_SL1L362->SetBinContent(35,59777.04); h_SL1L362->SetBinContent(36,65628.9); h_SL1L362->SetBinContent(37,70241.34); h_SL1L362->SetBinContent(38,62255.86); h_SL1L362->SetBinContent(39,39973.67); h_SL1L362->SetBinContent(40,13910.74); h_SL1L362->SetBinContent(41,10673.6); h_SL1L362->SetBinContent(42,9961.48); h_SL1L362->SetBinContent(43,9320.031); h_SL1L362->SetBinContent(44,9069.976); h_SL1L362->SetBinContent(45,8420.373); h_SL1L362->SetBinContent(46,8569.863); h_SL1L362->SetBinContent(47,8336.114); h_SL1L362->SetBinContent(48,7882.208); h_SL1L362->SetBinContent(49,7792.514); h_SL1L362->SetBinContent(50,7656.614); h_SL1L362->SetBinContent(51,7140.193); h_SL1L362->SetBinContent(52,6680.851); h_SL1L362->SetBinContent(53,9665.218); h_SL1L362->SetBinContent(54,6816.751); h_SL1L362->SetBinContent(55,7286.965); h_SL1L362->SetBinContent(56,10997.04); h_SL1L362->SetBinContent(57,6710.749); h_SL1L362->SetBinContent(58,6425.358); h_SL1L362->SetBinContent(59,6392.743); h_SL1L362->SetMaximum(90454.72); 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,8531.811); h_SL1L463->SetBinContent(3,8325.242); h_SL1L463->SetBinContent(4,8096.93); h_SL1L463->SetBinContent(5,7895.798); h_SL1L463->SetBinContent(6,8314.37); h_SL1L463->SetBinContent(7,8572.581); h_SL1L463->SetBinContent(8,8482.887); h_SL1L463->SetBinContent(9,8058.878); h_SL1L463->SetBinContent(10,7444.61); h_SL1L463->SetBinContent(11,7314.146); h_SL1L463->SetBinContent(12,7132.04); h_SL1L463->SetBinContent(13,7898.516); h_SL1L463->SetBinContent(14,8080.622); h_SL1L463->SetBinContent(15,7887.644); h_SL1L463->SetBinContent(16,7906.67); h_SL1L463->SetBinContent(17,7694.666); h_SL1L463->SetBinContent(18,7982.774); h_SL1L463->SetBinContent(19,8181.188); h_SL1L463->SetBinContent(20,8458.425); h_SL1L463->SetBinContent(21,8491.041); h_SL1L463->SetBinContent(22,9064.539); h_SL1L463->SetBinContent(23,8966.691); h_SL1L463->SetBinContent(24,9260.235); h_SL1L463->SetBinContent(25,8545.4); h_SL1L463->SetBinContent(26,8510.066); h_SL1L463->SetBinContent(27,8629.659); h_SL1L463->SetBinContent(28,8993.871); h_SL1L463->SetBinContent(29,9483.111); h_SL1L463->SetBinContent(30,9869.068); h_SL1L463->SetBinContent(31,10165.33); h_SL1L463->SetBinContent(32,12032.6); h_SL1L463->SetBinContent(33,20374.15); h_SL1L463->SetBinContent(34,49318.16); h_SL1L463->SetBinContent(35,60062.43); h_SL1L463->SetBinContent(36,66865.59); h_SL1L463->SetBinContent(37,71448.14); h_SL1L463->SetBinContent(38,70632.74); h_SL1L463->SetBinContent(39,57983.15); h_SL1L463->SetBinContent(40,21328.17); h_SL1L463->SetBinContent(41,11945.62); h_SL1L463->SetBinContent(42,9336.34); h_SL1L463->SetBinContent(43,8991.153); h_SL1L463->SetBinContent(44,8238.267); h_SL1L463->SetBinContent(45,8088.776); h_SL1L463->SetBinContent(46,7740.872); h_SL1L463->SetBinContent(47,7762.616); h_SL1L463->SetBinContent(48,7401.122); h_SL1L463->SetBinContent(49,6743.365); h_SL1L463->SetBinContent(50,6944.497); h_SL1L463->SetBinContent(51,6629.209); h_SL1L463->SetBinContent(52,6178.021); h_SL1L463->SetBinContent(53,6052.992); h_SL1L463->SetBinContent(54,6346.537); h_SL1L463->SetBinContent(55,2.718003); h_SL1L463->SetBinContent(56,6183.457); h_SL1L463->SetBinContent(57,5783.91); h_SL1L463->SetBinContent(58,6278.586); h_SL1L463->SetBinContent(59,6158.994); h_SL1L463->SetMaximum(90454.72); 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 6630"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }