void RatesPerCell_Removing_noisy_cells_run_6627_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:51:31 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-20982.33,67.5,188840.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6627",60,0,60); h_SL1L160->SetBinContent(1,64869.38); h_SL1L160->SetBinContent(2,61262.96); h_SL1L160->SetBinContent(3,62305.23); h_SL1L160->SetBinContent(4,59098.5); h_SL1L160->SetBinContent(5,56961.7); h_SL1L160->SetBinContent(6,60451.29); h_SL1L160->SetBinContent(7,56804.9); h_SL1L160->SetBinContent(8,56755.71); h_SL1L160->SetBinContent(9,51553.62); h_SL1L160->SetBinContent(10,46293.11); h_SL1L160->SetBinContent(11,45604.41); h_SL1L160->SetBinContent(12,46203.95); h_SL1L160->SetBinContent(13,49137.04); h_SL1L160->SetBinContent(14,47522.92); h_SL1L160->SetBinContent(15,47415.31); h_SL1L160->SetBinContent(16,45742.77); h_SL1L160->SetBinContent(17,46671.27); h_SL1L160->SetBinContent(18,48030.21); h_SL1L160->SetBinContent(19,51467.53); h_SL1L160->SetBinContent(20,48586.7); h_SL1L160->SetBinContent(21,52783.43); h_SL1L160->SetBinContent(22,51510.57); h_SL1L160->SetBinContent(23,51578.21); h_SL1L160->SetBinContent(24,47083.26); h_SL1L160->SetBinContent(25,48872.63); h_SL1L160->SetBinContent(26,47701.24); h_SL1L160->SetBinContent(27,45865.75); h_SL1L160->SetBinContent(28,46606.71); h_SL1L160->SetBinContent(29,44325.41); h_SL1L160->SetBinContent(30,45629.01); h_SL1L160->SetBinContent(31,43559.86); h_SL1L160->SetBinContent(32,41161.73); h_SL1L160->SetBinContent(33,53167.74); h_SL1L160->SetBinContent(34,65207.58); h_SL1L160->SetBinContent(35,70566.48); h_SL1L160->SetBinContent(36,69164.49); h_SL1L160->SetBinContent(37,77696.3); h_SL1L160->SetBinContent(38,78944.55); h_SL1L160->SetBinContent(39,58136.17); h_SL1L160->SetBinContent(40,40866.57); h_SL1L160->SetBinContent(41,39689.03); h_SL1L160->SetBinContent(42,39212.48); h_SL1L160->SetBinContent(43,38960.37); h_SL1L160->SetBinContent(44,38505.34); h_SL1L160->SetBinContent(45,35252.49); h_SL1L160->SetBinContent(46,33496.94); h_SL1L160->SetBinContent(47,32811.32); h_SL1L160->SetBinContent(48,31055.77); h_SL1L160->SetBinContent(49,31904.33); h_SL1L160->SetBinContent(50,34234.82); h_SL1L160->SetBinContent(51,31781.35); h_SL1L160->SetBinContent(52,31289.43); h_SL1L160->SetBinContent(53,31747.53); h_SL1L160->SetBinContent(54,32251.76); h_SL1L160->SetBinContent(55,33656.81); h_SL1L160->SetBinContent(56,35396.99); h_SL1L160->SetBinContent(57,39338.54); h_SL1L160->SetBinContent(58,41327.75); h_SL1L160->SetBinContent(59,43968.77); h_SL1L160->SetMaximum(167858.6); 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,70049.95); h_SL1L261->SetBinContent(2,66046.92); h_SL1L261->SetBinContent(3,65963.91); h_SL1L261->SetBinContent(4,67027.7); h_SL1L261->SetBinContent(5,65687.2); h_SL1L261->SetBinContent(6,73102.95); h_SL1L261->SetBinContent(7,69579.55); h_SL1L261->SetBinContent(8,69253.65); h_SL1L261->SetBinContent(9,66446.61); h_SL1L261->SetBinContent(10,58332.94); h_SL1L261->SetBinContent(11,56909.44); h_SL1L261->SetBinContent(12,58222.26); h_SL1L261->SetBinContent(13,60048.53); h_SL1L261->SetBinContent(14,64518.88); h_SL1L261->SetBinContent(15,65708.73); h_SL1L261->SetBinContent(16,63553.48); h_SL1L261->SetBinContent(17,63209.14); h_SL1L261->SetBinContent(18,64469.69); h_SL1L261->SetBinContent(19,68626.45); h_SL1L261->SetBinContent(20,67218.32); h_SL1L261->SetBinContent(21,69305.92); h_SL1L261->SetBinContent(22,72773.98); h_SL1L261->SetBinContent(23,72245.16); h_SL1L261->SetBinContent(24,73883.88); h_SL1L261->SetBinContent(25,73920.78); h_SL1L261->SetBinContent(26,70840.11); h_SL1L261->SetBinContent(27,68214.46); h_SL1L261->SetBinContent(28,69696.38); h_SL1L261->SetBinContent(29,71691.75); h_SL1L261->SetBinContent(30,70385.08); h_SL1L261->SetBinContent(31,69979.24); h_SL1L261->SetBinContent(32,69668.71); h_SL1L261->SetBinContent(33,75261.27); h_SL1L261->SetBinContent(34,102839.8); h_SL1L261->SetBinContent(35,112647.5); h_SL1L261->SetBinContent(36,119912.6); h_SL1L261->SetBinContent(37,126925.6); h_SL1L261->SetBinContent(38,124696.5); h_SL1L261->SetBinContent(39,108782.8); h_SL1L261->SetBinContent(40,72807.8); h_SL1L261->SetBinContent(41,62425.13); h_SL1L261->SetBinContent(42,58455.92); h_SL1L261->SetBinContent(43,58176.14); h_SL1L261->SetBinContent(44,56509.75); h_SL1L261->SetBinContent(45,56273.01); h_SL1L261->SetBinContent(46,56571.24); h_SL1L261->SetBinContent(47,57890.21); h_SL1L261->SetBinContent(48,57192.29); h_SL1L261->SetBinContent(49,62259.11); h_SL1L261->SetBinContent(50,53844.14); h_SL1L261->SetBinContent(51,52039.39); h_SL1L261->SetBinContent(52,49167.79); h_SL1L261->SetBinContent(53,51965.6); h_SL1L261->SetBinContent(54,51858); h_SL1L261->SetBinContent(55,52528.24); h_SL1L261->SetBinContent(56,55439.82); h_SL1L261->SetBinContent(57,51836.47); h_SL1L261->SetBinContent(58,49318.44); h_SL1L261->SetBinContent(59,47556.73); h_SL1L261->SetMaximum(145964.4); 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,65176.83); h_SL1L362->SetBinContent(2,63891.68); h_SL1L362->SetBinContent(3,63959.32); h_SL1L362->SetBinContent(4,62615.75); h_SL1L362->SetBinContent(5,67030.77); h_SL1L362->SetBinContent(6,69305.92); h_SL1L362->SetBinContent(7,67202.95); h_SL1L362->SetBinContent(8,66471.21); h_SL1L362->SetBinContent(9,60248.37); h_SL1L362->SetBinContent(10,54637.36); h_SL1L362->SetBinContent(11,55452.11); h_SL1L362->SetBinContent(12,58397.51); h_SL1L362->SetBinContent(13,61665.73); h_SL1L362->SetBinContent(14,63076.93); h_SL1L362->SetBinContent(15,63166.09); h_SL1L362->SetBinContent(16,60414.39); h_SL1L362->SetBinContent(17,61336.75); h_SL1L362->SetBinContent(18,63860.94); h_SL1L362->SetBinContent(19,67058.44); h_SL1L362->SetBinContent(20,67046.14); h_SL1L362->SetBinContent(21,70474.23); h_SL1L362->SetBinContent(22,70000.76); h_SL1L362->SetBinContent(23,70849.33); h_SL1L362->SetBinContent(24,71860.85); h_SL1L362->SetBinContent(25,72509.57); h_SL1L362->SetBinContent(26,66166.83); h_SL1L362->SetBinContent(27,66160.68); h_SL1L362->SetBinContent(28,68875.48); h_SL1L362->SetBinContent(29,67734.84); h_SL1L362->SetBinContent(30,67599.55); h_SL1L362->SetBinContent(31,68125.3); h_SL1L362->SetBinContent(32,66265.21); h_SL1L362->SetBinContent(33,88592.41); h_SL1L362->SetBinContent(34,105652.9); h_SL1L362->SetBinContent(35,115205.5); h_SL1L362->SetBinContent(36,121729.6); h_SL1L362->SetBinContent(37,124939.4); h_SL1L362->SetBinContent(38,117373); h_SL1L362->SetBinContent(39,90852.18); h_SL1L362->SetBinContent(40,62197.62); h_SL1L362->SetBinContent(41,58637.32); h_SL1L362->SetBinContent(42,56297.61); h_SL1L362->SetBinContent(43,55947.11); h_SL1L362->SetBinContent(44,54154.66); h_SL1L362->SetBinContent(45,53287.65); h_SL1L362->SetBinContent(46,54877.18); h_SL1L362->SetBinContent(47,56048.57); h_SL1L362->SetBinContent(48,53665.82); h_SL1L362->SetBinContent(49,50652.78); h_SL1L362->SetBinContent(50,52460.6); h_SL1L362->SetBinContent(51,48934.12); h_SL1L362->SetBinContent(52,48801.92); h_SL1L362->SetBinContent(53,51768.83); h_SL1L362->SetBinContent(54,49410.68); h_SL1L362->SetBinContent(55,51298.43); h_SL1L362->SetBinContent(56,52211.57); h_SL1L362->SetBinContent(57,49619.74); h_SL1L362->SetBinContent(58,47922.61); h_SL1L362->SetBinContent(59,46597.48); h_SL1L362->SetMaximum(145964.4); 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,22022.81); h_SL1L463->SetBinContent(3,19990.55); h_SL1L463->SetBinContent(4,18244.22); h_SL1L463->SetBinContent(5,16673.14); h_SL1L463->SetBinContent(6,17432.55); h_SL1L463->SetBinContent(7,17918.33); h_SL1L463->SetBinContent(8,17866.06); h_SL1L463->SetBinContent(9,18917.54); h_SL1L463->SetBinContent(10,18216.55); h_SL1L463->SetBinContent(11,19664.65); h_SL1L463->SetBinContent(12,20015.15); h_SL1L463->SetBinContent(13,20866.79); h_SL1L463->SetBinContent(14,22001.29); h_SL1L463->SetBinContent(15,21309.53); h_SL1L463->SetBinContent(16,19842.98); h_SL1L463->SetBinContent(17,17165.07); h_SL1L463->SetBinContent(18,16199.67); h_SL1L463->SetBinContent(19,16780.75); h_SL1L463->SetBinContent(20,16430.26); h_SL1L463->SetBinContent(21,16162.77); h_SL1L463->SetBinContent(22,16377.99); h_SL1L463->SetBinContent(23,16144.33); h_SL1L463->SetBinContent(24,16021.34); h_SL1L463->SetBinContent(25,14265.79); h_SL1L463->SetBinContent(26,15074.39); h_SL1L463->SetBinContent(27,14339.58); h_SL1L463->SetBinContent(28,14096.69); h_SL1L463->SetBinContent(29,14102.84); h_SL1L463->SetBinContent(30,14502.53); h_SL1L463->SetBinContent(31,15295.76); h_SL1L463->SetBinContent(32,13829.21); h_SL1L463->SetBinContent(33,13555.58); h_SL1L463->SetBinContent(34,18619.32); h_SL1L463->SetBinContent(35,27344.82); h_SL1L463->SetBinContent(36,24039.7); h_SL1L463->SetBinContent(37,19108.17); h_SL1L463->SetBinContent(38,19366.43); h_SL1L463->SetBinContent(39,21389.46); h_SL1L463->SetBinContent(40,12959.12); h_SL1L463->SetBinContent(41,12943.75); h_SL1L463->SetBinContent(42,12949.89); h_SL1L463->SetBinContent(43,14318.06); h_SL1L463->SetBinContent(44,14284.24); h_SL1L463->SetBinContent(45,11892.26); h_SL1L463->SetBinContent(46,14050.57); h_SL1L463->SetBinContent(47,12039.84); h_SL1L463->SetBinContent(48,11163.6); h_SL1L463->SetBinContent(49,9912.266); h_SL1L463->SetBinContent(50,10680.9); h_SL1L463->SetBinContent(51,9155.933); h_SL1L463->SetBinContent(52,9011.43); h_SL1L463->SetBinContent(53,8325.811); h_SL1L463->SetBinContent(54,8830.033); h_SL1L463->SetBinContent(56,9629.409); h_SL1L463->SetBinContent(57,9567.918); h_SL1L463->SetBinContent(58,12931.45); h_SL1L463->SetBinContent(59,14776.16); h_SL1L463->SetMaximum(145964.4); 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 6627"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }