void RatesPerCell_Removing_noisy_cells_run_7058_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:12:05 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2041.394,67.5,18372.54); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7058",60,0,60); h_SL1L160->SetBinContent(1,3500.302); h_SL1L160->SetBinContent(2,4340.375); h_SL1L160->SetBinContent(3,3612.312); h_SL1L160->SetBinContent(4,4844.418); h_SL1L160->SetBinContent(5,4564.394); h_SL1L160->SetBinContent(6,4704.406); h_SL1L160->SetBinContent(7,5040.436); h_SL1L160->SetBinContent(8,5236.452); h_SL1L160->SetBinContent(9,5292.457); h_SL1L160->SetBinContent(10,4928.426); h_SL1L160->SetBinContent(11,5068.438); h_SL1L160->SetBinContent(12,5432.469); h_SL1L160->SetBinContent(13,9324.806); h_SL1L160->SetBinContent(14,10920.94); h_SL1L160->SetBinContent(15,9940.858); h_SL1L160->SetBinContent(16,5432.469); h_SL1L160->SetBinContent(17,5964.515); h_SL1L160->SetBinContent(18,5544.479); h_SL1L160->SetBinContent(19,5880.508); h_SL1L160->SetBinContent(20,5992.518); h_SL1L160->SetBinContent(21,6412.554); h_SL1L160->SetBinContent(22,5880.508); h_SL1L160->SetBinContent(23,6104.527); h_SL1L160->SetBinContent(24,6496.561); h_SL1L160->SetBinContent(25,6384.551); h_SL1L160->SetBinContent(26,6132.53); h_SL1L160->SetBinContent(27,6748.583); h_SL1L160->SetBinContent(28,6440.556); h_SL1L160->SetBinContent(29,5628.486); h_SL1L160->SetBinContent(30,6720.581); h_SL1L160->SetBinContent(31,6524.563); h_SL1L160->SetBinContent(32,5936.513); h_SL1L160->SetBinContent(49,5936.513); h_SL1L160->SetBinContent(50,4760.411); h_SL1L160->SetBinContent(51,4956.428); h_SL1L160->SetBinContent(52,4676.404); h_SL1L160->SetBinContent(53,5600.484); h_SL1L160->SetBinContent(54,4480.387); h_SL1L160->SetBinContent(55,4284.37); h_SL1L160->SetBinContent(56,4396.38); h_SL1L160->SetMaximum(16331.15); 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,364.0314); h_SL1L261->SetBinContent(2,364.0314); h_SL1L261->SetBinContent(3,896.0774); h_SL1L261->SetBinContent(4,448.0387); h_SL1L261->SetBinContent(5,168.0145); h_SL1L261->SetBinContent(6,196.0169); h_SL1L261->SetBinContent(7,196.0169); h_SL1L261->SetBinContent(8,196.0169); h_SL1L261->SetBinContent(9,4396.38); h_SL1L261->SetBinContent(10,308.0266); h_SL1L261->SetBinContent(11,224.0193); h_SL1L261->SetBinContent(12,140.0121); h_SL1L261->SetBinContent(13,280.0242); h_SL1L261->SetBinContent(14,1036.089); h_SL1L261->SetBinContent(15,1120.097); h_SL1L261->SetBinContent(16,532.046); h_SL1L261->SetBinContent(17,392.0339); h_SL1L261->SetBinContent(18,336.029); h_SL1L261->SetBinContent(19,140.0121); h_SL1L261->SetBinContent(20,196.0169); h_SL1L261->SetBinContent(21,196.0169); h_SL1L261->SetBinContent(22,252.0218); h_SL1L261->SetBinContent(23,224.0193); h_SL1L261->SetBinContent(24,280.0242); h_SL1L261->SetBinContent(25,224.0193); h_SL1L261->SetBinContent(26,308.0266); h_SL1L261->SetBinContent(27,196.0169); h_SL1L261->SetBinContent(28,168.0145); h_SL1L261->SetBinContent(29,252.0218); h_SL1L261->SetBinContent(30,196.0169); h_SL1L261->SetBinContent(31,308.0266); h_SL1L261->SetBinContent(32,112.0097); h_SL1L261->SetBinContent(49,364.0314); h_SL1L261->SetBinContent(50,224.0193); h_SL1L261->SetBinContent(51,308.0266); h_SL1L261->SetBinContent(52,336.029); h_SL1L261->SetBinContent(53,308.0266); h_SL1L261->SetBinContent(54,392.0339); h_SL1L261->SetBinContent(55,252.0218); h_SL1L261->SetBinContent(56,224.0193); h_SL1L261->SetMaximum(14201.43); 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,3248.281); h_SL1L362->SetBinContent(2,4480.387); h_SL1L362->SetBinContent(3,3892.336); h_SL1L362->SetBinContent(4,5124.442); h_SL1L362->SetBinContent(5,5796.5); h_SL1L362->SetBinContent(6,4592.396); h_SL1L362->SetBinContent(7,5992.518); h_SL1L362->SetBinContent(8,5796.5); h_SL1L362->SetBinContent(9,6664.576); h_SL1L362->SetBinContent(10,5656.489); h_SL1L362->SetBinContent(11,6020.52); h_SL1L362->SetBinContent(12,6328.546); h_SL1L362->SetBinContent(13,6748.583); h_SL1L362->SetBinContent(14,7084.612); h_SL1L362->SetBinContent(15,8764.757); h_SL1L362->SetBinContent(16,6216.537); h_SL1L362->SetBinContent(17,6552.566); h_SL1L362->SetBinContent(18,6664.576); h_SL1L362->SetBinContent(19,6832.59); h_SL1L362->SetBinContent(20,7084.612); h_SL1L362->SetBinContent(21,7336.634); h_SL1L362->SetBinContent(22,6580.568); h_SL1L362->SetBinContent(23,7000.604); h_SL1L362->SetBinContent(24,7840.677); h_SL1L362->SetBinContent(25,7140.617); h_SL1L362->SetBinContent(26,6496.561); h_SL1L362->SetBinContent(27,7672.663); h_SL1L362->SetBinContent(28,8316.719); h_SL1L362->SetBinContent(29,6664.576); h_SL1L362->SetBinContent(30,7196.622); h_SL1L362->SetBinContent(31,7924.685); h_SL1L362->SetBinContent(32,7112.614); h_SL1L362->SetBinContent(49,6748.583); h_SL1L362->SetBinContent(50,4956.428); h_SL1L362->SetBinContent(51,4760.411); h_SL1L362->SetBinContent(52,5460.472); h_SL1L362->SetBinContent(53,6048.522); h_SL1L362->SetBinContent(54,5124.442); h_SL1L362->SetBinContent(55,5404.467); h_SL1L362->SetBinContent(56,5264.455); h_SL1L362->SetMaximum(14201.43); 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,3696.319); h_SL1L463->SetBinContent(3,4032.348); h_SL1L463->SetBinContent(4,3780.326); h_SL1L463->SetBinContent(5,5880.508); h_SL1L463->SetBinContent(6,5040.436); h_SL1L463->SetBinContent(7,5040.436); h_SL1L463->SetBinContent(8,5432.469); h_SL1L463->SetBinContent(9,6076.525); h_SL1L463->SetBinContent(10,5880.508); h_SL1L463->SetBinContent(11,5656.489); h_SL1L463->SetBinContent(12,5908.51); h_SL1L463->SetBinContent(13,6692.578); h_SL1L463->SetBinContent(14,12349.07); h_SL1L463->SetBinContent(15,11004.95); h_SL1L463->SetBinContent(16,10108.87); h_SL1L463->SetBinContent(17,7084.612); h_SL1L463->SetBinContent(18,6104.527); h_SL1L463->SetBinContent(19,6020.52); h_SL1L463->SetBinContent(20,6608.571); h_SL1L463->SetBinContent(21,6804.588); h_SL1L463->SetBinContent(22,6832.59); h_SL1L463->SetBinContent(23,5404.467); h_SL1L463->SetBinContent(24,7728.667); h_SL1L463->SetBinContent(25,7112.614); h_SL1L463->SetBinContent(26,6832.59); h_SL1L463->SetBinContent(27,5712.493); h_SL1L463->SetBinContent(28,7616.658); h_SL1L463->SetBinContent(29,7028.607); h_SL1L463->SetBinContent(30,6412.554); h_SL1L463->SetBinContent(31,7056.609); h_SL1L463->SetBinContent(32,6440.556); h_SL1L463->SetBinContent(49,6076.525); h_SL1L463->SetBinContent(50,5236.452); h_SL1L463->SetBinContent(51,4200.363); h_SL1L463->SetBinContent(52,5348.462); h_SL1L463->SetBinContent(53,4984.431); h_SL1L463->SetBinContent(54,5656.489); h_SL1L463->SetBinContent(55,28.00242); h_SL1L463->SetBinContent(56,4508.389); h_SL1L463->SetMaximum(14201.43); 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 7058"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }