void RatesPerCell_Removing_noisy_cells_run_7294_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:35:02 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6674.169,67.5,60067.52); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7294",60,0,60); h_SL2L164->SetBinContent(1,4094.822); h_SL2L164->SetBinContent(2,4589.421); h_SL2L164->SetBinContent(3,6015.708); h_SL2L164->SetBinContent(4,7338.473); h_SL2L164->SetBinContent(5,7882.916); h_SL2L164->SetBinContent(6,8005.607); h_SL2L164->SetBinContent(7,8350.676); h_SL2L164->SetBinContent(8,8105.293); h_SL2L164->SetBinContent(9,8335.34); h_SL2L164->SetBinContent(10,8454.197); h_SL2L164->SetBinContent(11,8703.413); h_SL2L164->SetBinContent(12,8358.345); h_SL2L164->SetBinContent(13,8454.197); h_SL2L164->SetBinContent(14,8500.206); h_SL2L164->SetBinContent(15,8254.823); h_SL2L164->SetBinContent(16,8170.473); h_SL2L164->SetBinContent(17,8630.565); h_SL2L164->SetBinContent(18,8289.33); h_SL2L164->SetBinContent(19,8933.46); h_SL2L164->SetBinContent(20,8281.662); h_SL2L164->SetBinContent(21,8109.127); h_SL2L164->SetBinContent(22,8431.192); h_SL2L164->SetBinContent(23,8699.579); h_SL2L164->SetBinContent(24,8281.662); h_SL2L164->SetBinContent(25,8730.252); h_SL2L164->SetBinContent(26,8787.764); h_SL2L164->SetBinContent(27,8906.621); h_SL2L164->SetBinContent(28,8826.104); h_SL2L164->SetBinContent(29,8668.906); h_SL2L164->SetBinContent(30,8856.777); h_SL2L164->SetBinContent(31,8757.091); h_SL2L164->SetBinContent(32,8427.358); h_SL2L164->SetBinContent(33,8105.293); h_SL2L164->SetBinContent(34,8235.653); h_SL2L164->SetBinContent(35,3.834103); h_SL2L164->SetBinContent(36,8193.478); h_SL2L164->SetBinContent(37,13749.09); h_SL2L164->SetBinContent(38,10114.36); h_SL2L164->SetBinContent(39,11207.08); h_SL2L164->SetBinContent(40,40373.1); h_SL2L164->SetBinContent(41,13055.12); h_SL2L164->SetBinContent(42,13703.08); h_SL2L164->SetBinContent(43,14262.86); h_SL2L164->SetBinContent(44,13837.28); h_SL2L164->SetBinContent(45,8538.547); h_SL2L164->SetBinContent(46,8665.072); h_SL2L164->SetBinContent(47,8492.538); h_SL2L164->SetBinContent(48,8120.63); h_SL2L164->SetBinContent(49,8120.63); h_SL2L164->SetBinContent(50,8009.441); h_SL2L164->SetBinContent(51,8381.349); h_SL2L164->SetBinContent(52,8009.441); h_SL2L164->SetBinContent(53,7729.551); h_SL2L164->SetBinContent(54,6663.671); h_SL2L164->SetBinContent(55,5559.449); h_SL2L164->SetBinContent(56,4459.062); h_SL2L164->SetBinContent(57,1771.355); h_SL2L164->SetMaximum(53393.35); 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,2043.577); h_SL2L265->SetBinContent(2,4543.412); h_SL2L265->SetBinContent(3,5268.057); h_SL2L265->SetBinContent(4,6939.726); h_SL2L265->SetBinContent(5,7902.086); h_SL2L265->SetBinContent(6,8312.335); h_SL2L265->SetBinContent(7,8055.45); h_SL2L265->SetBinContent(8,8327.672); h_SL2L265->SetBinContent(9,8473.367); h_SL2L265->SetBinContent(10,8170.473); h_SL2L265->SetBinContent(11,8619.063); h_SL2L265->SetBinContent(12,8619.063); h_SL2L265->SetBinContent(13,8262.491); h_SL2L265->SetBinContent(14,8296.999); h_SL2L265->SetBinContent(15,8396.686); h_SL2L265->SetBinContent(16,8293.164); h_SL2L265->SetBinContent(17,8128.298); h_SL2L265->SetBinContent(18,8607.561); h_SL2L265->SetBinContent(19,8530.879); h_SL2L265->SetBinContent(20,8768.593); h_SL2L265->SetBinContent(21,8327.672); h_SL2L265->SetBinContent(22,8036.28); h_SL2L265->SetBinContent(23,8534.713); h_SL2L265->SetBinContent(24,8488.704); h_SL2L265->SetBinContent(25,8412.021); h_SL2L265->SetBinContent(26,8941.128); h_SL2L265->SetBinContent(27,9056.151); h_SL2L265->SetBinContent(28,8787.764); h_SL2L265->SetBinContent(29,8726.418); h_SL2L265->SetBinContent(30,9036.98); h_SL2L265->SetBinContent(31,8496.372); h_SL2L265->SetBinContent(32,8461.865); h_SL2L265->SetBinContent(33,8427.358); h_SL2L265->SetBinContent(34,8339.174); h_SL2L265->SetBinContent(35,7445.828); h_SL2L265->SetBinContent(36,7116.095); h_SL2L265->SetBinContent(37,8339.174); h_SL2L265->SetBinContent(38,8358.345); h_SL2L265->SetBinContent(39,8994.806); h_SL2L265->SetBinContent(40,9953.331); h_SL2L265->SetBinContent(41,7752.556); h_SL2L265->SetBinContent(42,8542.381); h_SL2L265->SetBinContent(43,8515.542); h_SL2L265->SetBinContent(44,8987.137); h_SL2L265->SetBinContent(45,8331.506); h_SL2L265->SetBinContent(46,8879.782); h_SL2L265->SetBinContent(47,8250.989); h_SL2L265->SetBinContent(48,8339.174); h_SL2L265->SetBinContent(49,8005.607); h_SL2L265->SetBinContent(50,8101.459); h_SL2L265->SetBinContent(51,8158.971); h_SL2L265->SetBinContent(52,8258.657); h_SL2L265->SetBinContent(53,8128.298); h_SL2L265->SetBinContent(54,7177.44); h_SL2L265->SetBinContent(55,6817.035); h_SL2L265->SetBinContent(56,5409.919); h_SL2L265->SetBinContent(57,3504.37); h_SL2L265->SetMaximum(46429.07); 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,2760.554); h_SL2L366->SetBinContent(2,4857.808); h_SL2L366->SetBinContent(3,6625.33); h_SL2L366->SetBinContent(4,7549.349); h_SL2L366->SetBinContent(5,8258.657); h_SL2L366->SetBinContent(6,8162.805); h_SL2L366->SetBinContent(7,8254.823); h_SL2L366->SetBinContent(8,8569.22); h_SL2L366->SetBinContent(9,8289.33); h_SL2L366->SetBinContent(10,8304.667); h_SL2L366->SetBinContent(11,8615.229); h_SL2L366->SetBinContent(12,8481.035); h_SL2L366->SetBinContent(13,8266.326); h_SL2L366->SetBinContent(14,8396.686); h_SL2L366->SetBinContent(15,8381.349); h_SL2L366->SetBinContent(16,8082.289); h_SL2L366->SetBinContent(17,8239.487); h_SL2L366->SetBinContent(18,8852.943); h_SL2L366->SetBinContent(19,8561.552); h_SL2L366->SetBinContent(20,8603.727); h_SL2L366->SetBinContent(21,8293.164); h_SL2L366->SetBinContent(22,8446.528); h_SL2L366->SetBinContent(23,8343.008); h_SL2L366->SetBinContent(24,8404.354); h_SL2L366->SetBinContent(25,8534.713); h_SL2L366->SetBinContent(26,9159.672); h_SL2L366->SetBinContent(27,8826.104); h_SL2L366->SetBinContent(28,8431.192); h_SL2L366->SetBinContent(29,9036.98); h_SL2L366->SetBinContent(30,8630.565); h_SL2L366->SetBinContent(31,8419.689); h_SL2L366->SetBinContent(32,8400.52); h_SL2L366->SetBinContent(33,8139.8); h_SL2L366->SetBinContent(34,7871.413); h_SL2L366->SetBinContent(35,7518.676); h_SL2L366->SetBinContent(36,7568.519); h_SL2L366->SetBinContent(37,8109.127); h_SL2L366->SetBinContent(38,8527.045); h_SL2L366->SetBinContent(39,8109.127); h_SL2L366->SetBinContent(40,8944.962); h_SL2L366->SetBinContent(41,8082.289); h_SL2L366->SetBinContent(42,8266.326); h_SL2L366->SetBinContent(43,8339.174); h_SL2L366->SetBinContent(44,8688.077); h_SL2L366->SetBinContent(45,8385.183); h_SL2L366->SetBinContent(46,8634.399); h_SL2L366->SetBinContent(47,8063.118); h_SL2L366->SetBinContent(48,8300.833); h_SL2L366->SetBinContent(49,8112.962); h_SL2L366->SetBinContent(50,7967.266); h_SL2L366->SetBinContent(51,8239.487); h_SL2L366->SetBinContent(52,7879.082); h_SL2L366->SetBinContent(53,7702.713); h_SL2L366->SetBinContent(54,7376.814); h_SL2L366->SetBinContent(55,6702.012); h_SL2L366->SetBinContent(56,4359.375); h_SL2L366->SetBinContent(57,2791.227); h_SL2L366->SetMaximum(46429.07); 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,3738.25); h_SL2L467->SetBinContent(3,6249.588); h_SL2L467->SetBinContent(4,7369.146); h_SL2L467->SetBinContent(5,7982.602); h_SL2L467->SetBinContent(6,8254.823); h_SL2L467->SetBinContent(7,8124.464); h_SL2L467->SetBinContent(8,8550.05); h_SL2L467->SetBinContent(9,8358.345); h_SL2L467->SetBinContent(10,8366.013); h_SL2L467->SetBinContent(11,8354.51); h_SL2L467->SetBinContent(12,8327.672); h_SL2L467->SetBinContent(13,8672.74); h_SL2L467->SetBinContent(14,8400.52); h_SL2L467->SetBinContent(15,8304.667); h_SL2L467->SetBinContent(16,8435.026); h_SL2L467->SetBinContent(17,8174.307); h_SL2L467->SetBinContent(18,8392.852); h_SL2L467->SetBinContent(19,8902.787); h_SL2L467->SetBinContent(20,8346.842); h_SL2L467->SetBinContent(21,8642.067); h_SL2L467->SetBinContent(22,8396.686); h_SL2L467->SetBinContent(23,8446.528); h_SL2L467->SetBinContent(24,8285.496); h_SL2L467->SetBinContent(25,8415.855); h_SL2L467->SetBinContent(26,9033.146); h_SL2L467->SetBinContent(27,9132.833); h_SL2L467->SetBinContent(28,8776.262); h_SL2L467->SetBinContent(29,8707.248); h_SL2L467->SetBinContent(30,8994.806); h_SL2L467->SetBinContent(31,8569.22); h_SL2L467->SetBinContent(32,8458.031); h_SL2L467->SetBinContent(33,8193.478); h_SL2L467->SetBinContent(34,7909.754); h_SL2L467->SetBinContent(35,8143.634); h_SL2L467->SetBinContent(36,8143.634); h_SL2L467->SetBinContent(37,7557.017); h_SL2L467->SetBinContent(38,8040.114); h_SL2L467->SetBinContent(39,8412.021); h_SL2L467->SetBinContent(40,8293.164); h_SL2L467->SetBinContent(41,7583.855); h_SL2L467->SetBinContent(42,8266.326); h_SL2L467->SetBinContent(43,8354.51); h_SL2L467->SetBinContent(44,8454.197); h_SL2L467->SetBinContent(45,8500.206); h_SL2L467->SetBinContent(46,8829.938); h_SL2L467->SetBinContent(47,8515.542); h_SL2L467->SetBinContent(48,8066.953); h_SL2L467->SetBinContent(49,8220.316); h_SL2L467->SetBinContent(50,8312.335); h_SL2L467->SetBinContent(51,8101.459); h_SL2L467->SetBinContent(52,8020.943); h_SL2L467->SetBinContent(53,7821.57); h_SL2L467->SetBinContent(54,7821.57); h_SL2L467->SetBinContent(55,7656.704); h_SL2L467->SetBinContent(56,5873.846); h_SL2L467->SetBinContent(57,2542.01); h_SL2L467->SetMaximum(46429.07); 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 7294"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }