void RatesPerCell_Removing_noisy_cells_run_6696_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:51:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13961.86,67.5,125656.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6696",60,0,60); h_SL1L160->SetBinContent(1,18518.04); h_SL1L160->SetBinContent(2,18144.04); h_SL1L160->SetBinContent(3,18002.64); h_SL1L160->SetBinContent(4,17537.41); h_SL1L160->SetBinContent(5,16584.14); h_SL1L160->SetBinContent(6,16862.37); h_SL1L160->SetBinContent(7,16606.95); h_SL1L160->SetBinContent(8,16419.94); h_SL1L160->SetBinContent(9,15065.3); h_SL1L160->SetBinContent(10,14385.69); h_SL1L160->SetBinContent(11,14321.84); h_SL1L160->SetBinContent(12,13993.44); h_SL1L160->SetBinContent(13,14499.72); h_SL1L160->SetBinContent(14,14823.56); h_SL1L160->SetBinContent(15,14308.15); h_SL1L160->SetBinContent(16,13797.31); h_SL1L160->SetBinContent(17,14349.2); h_SL1L160->SetBinContent(18,14253.42); h_SL1L160->SetBinContent(19,15179.32); h_SL1L160->SetBinContent(20,14905.66); h_SL1L160->SetBinContent(21,15918.22); h_SL1L160->SetBinContent(22,16155.4); h_SL1L160->SetBinContent(23,16415.38); h_SL1L160->SetBinContent(24,15033.37); h_SL1L160->SetBinContent(25,15243.18); h_SL1L160->SetBinContent(26,14891.97); h_SL1L160->SetBinContent(27,14741.46); h_SL1L160->SetBinContent(28,15270.54); h_SL1L160->SetBinContent(29,14732.34); h_SL1L160->SetBinContent(30,15056.17); h_SL1L160->SetBinContent(31,14846.36); h_SL1L160->SetBinContent(32,16018.56); h_SL1L160->SetBinContent(33,30463.55); h_SL1L160->SetBinContent(34,41036.17); h_SL1L160->SetBinContent(35,42983.76); h_SL1L160->SetBinContent(36,42427.3); h_SL1L160->SetBinContent(37,49100.18); h_SL1L160->SetBinContent(38,47056.82); h_SL1L160->SetBinContent(39,32958.47); h_SL1L160->SetBinContent(40,15772.27); h_SL1L160->SetBinContent(41,14130.27); h_SL1L160->SetBinContent(42,13286.47); h_SL1L160->SetBinContent(43,13149.64); h_SL1L160->SetBinContent(44,12834.92); h_SL1L160->SetBinContent(45,12182.68); h_SL1L160->SetBinContent(46,11325.2); h_SL1L160->SetBinContent(47,10983.12); h_SL1L160->SetBinContent(48,10239.66); h_SL1L160->SetBinContent(49,10599.98); h_SL1L160->SetBinContent(50,11407.3); h_SL1L160->SetBinContent(51,10390.17); h_SL1L160->SetBinContent(52,10695.77); h_SL1L160->SetBinContent(53,10294.39); h_SL1L160->SetBinContent(54,10184.92); h_SL1L160->SetBinContent(55,10440.35); h_SL1L160->SetBinContent(56,11074.34); h_SL1L160->SetBinContent(57,11886.21); h_SL1L160->SetBinContent(58,12506.52); h_SL1L160->SetBinContent(59,12574.94); h_SL1L160->SetMaximum(111694.9); 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,20014.08); h_SL1L261->SetBinContent(2,19672); h_SL1L261->SetBinContent(3,19594.46); h_SL1L261->SetBinContent(4,18987.84); h_SL1L261->SetBinContent(5,18910.3); h_SL1L261->SetBinContent(6,20328.8); h_SL1L261->SetBinContent(7,20360.73); h_SL1L261->SetBinContent(8,19576.22); h_SL1L261->SetBinContent(9,18768.9); h_SL1L261->SetBinContent(10,17309.36); h_SL1L261->SetBinContent(11,16853.25); h_SL1L261->SetBinContent(12,17313.92); h_SL1L261->SetBinContent(13,18207.89); h_SL1L261->SetBinContent(14,18914.86); h_SL1L261->SetBinContent(15,18718.73); h_SL1L261->SetBinContent(16,18759.78); h_SL1L261->SetBinContent(17,17715.29); h_SL1L261->SetBinContent(18,19006.08); h_SL1L261->SetBinContent(19,20278.63); h_SL1L261->SetBinContent(20,19822.52); h_SL1L261->SetBinContent(21,21117.87); h_SL1L261->SetBinContent(22,21304.87); h_SL1L261->SetBinContent(23,21364.17); h_SL1L261->SetBinContent(24,21555.73); h_SL1L261->SetBinContent(25,21710.81); h_SL1L261->SetBinContent(26,21551.17); h_SL1L261->SetBinContent(27,20465.63); h_SL1L261->SetBinContent(28,20611.59); h_SL1L261->SetBinContent(29,22002.72); h_SL1L261->SetBinContent(30,22148.68); h_SL1L261->SetBinContent(31,22189.73); h_SL1L261->SetBinContent(32,23827.16); h_SL1L261->SetBinContent(33,34568.54); h_SL1L261->SetBinContent(34,66601.11); h_SL1L261->SetBinContent(35,74587.59); h_SL1L261->SetBinContent(36,78514.69); h_SL1L261->SetBinContent(37,82291.27); h_SL1L261->SetBinContent(38,81826.04); h_SL1L261->SetBinContent(39,69743.7); h_SL1L261->SetBinContent(40,33679.12); h_SL1L261->SetBinContent(41,23279.83); h_SL1L261->SetBinContent(42,19699.37); h_SL1L261->SetBinContent(43,18805.39); h_SL1L261->SetBinContent(44,18458.75); h_SL1L261->SetBinContent(45,18778.03); h_SL1L261->SetBinContent(46,18312.79); h_SL1L261->SetBinContent(47,18317.36); h_SL1L261->SetBinContent(48,17578.46); h_SL1L261->SetBinContent(49,17049.37); h_SL1L261->SetBinContent(50,16634.31); h_SL1L261->SetBinContent(51,15776.83); h_SL1L261->SetBinContent(52,15206.69); h_SL1L261->SetBinContent(53,16077.86); h_SL1L261->SetBinContent(54,16027.69); h_SL1L261->SetBinContent(55,15644.55); h_SL1L261->SetBinContent(56,16223.81); h_SL1L261->SetBinContent(57,15256.86); h_SL1L261->SetBinContent(58,14755.14); h_SL1L261->SetBinContent(59,14741.46); h_SL1L261->SetMaximum(97126.46); 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,18887.49); h_SL1L362->SetBinContent(2,19074.5); h_SL1L362->SetBinContent(3,19193.09); h_SL1L362->SetBinContent(4,18417.7); h_SL1L362->SetBinContent(5,19521.49); h_SL1L362->SetBinContent(6,20160.04); h_SL1L362->SetBinContent(7,19142.91); h_SL1L362->SetBinContent(8,19307.11); h_SL1L362->SetBinContent(9,17719.85); h_SL1L362->SetBinContent(10,16442.75); h_SL1L362->SetBinContent(11,16182.76); h_SL1L362->SetBinContent(12,16985.52); h_SL1L362->SetBinContent(13,17920.54); h_SL1L362->SetBinContent(14,18449.63); h_SL1L362->SetBinContent(15,18203.33); h_SL1L362->SetBinContent(16,17400.58); h_SL1L362->SetBinContent(17,18025.45); h_SL1L362->SetBinContent(18,18773.47); h_SL1L362->SetBinContent(19,19621.83); h_SL1L362->SetBinContent(20,19735.86); h_SL1L362->SetBinContent(21,20292.31); h_SL1L362->SetBinContent(22,20921.74); h_SL1L362->SetBinContent(23,21263.82); h_SL1L362->SetBinContent(24,21076.82); h_SL1L362->SetBinContent(25,21437.14); h_SL1L362->SetBinContent(26,19690.25); h_SL1L362->SetBinContent(27,19804.27); h_SL1L362->SetBinContent(28,20424.58); h_SL1L362->SetBinContent(29,21428.02); h_SL1L362->SetBinContent(30,21605.91); h_SL1L362->SetBinContent(31,21651.52); h_SL1L362->SetBinContent(32,24684.64); h_SL1L362->SetBinContent(33,52899.58); h_SL1L362->SetBinContent(34,71595.51); h_SL1L362->SetBinContent(35,76156.6); h_SL1L362->SetBinContent(36,79417.78); h_SL1L362->SetBinContent(37,84457.79); h_SL1L362->SetBinContent(38,76694.8); h_SL1L362->SetBinContent(39,53255.34); h_SL1L362->SetBinContent(40,24515.88); h_SL1L362->SetBinContent(41,19731.3); h_SL1L362->SetBinContent(42,18549.97); h_SL1L362->SetBinContent(43,18262.62); h_SL1L362->SetBinContent(44,17706.17); h_SL1L362->SetBinContent(45,17569.34); h_SL1L362->SetBinContent(46,17555.65); h_SL1L362->SetBinContent(47,17706.17); h_SL1L362->SetBinContent(48,16725.54); h_SL1L362->SetBinContent(49,16118.91); h_SL1L362->SetBinContent(50,16255.74); h_SL1L362->SetBinContent(51,15425.62); h_SL1L362->SetBinContent(52,15147.4); h_SL1L362->SetBinContent(53,15361.77); h_SL1L362->SetBinContent(54,15069.86); h_SL1L362->SetBinContent(55,15548.77); h_SL1L362->SetBinContent(56,14787.07); h_SL1L362->SetBinContent(57,14185); h_SL1L362->SetBinContent(58,14089.22); h_SL1L362->SetBinContent(59,13765.38); h_SL1L362->SetMaximum(97126.46); 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,11767.62); h_SL1L463->SetBinContent(3,10426.66); h_SL1L463->SetBinContent(4,10527.01); h_SL1L463->SetBinContent(5,9391.294); h_SL1L463->SetBinContent(6,10148.44); h_SL1L463->SetBinContent(7,10166.68); h_SL1L463->SetBinContent(8,9993.358); h_SL1L463->SetBinContent(9,10134.75); h_SL1L463->SetBinContent(10,9788.109); h_SL1L463->SetBinContent(11,10207.73); h_SL1L463->SetBinContent(12,10732.26); h_SL1L463->SetBinContent(13,10759.62); h_SL1L463->SetBinContent(14,11256.78); h_SL1L463->SetBinContent(15,10695.77); h_SL1L463->SetBinContent(16,10221.41); h_SL1L463->SetBinContent(17,9477.955); h_SL1L463->SetBinContent(18,9395.855); h_SL1L463->SetBinContent(19,9409.538); h_SL1L463->SetBinContent(20,9117.629); h_SL1L463->SetBinContent(21,8898.696); h_SL1L463->SetBinContent(22,9300.072); h_SL1L463->SetBinContent(23,9555.493); h_SL1L463->SetBinContent(24,9300.072); h_SL1L463->SetBinContent(25,8474.514); h_SL1L463->SetBinContent(26,9386.733); h_SL1L463->SetBinContent(27,8565.736); h_SL1L463->SetBinContent(28,8725.374); h_SL1L463->SetBinContent(29,8652.396); h_SL1L463->SetBinContent(30,8880.451); h_SL1L463->SetBinContent(31,8488.197); h_SL1L463->SetBinContent(32,8611.347); h_SL1L463->SetBinContent(33,9792.671); h_SL1L463->SetBinContent(34,18987.84); h_SL1L463->SetBinContent(35,25204.61); h_SL1L463->SetBinContent(36,27553.57); h_SL1L463->SetBinContent(37,26007.36); h_SL1L463->SetBinContent(38,25076.9); h_SL1L463->SetBinContent(39,23247.9); h_SL1L463->SetBinContent(40,10408.42); h_SL1L463->SetBinContent(41,8182.604); h_SL1L463->SetBinContent(42,7708.25); h_SL1L463->SetBinContent(43,8013.843); h_SL1L463->SetBinContent(44,8196.287); h_SL1L463->SetBinContent(45,6960.23); h_SL1L463->SetBinContent(46,7393.535); h_SL1L463->SetBinContent(47,7201.969); h_SL1L463->SetBinContent(48,6517.804); h_SL1L463->SetBinContent(49,5701.369); h_SL1L463->SetBinContent(50,5906.618); h_SL1L463->SetBinContent(51,5965.912); h_SL1L463->SetBinContent(52,5756.102); h_SL1L463->SetBinContent(53,5582.78); h_SL1L463->SetBinContent(54,5569.097); h_SL1L463->SetBinContent(55,9.12219); h_SL1L463->SetBinContent(56,5591.902); h_SL1L463->SetBinContent(57,5623.83); h_SL1L463->SetBinContent(58,7571.417); h_SL1L463->SetBinContent(59,7516.684); h_SL1L463->SetMaximum(97126.46); 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 6696"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }