void RatesPerCell_Removing_noisy_cells_run_6794_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11858.37,67.5,106725.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6794",60,0,60); h_SL1L160->SetBinContent(1,4860.653); h_SL1L160->SetBinContent(2,4863.183); h_SL1L160->SetBinContent(3,4964.394); h_SL1L160->SetBinContent(4,4961.864); h_SL1L160->SetBinContent(5,4946.682); h_SL1L160->SetBinContent(6,5222.482); h_SL1L160->SetBinContent(7,4928.97); h_SL1L160->SetBinContent(8,4928.97); h_SL1L160->SetBinContent(9,4756.912); h_SL1L160->SetBinContent(10,4569.672); h_SL1L160->SetBinContent(11,4359.659); h_SL1L160->SetBinContent(12,4693.655); h_SL1L160->SetBinContent(13,4729.079); h_SL1L160->SetBinContent(14,4946.682); h_SL1L160->SetBinContent(15,4918.849); h_SL1L160->SetBinContent(16,4407.734); h_SL1L160->SetBinContent(17,5131.392); h_SL1L160->SetBinContent(18,5257.906); h_SL1L160->SetBinContent(19,5262.966); h_SL1L160->SetBinContent(20,5619.735); h_SL1L160->SetBinContent(21,5979.033); h_SL1L160->SetBinContent(22,5938.549); h_SL1L160->SetBinContent(23,6264.954); h_SL1L160->SetBinContent(24,6120.729); h_SL1L160->SetBinContent(25,6239.651); h_SL1L160->SetBinContent(26,5938.549); h_SL1L160->SetBinContent(27,5933.488); h_SL1L160->SetBinContent(28,7115.125); h_SL1L160->SetBinContent(29,7031.626); h_SL1L160->SetBinContent(30,7489.606); h_SL1L160->SetBinContent(31,8167.719); h_SL1L160->SetBinContent(32,11315.38); h_SL1L160->SetBinContent(33,36180.36); h_SL1L160->SetBinContent(34,52920.64); h_SL1L160->SetBinContent(35,57098.12); h_SL1L160->SetBinContent(36,59226.08); h_SL1L160->SetBinContent(37,64165.18); h_SL1L160->SetBinContent(38,59557.55); h_SL1L160->SetBinContent(39,38743.53); h_SL1L160->SetBinContent(40,11429.24); h_SL1L160->SetBinContent(41,8602.926); h_SL1L160->SetBinContent(42,7312.487); h_SL1L160->SetBinContent(43,6874.75); h_SL1L160->SetBinContent(44,6578.708); h_SL1L160->SetBinContent(45,6232.061); h_SL1L160->SetBinContent(46,5546.357); h_SL1L160->SetBinContent(47,5688.052); h_SL1L160->SetBinContent(48,4913.789); h_SL1L160->SetBinContent(49,5128.862); h_SL1L160->SetBinContent(50,4911.258); h_SL1L160->SetBinContent(51,4675.943); h_SL1L160->SetBinContent(52,4718.958); h_SL1L160->SetBinContent(53,4718.958); h_SL1L160->SetBinContent(54,4483.643); h_SL1L160->SetBinContent(55,4402.674); h_SL1L160->SetBinContent(56,4503.885); h_SL1L160->SetBinContent(57,4612.687); h_SL1L160->SetBinContent(58,4493.764); h_SL1L160->SetBinContent(59,4549.43); h_SL1L160->SetMaximum(94866.95); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,5121.271); h_SL1L261->SetBinContent(2,4906.198); h_SL1L261->SetBinContent(3,4837.88); h_SL1L261->SetBinContent(4,4987.167); h_SL1L261->SetBinContent(5,4926.44); h_SL1L261->SetBinContent(6,5257.906); h_SL1L261->SetBinContent(7,5290.799); h_SL1L261->SetBinContent(8,5058.014); h_SL1L261->SetBinContent(9,5113.68); h_SL1L261->SetBinContent(10,4498.824); h_SL1L261->SetBinContent(11,4415.325); h_SL1L261->SetBinContent(12,4597.505); h_SL1L261->SetBinContent(13,4992.227); h_SL1L261->SetBinContent(14,5030.181); h_SL1L261->SetBinContent(15,5371.768); h_SL1L261->SetBinContent(16,4883.425); h_SL1L261->SetBinContent(17,5144.043); h_SL1L261->SetBinContent(18,5485.63); h_SL1L261->SetBinContent(19,5766.49); h_SL1L261->SetBinContent(20,6022.048); h_SL1L261->SetBinContent(21,6146.031); h_SL1L261->SetBinContent(22,6373.756); h_SL1L261->SetBinContent(23,6796.311); h_SL1L261->SetBinContent(24,6730.524); h_SL1L261->SetBinContent(25,6922.825); h_SL1L261->SetBinContent(26,6345.923); h_SL1L261->SetBinContent(27,6563.526); h_SL1L261->SetBinContent(28,7307.426); h_SL1L261->SetBinContent(29,7585.756); h_SL1L261->SetBinContent(30,7945.055); h_SL1L261->SetBinContent(31,8567.502); h_SL1L261->SetBinContent(32,11001.62); h_SL1L261->SetBinContent(33,23420.2); h_SL1L261->SetBinContent(34,54719.67); h_SL1L261->SetBinContent(35,63234.04); h_SL1L261->SetBinContent(36,66945.95); h_SL1L261->SetBinContent(37,71733.22); h_SL1L261->SetBinContent(38,70511.09); h_SL1L261->SetBinContent(39,59334.88); h_SL1L261->SetBinContent(40,22595.33); h_SL1L261->SetBinContent(41,11563.34); h_SL1L261->SetBinContent(42,8266.399); h_SL1L261->SetBinContent(43,7616.12); h_SL1L261->SetBinContent(44,6958.249); h_SL1L261->SetBinContent(45,6854.507); h_SL1L261->SetBinContent(46,6864.628); h_SL1L261->SetBinContent(47,6535.693); h_SL1L261->SetBinContent(48,6049.881); h_SL1L261->SetBinContent(49,13893.72); h_SL1L261->SetBinContent(50,5832.277); h_SL1L261->SetBinContent(51,5429.964); h_SL1L261->SetBinContent(52,5475.509); h_SL1L261->SetBinContent(53,5351.526); h_SL1L261->SetBinContent(54,5113.68); h_SL1L261->SetBinContent(55,5106.089); h_SL1L261->SetBinContent(56,7178.382); h_SL1L261->SetBinContent(57,4767.033); h_SL1L261->SetBinContent(58,4777.154); h_SL1L261->SetBinContent(59,4564.611); h_SL1L261->SetMaximum(82493.2); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,4549.43); h_SL1L362->SetBinContent(2,4686.064); h_SL1L362->SetBinContent(3,4640.52); h_SL1L362->SetBinContent(4,4724.018); h_SL1L362->SetBinContent(5,4577.263); h_SL1L362->SetBinContent(6,4711.367); h_SL1L362->SetBinContent(7,4643.05); h_SL1L362->SetBinContent(8,4817.638); h_SL1L362->SetBinContent(9,4473.521); h_SL1L362->SetBinContent(10,4223.024); h_SL1L362->SetBinContent(11,4263.509); h_SL1L362->SetBinContent(12,4584.854); h_SL1L362->SetBinContent(13,4645.58); h_SL1L362->SetBinContent(14,4706.306); h_SL1L362->SetBinContent(15,4658.231); h_SL1L362->SetBinContent(16,4653.171); h_SL1L362->SetBinContent(17,5022.59); h_SL1L362->SetBinContent(18,5230.073); h_SL1L362->SetBinContent(19,5187.058); h_SL1L362->SetBinContent(20,5662.75); h_SL1L362->SetBinContent(21,5769.021); h_SL1L362->SetBinContent(22,6166.273); h_SL1L362->SetBinContent(23,6361.104); h_SL1L362->SetBinContent(24,6368.695); h_SL1L362->SetBinContent(25,6219.409); h_SL1L362->SetBinContent(26,5979.033); h_SL1L362->SetBinContent(27,6391.468); h_SL1L362->SetBinContent(28,6953.188); h_SL1L362->SetBinContent(29,7021.505); h_SL1L362->SetBinContent(30,7649.013); h_SL1L362->SetBinContent(31,8630.759); h_SL1L362->SetBinContent(32,12431.23); h_SL1L362->SetBinContent(33,39644.3); h_SL1L362->SetBinContent(34,58084.93); h_SL1L362->SetBinContent(35,62480.01); h_SL1L362->SetBinContent(36,66100.84); h_SL1L362->SetBinContent(37,69420.55); h_SL1L362->SetBinContent(38,63547.79); h_SL1L362->SetBinContent(39,41496.46); h_SL1L362->SetBinContent(40,12322.43); h_SL1L362->SetBinContent(41,8729.439); h_SL1L362->SetBinContent(42,7545.272); h_SL1L362->SetBinContent(43,6834.265); h_SL1L362->SetBinContent(44,6457.255); h_SL1L362->SetBinContent(45,6140.971); h_SL1L362->SetBinContent(46,6097.956); h_SL1L362->SetBinContent(47,5875.292); h_SL1L362->SetBinContent(48,5543.827); h_SL1L362->SetBinContent(49,5584.311); h_SL1L362->SetBinContent(50,5181.998); h_SL1L362->SetBinContent(51,5022.59); h_SL1L362->SetBinContent(52,5063.075); h_SL1L362->SetBinContent(53,6576.178); h_SL1L362->SetBinContent(54,4802.457); h_SL1L362->SetBinContent(55,4789.805); h_SL1L362->SetBinContent(56,7755.285); h_SL1L362->SetBinContent(57,4341.947); h_SL1L362->SetBinContent(58,4427.977); h_SL1L362->SetBinContent(59,4240.736); h_SL1L362->SetMaximum(82493.2); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,4278.69); h_SL1L463->SetBinContent(3,4481.112); h_SL1L463->SetBinContent(4,4288.812); h_SL1L463->SetBinContent(5,4109.162); h_SL1L463->SetBinContent(6,4514.006); h_SL1L463->SetBinContent(7,4359.659); h_SL1L463->SetBinContent(8,4296.402); h_SL1L463->SetBinContent(9,4514.006); h_SL1L463->SetBinContent(10,4154.707); h_SL1L463->SetBinContent(11,4099.041); h_SL1L463->SetBinContent(12,4233.146); h_SL1L463->SetBinContent(13,4324.235); h_SL1L463->SetBinContent(14,4648.11); h_SL1L463->SetBinContent(15,4438.098); h_SL1L463->SetBinContent(16,4420.386); h_SL1L463->SetBinContent(17,4347.008); h_SL1L463->SetBinContent(18,4708.836); h_SL1L463->SetBinContent(19,4673.413); h_SL1L463->SetBinContent(20,4913.789); h_SL1L463->SetBinContent(21,5154.165); h_SL1L463->SetBinContent(22,5214.891); h_SL1L463->SetBinContent(23,5536.236); h_SL1L463->SetBinContent(24,5657.689); h_SL1L463->SetBinContent(25,5546.357); h_SL1L463->SetBinContent(26,5447.676); h_SL1L463->SetBinContent(27,5323.693); h_SL1L463->SetBinContent(28,5951.2); h_SL1L463->SetBinContent(29,6553.405); h_SL1L463->SetBinContent(30,7056.929); h_SL1L463->SetBinContent(31,7304.896); h_SL1L463->SetBinContent(32,9245.615); h_SL1L463->SetBinContent(33,19295.86); h_SL1L463->SetBinContent(34,50157.59); h_SL1L463->SetBinContent(35,58755.45); h_SL1L463->SetBinContent(36,60668.34); h_SL1L463->SetBinContent(37,63218.85); h_SL1L463->SetBinContent(38,63907.09); h_SL1L463->SetBinContent(39,55101.74); h_SL1L463->SetBinContent(40,19591.9); h_SL1L463->SetBinContent(41,9761.79); h_SL1L463->SetBinContent(42,7201.155); h_SL1L463->SetBinContent(43,6545.814); h_SL1L463->SetBinContent(44,5991.685); h_SL1L463->SetBinContent(45,5440.085); h_SL1L463->SetBinContent(46,5703.233); h_SL1L463->SetBinContent(47,5169.346); h_SL1L463->SetBinContent(48,4954.273); h_SL1L463->SetBinContent(49,4420.386); h_SL1L463->SetBinContent(50,4921.379); h_SL1L463->SetBinContent(51,4268.569); h_SL1L463->SetBinContent(52,4215.434); h_SL1L463->SetBinContent(53,4030.724); h_SL1L463->SetBinContent(54,4076.269); h_SL1L463->SetBinContent(55,2.530272); h_SL1L463->SetBinContent(56,4152.177); h_SL1L463->SetBinContent(57,3810.59); h_SL1L463->SetBinContent(58,4096.511); h_SL1L463->SetBinContent(59,4033.254); h_SL1L463->SetMaximum(82493.2); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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 6794"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }