void RatesPerCell_Removing_noisy_cells_run_7742_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:16:44 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2213.894,67.5,19925.04); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7742",60,0,60); h_SL3L168->SetBinContent(1,257.1429); h_SL3L168->SetBinContent(2,192.8571); h_SL3L168->SetBinContent(3,228.5714); h_SL3L168->SetBinContent(4,250); h_SL3L168->SetBinContent(5,314.2857); h_SL3L168->SetBinContent(6,150); h_SL3L168->SetBinContent(7,235.7143); h_SL3L168->SetBinContent(8,250); h_SL3L168->SetBinContent(9,421.4286); h_SL3L168->SetBinContent(10,314.2857); h_SL3L168->SetBinContent(11,478.5714); h_SL3L168->SetBinContent(12,600); h_SL3L168->SetBinContent(13,1371.429); h_SL3L168->SetBinContent(14,3871.428); h_SL3L168->SetBinContent(15,4664.286); h_SL3L168->SetBinContent(16,5078.571); h_SL3L168->SetBinContent(17,6528.571); h_SL3L168->SetBinContent(18,8742.857); h_SL3L168->SetBinContent(19,9885.714); h_SL3L168->SetBinContent(20,9028.571); h_SL3L168->SetBinContent(21,10478.57); h_SL3L168->SetBinContent(22,11321.43); h_SL3L168->SetBinContent(23,11250); h_SL3L168->SetBinContent(24,10814.29); h_SL3L168->SetBinContent(25,11364.29); h_SL3L168->SetBinContent(26,12578.57); h_SL3L168->SetBinContent(27,12792.86); h_SL3L168->SetBinContent(28,11114.29); h_SL3L168->SetBinContent(29,10500); h_SL3L168->SetBinContent(30,11142.86); h_SL3L168->SetBinContent(31,11478.57); h_SL3L168->SetBinContent(32,10457.14); h_SL3L168->SetBinContent(33,11757.14); h_SL3L168->SetBinContent(34,12114.29); h_SL3L168->SetBinContent(35,12328.57); h_SL3L168->SetBinContent(36,11514.29); h_SL3L168->SetBinContent(37,11335.71); h_SL3L168->SetBinContent(38,11685.71); h_SL3L168->SetBinContent(39,11100); h_SL3L168->SetBinContent(40,10171.43); h_SL3L168->SetBinContent(41,11021.43); h_SL3L168->SetBinContent(42,10750); h_SL3L168->SetBinContent(43,10864.29); h_SL3L168->SetBinContent(44,9792.857); h_SL3L168->SetBinContent(45,8600); h_SL3L168->SetBinContent(46,8350); h_SL3L168->SetBinContent(47,7821.429); h_SL3L168->SetBinContent(48,7192.857); h_SL3L168->SetBinContent(49,4542.857); h_SL3L168->SetMaximum(17711.15); 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,221.4286); h_SL3L269->SetBinContent(2,178.5714); h_SL3L269->SetBinContent(3,200); h_SL3L269->SetBinContent(4,185.7143); h_SL3L269->SetBinContent(5,228.5714); h_SL3L269->SetBinContent(6,250); h_SL3L269->SetBinContent(7,157.1429); h_SL3L269->SetBinContent(8,214.2857); h_SL3L269->SetBinContent(9,371.4286); h_SL3L269->SetBinContent(10,400); h_SL3L269->SetBinContent(11,492.8571); h_SL3L269->SetBinContent(12,571.4286); h_SL3L269->SetBinContent(13,835.7143); h_SL3L269->SetBinContent(14,3435.714); h_SL3L269->SetBinContent(15,4478.571); h_SL3L269->SetBinContent(16,5257.143); h_SL3L269->SetBinContent(17,5514.286); h_SL3L269->SetBinContent(18,7800); h_SL3L269->SetBinContent(19,9214.285); h_SL3L269->SetBinContent(20,9614.285); h_SL3L269->SetBinContent(21,9550); h_SL3L269->SetBinContent(22,11464.29); h_SL3L269->SetBinContent(23,11835.71); h_SL3L269->SetBinContent(24,10764.29); h_SL3L269->SetBinContent(25,11400); h_SL3L269->SetBinContent(26,12757.14); h_SL3L269->SetBinContent(27,13242.86); h_SL3L269->SetBinContent(28,12521.43); h_SL3L269->SetBinContent(29,11021.43); h_SL3L269->SetBinContent(30,10471.43); h_SL3L269->SetBinContent(31,11721.43); h_SL3L269->SetBinContent(32,10850); h_SL3L269->SetBinContent(33,12542.86); h_SL3L269->SetBinContent(34,13057.14); h_SL3L269->SetBinContent(35,13392.86); h_SL3L269->SetBinContent(36,12771.43); h_SL3L269->SetBinContent(37,11514.29); h_SL3L269->SetBinContent(38,11821.43); h_SL3L269->SetBinContent(39,12442.86); h_SL3L269->SetBinContent(40,11064.29); h_SL3L269->SetBinContent(41,10971.43); h_SL3L269->SetBinContent(42,11707.14); h_SL3L269->SetBinContent(43,11628.57); h_SL3L269->SetBinContent(44,10635.71); h_SL3L269->SetBinContent(45,9650); h_SL3L269->SetBinContent(46,9142.857); h_SL3L269->SetBinContent(47,8707.143); h_SL3L269->SetBinContent(48,7821.429); h_SL3L269->SetBinContent(49,6907.143); h_SL3L269->SetMaximum(15401.79); 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,157.1429); h_SL3L370->SetBinContent(2,200); h_SL3L370->SetBinContent(3,228.5714); h_SL3L370->SetBinContent(4,207.1429); h_SL3L370->SetBinContent(5,278.5714); h_SL3L370->SetBinContent(6,214.2857); h_SL3L370->SetBinContent(7,221.4286); h_SL3L370->SetBinContent(8,278.5714); h_SL3L370->SetBinContent(9,357.1429); h_SL3L370->SetBinContent(10,371.4286); h_SL3L370->SetBinContent(11,521.4286); h_SL3L370->SetBinContent(12,650); h_SL3L370->SetBinContent(13,2500); h_SL3L370->SetBinContent(14,4028.571); h_SL3L370->SetBinContent(15,4878.571); h_SL3L370->SetBinContent(16,4728.571); h_SL3L370->SetBinContent(17,7142.857); h_SL3L370->SetBinContent(18,8392.857); h_SL3L370->SetBinContent(19,9371.429); h_SL3L370->SetBinContent(20,9114.285); h_SL3L370->SetBinContent(21,10421.43); h_SL3L370->SetBinContent(22,11278.57); h_SL3L370->SetBinContent(23,10900); h_SL3L370->SetBinContent(24,10807.14); h_SL3L370->SetBinContent(25,11928.57); h_SL3L370->SetBinContent(26,12635.71); h_SL3L370->SetBinContent(27,12757.14); h_SL3L370->SetBinContent(28,11257.14); h_SL3L370->SetBinContent(29,11000); h_SL3L370->SetBinContent(30,11342.86); h_SL3L370->SetBinContent(31,10885.71); h_SL3L370->SetBinContent(32,10542.86); h_SL3L370->SetBinContent(33,13064.29); h_SL3L370->SetBinContent(34,12878.57); h_SL3L370->SetBinContent(35,13200); h_SL3L370->SetBinContent(36,11607.14); h_SL3L370->SetBinContent(37,11971.43); h_SL3L370->SetBinContent(38,11735.71); h_SL3L370->SetBinContent(39,11457.14); h_SL3L370->SetBinContent(40,10714.29); h_SL3L370->SetBinContent(41,11328.57); h_SL3L370->SetBinContent(42,10857.14); h_SL3L370->SetBinContent(43,11078.57); h_SL3L370->SetBinContent(44,9464.285); h_SL3L370->SetBinContent(45,9457.143); h_SL3L370->SetBinContent(46,8107.143); h_SL3L370->SetBinContent(47,7914.286); h_SL3L370->SetBinContent(48,7207.143); h_SL3L370->SetBinContent(49,4928.571); h_SL3L370->SetMaximum(15401.79); 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,121.4286); h_SL3L471->SetBinContent(3,171.4286); h_SL3L471->SetBinContent(4,235.7143); h_SL3L471->SetBinContent(5,271.4286); h_SL3L471->SetBinContent(6,242.8571); h_SL3L471->SetBinContent(7,242.8571); h_SL3L471->SetBinContent(8,285.7143); h_SL3L471->SetBinContent(9,235.7143); h_SL3L471->SetBinContent(10,478.5714); h_SL3L471->SetBinContent(11,485.7143); h_SL3L471->SetBinContent(12,585.7143); h_SL3L471->SetBinContent(13,1600); h_SL3L471->SetBinContent(14,3714.286); h_SL3L471->SetBinContent(15,4228.571); h_SL3L471->SetBinContent(16,4578.571); h_SL3L471->SetBinContent(17,5692.857); h_SL3L471->SetBinContent(18,7364.286); h_SL3L471->SetBinContent(19,8821.429); h_SL3L471->SetBinContent(20,8807.143); h_SL3L471->SetBinContent(21,9478.571); h_SL3L471->SetBinContent(22,10507.14); h_SL3L471->SetBinContent(23,10714.29); h_SL3L471->SetBinContent(24,9928.571); h_SL3L471->SetBinContent(25,10442.86); h_SL3L471->SetBinContent(26,12771.43); h_SL3L471->SetBinContent(27,12407.14); h_SL3L471->SetBinContent(28,10878.57); h_SL3L471->SetBinContent(29,10414.29); h_SL3L471->SetBinContent(30,11014.29); h_SL3L471->SetBinContent(31,11214.29); h_SL3L471->SetBinContent(32,10150); h_SL3L471->SetBinContent(33,11200); h_SL3L471->SetBinContent(34,12050); h_SL3L471->SetBinContent(35,12307.14); h_SL3L471->SetBinContent(36,11628.57); h_SL3L471->SetBinContent(37,11085.71); h_SL3L471->SetBinContent(38,11692.86); h_SL3L471->SetBinContent(39,11257.14); h_SL3L471->SetBinContent(40,9978.571); h_SL3L471->SetBinContent(41,9807.143); h_SL3L471->SetBinContent(42,10685.71); h_SL3L471->SetBinContent(43,10257.14); h_SL3L471->SetBinContent(44,9657.143); h_SL3L471->SetBinContent(45,9371.429); h_SL3L471->SetBinContent(46,8921.429); h_SL3L471->SetBinContent(47,7842.857); h_SL3L471->SetBinContent(48,7228.571); h_SL3L471->SetBinContent(49,6542.857); h_SL3L471->SetMaximum(15401.79); 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.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("SL3, run 7742"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }