void RatesPerCell_Removing_noisy_cells_run_5827_SL2() { //=========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,-1625.525,67.5,14629.73); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5827",60,0,60); h_SL2L164->SetBinContent(1,4522.593); h_SL2L164->SetBinContent(2,5225.477); h_SL2L164->SetBinContent(3,6432.448); h_SL2L164->SetBinContent(4,7476.123); h_SL2L164->SetBinContent(5,8065.409); h_SL2L164->SetBinContent(6,8420.4); h_SL2L164->SetBinContent(7,8736.344); h_SL2L164->SetBinContent(8,8803.792); h_SL2L164->SetBinContent(9,9187.183); h_SL2L164->SetBinContent(10,8899.64); h_SL2L164->SetBinContent(11,8715.044); h_SL2L164->SetBinContent(12,9094.885); h_SL2L164->SetBinContent(13,9265.281); h_SL2L164->SetBinContent(14,8832.191); h_SL2L164->SetBinContent(15,8931.589); h_SL2L164->SetBinContent(16,8928.039); h_SL2L164->SetBinContent(17,8935.139); h_SL2L164->SetBinContent(18,9116.185); h_SL2L164->SetBinContent(19,9350.479); h_SL2L164->SetBinContent(20,8920.939); h_SL2L164->SetBinContent(21,9030.986); h_SL2L164->SetBinContent(22,9197.832); h_SL2L164->SetBinContent(23,9229.781); h_SL2L164->SetBinContent(24,8938.688); h_SL2L164->SetBinContent(25,9126.834); h_SL2L164->SetBinContent(26,9385.978); h_SL2L164->SetBinContent(27,9268.831); h_SL2L164->SetBinContent(28,9527.975); h_SL2L164->SetBinContent(29,9268.831); h_SL2L164->SetBinContent(30,9201.383); h_SL2L164->SetBinContent(31,9038.086); h_SL2L164->SetBinContent(32,8569.497); h_SL2L164->SetBinContent(33,8888.989); h_SL2L164->SetBinContent(34,8860.591); h_SL2L164->SetBinContent(35,7.099832); h_SL2L164->SetBinContent(36,9833.268); h_SL2L164->SetBinContent(37,8842.841); h_SL2L164->SetBinContent(38,8924.489); h_SL2L164->SetBinContent(39,9070.035); h_SL2L164->SetBinContent(40,8331.653); h_SL2L164->SetBinContent(41,8352.952); h_SL2L164->SetBinContent(42,8931.589); h_SL2L164->SetBinContent(43,9052.286); h_SL2L164->SetBinContent(44,9265.281); h_SL2L164->SetBinContent(45,9464.076); h_SL2L164->SetBinContent(46,8938.688); h_SL2L164->SetBinContent(47,9066.485); h_SL2L164->SetBinContent(48,8803.792); h_SL2L164->SetBinContent(49,8913.839); h_SL2L164->SetBinContent(50,8707.944); h_SL2L164->SetBinContent(51,8484.299); h_SL2L164->SetBinContent(52,8441.7); h_SL2L164->SetBinContent(53,8093.809); h_SL2L164->SetBinContent(54,7650.069); h_SL2L164->SetBinContent(55,5885.761); h_SL2L164->SetBinContent(56,4554.542); h_SL2L164->SetBinContent(57,2019.902); h_SL2L164->SetMaximum(13004.2); 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,2179.648); h_SL2L265->SetBinContent(2,5005.382); h_SL2L265->SetBinContent(3,5885.761); h_SL2L265->SetBinContent(4,7355.426); h_SL2L265->SetBinContent(5,7838.214); h_SL2L265->SetBinContent(6,8668.895); h_SL2L265->SetBinContent(7,8537.548); h_SL2L265->SetBinContent(8,8619.196); h_SL2L265->SetBinContent(9,9094.885); h_SL2L265->SetBinContent(10,9048.736); h_SL2L265->SetBinContent(11,8910.289); h_SL2L265->SetBinContent(12,9002.587); h_SL2L265->SetBinContent(13,8995.487); h_SL2L265->SetBinContent(14,9180.083); h_SL2L265->SetBinContent(15,9034.536); h_SL2L265->SetBinContent(16,8832.191); h_SL2L265->SetBinContent(17,8629.846); h_SL2L265->SetBinContent(18,9087.785); h_SL2L265->SetBinContent(19,9329.18); h_SL2L265->SetBinContent(20,8920.939); h_SL2L265->SetBinContent(21,8888.989); h_SL2L265->SetBinContent(22,9070.035); h_SL2L265->SetBinContent(23,9151.684); h_SL2L265->SetBinContent(24,8757.643); h_SL2L265->SetBinContent(25,8715.044); h_SL2L265->SetBinContent(26,9410.827); h_SL2L265->SetBinContent(27,9197.832); h_SL2L265->SetBinContent(28,9137.483); h_SL2L265->SetBinContent(29,9052.286); h_SL2L265->SetBinContent(30,9002.587); h_SL2L265->SetBinContent(31,9084.235); h_SL2L265->SetBinContent(32,8644.046); h_SL2L265->SetBinContent(33,8715.044); h_SL2L265->SetBinContent(34,8757.643); h_SL2L265->SetBinContent(35,7461.923); h_SL2L265->SetBinContent(36,7518.722); h_SL2L265->SetBinContent(37,8612.097); h_SL2L265->SetBinContent(38,8704.395); h_SL2L265->SetBinContent(39,9272.381); h_SL2L265->SetBinContent(40,8885.439); h_SL2L265->SetBinContent(41,8530.448); h_SL2L265->SetBinContent(42,8672.445); h_SL2L265->SetBinContent(43,8718.594); h_SL2L265->SetBinContent(44,8896.09); h_SL2L265->SetBinContent(45,8981.287); h_SL2L265->SetBinContent(46,9247.531); h_SL2L265->SetBinContent(47,8899.64); h_SL2L265->SetBinContent(48,8775.393); h_SL2L265->SetBinContent(49,8743.443); h_SL2L265->SetBinContent(50,8533.998); h_SL2L265->SetBinContent(51,8530.448); h_SL2L265->SetBinContent(52,8512.698); h_SL2L265->SetBinContent(53,8470.1); h_SL2L265->SetBinContent(54,7799.166); h_SL2L265->SetBinContent(55,7387.375); h_SL2L265->SetBinContent(56,5328.424); h_SL2L265->SetBinContent(57,3787.76); h_SL2L265->SetMaximum(11308.26); 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,2903.831); h_SL2L366->SetBinContent(2,5491.72); h_SL2L366->SetBinContent(3,7224.079); h_SL2L366->SetBinContent(4,7909.213); h_SL2L366->SetBinContent(5,8555.298); h_SL2L366->SetBinContent(6,8661.795); h_SL2L366->SetBinContent(7,8587.247); h_SL2L366->SetBinContent(8,8913.839); h_SL2L366->SetBinContent(9,9030.986); h_SL2L366->SetBinContent(10,8885.439); h_SL2L366->SetBinContent(11,9162.333); h_SL2L366->SetBinContent(12,9016.787); h_SL2L366->SetBinContent(13,8683.095); h_SL2L366->SetBinContent(14,9204.933); h_SL2L366->SetBinContent(15,8651.146); h_SL2L366->SetBinContent(16,8754.093); h_SL2L366->SetBinContent(17,8754.093); h_SL2L366->SetBinContent(18,8945.788); h_SL2L366->SetBinContent(19,9172.983); h_SL2L366->SetBinContent(20,8842.841); h_SL2L366->SetBinContent(21,8991.938); h_SL2L366->SetBinContent(22,9172.983); h_SL2L366->SetBinContent(23,8988.388); h_SL2L366->SetBinContent(24,8583.697); h_SL2L366->SetBinContent(25,9126.834); h_SL2L366->SetBinContent(26,9314.979); h_SL2L366->SetBinContent(27,9442.776); h_SL2L366->SetBinContent(28,8899.64); h_SL2L366->SetBinContent(29,8963.538); h_SL2L366->SetBinContent(30,9275.931); h_SL2L366->SetBinContent(31,9048.736); h_SL2L366->SetBinContent(32,8491.399); h_SL2L366->SetBinContent(33,8746.993); h_SL2L366->SetBinContent(34,7990.861); h_SL2L366->SetBinContent(35,7983.761); h_SL2L366->SetBinContent(36,7699.768); h_SL2L366->SetBinContent(37,8778.942); h_SL2L366->SetBinContent(38,9048.736); h_SL2L366->SetBinContent(39,8959.988); h_SL2L366->SetBinContent(40,8839.291); h_SL2L366->SetBinContent(41,8498.499); h_SL2L366->SetBinContent(42,8821.541); h_SL2L366->SetBinContent(43,8881.89); h_SL2L366->SetBinContent(44,8924.489); h_SL2L366->SetBinContent(45,8839.291); h_SL2L366->SetBinContent(46,9293.68); h_SL2L366->SetBinContent(47,8796.692); h_SL2L366->SetBinContent(48,8970.638); h_SL2L366->SetBinContent(49,8846.391); h_SL2L366->SetBinContent(50,8558.848); h_SL2L366->SetBinContent(51,8583.697); h_SL2L366->SetBinContent(52,8576.597); h_SL2L366->SetBinContent(53,8363.603); h_SL2L366->SetBinContent(54,7912.763); h_SL2L366->SetBinContent(55,6908.137); h_SL2L366->SetBinContent(56,4430.295); h_SL2L366->SetBinContent(57,3020.979); h_SL2L366->SetMaximum(11308.26); 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,3872.958); h_SL2L467->SetBinContent(3,6957.835); h_SL2L467->SetBinContent(4,7909.213); h_SL2L467->SetBinContent(5,8633.396); h_SL2L467->SetBinContent(6,8487.85); h_SL2L467->SetBinContent(7,8796.692); h_SL2L467->SetBinContent(8,8722.144); h_SL2L467->SetBinContent(9,9052.286); h_SL2L467->SetBinContent(10,8736.344); h_SL2L467->SetBinContent(11,9038.086); h_SL2L467->SetBinContent(12,9410.827); h_SL2L467->SetBinContent(13,9126.834); h_SL2L467->SetBinContent(14,8768.293); h_SL2L467->SetBinContent(15,8945.788); h_SL2L467->SetBinContent(16,8636.945); h_SL2L467->SetBinContent(17,8910.289); h_SL2L467->SetBinContent(18,9048.736); h_SL2L467->SetBinContent(19,9030.986); h_SL2L467->SetBinContent(20,9187.183); h_SL2L467->SetBinContent(21,8725.693); h_SL2L467->SetBinContent(22,9318.529); h_SL2L467->SetBinContent(23,8871.24); h_SL2L467->SetBinContent(24,8615.646); h_SL2L467->SetBinContent(25,9201.383); h_SL2L467->SetBinContent(26,9055.836); h_SL2L467->SetBinContent(27,9414.377); h_SL2L467->SetBinContent(28,9009.687); h_SL2L467->SetBinContent(29,8892.54); h_SL2L467->SetBinContent(30,9449.877); h_SL2L467->SetBinContent(31,9187.183); h_SL2L467->SetBinContent(32,8949.338); h_SL2L467->SetBinContent(33,8420.4); h_SL2L467->SetBinContent(34,8168.357); h_SL2L467->SetBinContent(35,8100.908); h_SL2L467->SetBinContent(36,8289.054); h_SL2L467->SetBinContent(37,7767.216); h_SL2L467->SetBinContent(38,8796.692); h_SL2L467->SetBinContent(39,9105.534); h_SL2L467->SetBinContent(40,9144.584); h_SL2L467->SetBinContent(41,8704.395); h_SL2L467->SetBinContent(42,8814.441); h_SL2L467->SetBinContent(43,9251.081); h_SL2L467->SetBinContent(44,9091.335); h_SL2L467->SetBinContent(45,8821.541); h_SL2L467->SetBinContent(46,9073.585); h_SL2L467->SetBinContent(47,9279.48); h_SL2L467->SetBinContent(48,8764.742); h_SL2L467->SetBinContent(49,8874.79); h_SL2L467->SetBinContent(50,9162.333); h_SL2L467->SetBinContent(51,8686.645); h_SL2L467->SetBinContent(52,8658.245); h_SL2L467->SetBinContent(53,8697.294); h_SL2L467->SetBinContent(54,8487.85); h_SL2L467->SetBinContent(55,7813.365); h_SL2L467->SetBinContent(56,6198.153); h_SL2L467->SetBinContent(57,2839.933); h_SL2L467->SetMaximum(11308.26); 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 5827"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }