void RatesPerCell_Removing_noisy_cells_run_6696_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:51:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-10087.08,67.5,90783.73); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6696",60,0,60); h_SL2L164->SetBinContent(1,16173.64); h_SL2L164->SetBinContent(2,20132.67); h_SL2L164->SetBinContent(3,24899.02); h_SL2L164->SetBinContent(4,25624.23); h_SL2L164->SetBinContent(5,25336.88); h_SL2L164->SetBinContent(6,23234.22); h_SL2L164->SetBinContent(7,21072.26); h_SL2L164->SetBinContent(8,20853.33); h_SL2L164->SetBinContent(9,23512.44); h_SL2L164->SetBinContent(10,24214.85); h_SL2L164->SetBinContent(11,23704.01); h_SL2L164->SetBinContent(12,23375.61); h_SL2L164->SetBinContent(13,23530.69); h_SL2L164->SetBinContent(14,23567.18); h_SL2L164->SetBinContent(15,23302.63); h_SL2L164->SetBinContent(16,22235.34); h_SL2L164->SetBinContent(17,21674.32); h_SL2L164->SetBinContent(18,21327.68); h_SL2L164->SetBinContent(19,21532.93); h_SL2L164->SetBinContent(20,19941.11); h_SL2L164->SetBinContent(21,18144.04); h_SL2L164->SetBinContent(22,16857.81); h_SL2L164->SetBinContent(23,16748.34); h_SL2L164->SetBinContent(24,15904.54); h_SL2L164->SetBinContent(25,20292.31); h_SL2L164->SetBinContent(26,37259.58); h_SL2L164->SetBinContent(27,50436.59); h_SL2L164->SetBinContent(28,58199.57); h_SL2L164->SetBinContent(29,61018.32); h_SL2L164->SetBinContent(30,58746.9); h_SL2L164->SetBinContent(31,56343.2); h_SL2L164->SetBinContent(32,56685.29); h_SL2L164->SetBinContent(33,55499.4); h_SL2L164->SetBinContent(34,34413.46); h_SL2L164->SetBinContent(36,11621.67); h_SL2L164->SetBinContent(37,12105.15); h_SL2L164->SetBinContent(38,11498.52); h_SL2L164->SetBinContent(39,11639.91); h_SL2L164->SetBinContent(40,55535.89); h_SL2L164->SetBinContent(41,43339.52); h_SL2L164->SetBinContent(42,12898.78); h_SL2L164->SetBinContent(43,12588.62); h_SL2L164->SetBinContent(44,13067.54); h_SL2L164->SetBinContent(45,8460.831); h_SL2L164->SetBinContent(46,8488.197); h_SL2L164->SetBinContent(47,8255.581); h_SL2L164->SetBinContent(48,8538.369); h_SL2L164->SetBinContent(49,8515.563); h_SL2L164->SetBinContent(50,8378.731); h_SL2L164->SetBinContent(51,9103.945); h_SL2L164->SetBinContent(52,10335.44); h_SL2L164->SetBinContent(53,10549.81); h_SL2L164->SetBinContent(54,11192.93); h_SL2L164->SetBinContent(55,11411.86); h_SL2L164->SetBinContent(56,9473.394); h_SL2L164->SetBinContent(57,8241.898); h_SL2L164->SetMaximum(80696.65); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,13947.83); h_SL2L265->SetBinContent(2,19672); h_SL2L265->SetBinContent(3,21327.68); h_SL2L265->SetBinContent(4,24360.81); h_SL2L265->SetBinContent(5,24269.59); h_SL2L265->SetBinContent(6,23498.76); h_SL2L265->SetBinContent(7,21473.63); h_SL2L265->SetBinContent(8,19019.77); h_SL2L265->SetBinContent(9,21975.36); h_SL2L265->SetBinContent(10,22490.76); h_SL2L265->SetBinContent(11,24164.68); h_SL2L265->SetBinContent(12,23284.39); h_SL2L265->SetBinContent(13,22673.2); h_SL2L265->SetBinContent(14,22495.32); h_SL2L265->SetBinContent(15,22212.53); h_SL2L265->SetBinContent(16,21783.79); h_SL2L265->SetBinContent(17,21396.1); h_SL2L265->SetBinContent(18,20812.28); h_SL2L265->SetBinContent(19,20894.38); h_SL2L265->SetBinContent(20,19256.94); h_SL2L265->SetBinContent(21,17751.78); h_SL2L265->SetBinContent(22,16990.08); h_SL2L265->SetBinContent(23,16524.85); h_SL2L265->SetBinContent(24,15817.88); h_SL2L265->SetBinContent(25,15621.75); h_SL2L265->SetBinContent(26,27767.95); h_SL2L265->SetBinContent(27,44114.91); h_SL2L265->SetBinContent(28,54682.96); h_SL2L265->SetBinContent(29,59818.76); h_SL2L265->SetBinContent(30,59408.26); h_SL2L265->SetBinContent(31,56283.91); h_SL2L265->SetBinContent(32,54422.98); h_SL2L265->SetBinContent(33,57232.62); h_SL2L265->SetBinContent(34,47745.54); h_SL2L265->SetBinContent(35,21770.11); h_SL2L265->SetBinContent(36,12547.57); h_SL2L265->SetBinContent(37,10814.36); h_SL2L265->SetBinContent(38,10864.53); h_SL2L265->SetBinContent(39,10449.47); h_SL2L265->SetBinContent(40,10832.6); h_SL2L265->SetBinContent(41,10180.36); h_SL2L265->SetBinContent(42,9788.109); h_SL2L265->SetBinContent(43,9313.756); h_SL2L265->SetBinContent(44,9067.456); h_SL2L265->SetBinContent(45,8442.586); h_SL2L265->SetBinContent(46,8570.297); h_SL2L265->SetBinContent(47,8168.921); h_SL2L265->SetBinContent(48,8082.26); h_SL2L265->SetBinContent(49,7945.427); h_SL2L265->SetBinContent(50,8132.432); h_SL2L265->SetBinContent(51,8009.282); h_SL2L265->SetBinContent(52,9591.982); h_SL2L265->SetBinContent(53,9477.955); h_SL2L265->SetBinContent(54,10554.37); h_SL2L265->SetBinContent(55,11133.63); h_SL2L265->SetBinContent(56,10303.51); h_SL2L265->SetBinContent(57,9646.716); h_SL2L265->SetMaximum(70171.07); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,15922.78); h_SL2L366->SetBinContent(2,19079.06); h_SL2L366->SetBinContent(3,23320.88); h_SL2L366->SetBinContent(4,23589.98); h_SL2L366->SetBinContent(5,23352.8); h_SL2L366->SetBinContent(6,21706.25); h_SL2L366->SetBinContent(7,19393.78); h_SL2L366->SetBinContent(8,19954.79); h_SL2L366->SetBinContent(9,21573.98); h_SL2L366->SetBinContent(10,22025.53); h_SL2L366->SetBinContent(11,21751.86); h_SL2L366->SetBinContent(12,22550.05); h_SL2L366->SetBinContent(13,22007.28); h_SL2L366->SetBinContent(14,21596.78); h_SL2L366->SetBinContent(15,20871.57); h_SL2L366->SetBinContent(16,21054.01); h_SL2L366->SetBinContent(17,19954.79); h_SL2L366->SetBinContent(18,19877.25); h_SL2L366->SetBinContent(19,19316.24); h_SL2L366->SetBinContent(20,18431.38); h_SL2L366->SetBinContent(21,17309.36); h_SL2L366->SetBinContent(22,15959.27); h_SL2L366->SetBinContent(23,14983.2); h_SL2L366->SetBinContent(24,15083.54); h_SL2L366->SetBinContent(25,19097.3); h_SL2L366->SetBinContent(26,36356.49); h_SL2L366->SetBinContent(27,49738.74); h_SL2L366->SetBinContent(28,57255.42); h_SL2L366->SetBinContent(29,59499.48); h_SL2L366->SetBinContent(30,57789.07); h_SL2L366->SetBinContent(31,55499.4); h_SL2L366->SetBinContent(32,55403.62); h_SL2L366->SetBinContent(33,54509.64); h_SL2L366->SetBinContent(34,34308.55); h_SL2L366->SetBinContent(35,14299.03); h_SL2L366->SetBinContent(36,10654.72); h_SL2L366->SetBinContent(37,10271.58); h_SL2L366->SetBinContent(38,10061.78); h_SL2L366->SetBinContent(39,9208.851); h_SL2L366->SetBinContent(40,9491.639); h_SL2L366->SetBinContent(41,9468.833); h_SL2L366->SetBinContent(42,8561.175); h_SL2L366->SetBinContent(43,8825.719); h_SL2L366->SetBinContent(44,8497.319); h_SL2L366->SetBinContent(45,8301.192); h_SL2L366->SetBinContent(46,7110.747); h_SL2L366->SetBinContent(47,8045.771); h_SL2L366->SetBinContent(48,7949.988); h_SL2L366->SetBinContent(49,8219.093); h_SL2L366->SetBinContent(50,7753.861); h_SL2L366->SetBinContent(51,8100.504); h_SL2L366->SetBinContent(52,8853.085); h_SL2L366->SetBinContent(53,9373.05); h_SL2L366->SetBinContent(54,10203.17); h_SL2L366->SetBinContent(55,10572.62); h_SL2L366->SetBinContent(56,8866.769); h_SL2L366->SetBinContent(57,8593.103); h_SL2L366->SetMaximum(70171.07); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,18116.67); h_SL2L467->SetBinContent(3,20707.37); h_SL2L467->SetBinContent(4,22718.81); h_SL2L467->SetBinContent(5,22924.06); h_SL2L467->SetBinContent(6,21391.54); h_SL2L467->SetBinContent(7,19817.96); h_SL2L467->SetBinContent(8,17491.8); h_SL2L467->SetBinContent(9,20570.54); h_SL2L467->SetBinContent(10,21259.26); h_SL2L467->SetBinContent(11,21108.75); h_SL2L467->SetBinContent(12,21345.92); h_SL2L467->SetBinContent(13,21049.45); h_SL2L467->SetBinContent(14,21268.38); h_SL2L467->SetBinContent(15,21186.29); h_SL2L467->SetBinContent(16,19740.42); h_SL2L467->SetBinContent(17,19612.71); h_SL2L467->SetBinContent(18,19348.16); h_SL2L467->SetBinContent(19,18577.34); h_SL2L467->SetBinContent(20,18153.16); h_SL2L467->SetBinContent(21,16962.71); h_SL2L467->SetBinContent(22,15877.17); h_SL2L467->SetBinContent(23,15316.16); h_SL2L467->SetBinContent(24,14472.35); h_SL2L467->SetBinContent(25,15092.66); h_SL2L467->SetBinContent(26,26823.8); h_SL2L467->SetBinContent(27,43330.4); h_SL2L467->SetBinContent(28,54012.48); h_SL2L467->SetBinContent(29,58158.52); h_SL2L467->SetBinContent(30,59608.95); h_SL2L467->SetBinContent(31,56001.12); h_SL2L467->SetBinContent(32,53898.46); h_SL2L467->SetBinContent(33,56740.02); h_SL2L467->SetBinContent(34,47015.77); h_SL2L467->SetBinContent(35,20981.04); h_SL2L467->SetBinContent(36,11767.62); h_SL2L467->SetBinContent(37,10271.58); h_SL2L467->SetBinContent(38,9601.104); h_SL2L467->SetBinContent(39,9578.299); h_SL2L467->SetBinContent(40,9122.189); h_SL2L467->SetBinContent(41,9126.751); h_SL2L467->SetBinContent(42,8720.813); h_SL2L467->SetBinContent(43,8634.152); h_SL2L467->SetBinContent(44,8004.721); h_SL2L467->SetBinContent(45,8050.332); h_SL2L467->SetBinContent(46,7484.756); h_SL2L467->SetBinContent(47,7503.001); h_SL2L467->SetBinContent(48,7434.584); h_SL2L467->SetBinContent(49,7439.146); h_SL2L467->SetBinContent(50,8232.776); h_SL2L467->SetBinContent(51,7352.485); h_SL2L467->SetBinContent(52,8488.197); h_SL2L467->SetBinContent(53,9072.018); h_SL2L467->SetBinContent(54,9623.91); h_SL2L467->SetBinContent(55,10408.42); h_SL2L467->SetBinContent(56,9350.244); h_SL2L467->SetBinContent(57,8552.053); h_SL2L467->SetMaximum(70171.07); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6696"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }