void RatesPerCell_Removing_noisy_cells_run_7301_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:29:31 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8550.107,67.5,76950.96); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7301",60,0,60); h_SL2L164->SetBinContent(1,4253.014); h_SL2L164->SetBinContent(2,4979.475); h_SL2L164->SetBinContent(3,6092.155); h_SL2L164->SetBinContent(4,7283); h_SL2L164->SetBinContent(5,8119.809); h_SL2L164->SetBinContent(6,8377.288); h_SL2L164->SetBinContent(7,8211.766); h_SL2L164->SetBinContent(8,8064.634); h_SL2L164->SetBinContent(9,8142.798); h_SL2L164->SetBinContent(10,8308.32); h_SL2L164->SetBinContent(11,8726.726); h_SL2L164->SetBinContent(12,8381.887); h_SL2L164->SetBinContent(13,8786.497); h_SL2L164->SetBinContent(14,8262.342); h_SL2L164->SetBinContent(15,8156.591); h_SL2L164->SetBinContent(16,8616.377); h_SL2L164->SetBinContent(17,8666.953); h_SL2L164->SetBinContent(18,9099.151); h_SL2L164->SetBinContent(19,9030.184); h_SL2L164->SetBinContent(20,8694.54); h_SL2L164->SetBinContent(21,8625.572); h_SL2L164->SetBinContent(22,8234.755); h_SL2L164->SetBinContent(23,8239.353); h_SL2L164->SetBinContent(24,8483.039); h_SL2L164->SetBinContent(25,8455.452); h_SL2L164->SetBinContent(26,8961.216); h_SL2L164->SetBinContent(27,8970.411); h_SL2L164->SetBinContent(28,8653.16); h_SL2L164->SetBinContent(29,9057.771); h_SL2L164->SetBinContent(30,9195.706); h_SL2L164->SetBinContent(31,8395.68); h_SL2L164->SetBinContent(32,8317.517); h_SL2L164->SetBinContent(33,8165.787); h_SL2L164->SetBinContent(34,8285.331); h_SL2L164->SetBinContent(36,8161.189); h_SL2L164->SetBinContent(37,14662.55); h_SL2L164->SetBinContent(38,10952.09); h_SL2L164->SetBinContent(39,12092.35); h_SL2L164->SetBinContent(40,51721.25); h_SL2L164->SetBinContent(41,13531.48); h_SL2L164->SetBinContent(42,14198.17); h_SL2L164->SetBinContent(43,14910.84); h_SL2L164->SetBinContent(44,14469.44); h_SL2L164->SetBinContent(45,8515.224); h_SL2L164->SetBinContent(46,8414.071); h_SL2L164->SetBinContent(47,8129.004); h_SL2L164->SetBinContent(48,8087.624); h_SL2L164->SetBinContent(49,8129.004); h_SL2L164->SetBinContent(50,7912.905); h_SL2L164->SetBinContent(51,8418.669); h_SL2L164->SetBinContent(52,8129.004); h_SL2L164->SetBinContent(53,7342.771); h_SL2L164->SetBinContent(54,6791.029); h_SL2L164->SetBinContent(55,5641.566); h_SL2L164->SetBinContent(56,3995.534); h_SL2L164->SetBinContent(57,1659.825); h_SL2L164->SetMaximum(68400.85); 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,2193.176); h_SL2L265->SetBinContent(2,4478.309); h_SL2L265->SetBinContent(3,5724.327); h_SL2L265->SetBinContent(4,7246.217); h_SL2L265->SetBinContent(5,7954.286); h_SL2L265->SetBinContent(6,8455.452); h_SL2L265->SetBinContent(7,8386.484); h_SL2L265->SetBinContent(8,8349.701); h_SL2L265->SetBinContent(9,7922.101); h_SL2L265->SetBinContent(10,8312.919); h_SL2L265->SetBinContent(11,8174.983); h_SL2L265->SetBinContent(12,8625.572); h_SL2L265->SetBinContent(13,8703.736); h_SL2L265->SetBinContent(14,8529.018); h_SL2L265->SetBinContent(15,8487.637); h_SL2L265->SetBinContent(16,8151.994); h_SL2L265->SetBinContent(17,8372.69); h_SL2L265->SetBinContent(18,9209.5); h_SL2L265->SetBinContent(19,8952.021); h_SL2L265->SetBinContent(20,8984.205); h_SL2L265->SetBinContent(21,8404.876); h_SL2L265->SetBinContent(22,8441.658); h_SL2L265->SetBinContent(23,8115.211); h_SL2L265->SetBinContent(24,8450.854); h_SL2L265->SetBinContent(25,8510.626); h_SL2L265->SetBinContent(26,8883.053); h_SL2L265->SetBinContent(27,8850.867); h_SL2L265->SetBinContent(28,8832.476); h_SL2L265->SetBinContent(29,8915.237); h_SL2L265->SetBinContent(30,8832.476); h_SL2L265->SetBinContent(31,8584.191); h_SL2L265->SetBinContent(32,8170.385); h_SL2L265->SetBinContent(33,8299.125); h_SL2L265->SetBinContent(34,8115.211); h_SL2L265->SetBinContent(35,6993.334); h_SL2L265->SetBinContent(36,6800.225); h_SL2L265->SetBinContent(37,8156.591); h_SL2L265->SetBinContent(38,8368.093); h_SL2L265->SetBinContent(39,9466.979); h_SL2L265->SetBinContent(40,10216.43); h_SL2L265->SetBinContent(41,7687.61); h_SL2L265->SetBinContent(42,8561.202); h_SL2L265->SetBinContent(43,8593.388); h_SL2L265->SetBinContent(44,9158.924); h_SL2L265->SetBinContent(45,8179.581); h_SL2L265->SetBinContent(46,8496.833); h_SL2L265->SetBinContent(47,8404.876); h_SL2L265->SetBinContent(48,7908.308); h_SL2L265->SetBinContent(49,8133.602); h_SL2L265->SetBinContent(50,8280.733); h_SL2L265->SetBinContent(51,7991.069); h_SL2L265->SetBinContent(52,8322.114); h_SL2L265->SetBinContent(53,7862.329); h_SL2L265->SetBinContent(54,7489.903); h_SL2L265->SetBinContent(55,7016.324); h_SL2L265->SetBinContent(56,4823.148); h_SL2L265->SetBinContent(57,3301.259); h_SL2L265->SetMaximum(59479.44); 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,2712.733); h_SL2L366->SetBinContent(2,5002.464); h_SL2L366->SetBinContent(3,6933.562); h_SL2L366->SetBinContent(4,7940.493); h_SL2L366->SetBinContent(5,8349.701); h_SL2L366->SetBinContent(6,8349.701); h_SL2L366->SetBinContent(7,8432.463); h_SL2L366->SetBinContent(8,8000.265); h_SL2L366->SetBinContent(9,8156.591); h_SL2L366->SetBinContent(10,8197.973); h_SL2L366->SetBinContent(11,8524.42); h_SL2L366->SetBinContent(12,8335.908); h_SL2L366->SetBinContent(13,8533.615); h_SL2L366->SetBinContent(14,8745.117); h_SL2L366->SetBinContent(15,8326.712); h_SL2L366->SetBinContent(16,8161.189); h_SL2L366->SetBinContent(17,8919.835); h_SL2L366->SetBinContent(18,8896.846); h_SL2L366->SetBinContent(19,8666.953); h_SL2L366->SetBinContent(20,8855.465); h_SL2L366->SetBinContent(21,8106.015); h_SL2L366->SetBinContent(22,8335.908); h_SL2L366->SetBinContent(23,8377.288); h_SL2L366->SetBinContent(24,8133.602); h_SL2L366->SetBinContent(25,8735.921); h_SL2L366->SetBinContent(26,8648.562); h_SL2L366->SetBinContent(27,9218.695); h_SL2L366->SetBinContent(28,8804.889); h_SL2L366->SetBinContent(29,8850.867); h_SL2L366->SetBinContent(30,8432.463); h_SL2L366->SetBinContent(31,8593.388); h_SL2L366->SetBinContent(32,8404.876); h_SL2L366->SetBinContent(33,8188.776); h_SL2L366->SetBinContent(34,7604.849); h_SL2L366->SetBinContent(35,7085.292); h_SL2L366->SetBinContent(36,7301.391); h_SL2L366->SetBinContent(37,8234.755); h_SL2L366->SetBinContent(38,8630.171); h_SL2L366->SetBinContent(39,8276.136); h_SL2L366->SetBinContent(40,8975.01); h_SL2L366->SetBinContent(41,7770.372); h_SL2L366->SetBinContent(42,8460.05); h_SL2L366->SetBinContent(43,8602.583); h_SL2L366->SetBinContent(44,8584.191); h_SL2L366->SetBinContent(45,8280.733); h_SL2L366->SetBinContent(46,8524.42); h_SL2L366->SetBinContent(47,8119.809); h_SL2L366->SetBinContent(48,7899.112); h_SL2L366->SetBinContent(49,8285.331); h_SL2L366->SetBinContent(50,7972.677); h_SL2L366->SetBinContent(51,8078.428); h_SL2L366->SetBinContent(52,8073.83); h_SL2L366->SetBinContent(53,7802.557); h_SL2L366->SetBinContent(54,7600.251); h_SL2L366->SetBinContent(55,6395.614); h_SL2L366->SetBinContent(56,4197.84); h_SL2L366->SetBinContent(57,2786.299); h_SL2L366->SetMaximum(59479.44); 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,3802.425); h_SL2L467->SetBinContent(3,6409.407); h_SL2L467->SetBinContent(4,7637.034); h_SL2L467->SetBinContent(5,8427.865); h_SL2L467->SetBinContent(6,8666.953); h_SL2L467->SetBinContent(7,8630.171); h_SL2L467->SetBinContent(8,8257.744); h_SL2L467->SetBinContent(9,8179.581); h_SL2L467->SetBinContent(10,8133.602); h_SL2L467->SetBinContent(11,8574.996); h_SL2L467->SetBinContent(12,8519.822); h_SL2L467->SetBinContent(13,8616.377); h_SL2L467->SetBinContent(14,8708.334); h_SL2L467->SetBinContent(15,8391.082); h_SL2L467->SetBinContent(16,8129.004); h_SL2L467->SetBinContent(17,8648.562); h_SL2L467->SetBinContent(18,8947.422); h_SL2L467->SetBinContent(19,8896.846); h_SL2L467->SetBinContent(20,8906.042); h_SL2L467->SetBinContent(21,8740.519); h_SL2L467->SetBinContent(22,8285.331); h_SL2L467->SetBinContent(23,8404.876); h_SL2L467->SetBinContent(24,8395.68); h_SL2L467->SetBinContent(25,8400.277); h_SL2L467->SetBinContent(26,9057.771); h_SL2L467->SetBinContent(27,8735.921); h_SL2L467->SetBinContent(28,9071.564); h_SL2L467->SetBinContent(29,8850.867); h_SL2L467->SetBinContent(30,8818.683); h_SL2L467->SetBinContent(31,8207.168); h_SL2L467->SetBinContent(32,8768.106); h_SL2L467->SetBinContent(33,8142.798); h_SL2L467->SetBinContent(34,7784.166); h_SL2L467->SetBinContent(35,7618.643); h_SL2L467->SetBinContent(36,7728.991); h_SL2L467->SetBinContent(37,7692.208); h_SL2L467->SetBinContent(38,8156.591); h_SL2L467->SetBinContent(39,8492.234); h_SL2L467->SetBinContent(40,7991.069); h_SL2L467->SetBinContent(41,7899.112); h_SL2L467->SetBinContent(42,8151.994); h_SL2L467->SetBinContent(43,8395.68); h_SL2L467->SetBinContent(44,8570.398); h_SL2L467->SetBinContent(45,8322.114); h_SL2L467->SetBinContent(46,8717.529); h_SL2L467->SetBinContent(47,8464.647); h_SL2L467->SetBinContent(48,8110.613); h_SL2L467->SetBinContent(49,8064.634); h_SL2L467->SetBinContent(50,8243.951); h_SL2L467->SetBinContent(51,8156.591); h_SL2L467->SetBinContent(52,7894.514); h_SL2L467->SetBinContent(53,8216.363); h_SL2L467->SetBinContent(54,7876.123); h_SL2L467->SetBinContent(55,7434.729); h_SL2L467->SetBinContent(56,5558.805); h_SL2L467->SetBinContent(57,2533.417); h_SL2L467->SetMaximum(59479.44); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 7301"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }