void RatesPerCell_Removing_noisy_cells_run_6765_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11648.49,67.5,104836.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6765",60,0,60); h_SL3L168->SetBinContent(1,421.4286); h_SL3L168->SetBinContent(2,200); h_SL3L168->SetBinContent(4,233.3333); h_SL3L168->SetBinContent(5,247.619); h_SL3L168->SetBinContent(6,271.4286); h_SL3L168->SetBinContent(7,261.9048); h_SL3L168->SetBinContent(8,242.8571); h_SL3L168->SetBinContent(9,228.5714); h_SL3L168->SetBinContent(10,338.0952); h_SL3L168->SetBinContent(11,295.2381); h_SL3L168->SetBinContent(12,373.8095); h_SL3L168->SetBinContent(13,464.2857); h_SL3L168->SetBinContent(14,516.6667); h_SL3L168->SetBinContent(15,576.1905); h_SL3L168->SetBinContent(16,616.6667); h_SL3L168->SetBinContent(17,552.3809); h_SL3L168->SetBinContent(18,621.4286); h_SL3L168->SetBinContent(19,607.1428); h_SL3L168->SetBinContent(20,830.9524); h_SL3L168->SetBinContent(21,861.9047); h_SL3L168->SetBinContent(22,916.6667); h_SL3L168->SetBinContent(23,1047.619); h_SL3L168->SetBinContent(24,1102.381); h_SL3L168->SetBinContent(25,1304.762); h_SL3L168->SetBinContent(26,1440.476); h_SL3L168->SetBinContent(27,1383.333); h_SL3L168->SetBinContent(28,1926.19); h_SL3L168->SetBinContent(29,2166.667); h_SL3L168->SetBinContent(30,2576.19); h_SL3L168->SetBinContent(31,3090.476); h_SL3L168->SetBinContent(32,4514.286); h_SL3L168->SetBinContent(33,9071.429); h_SL3L168->SetBinContent(34,38992.86); h_SL3L168->SetBinContent(35,57866.67); h_SL3L168->SetBinContent(36,62590.48); h_SL3L168->SetBinContent(37,67988.09); h_SL3L168->SetBinContent(38,70464.28); h_SL3L168->SetBinContent(39,64557.14); h_SL3L168->SetBinContent(40,40711.91); h_SL3L168->SetBinContent(41,9288.095); h_SL3L168->SetBinContent(42,4985.714); h_SL3L168->SetBinContent(43,3311.905); h_SL3L168->SetBinContent(44,2940.476); h_SL3L168->SetBinContent(45,2676.19); h_SL3L168->SetBinContent(46,2378.571); h_SL3L168->SetBinContent(47,2111.905); h_SL3L168->SetBinContent(48,2150); h_SL3L168->SetBinContent(49,18757.14); h_SL3L168->SetBinContent(50,1678.571); h_SL3L168->SetBinContent(51,1602.381); h_SL3L168->SetBinContent(52,1402.381); h_SL3L168->SetBinContent(53,1440.476); h_SL3L168->SetBinContent(54,1333.333); h_SL3L168->SetBinContent(55,1350); h_SL3L168->SetBinContent(56,1280.952); h_SL3L168->SetBinContent(57,1045.238); h_SL3L168->SetBinContent(58,1007.143); h_SL3L168->SetBinContent(59,1016.667); h_SL3L168->SetMaximum(93187.95); 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,226.1905); h_SL3L269->SetBinContent(2,178.5714); h_SL3L269->SetBinContent(4,238.0952); h_SL3L269->SetBinContent(5,252.381); h_SL3L269->SetBinContent(6,247.619); h_SL3L269->SetBinContent(7,221.4286); h_SL3L269->SetBinContent(8,233.3333); h_SL3L269->SetBinContent(9,276.1905); h_SL3L269->SetBinContent(10,326.1905); h_SL3L269->SetBinContent(11,278.5714); h_SL3L269->SetBinContent(12,280.9524); h_SL3L269->SetBinContent(13,419.0476); h_SL3L269->SetBinContent(14,442.8571); h_SL3L269->SetBinContent(15,528.5714); h_SL3L269->SetBinContent(16,552.3809); h_SL3L269->SetBinContent(17,535.7143); h_SL3L269->SetBinContent(18,638.0952); h_SL3L269->SetBinContent(19,573.8095); h_SL3L269->SetBinContent(20,769.0476); h_SL3L269->SetBinContent(21,752.3809); h_SL3L269->SetBinContent(22,873.8095); h_SL3L269->SetBinContent(23,971.4286); h_SL3L269->SetBinContent(24,1057.143); h_SL3L269->SetBinContent(25,1166.667); h_SL3L269->SetBinContent(26,1371.429); h_SL3L269->SetBinContent(27,1330.952); h_SL3L269->SetBinContent(28,1607.143); h_SL3L269->SetBinContent(29,1923.809); h_SL3L269->SetBinContent(30,2316.667); h_SL3L269->SetBinContent(31,2702.381); h_SL3L269->SetBinContent(32,3561.905); h_SL3L269->SetBinContent(33,6630.952); h_SL3L269->SetBinContent(34,19095.24); h_SL3L269->SetBinContent(35,51352.38); h_SL3L269->SetBinContent(36,60338.09); h_SL3L269->SetBinContent(37,64488.09); h_SL3L269->SetBinContent(38,69671.43); h_SL3L269->SetBinContent(39,68235.71); h_SL3L269->SetBinContent(40,55657.14); h_SL3L269->SetBinContent(41,19761.9); h_SL3L269->SetBinContent(42,6990.476); h_SL3L269->SetBinContent(43,3809.524); h_SL3L269->SetBinContent(44,3033.333); h_SL3L269->SetBinContent(45,2711.905); h_SL3L269->SetBinContent(46,2326.19); h_SL3L269->SetBinContent(47,2121.428); h_SL3L269->SetBinContent(48,1992.857); h_SL3L269->SetBinContent(49,3873.81); h_SL3L269->SetBinContent(50,1738.095); h_SL3L269->SetBinContent(51,1642.857); h_SL3L269->SetBinContent(52,1864.286); h_SL3L269->SetBinContent(53,4471.429); h_SL3L269->SetBinContent(54,1352.381); h_SL3L269->SetBinContent(55,1373.81); h_SL3L269->SetBinContent(56,1533.333); h_SL3L269->SetBinContent(57,1219.048); h_SL3L269->SetBinContent(58,988.0952); h_SL3L269->SetBinContent(59,940.4762); h_SL3L269->SetMaximum(81033.92); 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,216.6667); h_SL3L370->SetBinContent(2,207.1429); h_SL3L370->SetBinContent(3,216.6667); h_SL3L370->SetBinContent(4,245.2381); h_SL3L370->SetBinContent(5,223.8095); h_SL3L370->SetBinContent(6,240.4762); h_SL3L370->SetBinContent(7,226.1905); h_SL3L370->SetBinContent(8,257.1429); h_SL3L370->SetBinContent(9,223.8095); h_SL3L370->SetBinContent(10,302.381); h_SL3L370->SetBinContent(11,307.1429); h_SL3L370->SetBinContent(12,357.1429); h_SL3L370->SetBinContent(13,454.7619); h_SL3L370->SetBinContent(14,480.9524); h_SL3L370->SetBinContent(15,576.1905); h_SL3L370->SetBinContent(16,564.2857); h_SL3L370->SetBinContent(17,533.3333); h_SL3L370->SetBinContent(18,600); h_SL3L370->SetBinContent(19,635.7143); h_SL3L370->SetBinContent(20,802.3809); h_SL3L370->SetBinContent(21,857.1428); h_SL3L370->SetBinContent(22,883.3333); h_SL3L370->SetBinContent(23,966.6667); h_SL3L370->SetBinContent(24,1016.667); h_SL3L370->SetBinContent(25,1192.857); h_SL3L370->SetBinContent(26,1373.81); h_SL3L370->SetBinContent(27,1383.333); h_SL3L370->SetBinContent(28,1719.048); h_SL3L370->SetBinContent(29,2161.905); h_SL3L370->SetBinContent(30,2400); h_SL3L370->SetBinContent(31,2916.667); h_SL3L370->SetBinContent(32,4533.333); h_SL3L370->SetBinContent(33,8919.048); h_SL3L370->SetBinContent(34,38100); h_SL3L370->SetBinContent(35,56902.38); h_SL3L370->SetBinContent(36,62280.95); h_SL3L370->SetBinContent(37,67378.57); h_SL3L370->SetBinContent(38,69278.57); h_SL3L370->SetBinContent(39,63961.9); h_SL3L370->SetBinContent(40,40288.09); h_SL3L370->SetBinContent(41,9045.238); h_SL3L370->SetBinContent(42,4833.333); h_SL3L370->SetBinContent(43,3250); h_SL3L370->SetBinContent(44,2833.333); h_SL3L370->SetBinContent(45,64.28571); h_SL3L370->SetBinContent(46,2238.095); h_SL3L370->SetBinContent(47,1916.667); h_SL3L370->SetBinContent(48,2023.809); h_SL3L370->SetBinContent(49,1766.667); h_SL3L370->SetBinContent(50,1669.048); h_SL3L370->SetBinContent(51,1466.667); h_SL3L370->SetBinContent(52,1369.048); h_SL3L370->SetBinContent(53,1542.857); h_SL3L370->SetBinContent(54,1276.19); h_SL3L370->SetBinContent(55,1323.81); h_SL3L370->SetBinContent(56,1214.286); h_SL3L370->SetBinContent(57,1078.571); h_SL3L370->SetBinContent(58,973.8095); h_SL3L370->SetBinContent(59,980.9524); h_SL3L370->SetMaximum(81033.92); 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,176.1905); h_SL3L471->SetBinContent(3,228.5714); h_SL3L471->SetBinContent(4,216.6667); h_SL3L471->SetBinContent(5,230.9524); h_SL3L471->SetBinContent(6,240.4762); h_SL3L471->SetBinContent(7,195.2381); h_SL3L471->SetBinContent(8,242.8571); h_SL3L471->SetBinContent(9,259.5238); h_SL3L471->SetBinContent(10,290.4762); h_SL3L471->SetBinContent(11,323.8095); h_SL3L471->SetBinContent(12,300); h_SL3L471->SetBinContent(13,423.8095); h_SL3L471->SetBinContent(14,471.4286); h_SL3L471->SetBinContent(15,552.3809); h_SL3L471->SetBinContent(16,554.7619); h_SL3L471->SetBinContent(17,578.5714); h_SL3L471->SetBinContent(18,597.619); h_SL3L471->SetBinContent(19,604.7619); h_SL3L471->SetBinContent(20,735.7143); h_SL3L471->SetBinContent(21,783.3333); h_SL3L471->SetBinContent(22,819.0476); h_SL3L471->SetBinContent(23,942.8571); h_SL3L471->SetBinContent(24,1069.048); h_SL3L471->SetBinContent(25,1128.571); h_SL3L471->SetBinContent(26,1347.619); h_SL3L471->SetBinContent(27,1366.667); h_SL3L471->SetBinContent(28,1647.619); h_SL3L471->SetBinContent(29,1947.619); h_SL3L471->SetBinContent(30,2188.095); h_SL3L471->SetBinContent(31,2628.571); h_SL3L471->SetBinContent(32,3423.81); h_SL3L471->SetBinContent(33,6666.667); h_SL3L471->SetBinContent(34,19000); h_SL3L471->SetBinContent(35,51750); h_SL3L471->SetBinContent(36,60435.71); h_SL3L471->SetBinContent(37,64733.33); h_SL3L471->SetBinContent(38,69590.48); h_SL3L471->SetBinContent(39,67914.28); h_SL3L471->SetBinContent(40,55773.81); h_SL3L471->SetBinContent(41,19966.67); h_SL3L471->SetBinContent(42,7033.333); h_SL3L471->SetBinContent(43,3771.428); h_SL3L471->SetBinContent(44,2873.81); h_SL3L471->SetBinContent(45,2650); h_SL3L471->SetBinContent(46,2330.952); h_SL3L471->SetBinContent(47,2109.524); h_SL3L471->SetBinContent(48,2011.905); h_SL3L471->SetBinContent(49,1764.286); h_SL3L471->SetBinContent(50,1638.095); h_SL3L471->SetBinContent(51,1564.286); h_SL3L471->SetBinContent(52,1419.048); h_SL3L471->SetBinContent(53,1342.857); h_SL3L471->SetBinContent(54,1254.762); h_SL3L471->SetBinContent(55,1361.905); h_SL3L471->SetBinContent(56,1171.429); h_SL3L471->SetBinContent(57,1171.429); h_SL3L471->SetBinContent(58,976.1905); h_SL3L471->SetBinContent(59,964.2857); h_SL3L471->SetMaximum(81033.92); 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 6765"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }