void RatesPerCell_Removing_noisy_cells_run_6644_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:01:52 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11439.34,67.5,102954); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6644",60,0,60); h_SL2L164->SetBinContent(1,8572.212); h_SL2L164->SetBinContent(2,10432.83); h_SL2L164->SetBinContent(3,12818.91); h_SL2L164->SetBinContent(4,13251.22); h_SL2L164->SetBinContent(5,12711.43); h_SL2L164->SetBinContent(6,12025.94); h_SL2L164->SetBinContent(7,10915.3); h_SL2L164->SetBinContent(8,10411.33); h_SL2L164->SetBinContent(9,11825.31); h_SL2L164->SetBinContent(10,12360.32); h_SL2L164->SetBinContent(11,12424.81); h_SL2L164->SetBinContent(12,12123.86); h_SL2L164->SetBinContent(13,12260.01); h_SL2L164->SetBinContent(14,12157.3); h_SL2L164->SetBinContent(15,12240.9); h_SL2L164->SetBinContent(16,11760.82); h_SL2L164->SetBinContent(17,11865.91); h_SL2L164->SetBinContent(18,11593.62); h_SL2L164->SetBinContent(19,11906.51); h_SL2L164->SetBinContent(20,10900.97); h_SL2L164->SetBinContent(21,10029.18); h_SL2L164->SetBinContent(22,9315.025); h_SL2L164->SetBinContent(23,9787.942); h_SL2L164->SetBinContent(24,9651.799); h_SL2L164->SetBinContent(25,13776.68); h_SL2L164->SetBinContent(26,32428.23); h_SL2L164->SetBinContent(27,45925.46); h_SL2L164->SetBinContent(28,53427.64); h_SL2L164->SetBinContent(29,57492.81); h_SL2L164->SetBinContent(30,55273.93); h_SL2L164->SetBinContent(31,53525.57); h_SL2L164->SetBinContent(32,53750.09); h_SL2L164->SetBinContent(33,52357.61); h_SL2L164->SetBinContent(34,31300.87); h_SL2L164->SetBinContent(35,7.165404); h_SL2L164->SetBinContent(36,7805.514); h_SL2L164->SetBinContent(37,7874.779); h_SL2L164->SetBinContent(38,7454.409); h_SL2L164->SetBinContent(39,7561.89); h_SL2L164->SetBinContent(40,69198.7); h_SL2L164->SetBinContent(41,68391.39); h_SL2L164->SetBinContent(42,12317.33); h_SL2L164->SetBinContent(43,12025.94); h_SL2L164->SetBinContent(44,12264.78); h_SL2L164->SetBinContent(45,4676.621); h_SL2L164->SetBinContent(46,4607.355); h_SL2L164->SetBinContent(47,4569.139); h_SL2L164->SetBinContent(48,4824.706); h_SL2L164->SetBinContent(49,4872.475); h_SL2L164->SetBinContent(50,4390.004); h_SL2L164->SetBinContent(51,4643.182); h_SL2L164->SetBinContent(52,5211.637); h_SL2L164->SetBinContent(53,5744.266); h_SL2L164->SetBinContent(54,5679.777); h_SL2L164->SetBinContent(55,5885.185); h_SL2L164->SetBinContent(56,5085.048); h_SL2L164->SetBinContent(57,11173.25); h_SL2L164->SetMaximum(91514.7); 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,6766.53); h_SL2L265->SetBinContent(2,10026.79); h_SL2L265->SetBinContent(3,10743.33); h_SL2L265->SetBinContent(4,12580.06); h_SL2L265->SetBinContent(5,12811.74); h_SL2L265->SetBinContent(6,11975.78); h_SL2L265->SetBinContent(7,11082.49); h_SL2L265->SetBinContent(8,9740.173); h_SL2L265->SetBinContent(9,11209.08); h_SL2L265->SetBinContent(10,11502.86); h_SL2L265->SetBinContent(11,11939.95); h_SL2L265->SetBinContent(12,11849.19); h_SL2L265->SetBinContent(13,11753.65); h_SL2L265->SetBinContent(14,12059.38); h_SL2L265->SetBinContent(15,11584.07); h_SL2L265->SetBinContent(16,12104.76); h_SL2L265->SetBinContent(17,11197.14); h_SL2L265->SetBinContent(18,11163.7); h_SL2L265->SetBinContent(19,11392.99); h_SL2L265->SetBinContent(20,10681.23); h_SL2L265->SetBinContent(21,10385.06); h_SL2L265->SetBinContent(22,9613.584); h_SL2L265->SetBinContent(23,9143.056); h_SL2L265->SetBinContent(24,9178.883); h_SL2L265->SetBinContent(25,9721.064); h_SL2L265->SetBinContent(26,22910.19); h_SL2L265->SetBinContent(27,39505.26); h_SL2L265->SetBinContent(28,50554.31); h_SL2L265->SetBinContent(29,55187.94); h_SL2L265->SetBinContent(30,56312.91); h_SL2L265->SetBinContent(31,53270); h_SL2L265->SetBinContent(32,53420.48); h_SL2L265->SetBinContent(33,53473.02); h_SL2L265->SetBinContent(34,45032.18); h_SL2L265->SetBinContent(35,18140.41); h_SL2L265->SetBinContent(36,8696.412); h_SL2L265->SetBinContent(37,6852.515); h_SL2L265->SetBinContent(38,6711.595); h_SL2L265->SetBinContent(39,6243.456); h_SL2L265->SetBinContent(40,7566.667); h_SL2L265->SetBinContent(41,7306.324); h_SL2L265->SetBinContent(42,6895.507); h_SL2L265->SetBinContent(43,6441.698); h_SL2L265->SetBinContent(44,6795.191); h_SL2L265->SetBinContent(45,4750.663); h_SL2L265->SetBinContent(46,4538.089); h_SL2L265->SetBinContent(47,4475.989); h_SL2L265->SetBinContent(48,4471.212); h_SL2L265->SetBinContent(49,4559.585); h_SL2L265->SetBinContent(50,4478.377); h_SL2L265->SetBinContent(51,4256.25); h_SL2L265->SetBinContent(52,4745.886); h_SL2L265->SetBinContent(53,4956.071); h_SL2L265->SetBinContent(54,5457.649); h_SL2L265->SetBinContent(55,5426.599); h_SL2L265->SetBinContent(56,5082.66); h_SL2L265->SetBinContent(57,4970.402); h_SL2L265->SetMaximum(79578.5); 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,8039.583); h_SL2L366->SetBinContent(2,9675.684); h_SL2L366->SetBinContent(3,12190.74); h_SL2L366->SetBinContent(4,12174.02); h_SL2L366->SetBinContent(5,11617.51); h_SL2L366->SetBinContent(6,10588.08); h_SL2L366->SetBinContent(7,10100.83); h_SL2L366->SetBinContent(8,10057.84); h_SL2L366->SetBinContent(9,11357.17); h_SL2L366->SetBinContent(10,11844.41); h_SL2L366->SetBinContent(11,11627.06); h_SL2L366->SetBinContent(12,11483.75); h_SL2L366->SetBinContent(13,11916.07); h_SL2L366->SetBinContent(14,11951.89); h_SL2L366->SetBinContent(15,11426.43); h_SL2L366->SetBinContent(16,10982.18); h_SL2L366->SetBinContent(17,10853.2); h_SL2L366->SetBinContent(18,11137.43); h_SL2L366->SetBinContent(19,10650.18); h_SL2L366->SetBinContent(20,10062.62); h_SL2L366->SetBinContent(21,9451.168); h_SL2L366->SetBinContent(22,9104.84); h_SL2L366->SetBinContent(23,8892.267); h_SL2L366->SetBinContent(24,9269.645); h_SL2L366->SetBinContent(25,13552.17); h_SL2L366->SetBinContent(26,31814.39); h_SL2L366->SetBinContent(27,45173.1); h_SL2L366->SetBinContent(28,52758.87); h_SL2L366->SetBinContent(29,56427.56); h_SL2L366->SetBinContent(30,54808.18); h_SL2L366->SetBinContent(31,53066.98); h_SL2L366->SetBinContent(32,53260.45); h_SL2L366->SetBinContent(33,52125.93); h_SL2L366->SetBinContent(34,31050.08); h_SL2L366->SetBinContent(35,10936.79); h_SL2L366->SetBinContent(36,7377.978); h_SL2L366->SetBinContent(37,6585.006); h_SL2L366->SetBinContent(38,6090.593); h_SL2L366->SetBinContent(39,5665.446); h_SL2L366->SetBinContent(40,5729.935); h_SL2L366->SetBinContent(41,5794.423); h_SL2L366->SetBinContent(42,5151.925); h_SL2L366->SetBinContent(43,5206.86); h_SL2L366->SetBinContent(44,4807.986); h_SL2L366->SetBinContent(45,4416.277); h_SL2L366->SetBinContent(46,4225.2); h_SL2L366->SetBinContent(47,4511.816); h_SL2L366->SetBinContent(48,4354.177); h_SL2L366->SetBinContent(49,4430.608); h_SL2L366->SetBinContent(50,4141.604); h_SL2L366->SetBinContent(51,4268.192); h_SL2L366->SetBinContent(52,4934.575); h_SL2L366->SetBinContent(53,5111.322); h_SL2L366->SetBinContent(54,5259.407); h_SL2L366->SetBinContent(55,5878.02); h_SL2L366->SetBinContent(56,4590.636); h_SL2L366->SetBinContent(57,4669.455); h_SL2L366->SetMaximum(79578.5); 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,9496.549); h_SL2L467->SetBinContent(3,10592.86); h_SL2L467->SetBinContent(4,11760.82); h_SL2L467->SetBinContent(5,11545.85); h_SL2L467->SetBinContent(6,10523.59); h_SL2L467->SetBinContent(7,10277.58); h_SL2L467->SetBinContent(8,9033.187); h_SL2L467->SetBinContent(9,10227.42); h_SL2L467->SetBinContent(10,10499.71); h_SL2L467->SetBinContent(11,11189.97); h_SL2L467->SetBinContent(12,11189.97); h_SL2L467->SetBinContent(13,11230.58); h_SL2L467->SetBinContent(14,11039.5); h_SL2L467->SetBinContent(15,11447.93); h_SL2L467->SetBinContent(16,10700.34); h_SL2L467->SetBinContent(17,10633.46); h_SL2L467->SetBinContent(18,10306.24); h_SL2L467->SetBinContent(19,10478.21); h_SL2L467->SetBinContent(20,9959.912); h_SL2L467->SetBinContent(21,9326.968); h_SL2L467->SetBinContent(22,8794.339); h_SL2L467->SetBinContent(23,8612.815); h_SL2L467->SetBinContent(24,8751.347); h_SL2L467->SetBinContent(25,9410.564); h_SL2L467->SetBinContent(26,22496.98); h_SL2L467->SetBinContent(27,39123.11); h_SL2L467->SetBinContent(28,49844.94); h_SL2L467->SetBinContent(29,54822.51); h_SL2L467->SetBinContent(30,56979.29); h_SL2L467->SetBinContent(31,52909.34); h_SL2L467->SetBinContent(32,53516.02); h_SL2L467->SetBinContent(33,53465.86); h_SL2L467->SetBinContent(34,44528.21); h_SL2L467->SetBinContent(35,17958.89); h_SL2L467->SetBinContent(36,8070.633); h_SL2L467->SetBinContent(37,6661.438); h_SL2L467->SetBinContent(38,6011.774); h_SL2L467->SetBinContent(39,5412.269); h_SL2L467->SetBinContent(40,5297.622); h_SL2L467->SetBinContent(41,4925.021); h_SL2L467->SetBinContent(42,5677.389); h_SL2L467->SetBinContent(43,4905.913); h_SL2L467->SetBinContent(44,4590.636); h_SL2L467->SetBinContent(45,4516.593); h_SL2L467->SetBinContent(46,4327.904); h_SL2L467->SetBinContent(47,4253.861); h_SL2L467->SetBinContent(48,4272.969); h_SL2L467->SetBinContent(49,4344.624); h_SL2L467->SetBinContent(50,4026.957); h_SL2L467->SetBinContent(51,3926.641); h_SL2L467->SetBinContent(52,4573.917); h_SL2L467->SetBinContent(53,4710.059); h_SL2L467->SetBinContent(54,5159.091); h_SL2L467->SetBinContent(55,5340.615); h_SL2L467->SetBinContent(56,4910.69); h_SL2L467->SetBinContent(57,4528.535); h_SL2L467->SetMaximum(79578.5); 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 6644"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }