void RatesPerCell_Removing_noisy_cells_run_6811_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13255.91,67.5,119303.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6811",60,0,60); h_SL3L168->SetBinContent(1,9482.268); h_SL3L168->SetBinContent(2,6757.453); h_SL3L168->SetBinContent(4,11432); h_SL3L168->SetBinContent(5,11923.25); h_SL3L168->SetBinContent(6,12183.07); h_SL3L168->SetBinContent(7,12292.23); h_SL3L168->SetBinContent(8,11929.8); h_SL3L168->SetBinContent(9,11790.06); h_SL3L168->SetBinContent(10,10676.56); h_SL3L168->SetBinContent(11,10490.97); h_SL3L168->SetBinContent(12,10453.86); h_SL3L168->SetBinContent(13,10914.54); h_SL3L168->SetBinContent(14,11456.01); h_SL3L168->SetBinContent(15,10940.74); h_SL3L168->SetBinContent(16,11626.31); h_SL3L168->SetBinContent(17,11573.91); h_SL3L168->SetBinContent(18,11597.93); h_SL3L168->SetBinContent(19,12185.25); h_SL3L168->SetBinContent(20,12091.37); h_SL3L168->SetBinContent(21,12392.67); h_SL3L168->SetBinContent(22,12905.75); h_SL3L168->SetBinContent(23,13403.56); h_SL3L168->SetBinContent(24,13545.47); h_SL3L168->SetBinContent(25,13567.31); h_SL3L168->SetBinContent(26,14010.53); h_SL3L168->SetBinContent(27,13372.99); h_SL3L168->SetBinContent(28,13547.66); h_SL3L168->SetBinContent(29,13774.72); h_SL3L168->SetBinContent(30,14311.83); h_SL3L168->SetBinContent(31,14580.38); h_SL3L168->SetBinContent(32,15508.3); h_SL3L168->SetBinContent(33,18853.19); h_SL3L168->SetBinContent(34,48791.21); h_SL3L168->SetBinContent(35,67506.84); h_SL3L168->SetBinContent(36,72401.91); h_SL3L168->SetBinContent(37,77482.55); h_SL3L168->SetBinContent(38,80187.71); h_SL3L168->SetBinContent(39,73152.98); h_SL3L168->SetBinContent(40,49760.62); h_SL3L168->SetBinContent(41,18575.9); h_SL3L168->SetBinContent(42,14307.46); h_SL3L168->SetBinContent(43,12560.78); h_SL3L168->SetBinContent(44,12250.75); h_SL3L168->SetBinContent(45,11945.08); h_SL3L168->SetBinContent(46,11405.79); h_SL3L168->SetBinContent(47,11471.29); h_SL3L168->SetBinContent(48,11436.36); h_SL3L168->SetBinContent(49,10929.83); h_SL3L168->SetBinContent(50,10927.64); h_SL3L168->SetBinContent(51,10303.21); h_SL3L168->SetBinContent(52,10154.74); h_SL3L168->SetBinContent(53,10100.15); h_SL3L168->SetBinContent(54,9707.152); h_SL3L168->SetBinContent(55,9862.17); h_SL3L168->SetBinContent(56,9659.118); h_SL3L168->SetBinContent(57,9549.951); h_SL3L168->SetBinContent(58,7414.64); h_SL3L168->SetBinContent(59,6447.418); h_SL3L168->SetMaximum(106047.2); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,9936.403); h_SL3L269->SetBinContent(2,7279.272); h_SL3L269->SetBinContent(4,9318.517); h_SL3L269->SetBinContent(5,11200.56); h_SL3L269->SetBinContent(6,11628.5); h_SL3L269->SetBinContent(7,11687.45); h_SL3L269->SetBinContent(8,11613.21); h_SL3L269->SetBinContent(9,11569.55); h_SL3L269->SetBinContent(10,10514.99); h_SL3L269->SetBinContent(11,10137.27); h_SL3L269->SetBinContent(12,10161.29); h_SL3L269->SetBinContent(13,10469.14); h_SL3L269->SetBinContent(14,11084.84); h_SL3L269->SetBinContent(15,11152.53); h_SL3L269->SetBinContent(16,11095.76); h_SL3L269->SetBinContent(17,10787.91); h_SL3L269->SetBinContent(18,11012.79); h_SL3L269->SetBinContent(19,11311.91); h_SL3L269->SetBinContent(20,11770.41); h_SL3L269->SetBinContent(21,11722.38); h_SL3L269->SetBinContent(22,12416.68); h_SL3L269->SetBinContent(23,12781.3); h_SL3L269->SetBinContent(24,12824.97); h_SL3L269->SetBinContent(25,12827.15); h_SL3L269->SetBinContent(26,13324.96); h_SL3L269->SetBinContent(27,12875.19); h_SL3L269->SetBinContent(28,12971.25); h_SL3L269->SetBinContent(29,12672.13); h_SL3L269->SetBinContent(30,13176.49); h_SL3L269->SetBinContent(31,13707.04); h_SL3L269->SetBinContent(32,14381.69); h_SL3L269->SetBinContent(33,16785.56); h_SL3L269->SetBinContent(34,28918.41); h_SL3L269->SetBinContent(35,60738.48); h_SL3L269->SetBinContent(36,69019.91); h_SL3L269->SetBinContent(37,74489.19); h_SL3L269->SetBinContent(38,78270.73); h_SL3L269->SetBinContent(39,76770.78); h_SL3L269->SetBinContent(40,65369.35); h_SL3L269->SetBinContent(41,28077.82); h_SL3L269->SetBinContent(42,15796.5); h_SL3L269->SetBinContent(43,12604.45); h_SL3L269->SetBinContent(44,12084.82); h_SL3L269->SetBinContent(45,11700.55); h_SL3L269->SetBinContent(46,11331.56); h_SL3L269->SetBinContent(47,10855.59); h_SL3L269->SetBinContent(48,11091.39); h_SL3L269->SetBinContent(49,12056.43); h_SL3L269->SetBinContent(50,10541.19); h_SL3L269->SetBinContent(51,9953.87); h_SL3L269->SetBinContent(52,10495.34); h_SL3L269->SetBinContent(53,11809.71); h_SL3L269->SetBinContent(54,9067.432); h_SL3L269->SetBinContent(55,9466.984); h_SL3L269->SetBinContent(56,9759.553); h_SL3L269->SetBinContent(57,9416.768); h_SL3L269->SetBinContent(58,8412.429); h_SL3L269->SetBinContent(59,6925.571); h_SL3L269->SetMaximum(92215.87); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,8198.461); h_SL3L370->SetBinContent(2,6473.618); h_SL3L370->SetBinContent(3,7456.124); h_SL3L370->SetBinContent(4,10451.67); h_SL3L370->SetBinContent(5,10619.79); h_SL3L370->SetBinContent(6,11335.93); h_SL3L370->SetBinContent(7,11283.53); h_SL3L370->SetBinContent(8,11001.88); h_SL3L370->SetBinContent(9,10493.16); h_SL3L370->SetBinContent(10,9403.667); h_SL3L370->SetBinContent(11,9246.467); h_SL3L370->SetBinContent(12,9718.069); h_SL3L370->SetBinContent(13,9997.537); h_SL3L370->SetBinContent(14,10362.16); h_SL3L370->SetBinContent(15,10263.91); h_SL3L370->SetBinContent(16,10460.41); h_SL3L370->SetBinContent(17,10366.52); h_SL3L370->SetBinContent(18,10556.47); h_SL3L370->SetBinContent(19,11030.26); h_SL3L370->SetBinContent(20,11220.21); h_SL3L370->SetBinContent(21,11497.5); h_SL3L370->SetBinContent(22,11816.26); h_SL3L370->SetBinContent(23,12318.43); h_SL3L370->SetBinContent(24,12126.3); h_SL3L370->SetBinContent(25,12331.53); h_SL3L370->SetBinContent(26,12279.13); h_SL3L370->SetBinContent(27,12235.47); h_SL3L370->SetBinContent(28,12248.57); h_SL3L370->SetBinContent(29,12576.07); h_SL3L370->SetBinContent(30,12918.85); h_SL3L370->SetBinContent(31,13427.57); h_SL3L370->SetBinContent(32,14196.11); h_SL3L370->SetBinContent(33,17975.48); h_SL3L370->SetBinContent(34,47129.69); h_SL3L370->SetBinContent(35,65950.12); h_SL3L370->SetBinContent(36,71105); h_SL3L370->SetBinContent(37,75757.71); h_SL3L370->SetBinContent(38,78305.67); h_SL3L370->SetBinContent(39,72353.88); h_SL3L370->SetBinContent(40,48527.03); h_SL3L370->SetBinContent(41,17763.7); h_SL3L370->SetBinContent(42,13357.71); h_SL3L370->SetBinContent(43,11776.96); h_SL3L370->SetBinContent(44,11246.41); h_SL3L370->SetBinContent(45,1058.922); h_SL3L370->SetBinContent(46,10482.24); h_SL3L370->SetBinContent(47,10298.84); h_SL3L370->SetBinContent(48,10602.32); h_SL3L370->SetBinContent(49,10202.77); h_SL3L370->SetBinContent(50,9849.069); h_SL3L370->SetBinContent(51,9949.504); h_SL3L370->SetBinContent(52,9377.467); h_SL3L370->SetBinContent(53,9036.865); h_SL3L370->SetBinContent(54,8678.797); h_SL3L370->SetBinContent(55,8975.731); h_SL3L370->SetBinContent(56,8700.63); h_SL3L370->SetBinContent(57,8899.314); h_SL3L370->SetBinContent(58,7229.056); h_SL3L370->SetBinContent(59,6379.734); h_SL3L370->SetMaximum(92215.87); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,6650.469); h_SL3L471->SetBinContent(3,7215.956); h_SL3L471->SetBinContent(4,8936.432); h_SL3L471->SetBinContent(5,10207.14); h_SL3L471->SetBinContent(6,10783.54); h_SL3L471->SetBinContent(7,10665.64); h_SL3L471->SetBinContent(8,10473.51); h_SL3L471->SetBinContent(9,10015); h_SL3L471->SetBinContent(10,9663.485); h_SL3L471->SetBinContent(11,9218.083); h_SL3L471->SetBinContent(12,9257.383); h_SL3L471->SetBinContent(13,9165.683); h_SL3L471->SetBinContent(14,9591.435); h_SL3L471->SetBinContent(15,10080.5); h_SL3L471->SetBinContent(16,10156.92); h_SL3L471->SetBinContent(17,10045.57); h_SL3L471->SetBinContent(18,9936.403); h_SL3L471->SetBinContent(19,10322.86); h_SL3L471->SetBinContent(20,10578.31); h_SL3L471->SetBinContent(21,11060.83); h_SL3L471->SetBinContent(22,11305.36); h_SL3L471->SetBinContent(23,11715.83); h_SL3L471->SetBinContent(24,11648.15); h_SL3L471->SetBinContent(25,12228.92); h_SL3L471->SetBinContent(26,11864.3); h_SL3L471->SetBinContent(27,12191.8); h_SL3L471->SetBinContent(28,11685.26); h_SL3L471->SetBinContent(29,11940.71); h_SL3L471->SetBinContent(30,12294.42); h_SL3L471->SetBinContent(31,12672.13); h_SL3L471->SetBinContent(32,13095.7); h_SL3L471->SetBinContent(33,15639.3); h_SL3L471->SetBinContent(34,27610.58); h_SL3L471->SetBinContent(35,60164.26); h_SL3L471->SetBinContent(36,68447.87); h_SL3L471->SetBinContent(37,73362.58); h_SL3L471->SetBinContent(38,77165.97); h_SL3L471->SetBinContent(39,76165.99); h_SL3L471->SetBinContent(40,64015.68); h_SL3L471->SetBinContent(41,27523.25); h_SL3L471->SetBinContent(42,15141.5); h_SL3L471->SetBinContent(43,11990.93); h_SL3L471->SetBinContent(44,10921.09); h_SL3L471->SetBinContent(45,10890.53); h_SL3L471->SetBinContent(46,10117.62); h_SL3L471->SetBinContent(47,9744.27); h_SL3L471->SetBinContent(48,9691.869); h_SL3L471->SetBinContent(49,9962.604); h_SL3L471->SetBinContent(50,9875.27); h_SL3L471->SetBinContent(51,9414.584); h_SL3L471->SetBinContent(52,8811.98); h_SL3L471->SetBinContent(53,9106.732); h_SL3L471->SetBinContent(54,8587.097); h_SL3L471->SetBinContent(55,8329.462); h_SL3L471->SetBinContent(56,8680.98); h_SL3L471->SetBinContent(57,8248.678); h_SL3L471->SetBinContent(58,8191.911); h_SL3L471->SetBinContent(59,6565.319); h_SL3L471->SetMaximum(92215.87); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL3, run 6811"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }