void RatesPerCell_Removing_noisy_cells_run_6755_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:02:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11503.31,67.5,103529.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6755",60,0,60); h_SL2L164->SetBinContent(1,32754.51); h_SL2L164->SetBinContent(2,41558.16); h_SL2L164->SetBinContent(3,49905.13); h_SL2L164->SetBinContent(4,50975.17); h_SL2L164->SetBinContent(5,49695.12); h_SL2L164->SetBinContent(6,45618.31); h_SL2L164->SetBinContent(7,41454.83); h_SL2L164->SetBinContent(8,39978.11); h_SL2L164->SetBinContent(9,45438.3); h_SL2L164->SetBinContent(10,46291.67); h_SL2L164->SetBinContent(11,46678.35); h_SL2L164->SetBinContent(12,45584.98); h_SL2L164->SetBinContent(13,46278.33); h_SL2L164->SetBinContent(14,45608.31); h_SL2L164->SetBinContent(15,44881.62); h_SL2L164->SetBinContent(16,42438.2); h_SL2L164->SetBinContent(17,41318.16); h_SL2L164->SetBinContent(18,41188.15); h_SL2L164->SetBinContent(19,39478.09); h_SL2L164->SetBinContent(20,37258.01); h_SL2L164->SetBinContent(21,33991.22); h_SL2L164->SetBinContent(22,31041.12); h_SL2L164->SetBinContent(23,30157.75); h_SL2L164->SetBinContent(24,29234.39); h_SL2L164->SetBinContent(25,31904.48); h_SL2L164->SetBinContent(26,47868.39); h_SL2L164->SetBinContent(27,59858.82); h_SL2L164->SetBinContent(28,66125.72); h_SL2L164->SetBinContent(29,68572.47); h_SL2L164->SetBinContent(30,66542.4); h_SL2L164->SetBinContent(31,65169.02); h_SL2L164->SetBinContent(32,64939.01); h_SL2L164->SetBinContent(33,64065.64); h_SL2L164->SetBinContent(34,42584.87); h_SL2L164->SetBinContent(36,19354.03); h_SL2L164->SetBinContent(37,20210.73); h_SL2L164->SetBinContent(38,19987.39); h_SL2L164->SetBinContent(39,19874.05); h_SL2L164->SetBinContent(40,69585.84); h_SL2L164->SetBinContent(41,40951.48); h_SL2L164->SetBinContent(42,20690.75); h_SL2L164->SetBinContent(43,21350.77); h_SL2L164->SetBinContent(44,20937.42); h_SL2L164->SetBinContent(45,15577.23); h_SL2L164->SetBinContent(46,15523.89); h_SL2L164->SetBinContent(47,15650.56); h_SL2L164->SetBinContent(48,15997.24); h_SL2L164->SetBinContent(49,16763.94); h_SL2L164->SetBinContent(50,15867.24); h_SL2L164->SetBinContent(51,16967.28); h_SL2L164->SetBinContent(52,18737.34); h_SL2L164->SetBinContent(53,20474.07); h_SL2L164->SetBinContent(54,21904.12); h_SL2L164->SetBinContent(55,21947.46); h_SL2L164->SetBinContent(56,18640.67); h_SL2L164->SetBinContent(57,16077.25); h_SL2L164->SetMaximum(92026.45); 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,26980.97); h_SL2L265->SetBinContent(2,39434.75); h_SL2L265->SetBinContent(3,42704.87); h_SL2L265->SetBinContent(4,48641.75); h_SL2L265->SetBinContent(5,47538.38); h_SL2L265->SetBinContent(6,46188.33); h_SL2L265->SetBinContent(7,42361.53); h_SL2L265->SetBinContent(8,37168); h_SL2L265->SetBinContent(9,42438.2); h_SL2L265->SetBinContent(10,43511.57); h_SL2L265->SetBinContent(11,44604.94); h_SL2L265->SetBinContent(12,44134.92); h_SL2L265->SetBinContent(13,43588.24); h_SL2L265->SetBinContent(14,43664.91); h_SL2L265->SetBinContent(15,43158.22); h_SL2L265->SetBinContent(16,42111.52); h_SL2L265->SetBinContent(17,40604.8); h_SL2L265->SetBinContent(18,40378.12); h_SL2L265->SetBinContent(19,38988.07); h_SL2L265->SetBinContent(20,36267.97); h_SL2L265->SetBinContent(21,34587.91); h_SL2L265->SetBinContent(22,31104.45); h_SL2L265->SetBinContent(23,29924.41); h_SL2L265->SetBinContent(24,28501.03); h_SL2L265->SetBinContent(25,27427.65); h_SL2L265->SetBinContent(26,38071.37); h_SL2L265->SetBinContent(27,52718.57); h_SL2L265->SetBinContent(28,63142.27); h_SL2L265->SetBinContent(29,66975.74); h_SL2L265->SetBinContent(30,66169.05); h_SL2L265->SetBinContent(31,63768.96); h_SL2L265->SetBinContent(32,64619); h_SL2L265->SetBinContent(33,65059.01); h_SL2L265->SetBinContent(34,55398.66); h_SL2L265->SetBinContent(35,30117.75); h_SL2L265->SetBinContent(36,20187.39); h_SL2L265->SetBinContent(37,19247.36); h_SL2L265->SetBinContent(38,18650.67); h_SL2L265->SetBinContent(39,18444); h_SL2L265->SetBinContent(40,18414); h_SL2L265->SetBinContent(41,17717.3); h_SL2L265->SetBinContent(42,16940.61); h_SL2L265->SetBinContent(43,16717.27); h_SL2L265->SetBinContent(44,16493.93); h_SL2L265->SetBinContent(45,15613.9); h_SL2L265->SetBinContent(46,15257.22); h_SL2L265->SetBinContent(47,14523.86); h_SL2L265->SetBinContent(48,14900.54); h_SL2L265->SetBinContent(49,15277.22); h_SL2L265->SetBinContent(50,16247.25); h_SL2L265->SetBinContent(51,15380.55); h_SL2L265->SetBinContent(52,17070.62); h_SL2L265->SetBinContent(53,18290.66); h_SL2L265->SetBinContent(54,20594.08); h_SL2L265->SetBinContent(55,21390.77); h_SL2L265->SetBinContent(56,18707.34); h_SL2L265->SetBinContent(57,18243.99); h_SL2L265->SetMaximum(80023.72); 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,30894.45); h_SL2L366->SetBinContent(2,37524.68); h_SL2L366->SetBinContent(3,46998.36); h_SL2L366->SetBinContent(4,46661.68); h_SL2L366->SetBinContent(5,44781.61); h_SL2L366->SetBinContent(6,41731.5); h_SL2L366->SetBinContent(7,37574.69); h_SL2L366->SetBinContent(8,38324.71); h_SL2L366->SetBinContent(9,41971.51); h_SL2L366->SetBinContent(10,43058.22); h_SL2L366->SetBinContent(11,42598.2); h_SL2L366->SetBinContent(12,41698.17); h_SL2L366->SetBinContent(13,42434.86); h_SL2L366->SetBinContent(14,41158.15); h_SL2L366->SetBinContent(15,40348.12); h_SL2L366->SetBinContent(16,40028.11); h_SL2L366->SetBinContent(17,38411.38); h_SL2L366->SetBinContent(18,37804.7); h_SL2L366->SetBinContent(19,36811.32); h_SL2L366->SetBinContent(20,33471.21); h_SL2L366->SetBinContent(21,30811.11); h_SL2L366->SetBinContent(22,29254.39); h_SL2L366->SetBinContent(23,27360.99); h_SL2L366->SetBinContent(24,26444.29); h_SL2L366->SetBinContent(25,29511.06); h_SL2L366->SetBinContent(26,46175); h_SL2L366->SetBinContent(27,58075.43); h_SL2L366->SetBinContent(28,64195.64); h_SL2L366->SetBinContent(29,66612.4); h_SL2L366->SetBinContent(30,65389.02); h_SL2L366->SetBinContent(31,62788.93); h_SL2L366->SetBinContent(32,63548.96); h_SL2L366->SetBinContent(33,62802.26); h_SL2L366->SetBinContent(34,41554.83); h_SL2L366->SetBinContent(35,22090.79); h_SL2L366->SetBinContent(36,18127.32); h_SL2L366->SetBinContent(37,18093.98); h_SL2L366->SetBinContent(38,17840.64); h_SL2L366->SetBinContent(39,17173.95); h_SL2L366->SetBinContent(40,16670.6); h_SL2L366->SetBinContent(41,16747.27); h_SL2L366->SetBinContent(42,16103.91); h_SL2L366->SetBinContent(43,15923.91); h_SL2L366->SetBinContent(44,15367.22); h_SL2L366->SetBinContent(45,14867.2); h_SL2L366->SetBinContent(46,14583.86); h_SL2L366->SetBinContent(47,14400.52); h_SL2L366->SetBinContent(48,14797.2); h_SL2L366->SetBinContent(49,15080.54); h_SL2L366->SetBinContent(50,14687.2); h_SL2L366->SetBinContent(51,15110.54); h_SL2L366->SetBinContent(52,17140.62); h_SL2L366->SetBinContent(53,18574); h_SL2L366->SetBinContent(54,20057.39); h_SL2L366->SetBinContent(55,20650.74); h_SL2L366->SetBinContent(56,17430.63); h_SL2L366->SetBinContent(57,17593.97); h_SL2L366->SetMaximum(80023.72); 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,36327.98); h_SL2L467->SetBinContent(3,40971.48); h_SL2L467->SetBinContent(4,44268.26); h_SL2L467->SetBinContent(5,44231.59); h_SL2L467->SetBinContent(6,42444.86); h_SL2L467->SetBinContent(7,38171.38); h_SL2L467->SetBinContent(8,34174.56); h_SL2L467->SetBinContent(9,40621.46); h_SL2L467->SetBinContent(10,40858.14); h_SL2L467->SetBinContent(11,41461.49); h_SL2L467->SetBinContent(12,40538.13); h_SL2L467->SetBinContent(13,40524.79); h_SL2L467->SetBinContent(14,40678.13); h_SL2L467->SetBinContent(15,40238.12); h_SL2L467->SetBinContent(16,38458.05); h_SL2L467->SetBinContent(17,37841.36); h_SL2L467->SetBinContent(18,36904.66); h_SL2L467->SetBinContent(19,36507.98); h_SL2L467->SetBinContent(20,34321.24); h_SL2L467->SetBinContent(21,31854.48); h_SL2L467->SetBinContent(22,28901.04); h_SL2L467->SetBinContent(23,27210.98); h_SL2L467->SetBinContent(24,26090.94); h_SL2L467->SetBinContent(25,25700.93); h_SL2L467->SetBinContent(26,36204.64); h_SL2L467->SetBinContent(27,51398.52); h_SL2L467->SetBinContent(28,61805.56); h_SL2L467->SetBinContent(29,65455.69); h_SL2L467->SetBinContent(30,65599.03); h_SL2L467->SetBinContent(31,62718.93); h_SL2L467->SetBinContent(32,63702.29); h_SL2L467->SetBinContent(33,63245.61); h_SL2L467->SetBinContent(34,53998.61); h_SL2L467->SetBinContent(35,28857.71); h_SL2L467->SetBinContent(36,18897.35); h_SL2L467->SetBinContent(37,17803.97); h_SL2L467->SetBinContent(38,17043.95); h_SL2L467->SetBinContent(39,17393.96); h_SL2L467->SetBinContent(40,16420.59); h_SL2L467->SetBinContent(41,15950.57); h_SL2L467->SetBinContent(42,15800.57); h_SL2L467->SetBinContent(43,15463.89); h_SL2L467->SetBinContent(44,15570.56); h_SL2L467->SetBinContent(45,14613.86); h_SL2L467->SetBinContent(46,14080.51); h_SL2L467->SetBinContent(47,14047.17); h_SL2L467->SetBinContent(48,14083.84); h_SL2L467->SetBinContent(49,14267.18); h_SL2L467->SetBinContent(50,15050.54); h_SL2L467->SetBinContent(51,13683.83); h_SL2L467->SetBinContent(52,15443.89); h_SL2L467->SetBinContent(53,17333.96); h_SL2L467->SetBinContent(54,18464); h_SL2L467->SetBinContent(55,19494.04); h_SL2L467->SetBinContent(56,18170.65); h_SL2L467->SetBinContent(57,17030.61); h_SL2L467->SetMaximum(80023.72); 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 6755"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }