void RatesPerCell_Removing_noisy_cells_run_6278_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:46 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4818.069,67.5,43362.62); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L159 = new TH1D("h_SL1L159","SL1, run 6278",60,0,60); h_SL1L159->SetBinContent(1,4184.615); h_SL1L159->SetBinContent(2,3708.045); h_SL1L159->SetBinContent(3,3344.347); h_SL1L159->SetBinContent(4,2361.945); h_SL1L159->SetBinContent(5,852.8086); h_SL1L159->SetBinContent(6,1371.182); h_SL1L159->SetBinContent(7,1032.567); h_SL1L159->SetBinContent(8,1157.98); h_SL1L159->SetBinContent(9,1040.928); h_SL1L159->SetBinContent(10,1183.063); h_SL1L159->SetBinContent(11,1333.558); h_SL1L159->SetBinContent(12,990.7629); h_SL1L159->SetBinContent(13,1095.274); h_SL1L159->SetBinContent(14,610.3434); h_SL1L159->SetBinContent(15,438.9456); h_SL1L159->SetBinContent(16,418.0434); h_SL1L159->SetBinContent(17,447.3065); h_SL1L159->SetBinContent(18,438.9456); h_SL1L159->SetBinContent(19,422.2238); h_SL1L159->SetBinContent(20,388.7804); h_SL1L159->SetBinContent(21,317.713); h_SL1L159->SetBinContent(22,397.1413); h_SL1L159->SetBinContent(23,351.1565); h_SL1L159->SetBinContent(24,175.5782); h_SL1L159->SetBinContent(25,188.1195); h_SL1L159->SetBinContent(26,376.2391); h_SL1L159->SetBinContent(27,300.9913); h_SL1L159->SetBinContent(28,234.1043); h_SL1L159->SetBinContent(29,313.5326); h_SL1L159->SetBinContent(30,267.5478); h_SL1L159->SetBinContent(31,213.2021); h_SL1L159->SetBinContent(32,192.3); h_SL1L159->SetBinContent(33,213.2021); h_SL1L159->SetBinContent(34,305.1717); h_SL1L159->SetBinContent(35,259.1869); h_SL1L159->SetBinContent(36,196.4804); h_SL1L159->SetBinContent(37,342.7956); h_SL1L159->SetBinContent(38,480.7499); h_SL1L159->SetBinContent(39,355.3369); h_SL1L159->SetBinContent(40,150.4956); h_SL1L159->SetBinContent(41,246.6456); h_SL1L159->SetBinContent(42,300.9913); h_SL1L159->SetBinContent(43,355.3369); h_SL1L159->SetBinContent(44,313.5326); h_SL1L159->SetBinContent(45,280.0891); h_SL1L159->SetBinContent(46,192.3); h_SL1L159->SetBinContent(47,255.0065); h_SL1L159->SetBinContent(48,300.9913); h_SL1L159->SetBinContent(49,455.6673); h_SL1L159->SetBinContent(50,535.0956); h_SL1L159->SetBinContent(51,656.3282); h_SL1L159->SetBinContent(52,593.6216); h_SL1L159->SetBinContent(53,652.1478); h_SL1L159->SetBinContent(54,815.1847); h_SL1L159->SetBinContent(55,760.8391); h_SL1L159->SetBinContent(56,1082.732); h_SL1L159->SetBinContent(57,1985.706); h_SL1L159->SetBinContent(58,2646.215); h_SL1L159->SetBinContent(59,3611.895); h_SL1L159->SetMaximum(38544.55); h_SL1L159->SetEntries(60); h_SL1L159->SetDirectory(0); h_SL1L159->SetStats(0); h_SL1L159->SetLineWidth(2); h_SL1L159->GetXaxis()->SetTitle("Cell"); h_SL1L159->GetXaxis()->SetLabelFont(42); h_SL1L159->GetXaxis()->SetLabelSize(0.035); h_SL1L159->GetXaxis()->SetTitleSize(0.035); h_SL1L159->GetXaxis()->SetTitleFont(42); h_SL1L159->GetYaxis()->SetTitle("Hz"); h_SL1L159->GetYaxis()->SetLabelFont(42); h_SL1L159->GetYaxis()->SetLabelSize(0.035); h_SL1L159->GetYaxis()->SetTitleSize(0.035); h_SL1L159->GetYaxis()->SetTitleOffset(1.45); h_SL1L159->GetYaxis()->SetTitleFont(42); h_SL1L159->GetZaxis()->SetLabelFont(42); h_SL1L159->GetZaxis()->SetLabelSize(0.035); h_SL1L159->GetZaxis()->SetTitleSize(0.035); h_SL1L159->GetZaxis()->SetTitleFont(42); h_SL1L159->Draw(""); TH1D *h_SL1L260 = new TH1D("h_SL1L260","",60,0,60); h_SL1L260->SetBinContent(1,21198.98); h_SL1L260->SetBinContent(2,20597); h_SL1L260->SetBinContent(3,23631.99); h_SL1L260->SetBinContent(4,24777.43); h_SL1L260->SetBinContent(5,22072.69); h_SL1L260->SetBinContent(6,23736.51); h_SL1L260->SetBinContent(7,23540.03); h_SL1L260->SetBinContent(8,23184.69); h_SL1L260->SetBinContent(9,23042.55); h_SL1L260->SetBinContent(10,23665.44); h_SL1L260->SetBinContent(11,25768.2); h_SL1L260->SetBinContent(12,24534.97); h_SL1L260->SetBinContent(13,27611.77); h_SL1L260->SetBinContent(14,26077.55); h_SL1L260->SetBinContent(15,24815.06); h_SL1L260->SetBinContent(16,23615.27); h_SL1L260->SetBinContent(17,21019.22); h_SL1L260->SetBinContent(18,24526.61); h_SL1L260->SetBinContent(19,24585.13); h_SL1L260->SetBinContent(20,24781.61); h_SL1L260->SetBinContent(21,24769.07); h_SL1L260->SetBinContent(22,26077.55); h_SL1L260->SetBinContent(23,25529.91); h_SL1L260->SetBinContent(24,22712.3); h_SL1L260->SetBinContent(25,23385.35); h_SL1L260->SetBinContent(26,20864.55); h_SL1L260->SetBinContent(27,20826.92); h_SL1L260->SetBinContent(28,22356.96); h_SL1L260->SetBinContent(29,23799.21); h_SL1L260->SetBinContent(30,25835.08); h_SL1L260->SetBinContent(31,25676.23); h_SL1L260->SetBinContent(32,24564.23); h_SL1L260->SetBinContent(33,26136.07); h_SL1L260->SetBinContent(34,25575.9); h_SL1L260->SetBinContent(35,24927.93); h_SL1L260->SetBinContent(36,24643.66); h_SL1L260->SetBinContent(37,22319.34); h_SL1L260->SetBinContent(38,25655.32); h_SL1L260->SetBinContent(39,24572.59); h_SL1L260->SetBinContent(40,24133.65); h_SL1L260->SetBinContent(41,25199.66); h_SL1L260->SetBinContent(42,25099.33); h_SL1L260->SetBinContent(43,29145.99); h_SL1L260->SetBinContent(44,27452.91); h_SL1L260->SetBinContent(45,25621.88); h_SL1L260->SetBinContent(46,25918.69); h_SL1L260->SetBinContent(47,22887.88); h_SL1L260->SetBinContent(48,24012.41); h_SL1L260->SetBinContent(49,25960.5); h_SL1L260->SetBinContent(50,25500.65); h_SL1L260->SetBinContent(51,25534.09); h_SL1L260->SetBinContent(52,25638.6); h_SL1L260->SetBinContent(53,28393.51); h_SL1L260->SetBinContent(54,25224.74); h_SL1L260->SetBinContent(55,25663.69); h_SL1L260->SetBinContent(56,26537.4); h_SL1L260->SetBinContent(57,22486.56); h_SL1L260->SetBinContent(58,22820.99); h_SL1L260->SetBinContent(59,22494.92); h_SL1L260->SetMaximum(33517.89); h_SL1L260->SetEntries(60); h_SL1L260->SetDirectory(0); h_SL1L260->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L260->SetLineColor(ci); h_SL1L260->SetLineWidth(2); h_SL1L260->GetXaxis()->SetTitle("Cell"); h_SL1L260->GetXaxis()->SetLabelFont(42); h_SL1L260->GetXaxis()->SetLabelSize(0.035); h_SL1L260->GetXaxis()->SetTitleSize(0.035); h_SL1L260->GetXaxis()->SetTitleFont(42); h_SL1L260->GetYaxis()->SetTitle("Hz"); h_SL1L260->GetYaxis()->SetLabelFont(42); h_SL1L260->GetYaxis()->SetLabelSize(0.035); h_SL1L260->GetYaxis()->SetTitleSize(0.035); h_SL1L260->GetYaxis()->SetTitleOffset(1.45); h_SL1L260->GetYaxis()->SetTitleFont(42); h_SL1L260->GetZaxis()->SetLabelFont(42); h_SL1L260->GetZaxis()->SetLabelSize(0.035); h_SL1L260->GetZaxis()->SetTitleSize(0.035); h_SL1L260->GetZaxis()->SetTitleFont(42); h_SL1L260->Draw("same"); TH1D *h_SL1L361 = new TH1D("h_SL1L361","",60,0,60); h_SL1L361->SetBinContent(1,20362.89); h_SL1L361->SetBinContent(2,20764.22); h_SL1L361->SetBinContent(3,22348.6); h_SL1L361->SetBinContent(4,24384.47); h_SL1L361->SetBinContent(5,22139.58); h_SL1L361->SetBinContent(6,24142.01); h_SL1L361->SetBinContent(7,24024.96); h_SL1L361->SetBinContent(8,23523.3); h_SL1L361->SetBinContent(9,23448.05); h_SL1L361->SetBinContent(10,24459.72); h_SL1L361->SetBinContent(11,26420.34); h_SL1L361->SetBinContent(12,25212.2); h_SL1L361->SetBinContent(13,26846.75); h_SL1L361->SetBinContent(14,24300.86); h_SL1L361->SetBinContent(15,24309.22); h_SL1L361->SetBinContent(16,24004.05); h_SL1L361->SetBinContent(17,23289.2); h_SL1L361->SetBinContent(18,24238.16); h_SL1L361->SetBinContent(19,24012.41); h_SL1L361->SetBinContent(20,23799.21); h_SL1L361->SetBinContent(21,25835.08); h_SL1L361->SetBinContent(22,23728.14); h_SL1L361->SetBinContent(23,23456.42); h_SL1L361->SetBinContent(24,22720.66); h_SL1L361->SetBinContent(25,20296.01); h_SL1L361->SetBinContent(26,20174.78); h_SL1L361->SetBinContent(27,23983.15); h_SL1L361->SetBinContent(28,22503.28); h_SL1L361->SetBinContent(29,26119.35); h_SL1L361->SetBinContent(30,23498.22); h_SL1L361->SetBinContent(31,24806.7); h_SL1L361->SetBinContent(32,24514.07); h_SL1L361->SetBinContent(33,23427.15); h_SL1L361->SetBinContent(34,24614.4); h_SL1L361->SetBinContent(35,23385.35); h_SL1L361->SetBinContent(36,22394.59); h_SL1L361->SetBinContent(37,22595.25); h_SL1L361->SetBinContent(38,23205.59); h_SL1L361->SetBinContent(39,24271.6); h_SL1L361->SetBinContent(40,21608.66); h_SL1L361->SetBinContent(41,23958.07); h_SL1L361->SetBinContent(42,27202.09); h_SL1L361->SetBinContent(43,27992.19); h_SL1L361->SetBinContent(44,27047.41); h_SL1L361->SetBinContent(45,25078.43); h_SL1L361->SetBinContent(46,24844.32); h_SL1L361->SetBinContent(47,25483.93); h_SL1L361->SetBinContent(48,22649.59); h_SL1L361->SetBinContent(49,25901.97); h_SL1L361->SetBinContent(50,23945.53); h_SL1L361->SetBinContent(51,25805.82); h_SL1L361->SetBinContent(52,23581.83); h_SL1L361->SetBinContent(53,23665.44); h_SL1L361->SetBinContent(54,22800.09); h_SL1L361->SetBinContent(55,22557.62); h_SL1L361->SetBinContent(56,24371.93); h_SL1L361->SetBinContent(57,24292.5); h_SL1L361->SetBinContent(58,22762.46); h_SL1L361->SetBinContent(59,22252.45); h_SL1L361->SetMaximum(33517.89); h_SL1L361->SetEntries(60); h_SL1L361->SetDirectory(0); h_SL1L361->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L361->SetLineColor(ci); h_SL1L361->SetLineWidth(2); h_SL1L361->GetXaxis()->SetTitle("Cell"); h_SL1L361->GetXaxis()->SetLabelFont(42); h_SL1L361->GetXaxis()->SetLabelSize(0.035); h_SL1L361->GetXaxis()->SetTitleSize(0.035); h_SL1L361->GetXaxis()->SetTitleFont(42); h_SL1L361->GetYaxis()->SetTitle("Hz"); h_SL1L361->GetYaxis()->SetLabelFont(42); h_SL1L361->GetYaxis()->SetLabelSize(0.035); h_SL1L361->GetYaxis()->SetTitleSize(0.035); h_SL1L361->GetYaxis()->SetTitleOffset(1.45); h_SL1L361->GetYaxis()->SetTitleFont(42); h_SL1L361->GetZaxis()->SetLabelFont(42); h_SL1L361->GetZaxis()->SetLabelSize(0.035); h_SL1L361->GetZaxis()->SetTitleSize(0.035); h_SL1L361->GetZaxis()->SetTitleFont(42); h_SL1L361->Draw("same"); TH1D *h_SL1L462 = new TH1D("h_SL1L462","",60,0,60); h_SL1L462->SetBinContent(2,3235.656); h_SL1L462->SetBinContent(3,1726.519); h_SL1L462->SetBinContent(4,1588.565); h_SL1L462->SetBinContent(5,1358.641); h_SL1L462->SetBinContent(6,1362.822); h_SL1L462->SetBinContent(7,1371.182); h_SL1L462->SetBinContent(8,1287.574); h_SL1L462->SetBinContent(9,1843.572); h_SL1L462->SetBinContent(10,2387.028); h_SL1L462->SetBinContent(11,3540.828); h_SL1L462->SetBinContent(12,4192.976); h_SL1L462->SetBinContent(13,3929.608); h_SL1L462->SetBinContent(14,4343.471); h_SL1L462->SetBinContent(15,3900.345); h_SL1L462->SetBinContent(16,3352.708); h_SL1L462->SetBinContent(17,2228.171); h_SL1L462->SetBinContent(18,1626.189); h_SL1L462->SetBinContent(19,1559.302); h_SL1L462->SetBinContent(20,1358.641); h_SL1L462->SetBinContent(21,1061.83); h_SL1L462->SetBinContent(22,1425.528); h_SL1L462->SetBinContent(23,1095.274); h_SL1L462->SetBinContent(24,1120.356); h_SL1L462->SetBinContent(25,497.4717); h_SL1L462->SetBinContent(26,852.8086); h_SL1L462->SetBinContent(27,790.1021); h_SL1L462->SetBinContent(28,585.2608); h_SL1L462->SetBinContent(29,505.8326); h_SL1L462->SetBinContent(30,413.863); h_SL1L462->SetBinContent(31,576.8999); h_SL1L462->SetBinContent(32,376.2391); h_SL1L462->SetBinContent(33,326.0739); h_SL1L462->SetBinContent(34,489.1108); h_SL1L462->SetBinContent(35,806.8238); h_SL1L462->SetBinContent(36,413.863); h_SL1L462->SetBinContent(37,200.6608); h_SL1L462->SetBinContent(38,259.1869); h_SL1L462->SetBinContent(39,405.5021); h_SL1L462->SetBinContent(40,117.0522); h_SL1L462->SetBinContent(41,137.9543); h_SL1L462->SetBinContent(42,137.9543); h_SL1L462->SetBinContent(43,200.6608); h_SL1L462->SetBinContent(44,221.563); h_SL1L462->SetBinContent(45,96.14999); h_SL1L462->SetBinContent(46,171.3978); h_SL1L462->SetBinContent(47,167.2174); h_SL1L462->SetBinContent(48,192.3); h_SL1L462->SetBinContent(49,183.9391); h_SL1L462->SetBinContent(50,196.4804); h_SL1L462->SetBinContent(51,200.6608); h_SL1L462->SetBinContent(52,342.7956); h_SL1L462->SetBinContent(53,221.563); h_SL1L462->SetBinContent(54,405.5021); h_SL1L462->SetBinContent(56,827.726); h_SL1L462->SetBinContent(57,1162.161); h_SL1L462->SetBinContent(58,2483.178); h_SL1L462->SetBinContent(59,3348.528); h_SL1L462->SetMaximum(33517.89); h_SL1L462->SetEntries(60); h_SL1L462->SetDirectory(0); h_SL1L462->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L462->SetLineColor(ci); h_SL1L462->SetLineWidth(2); h_SL1L462->GetXaxis()->SetTitle("Cell"); h_SL1L462->GetXaxis()->SetLabelFont(42); h_SL1L462->GetXaxis()->SetLabelSize(0.035); h_SL1L462->GetXaxis()->SetTitleSize(0.035); h_SL1L462->GetXaxis()->SetTitleFont(42); h_SL1L462->GetYaxis()->SetTitle("Hz"); h_SL1L462->GetYaxis()->SetLabelFont(42); h_SL1L462->GetYaxis()->SetLabelSize(0.035); h_SL1L462->GetYaxis()->SetTitleSize(0.035); h_SL1L462->GetYaxis()->SetTitleOffset(1.45); h_SL1L462->GetYaxis()->SetTitleFont(42); h_SL1L462->GetZaxis()->SetLabelFont(42); h_SL1L462->GetZaxis()->SetLabelSize(0.035); h_SL1L462->GetZaxis()->SetTitleSize(0.035); h_SL1L462->GetZaxis()->SetTitleFont(42); h_SL1L462->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6278"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }