void RatesPerCell_Removing_noisy_cells_run_6273_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:25 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-36551.6,67.5,328964.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6273",60,0,60); h_SL1L160->SetBinContent(1,98161.97); h_SL1L160->SetBinContent(2,100745.5); h_SL1L160->SetBinContent(3,99518.45); h_SL1L160->SetBinContent(4,89251.13); h_SL1L160->SetBinContent(5,74035.34); h_SL1L160->SetBinContent(6,78109.24); h_SL1L160->SetBinContent(7,76730.45); h_SL1L160->SetBinContent(8,81531.68); h_SL1L160->SetBinContent(9,78916.88); h_SL1L160->SetBinContent(10,79965.48); h_SL1L160->SetBinContent(11,80643.73); h_SL1L160->SetBinContent(12,75838.03); h_SL1L160->SetBinContent(13,73740.84); h_SL1L160->SetBinContent(14,65423.46); h_SL1L160->SetBinContent(15,58739.22); h_SL1L160->SetBinContent(16,57962.82); h_SL1L160->SetBinContent(17,58159.15); h_SL1L160->SetBinContent(18,58962.33); h_SL1L160->SetBinContent(19,61505.73); h_SL1L160->SetBinContent(20,57802.18); h_SL1L160->SetBinContent(21,59386.23); h_SL1L160->SetBinContent(22,57953.89); h_SL1L160->SetBinContent(23,54174.48); h_SL1L160->SetBinContent(24,47525.94); h_SL1L160->SetBinContent(25,44121.35); h_SL1L160->SetBinContent(26,47963.23); h_SL1L160->SetBinContent(27,46392.56); h_SL1L160->SetBinContent(28,48364.82); h_SL1L160->SetBinContent(29,49989.02); h_SL1L160->SetBinContent(30,47003.87); h_SL1L160->SetBinContent(31,47463.47); h_SL1L160->SetBinContent(32,43014.75); h_SL1L160->SetBinContent(33,45629.54); h_SL1L160->SetBinContent(34,46004.36); h_SL1L160->SetBinContent(35,45393.05); h_SL1L160->SetBinContent(36,43893.78); h_SL1L160->SetBinContent(37,43916.09); h_SL1L160->SetBinContent(38,49203.69); h_SL1L160->SetBinContent(39,46405.95); h_SL1L160->SetBinContent(40,42398.97); h_SL1L160->SetBinContent(41,45892.81); h_SL1L160->SetBinContent(42,46240.85); h_SL1L160->SetBinContent(43,46263.16); h_SL1L160->SetBinContent(44,46579.97); h_SL1L160->SetBinContent(45,44812.98); h_SL1L160->SetBinContent(46,40373.18); h_SL1L160->SetBinContent(47,40779.23); h_SL1L160->SetBinContent(48,41622.57); h_SL1L160->SetBinContent(49,45491.21); h_SL1L160->SetBinContent(50,48610.23); h_SL1L160->SetBinContent(51,51033.16); h_SL1L160->SetBinContent(52,50350.46); h_SL1L160->SetBinContent(53,48422.82); h_SL1L160->SetBinContent(54,48650.39); h_SL1L160->SetBinContent(55,50743.12); h_SL1L160->SetBinContent(56,59649.49); h_SL1L160->SetBinContent(57,80666.03); h_SL1L160->SetBinContent(58,95341.91); h_SL1L160->SetBinContent(59,107090.7); h_SL1L160->SetMaximum(292412.8); 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,172304.4); h_SL1L261->SetBinContent(2,175508.2); h_SL1L261->SetBinContent(3,185298.1); h_SL1L261->SetBinContent(4,189278.3); h_SL1L261->SetBinContent(5,190268.9); h_SL1L261->SetBinContent(6,200420.2); h_SL1L261->SetBinContent(7,198019.5); h_SL1L261->SetBinContent(8,209326.5); h_SL1L261->SetBinContent(9,205752.4); h_SL1L261->SetBinContent(10,201071.6); h_SL1L261->SetBinContent(11,218759.4); h_SL1L261->SetBinContent(12,215515.5); h_SL1L261->SetBinContent(13,221106.5); h_SL1L261->SetBinContent(14,216470.4); h_SL1L261->SetBinContent(15,214739.1); h_SL1L261->SetBinContent(16,198331.9); h_SL1L261->SetBinContent(17,191272.8); h_SL1L261->SetBinContent(18,206653.7); h_SL1L261->SetBinContent(19,209210.5); h_SL1L261->SetBinContent(20,204868.9); h_SL1L261->SetBinContent(21,211459.4); h_SL1L261->SetBinContent(22,210825.8); h_SL1L261->SetBinContent(23,205038.4); h_SL1L261->SetBinContent(24,196475.7); h_SL1L261->SetBinContent(25,195882.2); h_SL1L261->SetBinContent(26,176101.7); h_SL1L261->SetBinContent(27,180487.9); h_SL1L261->SetBinContent(28,192245.6); h_SL1L261->SetBinContent(29,205194.6); h_SL1L261->SetBinContent(30,213431.7); h_SL1L261->SetBinContent(31,215292.4); h_SL1L261->SetBinContent(32,214458); h_SL1L261->SetBinContent(33,216144.6); h_SL1L261->SetBinContent(34,210973); h_SL1L261->SetBinContent(35,198961); h_SL1L261->SetBinContent(36,196783.5); h_SL1L261->SetBinContent(37,187685.3); h_SL1L261->SetBinContent(38,194168.7); h_SL1L261->SetBinContent(39,196591.7); h_SL1L261->SetBinContent(40,199996.2); h_SL1L261->SetBinContent(41,199425.1); h_SL1L261->SetBinContent(42,206809.9); h_SL1L261->SetBinContent(43,218589.9); h_SL1L261->SetBinContent(44,217474.3); h_SL1L261->SetBinContent(45,209616.6); h_SL1L261->SetBinContent(46,207693.4); h_SL1L261->SetBinContent(47,203173.3); h_SL1L261->SetBinContent(48,208541.2); h_SL1L261->SetBinContent(49,210509); h_SL1L261->SetBinContent(50,215943.8); h_SL1L261->SetBinContent(51,212878.4); h_SL1L261->SetBinContent(52,211321.1); h_SL1L261->SetBinContent(53,218277.5); h_SL1L261->SetBinContent(54,209995.8); h_SL1L261->SetBinContent(55,213904.7); h_SL1L261->SetBinContent(56,209500.5); h_SL1L261->SetBinContent(57,207849.6); h_SL1L261->SetBinContent(58,213449.5); h_SL1L261->SetBinContent(59,213155); h_SL1L261->SetMaximum(254272.5); 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,167842.3); h_SL1L362->SetBinContent(2,176543.4); h_SL1L362->SetBinContent(3,180719.9); h_SL1L362->SetBinContent(4,186507.3); h_SL1L362->SetBinContent(5,190438.4); h_SL1L362->SetBinContent(6,193727); h_SL1L362->SetBinContent(7,199032.4); h_SL1L362->SetBinContent(8,207242.7); h_SL1L362->SetBinContent(9,195485.1); h_SL1L362->SetBinContent(10,205841.6); h_SL1L362->SetBinContent(11,210705.3); h_SL1L362->SetBinContent(12,213694.9); h_SL1L362->SetBinContent(13,209781.7); h_SL1L362->SetBinContent(14,208394); h_SL1L362->SetBinContent(15,196591.7); h_SL1L362->SetBinContent(16,190197.5); h_SL1L362->SetBinContent(17,196573.8); h_SL1L362->SetBinContent(18,204824.3); h_SL1L362->SetBinContent(19,199652.7); h_SL1L362->SetBinContent(20,203200); h_SL1L362->SetBinContent(21,202686.9); h_SL1L362->SetBinContent(22,196199); h_SL1L362->SetBinContent(23,191616.4); h_SL1L362->SetBinContent(24,188381.4); h_SL1L362->SetBinContent(25,179488.4); h_SL1L362->SetBinContent(26,173446.7); h_SL1L362->SetBinContent(27,185472.1); h_SL1L362->SetBinContent(28,198706.7); h_SL1L362->SetBinContent(29,206394.9); h_SL1L362->SetBinContent(30,204659.2); h_SL1L362->SetBinContent(31,208063.8); h_SL1L362->SetBinContent(32,207483.7); h_SL1L362->SetBinContent(33,204743.9); h_SL1L362->SetBinContent(34,200156.9); h_SL1L362->SetBinContent(35,192441.9); h_SL1L362->SetBinContent(36,184954.5); h_SL1L362->SetBinContent(37,183477.5); h_SL1L362->SetBinContent(38,186391.3); h_SL1L362->SetBinContent(39,193887.6); h_SL1L362->SetBinContent(40,189456.8); h_SL1L362->SetBinContent(41,194449.9); h_SL1L362->SetBinContent(42,209652.3); h_SL1L362->SetBinContent(43,215229.9); h_SL1L362->SetBinContent(44,208791.1); h_SL1L362->SetBinContent(45,198430.1); h_SL1L362->SetBinContent(46,200219.4); h_SL1L362->SetBinContent(47,201749.9); h_SL1L362->SetBinContent(48,202164.8); h_SL1L362->SetBinContent(49,211450.5); h_SL1L362->SetBinContent(50,207091); h_SL1L362->SetBinContent(51,202347.8); h_SL1L362->SetBinContent(52,206403.8); h_SL1L362->SetBinContent(53,203958.6); h_SL1L362->SetBinContent(54,203570.4); h_SL1L362->SetBinContent(55,203124.2); h_SL1L362->SetBinContent(56,199331.4); h_SL1L362->SetBinContent(57,203806.9); h_SL1L362->SetBinContent(58,206069.2); h_SL1L362->SetBinContent(59,205109.8); h_SL1L362->SetMaximum(254272.5); 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,84833.65); h_SL1L463->SetBinContent(3,76819.7); h_SL1L463->SetBinContent(4,73464.19); h_SL1L463->SetBinContent(5,69019.92); h_SL1L463->SetBinContent(6,65829.52); h_SL1L463->SetBinContent(7,64218.7); h_SL1L463->SetBinContent(8,71715.04); h_SL1L463->SetBinContent(9,77895.06); h_SL1L463->SetBinContent(10,92570.95); h_SL1L463->SetBinContent(11,105118.4); h_SL1L463->SetBinContent(12,112106.1); h_SL1L463->SetBinContent(13,114118.5); h_SL1L463->SetBinContent(14,115564.2); h_SL1L463->SetBinContent(15,105520); h_SL1L463->SetBinContent(16,95725.66); h_SL1L463->SetBinContent(17,85212.92); h_SL1L463->SetBinContent(18,84708.7); h_SL1L463->SetBinContent(19,81558.45); h_SL1L463->SetBinContent(20,75333.81); h_SL1L463->SetBinContent(21,76476.11); h_SL1L463->SetBinContent(22,74660.03); h_SL1L463->SetBinContent(23,71465.16); h_SL1L463->SetBinContent(24,71255.45); h_SL1L463->SetBinContent(25,61715.45); h_SL1L463->SetBinContent(26,62893.45); h_SL1L463->SetBinContent(27,61465.57); h_SL1L463->SetBinContent(28,64031.29); h_SL1L463->SetBinContent(29,61394.18); h_SL1L463->SetBinContent(30,61907.32); h_SL1L463->SetBinContent(31,60831.95); h_SL1L463->SetBinContent(32,56958.84); h_SL1L463->SetBinContent(33,49913.17); h_SL1L463->SetBinContent(34,50702.96); h_SL1L463->SetBinContent(35,50702.96); h_SL1L463->SetBinContent(36,41711.81); h_SL1L463->SetBinContent(37,34376.1); h_SL1L463->SetBinContent(38,38070.73); h_SL1L463->SetBinContent(39,44897.76); h_SL1L463->SetBinContent(40,36330.5); h_SL1L463->SetBinContent(41,35295.29); h_SL1L463->SetBinContent(42,39284.42); h_SL1L463->SetBinContent(43,40761.38); h_SL1L463->SetBinContent(44,39061.32); h_SL1L463->SetBinContent(45,33247.18); h_SL1L463->SetBinContent(46,35112.35); h_SL1L463->SetBinContent(47,33015.16); h_SL1L463->SetBinContent(48,32577.87); h_SL1L463->SetBinContent(49,33782.64); h_SL1L463->SetBinContent(50,35866.45); h_SL1L463->SetBinContent(51,36401.9); h_SL1L463->SetBinContent(52,38191.2); h_SL1L463->SetBinContent(53,37080.14); h_SL1L463->SetBinContent(54,39632.46); h_SL1L463->SetBinContent(55,4.462111); h_SL1L463->SetBinContent(56,48489.75); h_SL1L463->SetBinContent(57,58944.48); h_SL1L463->SetBinContent(58,87247.65); h_SL1L463->SetBinContent(59,95083.11); h_SL1L463->SetMaximum(254272.5); 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 6273"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }