void RatesPerCell_Removing_noisy_cells_run_6185_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:02:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1385.75,67.5,12471.75); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6185",60,0,60); h_SL1L160->SetBinContent(1,2944.494); h_SL1L160->SetBinContent(2,3685.061); h_SL1L160->SetBinContent(3,4650.761); h_SL1L160->SetBinContent(4,5178.044); h_SL1L160->SetBinContent(5,5563.139); h_SL1L160->SetBinContent(6,6025.253); h_SL1L160->SetBinContent(7,6108.196); h_SL1L160->SetBinContent(8,6564.386); h_SL1L160->SetBinContent(9,6671.027); h_SL1L160->SetBinContent(10,6990.952); h_SL1L160->SetBinContent(11,6297.782); h_SL1L160->SetBinContent(12,6297.782); h_SL1L160->SetBinContent(13,6872.461); h_SL1L160->SetBinContent(14,7073.896); h_SL1L160->SetBinContent(15,6309.63); h_SL1L160->SetBinContent(16,6481.442); h_SL1L160->SetBinContent(17,6534.763); h_SL1L160->SetBinContent(18,7251.632); h_SL1L160->SetBinContent(19,6848.763); h_SL1L160->SetBinContent(20,6392.574); h_SL1L160->SetBinContent(21,6925.782); h_SL1L160->SetBinContent(22,6973.179); h_SL1L160->SetBinContent(23,6990.952); h_SL1L160->SetBinContent(24,6919.858); h_SL1L160->SetBinContent(25,7091.669); h_SL1L160->SetBinContent(26,7275.33); h_SL1L160->SetBinContent(27,6594.008); h_SL1L160->SetBinContent(28,6505.14); h_SL1L160->SetBinContent(29,7749.293); h_SL1L160->SetBinContent(30,7334.575); h_SL1L160->SetBinContent(31,6748.046); h_SL1L160->SetBinContent(32,7287.179); h_SL1L160->SetBinContent(33,7162.764); h_SL1L160->SetBinContent(34,7429.368); h_SL1L160->SetBinContent(35,6979.103); h_SL1L160->SetBinContent(36,7216.084); h_SL1L160->SetBinContent(37,7553.783); h_SL1L160->SetBinContent(38,7506.387); h_SL1L160->SetBinContent(39,6647.329); h_SL1L160->SetBinContent(40,6872.461); h_SL1L160->SetBinContent(41,7387.896); h_SL1L160->SetBinContent(42,7062.046); h_SL1L160->SetBinContent(43,6457.744); h_SL1L160->SetBinContent(44,6789.518); h_SL1L160->SetBinContent(45,6896.16); h_SL1L160->SetBinContent(46,7079.82); h_SL1L160->SetBinContent(47,5320.233); h_SL1L160->SetBinContent(48,5278.761); h_SL1L160->SetBinContent(49,5302.459); h_SL1L160->SetBinContent(50,5480.196); h_SL1L160->SetBinContent(51,4769.251); h_SL1L160->SetBinContent(52,5018.082); h_SL1L160->SetBinContent(53,5320.233); h_SL1L160->SetBinContent(54,5065.478); h_SL1L160->SetBinContent(55,4259.741); h_SL1L160->SetBinContent(56,4514.496); h_SL1L160->SetBinContent(57,3673.212); h_SL1L160->SetBinContent(58,3483.627); h_SL1L160->SetBinContent(59,2606.796); h_SL1L160->SetMaximum(11086); 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,2683.815); h_SL1L261->SetBinContent(2,3376.985); h_SL1L261->SetBinContent(3,4401.93); h_SL1L261->SetBinContent(4,5260.988); h_SL1L261->SetBinContent(5,5569.063); h_SL1L261->SetBinContent(6,5960.083); h_SL1L261->SetBinContent(7,6125.97); h_SL1L261->SetBinContent(8,6659.178); h_SL1L261->SetBinContent(9,6836.914); h_SL1L261->SetBinContent(10,7322.726); h_SL1L261->SetBinContent(11,6380.725); h_SL1L261->SetBinContent(12,6617.707); h_SL1L261->SetBinContent(13,6836.914); h_SL1L261->SetBinContent(14,7304.953); h_SL1L261->SetBinContent(15,6884.311); h_SL1L261->SetBinContent(16,6860.612); h_SL1L261->SetBinContent(17,6925.782); h_SL1L261->SetBinContent(18,7174.613); h_SL1L261->SetBinContent(19,6937.631); h_SL1L261->SetBinContent(20,7198.311); h_SL1L261->SetBinContent(21,6676.952); h_SL1L261->SetBinContent(22,7293.104); h_SL1L261->SetBinContent(23,6961.33); h_SL1L261->SetBinContent(24,7180.537); h_SL1L261->SetBinContent(25,7672.274); h_SL1L261->SetBinContent(26,7536.009); h_SL1L261->SetBinContent(27,6700.65); h_SL1L261->SetBinContent(28,6866.537); h_SL1L261->SetBinContent(29,7743.368); h_SL1L261->SetBinContent(30,7909.255); h_SL1L261->SetBinContent(31,6967.254); h_SL1L261->SetBinContent(32,7506.387); h_SL1L261->SetBinContent(33,7672.274); h_SL1L261->SetBinContent(34,7595.255); h_SL1L261->SetBinContent(35,7233.858); h_SL1L261->SetBinContent(36,7429.368); h_SL1L261->SetBinContent(37,7826.312); h_SL1L261->SetBinContent(38,7986.274); h_SL1L261->SetBinContent(39,6931.707); h_SL1L261->SetBinContent(40,6676.952); h_SL1L261->SetBinContent(41,8015.897); h_SL1L261->SetBinContent(42,7458.991); h_SL1L261->SetBinContent(43,6902.084); h_SL1L261->SetBinContent(44,6682.876); h_SL1L261->SetBinContent(45,7322.726); h_SL1L261->SetBinContent(46,7500.462); h_SL1L261->SetBinContent(47,6262.234); h_SL1L261->SetBinContent(48,5343.931); h_SL1L261->SetBinContent(49,5474.271); h_SL1L261->SetBinContent(50,5705.328); h_SL1L261->SetBinContent(51,5142.497); h_SL1L261->SetBinContent(52,4929.214); h_SL1L261->SetBinContent(53,5628.309); h_SL1L261->SetBinContent(54,5705.328); h_SL1L261->SetBinContent(55,4869.968); h_SL1L261->SetBinContent(56,4739.628); h_SL1L261->SetBinContent(57,4277.515); h_SL1L261->SetBinContent(58,3927.967); h_SL1L261->SetBinContent(59,3175.551); h_SL1L261->SetMaximum(9640.7); 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,3217.023); h_SL1L362->SetBinContent(2,3892.42); h_SL1L362->SetBinContent(3,4739.628); h_SL1L362->SetBinContent(4,5675.705); h_SL1L362->SetBinContent(5,6072.649); h_SL1L362->SetBinContent(6,6333.329); h_SL1L362->SetBinContent(7,6232.612); h_SL1L362->SetBinContent(8,6943.556); h_SL1L362->SetBinContent(9,7364.198); h_SL1L362->SetBinContent(10,6931.707); h_SL1L362->SetBinContent(11,6386.649); h_SL1L362->SetBinContent(12,6813.216); h_SL1L362->SetBinContent(13,7299.028); h_SL1L362->SetBinContent(14,7079.82); h_SL1L362->SetBinContent(15,6730.272); h_SL1L362->SetBinContent(16,6996.877); h_SL1L362->SetBinContent(17,6896.16); h_SL1L362->SetBinContent(18,7227.934); h_SL1L362->SetBinContent(19,7162.764); h_SL1L362->SetBinContent(20,6967.254); h_SL1L362->SetBinContent(21,7275.33); h_SL1L362->SetBinContent(22,6990.952); h_SL1L362->SetBinContent(23,7198.311); h_SL1L362->SetBinContent(24,7429.368); h_SL1L362->SetBinContent(25,7654.5); h_SL1L362->SetBinContent(26,7239.783); h_SL1L362->SetBinContent(27,6647.329); h_SL1L362->SetBinContent(28,6919.858); h_SL1L362->SetBinContent(29,7986.274); h_SL1L362->SetBinContent(30,7322.726); h_SL1L362->SetBinContent(31,7239.783); h_SL1L362->SetBinContent(32,7684.123); h_SL1L362->SetBinContent(33,7725.595); h_SL1L362->SetBinContent(34,7541.934); h_SL1L362->SetBinContent(35,6937.631); h_SL1L362->SetBinContent(36,7678.198); h_SL1L362->SetBinContent(37,8383.218); h_SL1L362->SetBinContent(38,7192.386); h_SL1L362->SetBinContent(39,6872.461); h_SL1L362->SetBinContent(40,7518.236); h_SL1L362->SetBinContent(41,7903.331); h_SL1L362->SetBinContent(42,7002.801); h_SL1L362->SetBinContent(43,6736.197); h_SL1L362->SetBinContent(44,7227.934); h_SL1L362->SetBinContent(45,7429.368); h_SL1L362->SetBinContent(46,7216.084); h_SL1L362->SetBinContent(47,5592.762); h_SL1L362->SetBinContent(48,5592.762); h_SL1L362->SetBinContent(49,5699.403); h_SL1L362->SetBinContent(50,5652.007); h_SL1L362->SetBinContent(51,4958.836); h_SL1L362->SetBinContent(52,5207.667); h_SL1L362->SetBinContent(53,5936.385); h_SL1L362->SetBinContent(54,5160.271); h_SL1L362->SetBinContent(55,4976.61); h_SL1L362->SetBinContent(56,4787.025); h_SL1L362->SetBinContent(57,4147.175); h_SL1L362->SetBinContent(58,3690.986); h_SL1L362->SetBinContent(59,2725.286); h_SL1L362->SetMaximum(9640.7); 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,2257.248); h_SL1L463->SetBinContent(3,2600.871); h_SL1L463->SetBinContent(4,3062.985); h_SL1L463->SetBinContent(5,3394.759); h_SL1L463->SetBinContent(6,3590.269); h_SL1L463->SetBinContent(7,3874.646); h_SL1L463->SetBinContent(8,3939.816); h_SL1L463->SetBinContent(9,4496.723); h_SL1L463->SetBinContent(10,4064.231); h_SL1L463->SetBinContent(11,3927.967); h_SL1L463->SetBinContent(12,4544.119); h_SL1L463->SetBinContent(13,4686.308); h_SL1L463->SetBinContent(14,5130.648); h_SL1L463->SetBinContent(15,4253.817); h_SL1L463->SetBinContent(16,4632.987); h_SL1L463->SetBinContent(17,4117.552); h_SL1L463->SetBinContent(18,4425.628); h_SL1L463->SetBinContent(19,4265.666); h_SL1L463->SetBinContent(20,4390.081); h_SL1L463->SetBinContent(21,4176.798); h_SL1L463->SetBinContent(22,4597.44); h_SL1L463->SetBinContent(23,4040.533); h_SL1L463->SetBinContent(24,4437.477); h_SL1L463->SetBinContent(25,4182.722); h_SL1L463->SetBinContent(26,4390.081); h_SL1L463->SetBinContent(27,4087.93); h_SL1L463->SetBinContent(28,3880.571); h_SL1L463->SetBinContent(29,4241.968); h_SL1L463->SetBinContent(30,4265.666); h_SL1L463->SetBinContent(31,3880.571); h_SL1L463->SetBinContent(32,4028.684); h_SL1L463->SetBinContent(33,4022.76); h_SL1L463->SetBinContent(34,4342.685); h_SL1L463->SetBinContent(35,4289.364); h_SL1L463->SetBinContent(36,4182.722); h_SL1L463->SetBinContent(37,4111.628); h_SL1L463->SetBinContent(38,4194.571); h_SL1L463->SetBinContent(39,3927.967); h_SL1L463->SetBinContent(40,3406.608); h_SL1L463->SetBinContent(41,4532.27); h_SL1L463->SetBinContent(42,3898.344); h_SL1L463->SetBinContent(43,3856.873); h_SL1L463->SetBinContent(44,4419.704); h_SL1L463->SetBinContent(45,3850.948); h_SL1L463->SetBinContent(46,4259.741); h_SL1L463->SetBinContent(47,3323.665); h_SL1L463->SetBinContent(48,3098.532); h_SL1L463->SetBinContent(49,2802.305); h_SL1L463->SetBinContent(50,2808.23); h_SL1L463->SetBinContent(51,2660.116); h_SL1L463->SetBinContent(52,2802.305); h_SL1L463->SetBinContent(53,2997.815); h_SL1L463->SetBinContent(54,3110.381); h_SL1L463->SetBinContent(56,2974.117); h_SL1L463->SetBinContent(57,2440.909); h_SL1L463->SetBinContent(58,2654.192); h_SL1L463->SetBinContent(59,1824.757); h_SL1L463->SetMaximum(9640.7); 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 6185"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }