void RatesPerCell_Removing_noisy_cells_run_6626_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:45:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-20912.61,67.5,188213.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6626",60,0,60); h_SL1L160->SetBinContent(1,64124.17); h_SL1L160->SetBinContent(2,62323.71); h_SL1L160->SetBinContent(3,63019.14); h_SL1L160->SetBinContent(4,59488.94); h_SL1L160->SetBinContent(5,56442); h_SL1L160->SetBinContent(6,59789.51); h_SL1L160->SetBinContent(7,56406.64); h_SL1L160->SetBinContent(8,55876.23); h_SL1L160->SetBinContent(9,50881.49); h_SL1L160->SetBinContent(10,45869.07); h_SL1L160->SetBinContent(11,45916.22); h_SL1L160->SetBinContent(12,45807.19); h_SL1L160->SetBinContent(13,48904.22); h_SL1L160->SetBinContent(14,47171.54); h_SL1L160->SetBinContent(15,46670.59); h_SL1L160->SetBinContent(16,45541.98); h_SL1L160->SetBinContent(17,46782.56); h_SL1L160->SetBinContent(18,48126.28); h_SL1L160->SetBinContent(19,51385.38); h_SL1L160->SetBinContent(20,49098.71); h_SL1L160->SetBinContent(21,53362.65); h_SL1L160->SetBinContent(22,52348.97); h_SL1L160->SetBinContent(23,50362.86); h_SL1L160->SetBinContent(24,47254.04); h_SL1L160->SetBinContent(25,48756.89); h_SL1L160->SetBinContent(26,48512.3); h_SL1L160->SetBinContent(27,46181.43); h_SL1L160->SetBinContent(28,46620.49); h_SL1L160->SetBinContent(29,44183.53); h_SL1L160->SetBinContent(30,45450.63); h_SL1L160->SetBinContent(31,44071.55); h_SL1L160->SetBinContent(32,41283.93); h_SL1L160->SetBinContent(33,53492.31); h_SL1L160->SetBinContent(34,65152.59); h_SL1L160->SetBinContent(35,70439.05); h_SL1L160->SetBinContent(36,69837.91); h_SL1L160->SetBinContent(37,79131.96); h_SL1L160->SetBinContent(38,78386.43); h_SL1L160->SetBinContent(39,58289.61); h_SL1L160->SetBinContent(40,39981.47); h_SL1L160->SetBinContent(41,39745.73); h_SL1L160->SetBinContent(42,39094.5); h_SL1L160->SetBinContent(43,39648.49); h_SL1L160->SetBinContent(44,37573.98); h_SL1L160->SetBinContent(45,35375.7); h_SL1L160->SetBinContent(46,33819.82); h_SL1L160->SetBinContent(47,32791.41); h_SL1L160->SetBinContent(48,30890.75); h_SL1L160->SetBinContent(49,31686.38); h_SL1L160->SetBinContent(50,34650.8); h_SL1L160->SetBinContent(51,31453.58); h_SL1L160->SetBinContent(52,31082.29); h_SL1L160->SetBinContent(53,31786.57); h_SL1L160->SetBinContent(54,31704.06); h_SL1L160->SetBinContent(55,33295.3); h_SL1L160->SetBinContent(56,34860.02); h_SL1L160->SetBinContent(57,39975.58); h_SL1L160->SetBinContent(58,40959.79); h_SL1L160->SetBinContent(59,44068.61); h_SL1L160->SetMaximum(167300.8); 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,69655.22); h_SL1L261->SetBinContent(2,65597.55); h_SL1L261->SetBinContent(3,67327.29); h_SL1L261->SetBinContent(4,66216.37); h_SL1L261->SetBinContent(5,65459.05); h_SL1L261->SetBinContent(6,72436.95); h_SL1L261->SetBinContent(7,69531.45); h_SL1L261->SetBinContent(8,68897.91); h_SL1L261->SetBinContent(9,66189.84); h_SL1L261->SetBinContent(10,58369.18); h_SL1L261->SetBinContent(11,57228.79); h_SL1L261->SetBinContent(12,57788.67); h_SL1L261->SetBinContent(13,60635.22); h_SL1L261->SetBinContent(14,65432.53); h_SL1L261->SetBinContent(15,65255.72); h_SL1L261->SetBinContent(16,63702.79); h_SL1L261->SetBinContent(17,62503.46); h_SL1L261->SetBinContent(18,64289.19); h_SL1L261->SetBinContent(19,68838.97); h_SL1L261->SetBinContent(20,68335.08); h_SL1L261->SetBinContent(21,70324.13); h_SL1L261->SetBinContent(22,72068.6); h_SL1L261->SetBinContent(23,73014.51); h_SL1L261->SetBinContent(24,73353.38); h_SL1L261->SetBinContent(25,73736.46); h_SL1L261->SetBinContent(26,71346.65); h_SL1L261->SetBinContent(27,68526.62); h_SL1L261->SetBinContent(28,70415.48); h_SL1L261->SetBinContent(29,70978.3); h_SL1L261->SetBinContent(30,70436.11); h_SL1L261->SetBinContent(31,69923.38); h_SL1L261->SetBinContent(32,69236.78); h_SL1L261->SetBinContent(33,75563.45); h_SL1L261->SetBinContent(34,103572.3); h_SL1L261->SetBinContent(35,112000); h_SL1L261->SetBinContent(36,120265.6); h_SL1L261->SetBinContent(37,126503.9); h_SL1L261->SetBinContent(38,124450); h_SL1L261->SetBinContent(39,108222.2); h_SL1L261->SetBinContent(40,72121.65); h_SL1L261->SetBinContent(41,62668.48); h_SL1L261->SetBinContent(42,58737.52); h_SL1L261->SetBinContent(43,58095.13); h_SL1L261->SetBinContent(44,56798.56); h_SL1L261->SetBinContent(45,55935.16); h_SL1L261->SetBinContent(46,56780.88); h_SL1L261->SetBinContent(47,57240.57); h_SL1L261->SetBinContent(48,57013.67); h_SL1L261->SetBinContent(49,61725.52); h_SL1L261->SetBinContent(50,54897.91); h_SL1L261->SetBinContent(51,52811.61); h_SL1L261->SetBinContent(52,49611.44); h_SL1L261->SetBinContent(53,51762.57); h_SL1L261->SetBinContent(54,51482.62); h_SL1L261->SetBinContent(55,52578.82); h_SL1L261->SetBinContent(56,55192.58); h_SL1L261->SetBinContent(57,51815.61); h_SL1L261->SetBinContent(58,50751.83); h_SL1L261->SetBinContent(59,48494.62); h_SL1L261->SetMaximum(145479.5); 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,65441.37); h_SL1L362->SetBinContent(2,64283.3); h_SL1L362->SetBinContent(3,64636.91); h_SL1L362->SetBinContent(4,62972); h_SL1L362->SetBinContent(5,66764.46); h_SL1L362->SetBinContent(6,69054.08); h_SL1L362->SetBinContent(7,66761.52); h_SL1L362->SetBinContent(8,65591.66); h_SL1L362->SetBinContent(9,60614.6); h_SL1L362->SetBinContent(10,55192.58); h_SL1L362->SetBinContent(11,55295.72); h_SL1L362->SetBinContent(12,57270.04); h_SL1L362->SetBinContent(13,61348.34); h_SL1L362->SetBinContent(14,63994.52); h_SL1L362->SetBinContent(15,62833.5); h_SL1L362->SetBinContent(16,61027.14); h_SL1L362->SetBinContent(17,61663.64); h_SL1L362->SetBinContent(18,65358.86); h_SL1L362->SetBinContent(19,66089.66); h_SL1L362->SetBinContent(20,67174.05); h_SL1L362->SetBinContent(21,69917.48); h_SL1L362->SetBinContent(22,69348.76); h_SL1L362->SetBinContent(23,71629.54); h_SL1L362->SetBinContent(24,71314.23); h_SL1L362->SetBinContent(25,71496.94); h_SL1L362->SetBinContent(26,66354.86); h_SL1L362->SetBinContent(27,66042.51); h_SL1L362->SetBinContent(28,67910.74); h_SL1L362->SetBinContent(29,68090.49); h_SL1L362->SetBinContent(30,68237.84); h_SL1L362->SetBinContent(31,66970.73); h_SL1L362->SetBinContent(32,66575.87); h_SL1L362->SetBinContent(33,89024.19); h_SL1L362->SetBinContent(34,106501.4); h_SL1L362->SetBinContent(35,114852.4); h_SL1L362->SetBinContent(36,122575.9); h_SL1L362->SetBinContent(37,125725.9); h_SL1L362->SetBinContent(38,115321); h_SL1L362->SetBinContent(39,89578.18); h_SL1L362->SetBinContent(40,62085.02); h_SL1L362->SetBinContent(41,57994.94); h_SL1L362->SetBinContent(42,57078.5); h_SL1L362->SetBinContent(43,55289.82); h_SL1L362->SetBinContent(44,54149.43); h_SL1L362->SetBinContent(45,54349.81); h_SL1L362->SetBinContent(46,54226.05); h_SL1L362->SetBinContent(47,56035.35); h_SL1L362->SetBinContent(48,54193.63); h_SL1L362->SetBinContent(49,51240.99); h_SL1L362->SetBinContent(50,51968.84); h_SL1L362->SetBinContent(51,49850.13); h_SL1L362->SetBinContent(52,48412.12); h_SL1L362->SetBinContent(53,52493.36); h_SL1L362->SetBinContent(54,49853.07); h_SL1L362->SetBinContent(55,51326.45); h_SL1L362->SetBinContent(56,53704.47); h_SL1L362->SetBinContent(57,49393.38); h_SL1L362->SetBinContent(58,48141.02); h_SL1L362->SetBinContent(59,46723.63); h_SL1L362->SetMaximum(145479.5); 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,31091.13); h_SL1L463->SetBinContent(3,28053.04); h_SL1L463->SetBinContent(4,25439.27); h_SL1L463->SetBinContent(5,23582.82); h_SL1L463->SetBinContent(6,24790.99); h_SL1L463->SetBinContent(7,24905.91); h_SL1L463->SetBinContent(8,24888.23); h_SL1L463->SetBinContent(9,26706.37); h_SL1L463->SetBinContent(10,26096.4); h_SL1L463->SetBinContent(11,27555.04); h_SL1L463->SetBinContent(12,27233.84); h_SL1L463->SetBinContent(13,28262.26); h_SL1L463->SetBinContent(14,30746.36); h_SL1L463->SetBinContent(15,30115.76); h_SL1L463->SetBinContent(16,27478.42); h_SL1L463->SetBinContent(17,24452.11); h_SL1L463->SetBinContent(18,22784.25); h_SL1L463->SetBinContent(19,23774.36); h_SL1L463->SetBinContent(20,23400.12); h_SL1L463->SetBinContent(21,23296.99); h_SL1L463->SetBinContent(22,23918.75); h_SL1L463->SetBinContent(23,23338.24); h_SL1L463->SetBinContent(24,23783.2); h_SL1L463->SetBinContent(25,20712.69); h_SL1L463->SetBinContent(26,22256.79); h_SL1L463->SetBinContent(27,21237.21); h_SL1L463->SetBinContent(28,21057.46); h_SL1L463->SetBinContent(29,19872.87); h_SL1L463->SetBinContent(30,20753.94); h_SL1L463->SetBinContent(31,21234.26); h_SL1L463->SetBinContent(32,19728.47); h_SL1L463->SetBinContent(33,19091.98); h_SL1L463->SetBinContent(34,27575.66); h_SL1L463->SetBinContent(35,39118.07); h_SL1L463->SetBinContent(36,36548.51); h_SL1L463->SetBinContent(37,30436.96); h_SL1L463->SetBinContent(38,30445.79); h_SL1L463->SetBinContent(39,31014.52); h_SL1L463->SetBinContent(40,18272.78); h_SL1L463->SetBinContent(41,17780.67); h_SL1L463->SetBinContent(42,18596.92); h_SL1L463->SetBinContent(43,19089.03); h_SL1L463->SetBinContent(44,19239.31); h_SL1L463->SetBinContent(45,16283.73); h_SL1L463->SetBinContent(46,18455.48); h_SL1L463->SetBinContent(47,16587.24); h_SL1L463->SetBinContent(48,15502.84); h_SL1L463->SetBinContent(49,14094.29); h_SL1L463->SetBinContent(50,14506.84); h_SL1L463->SetBinContent(51,12897.91); h_SL1L463->SetBinContent(52,12679.85); h_SL1L463->SetBinContent(53,11592.5); h_SL1L463->SetBinContent(54,12396.97); h_SL1L463->SetBinContent(56,13481.37); h_SL1L463->SetBinContent(57,13752.47); h_SL1L463->SetBinContent(58,18387.71); h_SL1L463->SetBinContent(59,19973.05); h_SL1L463->SetMaximum(145479.5); 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 6626"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }