void RatesPerCell_Removing_noisy_cells_run_6651_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:58:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18933.89,67.5,170405); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6651",60,0,60); h_SL2L164->SetBinContent(1,31343.7); h_SL2L164->SetBinContent(2,38888.7); h_SL2L164->SetBinContent(3,47168.66); h_SL2L164->SetBinContent(4,48951.85); h_SL2L164->SetBinContent(5,46497.31); h_SL2L164->SetBinContent(6,43750.67); h_SL2L164->SetBinContent(7,38867.5); h_SL2L164->SetBinContent(8,38328.07); h_SL2L164->SetBinContent(9,43091.1); h_SL2L164->SetBinContent(10,44071.04); h_SL2L164->SetBinContent(11,44313.66); h_SL2L164->SetBinContent(12,42608.2); h_SL2L164->SetBinContent(13,43512.75); h_SL2L164->SetBinContent(14,42556.38); h_SL2L164->SetBinContent(15,42005.17); h_SL2L164->SetBinContent(16,40907.46); h_SL2L164->SetBinContent(17,39435.2); h_SL2L164->SetBinContent(18,38561.27); h_SL2L164->SetBinContent(19,36676.79); h_SL2L164->SetBinContent(20,34269.36); h_SL2L164->SetBinContent(21,31786.55); h_SL2L164->SetBinContent(22,29499.26); h_SL2L164->SetBinContent(23,28634.75); h_SL2L164->SetBinContent(24,26644.26); h_SL2L164->SetBinContent(25,29767.79); h_SL2L164->SetBinContent(26,45472.62); h_SL2L164->SetBinContent(27,57330.74); h_SL2L164->SetBinContent(28,64958.19); h_SL2L164->SetBinContent(29,66545.88); h_SL2L164->SetBinContent(30,64901.66); h_SL2L164->SetBinContent(31,62786.32); h_SL2L164->SetBinContent(32,63898.17); h_SL2L164->SetBinContent(33,62550.77); h_SL2L164->SetBinContent(34,42584.65); h_SL2L164->SetBinContent(36,18378.44); h_SL2L164->SetBinContent(37,19370.15); h_SL2L164->SetBinContent(38,18204.12); h_SL2L164->SetBinContent(39,18420.84); h_SL2L164->SetBinContent(40,55203.63); h_SL2L164->SetBinContent(41,114534.3); h_SL2L164->SetBinContent(42,20277.06); h_SL2L164->SetBinContent(43,20416.04); h_SL2L164->SetBinContent(44,19591.58); h_SL2L164->SetBinContent(45,15193.66); h_SL2L164->SetBinContent(46,13938.12); h_SL2L164->SetBinContent(47,14439.87); h_SL2L164->SetBinContent(48,14418.67); h_SL2L164->SetBinContent(49,15379.75); h_SL2L164->SetBinContent(50,15127.7); h_SL2L164->SetBinContent(51,16006.34); h_SL2L164->SetBinContent(52,18055.72); h_SL2L164->SetBinContent(53,19754.11); h_SL2L164->SetBinContent(54,21082.67); h_SL2L164->SetBinContent(55,20790.58); h_SL2L164->SetBinContent(56,18260.66); h_SL2L164->SetBinContent(57,15888.56); h_SL2L164->SetMaximum(151471.1); 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,25591.3); h_SL2L265->SetBinContent(2,37114.93); h_SL2L265->SetBinContent(3,40688.38); h_SL2L265->SetBinContent(4,46961.36); h_SL2L265->SetBinContent(5,46061.52); h_SL2L265->SetBinContent(6,43133.5); h_SL2L265->SetBinContent(7,39550.62); h_SL2L265->SetBinContent(8,35032.57); h_SL2L265->SetBinContent(9,40304.42); h_SL2L265->SetBinContent(10,42513.98); h_SL2L265->SetBinContent(11,42996.88); h_SL2L265->SetBinContent(12,42266.64); h_SL2L265->SetBinContent(13,41738.98); h_SL2L265->SetBinContent(14,41260.8); h_SL2L265->SetBinContent(15,40780.25); h_SL2L265->SetBinContent(16,39588.32); h_SL2L265->SetBinContent(17,38278.6); h_SL2L265->SetBinContent(18,37633.16); h_SL2L265->SetBinContent(19,37604.89); h_SL2L265->SetBinContent(20,34210.47); h_SL2L265->SetBinContent(21,31930.24); h_SL2L265->SetBinContent(22,29270.76); h_SL2L265->SetBinContent(23,28067.05); h_SL2L265->SetBinContent(24,26915.15); h_SL2L265->SetBinContent(25,25466.46); h_SL2L265->SetBinContent(26,36245.71); h_SL2L265->SetBinContent(27,50972.96); h_SL2L265->SetBinContent(28,61396.52); h_SL2L265->SetBinContent(29,65222.02); h_SL2L265->SetBinContent(30,65876.88); h_SL2L265->SetBinContent(31,61971.29); h_SL2L265->SetBinContent(32,62044.31); h_SL2L265->SetBinContent(33,63311.62); h_SL2L265->SetBinContent(34,55029.31); h_SL2L265->SetBinContent(35,29023.42); h_SL2L265->SetBinContent(36,19068.63); h_SL2L265->SetBinContent(37,17497.44); h_SL2L265->SetBinContent(38,17360.82); h_SL2L265->SetBinContent(39,17332.55); h_SL2L265->SetBinContent(40,17921.45); h_SL2L265->SetBinContent(41,16882.63); h_SL2L265->SetBinContent(42,16519.87); h_SL2L265->SetBinContent(43,15780.21); h_SL2L265->SetBinContent(44,15886.21); h_SL2L265->SetBinContent(45,14621.25); h_SL2L265->SetBinContent(46,14100.66); h_SL2L265->SetBinContent(47,13704.92); h_SL2L265->SetBinContent(48,13912.21); h_SL2L265->SetBinContent(49,14797.92); h_SL2L265->SetBinContent(50,14875.65); h_SL2L265->SetBinContent(51,14239.64); h_SL2L265->SetBinContent(52,16284.3); h_SL2L265->SetBinContent(53,17742.43); h_SL2L265->SetBinContent(54,19360.73); h_SL2L265->SetBinContent(55,20672.8); h_SL2L265->SetBinContent(56,18279.5); h_SL2L265->SetBinContent(57,17410.29); h_SL2L265->SetMaximum(131714.4); 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,29939.75); h_SL2L366->SetBinContent(2,36090.24); h_SL2L366->SetBinContent(3,44612.82); h_SL2L366->SetBinContent(4,44389.04); h_SL2L366->SetBinContent(5,42775.45); h_SL2L366->SetBinContent(6,40014.68); h_SL2L366->SetBinContent(7,35466); h_SL2L366->SetBinContent(8,35984.24); h_SL2L366->SetBinContent(9,39595.38); h_SL2L366->SetBinContent(10,40280.86); h_SL2L366->SetBinContent(11,41074.7); h_SL2L366->SetBinContent(12,39703.74); h_SL2L366->SetBinContent(13,40123.04); h_SL2L366->SetBinContent(14,39739.07); h_SL2L366->SetBinContent(15,38928.75); h_SL2L366->SetBinContent(16,37503.61); h_SL2L366->SetBinContent(17,36165.62); h_SL2L366->SetBinContent(18,36104.38); h_SL2L366->SetBinContent(19,34580.3); h_SL2L366->SetBinContent(20,32118.69); h_SL2L366->SetBinContent(21,29654.72); h_SL2L366->SetBinContent(22,26813.86); h_SL2L366->SetBinContent(23,26213.18); h_SL2L366->SetBinContent(24,25574.81); h_SL2L366->SetBinContent(25,27982.24); h_SL2L366->SetBinContent(26,43981.52); h_SL2L366->SetBinContent(27,56353.16); h_SL2L366->SetBinContent(28,63193.84); h_SL2L366->SetBinContent(29,65167.84); h_SL2L366->SetBinContent(30,63841.64); h_SL2L366->SetBinContent(31,61634.43); h_SL2L366->SetBinContent(32,62016.04); h_SL2L366->SetBinContent(33,60927.75); h_SL2L366->SetBinContent(34,41362.09); h_SL2L366->SetBinContent(35,20762.31); h_SL2L366->SetBinContent(36,17403.22); h_SL2L366->SetBinContent(37,16705.96); h_SL2L366->SetBinContent(38,16526.93); h_SL2L366->SetBinContent(39,16147.68); h_SL2L366->SetBinContent(40,16208.93); h_SL2L366->SetBinContent(41,15664.78); h_SL2L366->SetBinContent(42,15264.33); h_SL2L366->SetBinContent(43,14682.49); h_SL2L366->SetBinContent(44,14753.16); h_SL2L366->SetBinContent(45,13975.81); h_SL2L366->SetBinContent(46,12993.52); h_SL2L366->SetBinContent(47,13535.31); h_SL2L366->SetBinContent(48,13697.85); h_SL2L366->SetBinContent(49,14232.57); h_SL2L366->SetBinContent(50,13848.61); h_SL2L366->SetBinContent(51,14470.49); h_SL2L366->SetBinContent(52,16347.91); h_SL2L366->SetBinContent(53,17758.91); h_SL2L366->SetBinContent(54,18922.58); h_SL2L366->SetBinContent(55,19848.34); h_SL2L366->SetBinContent(56,16529.29); h_SL2L366->SetBinContent(57,16489.24); h_SL2L366->SetMaximum(131714.4); 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,34646.25); h_SL2L467->SetBinContent(3,38603.67); h_SL2L467->SetBinContent(4,42240.73); h_SL2L467->SetBinContent(5,42608.2); h_SL2L467->SetBinContent(6,39710.81); h_SL2L467->SetBinContent(7,36436.52); h_SL2L467->SetBinContent(8,33143.38); h_SL2L467->SetBinContent(9,38026.55); h_SL2L467->SetBinContent(10,39649.56); h_SL2L467->SetBinContent(11,39432.85); h_SL2L467->SetBinContent(12,38848.66); h_SL2L467->SetBinContent(13,39345.69); h_SL2L467->SetBinContent(14,38810.96); h_SL2L467->SetBinContent(15,37946.46); h_SL2L467->SetBinContent(16,36434.16); h_SL2L467->SetBinContent(17,35590.85); h_SL2L467->SetBinContent(18,35051.42); h_SL2L467->SetBinContent(19,34474.3); h_SL2L467->SetBinContent(20,31845.44); h_SL2L467->SetBinContent(21,30029.27); h_SL2L467->SetBinContent(22,26783.24); h_SL2L467->SetBinContent(23,25541.84); h_SL2L467->SetBinContent(24,24889.33); h_SL2L467->SetBinContent(25,23925.89); h_SL2L467->SetBinContent(26,35286.98); h_SL2L467->SetBinContent(27,50348.72); h_SL2L467->SetBinContent(28,60287.03); h_SL2L467->SetBinContent(29,64027.73); h_SL2L467->SetBinContent(30,65434.03); h_SL2L467->SetBinContent(31,60946.6); h_SL2L467->SetBinContent(32,61349.41); h_SL2L467->SetBinContent(33,62190.36); h_SL2L467->SetBinContent(34,53714.89); h_SL2L467->SetBinContent(35,27605.35); h_SL2L467->SetBinContent(36,17855.49); h_SL2L467->SetBinContent(37,16604.67); h_SL2L467->SetBinContent(38,16267.82); h_SL2L467->SetBinContent(39,16147.68); h_SL2L467->SetBinContent(40,14734.32); h_SL2L467->SetBinContent(41,14845.03); h_SL2L467->SetBinContent(42,15245.48); h_SL2L467->SetBinContent(43,14618.89); h_SL2L467->SetBinContent(44,14168.97); h_SL2L467->SetBinContent(45,13483.49); h_SL2L467->SetBinContent(46,12866.32); h_SL2L467->SetBinContent(47,12960.54); h_SL2L467->SetBinContent(48,12736.76); h_SL2L467->SetBinContent(49,13316.24); h_SL2L467->SetBinContent(50,14345.64); h_SL2L467->SetBinContent(51,12981.75); h_SL2L467->SetBinContent(52,14903.92); h_SL2L467->SetBinContent(53,16147.68); h_SL2L467->SetBinContent(54,17787.18); h_SL2L467->SetBinContent(55,18637.55); h_SL2L467->SetBinContent(56,17323.13); h_SL2L467->SetBinContent(57,16510.44); h_SL2L467->SetMaximum(131714.4); 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 6651"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }