void RatesPerCell_Removing_noisy_cells_run_5873_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:15:02 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1675.406,67.5,15078.66); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5873",60,0,60); h_SL2L164->SetBinContent(1,4308.898); h_SL2L164->SetBinContent(2,5029.582); h_SL2L164->SetBinContent(3,6212.476); h_SL2L164->SetBinContent(4,7818.05); h_SL2L164->SetBinContent(5,8292.424); h_SL2L164->SetBinContent(6,8465.753); h_SL2L164->SetBinContent(7,8401.895); h_SL2L164->SetBinContent(8,8353.241); h_SL2L164->SetBinContent(9,8471.834); h_SL2L164->SetBinContent(10,8806.329); h_SL2L164->SetBinContent(11,9000.944); h_SL2L164->SetBinContent(12,9125.619); h_SL2L164->SetBinContent(13,9046.557); h_SL2L164->SetBinContent(14,9025.271); h_SL2L164->SetBinContent(15,9414.501); h_SL2L164->SetBinContent(16,9055.68); h_SL2L164->SetBinContent(17,9089.129); h_SL2L164->SetBinContent(18,9222.927); h_SL2L164->SetBinContent(19,9378.011); h_SL2L164->SetBinContent(20,9344.562); h_SL2L164->SetBinContent(21,8940.127); h_SL2L164->SetBinContent(22,9110.415); h_SL2L164->SetBinContent(23,9219.886); h_SL2L164->SetBinContent(24,8897.555); h_SL2L164->SetBinContent(25,9305.03); h_SL2L164->SetBinContent(26,9609.116); h_SL2L164->SetBinContent(27,9362.807); h_SL2L164->SetBinContent(28,9539.176); h_SL2L164->SetBinContent(29,9606.075); h_SL2L164->SetBinContent(30,9013.107); h_SL2L164->SetBinContent(31,8997.903); h_SL2L164->SetBinContent(32,8946.209); h_SL2L164->SetBinContent(33,8526.57); h_SL2L164->SetBinContent(34,9073.925); h_SL2L164->SetBinContent(36,10135.18); h_SL2L164->SetBinContent(37,9229.009); h_SL2L164->SetBinContent(38,9016.148); h_SL2L164->SetBinContent(39,9055.68); h_SL2L164->SetBinContent(40,8207.279); h_SL2L164->SetBinContent(41,8864.105); h_SL2L164->SetBinContent(42,8526.57); h_SL2L164->SetBinContent(43,8812.411); h_SL2L164->SetBinContent(44,8833.696); h_SL2L164->SetBinContent(45,8809.37); h_SL2L164->SetBinContent(46,9064.802); h_SL2L164->SetBinContent(47,8608.673); h_SL2L164->SetBinContent(48,8623.877); h_SL2L164->SetBinContent(49,8809.37); h_SL2L164->SetBinContent(50,8815.451); h_SL2L164->SetBinContent(51,8760.716); h_SL2L164->SetBinContent(52,8414.059); h_SL2L164->SetBinContent(53,7866.704); h_SL2L164->SetBinContent(54,7577.822); h_SL2L164->SetBinContent(55,6121.25); h_SL2L164->SetBinContent(56,4491.35); h_SL2L164->SetBinContent(57,2043.458); h_SL2L164->SetMaximum(13403.25); 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,2250.236); h_SL2L265->SetBinContent(2,4561.289); h_SL2L265->SetBinContent(3,6069.556); h_SL2L265->SetBinContent(4,7304.145); h_SL2L265->SetBinContent(5,8176.871); h_SL2L265->SetBinContent(6,8538.733); h_SL2L265->SetBinContent(7,8499.202); h_SL2L265->SetBinContent(8,8450.549); h_SL2L265->SetBinContent(9,8377.567); h_SL2L265->SetBinContent(10,8550.896); h_SL2L265->SetBinContent(11,8736.39); h_SL2L265->SetBinContent(12,9095.211); h_SL2L265->SetBinContent(13,9028.312); h_SL2L265->SetBinContent(14,9043.516); h_SL2L265->SetBinContent(15,9146.905); h_SL2L265->SetBinContent(16,8815.451); h_SL2L265->SetBinContent(17,8906.678); h_SL2L265->SetBinContent(18,9137.782); h_SL2L265->SetBinContent(19,9195.559); h_SL2L265->SetBinContent(20,9040.476); h_SL2L265->SetBinContent(21,9168.191); h_SL2L265->SetBinContent(22,8934.045); h_SL2L265->SetBinContent(23,9125.619); h_SL2L265->SetBinContent(24,8985.739); h_SL2L265->SetBinContent(25,8891.473); h_SL2L265->SetBinContent(26,9387.133); h_SL2L265->SetBinContent(27,9326.316); h_SL2L265->SetBinContent(28,9399.297); h_SL2L265->SetBinContent(29,9447.95); h_SL2L265->SetBinContent(30,8973.576); h_SL2L265->SetBinContent(31,8675.572); h_SL2L265->SetBinContent(32,8812.411); h_SL2L265->SetBinContent(33,8702.939); h_SL2L265->SetBinContent(34,8699.898); h_SL2L265->SetBinContent(35,7857.581); h_SL2L265->SetBinContent(36,7602.148); h_SL2L265->SetBinContent(37,8873.228); h_SL2L265->SetBinContent(38,9116.497); h_SL2L265->SetBinContent(39,9013.107); h_SL2L265->SetBinContent(40,8742.471); h_SL2L265->SetBinContent(41,8955.331); h_SL2L265->SetBinContent(42,8526.57); h_SL2L265->SetBinContent(43,8511.365); h_SL2L265->SetBinContent(44,8660.368); h_SL2L265->SetBinContent(45,8785.043); h_SL2L265->SetBinContent(46,8818.492); h_SL2L265->SetBinContent(47,8785.043); h_SL2L265->SetBinContent(48,8252.893); h_SL2L265->SetBinContent(49,8651.245); h_SL2L265->SetBinContent(50,8523.529); h_SL2L265->SetBinContent(51,8629.959); h_SL2L265->SetBinContent(52,8611.714); h_SL2L265->SetBinContent(53,8398.854); h_SL2L265->SetBinContent(54,7967.052); h_SL2L265->SetBinContent(55,7483.555); h_SL2L265->SetBinContent(56,5652.958); h_SL2L265->SetBinContent(57,3703.767); h_SL2L265->SetMaximum(11655.46); 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,2827.999); h_SL2L366->SetBinContent(2,5351.913); h_SL2L366->SetBinContent(3,7082.162); h_SL2L366->SetBinContent(4,7863.663); h_SL2L366->SetBinContent(5,8742.471); h_SL2L366->SetBinContent(6,8596.51); h_SL2L366->SetBinContent(7,8426.222); h_SL2L366->SetBinContent(8,8450.549); h_SL2L366->SetBinContent(9,8520.488); h_SL2L366->SetBinContent(10,8651.245); h_SL2L366->SetBinContent(11,9137.782); h_SL2L366->SetBinContent(12,8915.8); h_SL2L366->SetBinContent(13,9095.211); h_SL2L366->SetBinContent(14,9110.415); h_SL2L366->SetBinContent(15,9080.007); h_SL2L366->SetBinContent(16,8997.903); h_SL2L366->SetBinContent(17,8997.903); h_SL2L366->SetBinContent(18,9110.415); h_SL2L366->SetBinContent(19,9055.68); h_SL2L366->SetBinContent(20,9040.476); h_SL2L366->SetBinContent(21,8815.451); h_SL2L366->SetBinContent(22,9289.825); h_SL2L366->SetBinContent(23,8943.168); h_SL2L366->SetBinContent(24,8699.898); h_SL2L366->SetBinContent(25,9204.682); h_SL2L366->SetBinContent(26,9338.479); h_SL2L366->SetBinContent(27,9317.193); h_SL2L366->SetBinContent(28,9213.804); h_SL2L366->SetBinContent(29,9235.09); h_SL2L366->SetBinContent(30,9010.066); h_SL2L366->SetBinContent(31,8839.778); h_SL2L366->SetBinContent(32,8623.877); h_SL2L366->SetBinContent(33,8578.265); h_SL2L366->SetBinContent(34,8544.815); h_SL2L366->SetBinContent(35,8173.83); h_SL2L366->SetBinContent(36,8064.359); h_SL2L366->SetBinContent(37,8861.064); h_SL2L366->SetBinContent(38,9143.864); h_SL2L366->SetBinContent(39,8800.247); h_SL2L366->SetBinContent(40,8815.451); h_SL2L366->SetBinContent(41,8535.692); h_SL2L366->SetBinContent(42,8742.471); h_SL2L366->SetBinContent(43,8122.136); h_SL2L366->SetBinContent(44,8763.757); h_SL2L366->SetBinContent(45,8997.903); h_SL2L366->SetBinContent(46,8727.267); h_SL2L366->SetBinContent(47,8587.387); h_SL2L366->SetBinContent(48,8392.772); h_SL2L366->SetBinContent(49,8517.447); h_SL2L366->SetBinContent(50,8696.858); h_SL2L366->SetBinContent(51,8496.161); h_SL2L366->SetBinContent(52,8374.527); h_SL2L366->SetBinContent(53,8301.546); h_SL2L366->SetBinContent(54,8085.646); h_SL2L366->SetBinContent(55,6963.568); h_SL2L366->SetBinContent(56,4436.614); h_SL2L366->SetBinContent(57,3046.941); h_SL2L366->SetMaximum(11655.46); 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,3794.993); h_SL2L467->SetBinContent(3,6835.852); h_SL2L467->SetBinContent(4,7903.194); h_SL2L467->SetBinContent(5,8383.649); h_SL2L467->SetBinContent(6,8742.471); h_SL2L467->SetBinContent(7,8690.776); h_SL2L467->SetBinContent(8,8456.63); h_SL2L467->SetBinContent(9,8572.183); h_SL2L467->SetBinContent(10,8684.694); h_SL2L467->SetBinContent(11,8982.699); h_SL2L467->SetBinContent(12,9101.292); h_SL2L467->SetBinContent(13,9092.17); h_SL2L467->SetBinContent(14,9113.456); h_SL2L467->SetBinContent(15,9292.866); h_SL2L467->SetBinContent(16,9067.843); h_SL2L467->SetBinContent(17,8648.204); h_SL2L467->SetBinContent(18,9259.417); h_SL2L467->SetBinContent(19,9174.273); h_SL2L467->SetBinContent(20,9207.723); h_SL2L467->SetBinContent(21,8943.168); h_SL2L467->SetBinContent(22,9244.213); h_SL2L467->SetBinContent(23,9073.925); h_SL2L467->SetBinContent(24,8949.249); h_SL2L467->SetBinContent(25,9089.129); h_SL2L467->SetBinContent(26,9356.725); h_SL2L467->SetBinContent(27,9429.705); h_SL2L467->SetBinContent(28,9086.088); h_SL2L467->SetBinContent(29,9447.95); h_SL2L467->SetBinContent(30,9107.374); h_SL2L467->SetBinContent(31,9046.557); h_SL2L467->SetBinContent(32,8772.88); h_SL2L467->SetBinContent(33,8690.776); h_SL2L467->SetBinContent(34,8474.875); h_SL2L467->SetBinContent(35,8514.406); h_SL2L467->SetBinContent(36,8657.327); h_SL2L467->SetBinContent(37,8231.606); h_SL2L467->SetBinContent(38,8864.105); h_SL2L467->SetBinContent(39,9156.028); h_SL2L467->SetBinContent(40,8918.841); h_SL2L467->SetBinContent(41,8836.737); h_SL2L467->SetBinContent(42,8556.979); h_SL2L467->SetBinContent(43,8718.145); h_SL2L467->SetBinContent(44,8414.059); h_SL2L467->SetBinContent(45,9119.537); h_SL2L467->SetBinContent(46,8848.901); h_SL2L467->SetBinContent(47,8733.349); h_SL2L467->SetBinContent(48,8538.733); h_SL2L467->SetBinContent(49,8514.406); h_SL2L467->SetBinContent(50,8785.043); h_SL2L467->SetBinContent(51,8705.98); h_SL2L467->SetBinContent(52,8715.104); h_SL2L467->SetBinContent(53,8493.12); h_SL2L467->SetBinContent(54,8499.202); h_SL2L467->SetBinContent(55,8015.706); h_SL2L467->SetBinContent(56,6075.637); h_SL2L467->SetBinContent(57,2995.247); h_SL2L467->SetMaximum(11655.46); 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 5873"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }