void RatesPerCell_Removing_noisy_cells_run_5708_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:54:13 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8608.038,67.5,77472.34); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5708",60,0,60); h_SL3L168->SetBinContent(1,2389.861); h_SL3L168->SetBinContent(2,3807.502); h_SL3L168->SetBinContent(4,6407.225); h_SL3L168->SetBinContent(5,7216.694); h_SL3L168->SetBinContent(6,7683.531); h_SL3L168->SetBinContent(7,7636.419); h_SL3L168->SetBinContent(8,7495.083); h_SL3L168->SetBinContent(9,7383.728); h_SL3L168->SetBinContent(10,8013.314); h_SL3L168->SetBinContent(11,8544.395); h_SL3L168->SetBinContent(12,7884.828); h_SL3L168->SetBinContent(13,22506.66); h_SL3L168->SetBinContent(14,8557.243); h_SL3L168->SetBinContent(15,6964.003); h_SL3L168->SetBinContent(16,7486.517); h_SL3L168->SetBinContent(17,7979.051); h_SL3L168->SetBinContent(18,8642.901); h_SL3L168->SetBinContent(19,8266.006); h_SL3L168->SetBinContent(20,7542.195); h_SL3L168->SetBinContent(21,8017.598); h_SL3L168->SetBinContent(22,8732.843); h_SL3L168->SetBinContent(23,8308.835); h_SL3L168->SetBinContent(24,8056.144); h_SL3L168->SetBinContent(25,8398.776); h_SL3L168->SetBinContent(26,8206.045); h_SL3L168->SetBinContent(27,8407.342); h_SL3L168->SetBinContent(28,8295.986); h_SL3L168->SetBinContent(29,7867.696); h_SL3L168->SetBinContent(30,9182.548); h_SL3L168->SetBinContent(31,8467.303); h_SL3L168->SetBinContent(32,8728.56); h_SL3L168->SetBinContent(33,8128.953); h_SL3L168->SetBinContent(34,9071.192); h_SL3L168->SetBinContent(35,8912.725); h_SL3L168->SetBinContent(36,8368.796); h_SL3L168->SetBinContent(37,8642.901); h_SL3L168->SetBinContent(38,8608.639); h_SL3L168->SetBinContent(39,9413.824); h_SL3L168->SetBinContent(40,8325.967); h_SL3L168->SetBinContent(41,8253.157); h_SL3L168->SetBinContent(42,8878.461); h_SL3L168->SetBinContent(43,8801.369); h_SL3L168->SetBinContent(44,8150.368); h_SL3L168->SetBinContent(45,7709.229); h_SL3L168->SetBinContent(46,9246.791); h_SL3L168->SetBinContent(47,8313.118); h_SL3L168->SetBinContent(48,8009.032); h_SL3L168->SetBinContent(50,7949.071); h_SL3L168->SetBinContent(51,6595.673); h_SL3L168->SetBinContent(52,6565.693); h_SL3L168->SetBinContent(53,7148.168); h_SL3L168->SetBinContent(54,6985.417); h_SL3L168->SetBinContent(55,6938.306); h_SL3L168->SetBinContent(56,6844.082); h_SL3L168->SetBinContent(57,52071.55); h_SL3L168->SetBinContent(58,6728.443); h_SL3L168->SetBinContent(59,5212.295); h_SL3L168->SetMaximum(68864.3); 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,625.3041); h_SL3L269->SetBinContent(2,5255.124); h_SL3L269->SetBinContent(4,3700.43); h_SL3L269->SetBinContent(5,6462.903); h_SL3L269->SetBinContent(6,7854.847); h_SL3L269->SetBinContent(7,7499.366); h_SL3L269->SetBinContent(8,7525.063); h_SL3L269->SetBinContent(9,7846.281); h_SL3L269->SetBinContent(10,7884.828); h_SL3L269->SetBinContent(11,8240.309); h_SL3L269->SetBinContent(12,8253.157); h_SL3L269->SetBinContent(13,7585.024); h_SL3L269->SetBinContent(14,8197.479); h_SL3L269->SetBinContent(15,7512.215); h_SL3L269->SetBinContent(16,7375.162); h_SL3L269->SetBinContent(17,7503.649); h_SL3L269->SetBinContent(18,8694.297); h_SL3L269->SetBinContent(19,8274.571); h_SL3L269->SetBinContent(20,8180.348); h_SL3L269->SetBinContent(21,7567.893); h_SL3L269->SetBinContent(22,8642.901); h_SL3L269->SetBinContent(23,8634.336); h_SL3L269->SetBinContent(24,8321.684); h_SL3L269->SetBinContent(25,8111.821); h_SL3L269->SetBinContent(26,8445.888); h_SL3L269->SetBinContent(27,8146.084); h_SL3L269->SetBinContent(28,8373.078); h_SL3L269->SetBinContent(29,7871.979); h_SL3L269->SetBinContent(30,8638.618); h_SL3L269->SetBinContent(31,8792.803); h_SL3L269->SetBinContent(32,8514.414); h_SL3L269->SetBinContent(33,8437.322); h_SL3L269->SetBinContent(34,8728.56); h_SL3L269->SetBinContent(35,9024.08); h_SL3L269->SetBinContent(36,8458.736); h_SL3L269->SetBinContent(37,8668.599); h_SL3L269->SetBinContent(38,8989.816); h_SL3L269->SetBinContent(39,9114.021); h_SL3L269->SetBinContent(40,8929.856); h_SL3L269->SetBinContent(41,7859.13); h_SL3L269->SetBinContent(42,8809.935); h_SL3L269->SetBinContent(43,8745.691); h_SL3L269->SetBinContent(44,8463.02); h_SL3L269->SetBinContent(45,7966.203); h_SL3L269->SetBinContent(46,8552.961); h_SL3L269->SetBinContent(47,8865.612); h_SL3L269->SetBinContent(48,8141.802); h_SL3L269->SetBinContent(49,7597.873); h_SL3L269->SetBinContent(50,7272.372); h_SL3L269->SetBinContent(51,3743.259); h_SL3L269->SetBinContent(52,7032.529); h_SL3L269->SetBinContent(53,6835.516); h_SL3L269->SetBinContent(54,7332.333); h_SL3L269->SetBinContent(55,6921.174); h_SL3L269->SetBinContent(56,7071.076); h_SL3L269->SetBinContent(57,7049.661); h_SL3L269->SetBinContent(58,6689.897); h_SL3L269->SetBinContent(59,6064.593); h_SL3L269->SetMaximum(59882.29); 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,2848.132); h_SL3L370->SetBinContent(2,3276.422); h_SL3L370->SetBinContent(3,1370.53); h_SL3L370->SetBinContent(4,5850.448); h_SL3L370->SetBinContent(5,7615.004); h_SL3L370->SetBinContent(6,7383.728); h_SL3L370->SetBinContent(7,7486.517); h_SL3L370->SetBinContent(8,7233.826); h_SL3L370->SetBinContent(9,8454.454); h_SL3L370->SetBinContent(10,7752.057); h_SL3L370->SetBinContent(11,8193.196); h_SL3L370->SetBinContent(12,7957.637); h_SL3L370->SetBinContent(13,8077.558); h_SL3L370->SetBinContent(14,8274.571); h_SL3L370->SetBinContent(16,7409.425); h_SL3L370->SetBinContent(17,8467.303); h_SL3L370->SetBinContent(18,8338.815); h_SL3L370->SetBinContent(19,7854.847); h_SL3L370->SetBinContent(20,7563.609); h_SL3L370->SetBinContent(21,8767.105); h_SL3L370->SetBinContent(22,8458.736); h_SL3L370->SetBinContent(23,8141.802); h_SL3L370->SetBinContent(24,7752.057); h_SL3L370->SetBinContent(25,8929.856); h_SL3L370->SetBinContent(26,7974.769); h_SL3L370->SetBinContent(27,8420.19); h_SL3L370->SetBinContent(28,7807.735); h_SL3L370->SetBinContent(29,8642.901); h_SL3L370->SetBinContent(30,8857.047); h_SL3L370->SetBinContent(31,8411.625); h_SL3L370->SetBinContent(32,8343.099); h_SL3L370->SetBinContent(33,9178.265); h_SL3L370->SetBinContent(34,8831.35); h_SL3L370->SetBinContent(35,8839.915); h_SL3L370->SetBinContent(36,8026.163); h_SL3L370->SetBinContent(37,9490.917); h_SL3L370->SetBinContent(38,8467.303); h_SL3L370->SetBinContent(39,8887.027); h_SL3L370->SetBinContent(40,8377.361); h_SL3L370->SetBinContent(41,8998.383); h_SL3L370->SetBinContent(42,8612.921); h_SL3L370->SetBinContent(43,8608.639); h_SL3L370->SetBinContent(44,8227.46); h_SL3L370->SetBinContent(45,8600.072); h_SL3L370->SetBinContent(46,8767.105); h_SL3L370->SetBinContent(47,8381.645); h_SL3L370->SetBinContent(48,7559.327); h_SL3L370->SetBinContent(49,8013.314); h_SL3L370->SetBinContent(50,4642.668); h_SL3L370->SetBinContent(51,6086.007); h_SL3L370->SetBinContent(52,6591.39); h_SL3L370->SetBinContent(53,7674.965); h_SL3L370->SetBinContent(54,7152.451); h_SL3L370->SetBinContent(55,6934.022); h_SL3L370->SetBinContent(56,6934.022); h_SL3L370->SetBinContent(57,6612.805); h_SL3L370->SetBinContent(58,6715.594); h_SL3L370->SetBinContent(59,5006.715); h_SL3L370->SetMaximum(59882.29); 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,5002.433); h_SL3L471->SetBinContent(3,1182.082); h_SL3L471->SetBinContent(4,3417.758); h_SL3L471->SetBinContent(5,6835.516); h_SL3L471->SetBinContent(6,7537.912); h_SL3L471->SetBinContent(7,7345.182); h_SL3L471->SetBinContent(8,7023.963); h_SL3L471->SetBinContent(9,8013.314); h_SL3L471->SetBinContent(10,7782.038); h_SL3L471->SetBinContent(11,7846.281); h_SL3L471->SetBinContent(12,7756.34); h_SL3L471->SetBinContent(13,8111.821); h_SL3L471->SetBinContent(14,8463.02); h_SL3L471->SetBinContent(15,7276.655); h_SL3L471->SetBinContent(16,6981.135); h_SL3L471->SetBinContent(17,7794.886); h_SL3L471->SetBinContent(18,8522.98); h_SL3L471->SetBinContent(19,7841.999); h_SL3L471->SetBinContent(20,7597.873); h_SL3L471->SetBinContent(21,8060.426); h_SL3L471->SetBinContent(22,8343.099); h_SL3L471->SetBinContent(23,8668.599); h_SL3L471->SetBinContent(24,7734.926); h_SL3L471->SetBinContent(25,8668.599); h_SL3L471->SetBinContent(26,8403.059); h_SL3L471->SetBinContent(27,8253.157); h_SL3L471->SetBinContent(28,8197.479); h_SL3L471->SetBinContent(29,8081.841); h_SL3L471->SetBinContent(30,8582.94); h_SL3L471->SetBinContent(31,8724.276); h_SL3L471->SetBinContent(32,8077.558); h_SL3L471->SetBinContent(33,9024.08); h_SL3L471->SetBinContent(34,8809.935); h_SL3L471->SetBinContent(35,8822.783); h_SL3L471->SetBinContent(36,8056.144); h_SL3L471->SetBinContent(37,8818.501); h_SL3L471->SetBinContent(38,8668.599); h_SL3L471->SetBinContent(39,8463.02); h_SL3L471->SetBinContent(40,8450.171); h_SL3L471->SetBinContent(41,8527.263); h_SL3L471->SetBinContent(42,8887.027); h_SL3L471->SetBinContent(43,8501.565); h_SL3L471->SetBinContent(44,8214.611); h_SL3L471->SetBinContent(45,13589.66); h_SL3L471->SetBinContent(46,9139.719); h_SL3L471->SetBinContent(47,8137.519); h_SL3L471->SetBinContent(48,7940.505); h_SL3L471->SetBinContent(49,7529.346); h_SL3L471->SetBinContent(50,7083.924); h_SL3L471->SetBinContent(51,4055.911); h_SL3L471->SetBinContent(52,6510.015); h_SL3L471->SetBinContent(53,7400.859); h_SL3L471->SetBinContent(54,7422.274); h_SL3L471->SetBinContent(55,7096.773); h_SL3L471->SetBinContent(56,6874.062); h_SL3L471->SetBinContent(57,6728.443); h_SL3L471->SetBinContent(58,6822.667); h_SL3L471->SetBinContent(59,5619.171); h_SL3L471->SetMaximum(59882.29); 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 5708"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }