void hRates() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:09:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,1500,800); gStyle->SetOptStat(0); c->Range(0,0,1,1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); // ------------>Primitives in pad: c_1 TPad *c_1 = new TPad("c_1", "c_1",0.01,0.51,0.3233333,0.99); c_1->Draw(); c_1->cd(); c_1->Range(-7.500001,-1814.894,67.5,16334.05); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L172 = new TH1D("h_SL1L172","Occupancy removing noisy cells",60,0,60); h_SL1L172->SetBinContent(1,2778.235); h_SL1L172->SetBinContent(2,3008.384); h_SL1L172->SetBinContent(3,3781.03); h_SL1L172->SetBinContent(4,4109.814); h_SL1L172->SetBinContent(5,4093.375); h_SL1L172->SetBinContent(6,4816.703); h_SL1L172->SetBinContent(7,4487.917); h_SL1L172->SetBinContent(8,5408.516); h_SL1L172->SetBinContent(9,5112.609); h_SL1L172->SetBinContent(10,4882.46); h_SL1L172->SetBinContent(11,6033.208); h_SL1L172->SetBinContent(12,5260.562); h_SL1L172->SetBinContent(13,9452.573); h_SL1L172->SetBinContent(14,11441.72); h_SL1L172->SetBinContent(15,10685.52); h_SL1L172->SetBinContent(16,5638.666); h_SL1L172->SetBinContent(17,4964.656); h_SL1L172->SetBinContent(18,6066.086); h_SL1L172->SetBinContent(19,5655.105); h_SL1L172->SetBinContent(20,5622.227); h_SL1L172->SetBinContent(21,6115.404); h_SL1L172->SetBinContent(22,6164.722); h_SL1L172->SetBinContent(23,5605.787); h_SL1L172->SetBinContent(24,5309.88); h_SL1L172->SetBinContent(25,6263.357); h_SL1L172->SetBinContent(26,6082.526); h_SL1L172->SetBinContent(27,5227.684); h_SL1L172->SetBinContent(28,5507.152); h_SL1L172->SetBinContent(29,5967.451); h_SL1L172->SetBinContent(30,6427.75); h_SL1L172->SetBinContent(31,5572.909); h_SL1L172->SetBinContent(32,5704.423); h_SL1L172->SetBinContent(49,4734.506); h_SL1L172->SetBinContent(50,5687.983); h_SL1L172->SetBinContent(51,5112.609); h_SL1L172->SetBinContent(52,4734.506); h_SL1L172->SetBinContent(53,5277.002); h_SL1L172->SetBinContent(54,5063.292); h_SL1L172->SetBinContent(55,4060.497); h_SL1L172->SetBinContent(56,3665.955); h_SL1L172->SetMaximum(14519.15); h_SL1L172->SetEntries(60); h_SL1L172->SetDirectory(0); h_SL1L172->SetStats(0); h_SL1L172->SetLineWidth(2); h_SL1L172->GetXaxis()->SetTitle("Cell"); h_SL1L172->GetXaxis()->SetLabelFont(42); h_SL1L172->GetXaxis()->SetLabelSize(0.035); h_SL1L172->GetXaxis()->SetTitleSize(0.035); h_SL1L172->GetXaxis()->SetTitleFont(42); h_SL1L172->GetYaxis()->SetTitle("Hz per wire"); h_SL1L172->GetYaxis()->SetLabelFont(42); h_SL1L172->GetYaxis()->SetLabelSize(0.035); h_SL1L172->GetYaxis()->SetTitleSize(0.035); h_SL1L172->GetYaxis()->SetTitleOffset(1.45); h_SL1L172->GetYaxis()->SetTitleFont(42); h_SL1L172->GetZaxis()->SetLabelFont(42); h_SL1L172->GetZaxis()->SetLabelSize(0.035); h_SL1L172->GetZaxis()->SetTitleSize(0.035); h_SL1L172->GetZaxis()->SetTitleFont(42); h_SL1L172->Draw("hist, "); TH1D *h_SL1L273 = new TH1D("h_SL1L273","Occupancy removing noisy cells",60,0,60); h_SL1L273->SetBinContent(1,2926.188); h_SL1L273->SetBinContent(2,3402.927); h_SL1L273->SetBinContent(3,4208.45); h_SL1L273->SetBinContent(4,4339.964); h_SL1L273->SetBinContent(5,4866.021); h_SL1L273->SetBinContent(6,5244.124); h_SL1L273->SetBinContent(7,5194.806); h_SL1L273->SetBinContent(8,6098.965); h_SL1L273->SetBinContent(9,10307.42); h_SL1L273->SetBinContent(10,6033.208); h_SL1L273->SetBinContent(11,6246.918); h_SL1L273->SetBinContent(12,6477.068); h_SL1L273->SetBinContent(13,6526.386); h_SL1L273->SetBinContent(14,7562.059); h_SL1L273->SetBinContent(15,7118.199); h_SL1L273->SetBinContent(16,5934.572); h_SL1L273->SetBinContent(17,6033.208); h_SL1L273->SetBinContent(18,6690.778); h_SL1L273->SetBinContent(19,6394.872); h_SL1L273->SetBinContent(20,6164.722); h_SL1L273->SetBinContent(21,6608.582); h_SL1L273->SetBinContent(22,6904.489); h_SL1L273->SetBinContent(23,6444.189); h_SL1L273->SetBinContent(24,6575.704); h_SL1L273->SetBinContent(25,7463.423); h_SL1L273->SetBinContent(26,6904.489); h_SL1L273->SetBinContent(27,6690.778); h_SL1L273->SetBinContent(28,6016.769); h_SL1L273->SetBinContent(29,7101.76); h_SL1L273->SetBinContent(30,7808.648); h_SL1L273->SetBinContent(31,6871.61); h_SL1L273->SetBinContent(32,6460.628); h_SL1L273->SetBinContent(42,16.43926); h_SL1L273->SetBinContent(49,5605.787); h_SL1L273->SetBinContent(50,5868.815); h_SL1L273->SetBinContent(51,5589.348); h_SL1L273->SetBinContent(52,5441.395); h_SL1L273->SetBinContent(53,5622.227); h_SL1L273->SetBinContent(54,5934.572); h_SL1L273->SetBinContent(55,5129.049); h_SL1L273->SetBinContent(56,4405.721); h_SL1L273->SetMaximum(14519.15); h_SL1L273->SetEntries(60); h_SL1L273->SetDirectory(0); h_SL1L273->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L273->SetLineColor(ci); h_SL1L273->SetLineWidth(2); h_SL1L273->GetXaxis()->SetTitle("Cell"); h_SL1L273->GetXaxis()->SetLabelFont(42); h_SL1L273->GetXaxis()->SetLabelSize(0.035); h_SL1L273->GetXaxis()->SetTitleSize(0.035); h_SL1L273->GetXaxis()->SetTitleFont(42); h_SL1L273->GetYaxis()->SetTitle("Hz per wire"); h_SL1L273->GetYaxis()->SetLabelFont(42); h_SL1L273->GetYaxis()->SetLabelSize(0.035); h_SL1L273->GetYaxis()->SetTitleSize(0.035); h_SL1L273->GetYaxis()->SetTitleOffset(1.45); h_SL1L273->GetYaxis()->SetTitleFont(42); h_SL1L273->GetZaxis()->SetLabelFont(42); h_SL1L273->GetZaxis()->SetLabelSize(0.035); h_SL1L273->GetZaxis()->SetTitleSize(0.035); h_SL1L273->GetZaxis()->SetTitleFont(42); h_SL1L273->Draw("hist, same"); TH1D *h_SL1L374 = new TH1D("h_SL1L374","Occupancy removing noisy cells",60,0,60); h_SL1L374->SetBinContent(1,3090.581); h_SL1L374->SetBinContent(2,3353.609); h_SL1L374->SetBinContent(3,3748.151); h_SL1L374->SetBinContent(4,5063.292); h_SL1L374->SetBinContent(5,5211.245); h_SL1L374->SetBinContent(6,5211.245); h_SL1L374->SetBinContent(7,5375.638); h_SL1L374->SetBinContent(8,6625.021); h_SL1L374->SetBinContent(9,6098.965); h_SL1L374->SetBinContent(10,5934.572); h_SL1L374->SetBinContent(11,6361.993); h_SL1L374->SetBinContent(12,6329.115); h_SL1L374->SetBinContent(13,7348.349); h_SL1L374->SetBinContent(14,7874.405); h_SL1L374->SetBinContent(15,9058.031); h_SL1L374->SetBinContent(16,6789.414); h_SL1L374->SetBinContent(17,6690.778); h_SL1L374->SetBinContent(18,6460.628); h_SL1L374->SetBinContent(19,6329.115); h_SL1L374->SetBinContent(20,6888.049); h_SL1L374->SetBinContent(21,7348.349); h_SL1L374->SetBinContent(22,7331.909); h_SL1L374->SetBinContent(23,6477.068); h_SL1L374->SetBinContent(24,7118.199); h_SL1L374->SetBinContent(25,7216.834); h_SL1L374->SetBinContent(26,6625.021); h_SL1L374->SetBinContent(27,6526.386); h_SL1L374->SetBinContent(28,6756.535); h_SL1L374->SetBinContent(29,7841.526); h_SL1L374->SetBinContent(30,7118.199); h_SL1L374->SetBinContent(31,6575.704); h_SL1L374->SetBinContent(32,6986.685); h_SL1L374->SetBinContent(49,5687.983); h_SL1L374->SetBinContent(50,5523.591); h_SL1L374->SetBinContent(51,5885.254); h_SL1L374->SetBinContent(52,5622.227); h_SL1L374->SetBinContent(53,6246.918); h_SL1L374->SetBinContent(54,5737.301); h_SL1L374->SetBinContent(55,4833.142); h_SL1L374->SetBinContent(56,4438.6); h_SL1L374->SetMaximum(14519.15); h_SL1L374->SetEntries(60); h_SL1L374->SetDirectory(0); h_SL1L374->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L374->SetLineColor(ci); h_SL1L374->SetLineWidth(2); h_SL1L374->GetXaxis()->SetTitle("Cell"); h_SL1L374->GetXaxis()->SetLabelFont(42); h_SL1L374->GetXaxis()->SetLabelSize(0.035); h_SL1L374->GetXaxis()->SetTitleSize(0.035); h_SL1L374->GetXaxis()->SetTitleFont(42); h_SL1L374->GetYaxis()->SetTitle("Hz per wire"); h_SL1L374->GetYaxis()->SetLabelFont(42); h_SL1L374->GetYaxis()->SetLabelSize(0.035); h_SL1L374->GetYaxis()->SetTitleSize(0.035); h_SL1L374->GetYaxis()->SetTitleOffset(1.45); h_SL1L374->GetYaxis()->SetTitleFont(42); h_SL1L374->GetZaxis()->SetLabelFont(42); h_SL1L374->GetZaxis()->SetLabelSize(0.035); h_SL1L374->GetZaxis()->SetTitleSize(0.035); h_SL1L374->GetZaxis()->SetTitleFont(42); h_SL1L374->Draw("hist, same"); TH1D *h_SL1L475 = new TH1D("h_SL1L475","Occupancy removing noisy cells",60,0,60); h_SL1L475->SetBinContent(2,2531.646); h_SL1L475->SetBinContent(3,2712.478); h_SL1L475->SetBinContent(4,2827.552); h_SL1L475->SetBinContent(5,3682.394); h_SL1L475->SetBinContent(6,3370.048); h_SL1L475->SetBinContent(7,3172.777); h_SL1L475->SetBinContent(8,3879.665); h_SL1L475->SetBinContent(9,4274.207); h_SL1L475->SetBinContent(10,4076.936); h_SL1L475->SetBinContent(11,4356.403); h_SL1L475->SetBinContent(12,5309.88); h_SL1L475->SetBinContent(13,4898.899); h_SL1L475->SetBinContent(14,12625.35); h_SL1L475->SetBinContent(15,10274.54); h_SL1L475->SetBinContent(16,9534.77); h_SL1L475->SetBinContent(17,4537.235); h_SL1L475->SetBinContent(18,4833.142); h_SL1L475->SetBinContent(19,4635.871); h_SL1L475->SetBinContent(20,5194.806); h_SL1L475->SetBinContent(21,5293.441); h_SL1L475->SetBinContent(22,5605.787); h_SL1L475->SetBinContent(23,4882.46); h_SL1L475->SetBinContent(24,5392.077); h_SL1L475->SetBinContent(25,5013.974); h_SL1L475->SetBinContent(26,5161.927); h_SL1L475->SetBinContent(27,5129.049); h_SL1L475->SetBinContent(28,4931.777); h_SL1L475->SetBinContent(29,5540.03); h_SL1L475->SetBinContent(30,5490.712); h_SL1L475->SetBinContent(31,4767.385); h_SL1L475->SetBinContent(32,4898.899); h_SL1L475->SetBinContent(49,3797.469); h_SL1L475->SetBinContent(50,3764.59); h_SL1L475->SetBinContent(51,3764.59); h_SL1L475->SetBinContent(52,4192.011); h_SL1L475->SetBinContent(53,4339.964); h_SL1L475->SetBinContent(54,4504.357); h_SL1L475->SetBinContent(55,16.43926); h_SL1L475->SetBinContent(56,4109.814); h_SL1L475->SetMaximum(14519.15); h_SL1L475->SetEntries(60); h_SL1L475->SetDirectory(0); h_SL1L475->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L475->SetLineColor(ci); h_SL1L475->SetLineWidth(2); h_SL1L475->GetXaxis()->SetTitle("Cell"); h_SL1L475->GetXaxis()->SetLabelFont(42); h_SL1L475->GetXaxis()->SetLabelSize(0.035); h_SL1L475->GetXaxis()->SetTitleSize(0.035); h_SL1L475->GetXaxis()->SetTitleFont(42); h_SL1L475->GetYaxis()->SetTitle("Hz per wire"); h_SL1L475->GetYaxis()->SetLabelFont(42); h_SL1L475->GetYaxis()->SetLabelSize(0.035); h_SL1L475->GetYaxis()->SetTitleSize(0.035); h_SL1L475->GetYaxis()->SetTitleOffset(1.45); h_SL1L475->GetYaxis()->SetTitleFont(42); h_SL1L475->GetZaxis()->SetLabelFont(42); h_SL1L475->GetZaxis()->SetLabelSize(0.035); h_SL1L475->GetZaxis()->SetTitleSize(0.035); h_SL1L475->GetZaxis()->SetTitleFont(42); h_SL1L475->Draw("hist, same"); TPaveText *pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_1->Modified(); c->cd(); // ------------>Primitives in pad: c_2 TPad *c_2 = new TPad("c_2", "c_2",0.3433333,0.51,0.6566667,0.99); c_2->Draw(); c_2->cd(); c_2->Range(-7.500001,-3242.233,67.5,29180.09); c_2->SetFillColor(0); c_2->SetBorderMode(0); c_2->SetBorderSize(2); c_2->SetFrameBorderMode(0); c_2->SetFrameBorderMode(0); TH1D *h_SL2L176 = new TH1D("h_SL2L176","Occupancy removing noisy cells",60,0,60); h_SL2L176->SetBinContent(1,197.2711); h_SL2L176->SetBinContent(2,164.3926); h_SL2L176->SetBinContent(3,131.5141); h_SL2L176->SetBinContent(4,131.5141); h_SL2L176->SetBinContent(5,98.63555); h_SL2L176->SetBinContent(6,180.8318); h_SL2L176->SetBinContent(7,213.7104); h_SL2L176->SetBinContent(8,180.8318); h_SL2L176->SetBinContent(9,164.3926); h_SL2L176->SetBinContent(10,378.1029); h_SL2L176->SetBinContent(11,378.1029); h_SL2L176->SetBinContent(12,410.9815); h_SL2L176->SetBinContent(13,493.1778); h_SL2L176->SetBinContent(14,328.7852); h_SL2L176->SetBinContent(15,443.86); h_SL2L176->SetBinContent(16,443.86); h_SL2L176->SetBinContent(17,624.6918); h_SL2L176->SetBinContent(18,772.6451); h_SL2L176->SetBinContent(19,789.0844); h_SL2L176->SetBinContent(20,1200.066); h_SL2L176->SetBinContent(21,1101.43); h_SL2L176->SetBinContent(22,1676.804); h_SL2L176->SetBinContent(23,1857.636); h_SL2L176->SetBinContent(24,2252.178); h_SL2L176->SetBinContent(25,2942.627); h_SL2L176->SetBinContent(26,3715.272); h_SL2L176->SetBinContent(27,4898.899); h_SL2L176->SetBinContent(28,4997.535); h_SL2L176->SetBinContent(29,7397.667); h_SL2L176->SetBinContent(30,8120.994); h_SL2L176->SetBinContent(31,7578.498); h_SL2L176->SetBinContent(32,8038.797); h_SL2L176->SetBinContent(33,10225.22); h_SL2L176->SetBinContent(34,11129.38); h_SL2L176->SetBinContent(36,12345.88); h_SL2L176->SetBinContent(37,13940.49); h_SL2L176->SetBinContent(38,15058.36); h_SL2L176->SetBinContent(39,15798.13); h_SL2L176->SetBinContent(40,15157); h_SL2L176->SetBinContent(41,16209.11); h_SL2L176->SetBinContent(42,17803.72); h_SL2L176->SetBinContent(43,19381.89); h_SL2L176->SetBinContent(44,19151.74); h_SL2L176->SetBinContent(45,20894.3); h_SL2L176->SetBinContent(46,20713.46); h_SL2L176->SetBinContent(47,21798.46); h_SL2L176->SetBinContent(48,21831.34); h_SL2L176->SetBinContent(49,21666.94); h_SL2L176->SetBinContent(50,21403.91); h_SL2L176->SetBinContent(51,21864.21); h_SL2L176->SetBinContent(52,20910.74); h_SL2L176->SetBinContent(53,19661.35); h_SL2L176->SetBinContent(54,17639.32); h_SL2L176->SetBinContent(55,14943.29); h_SL2L176->SetBinContent(56,10964.99); h_SL2L176->SetBinContent(57,5046.853); h_SL2L176->SetMaximum(25937.86); h_SL2L176->SetEntries(60); h_SL2L176->SetDirectory(0); h_SL2L176->SetStats(0); h_SL2L176->SetLineWidth(2); h_SL2L176->GetXaxis()->SetTitle("Cell"); h_SL2L176->GetXaxis()->SetLabelFont(42); h_SL2L176->GetXaxis()->SetLabelSize(0.035); h_SL2L176->GetXaxis()->SetTitleSize(0.035); h_SL2L176->GetXaxis()->SetTitleFont(42); h_SL2L176->GetYaxis()->SetTitle("Hz per wire"); h_SL2L176->GetYaxis()->SetLabelFont(42); h_SL2L176->GetYaxis()->SetLabelSize(0.035); h_SL2L176->GetYaxis()->SetTitleSize(0.035); h_SL2L176->GetYaxis()->SetTitleOffset(1.45); h_SL2L176->GetYaxis()->SetTitleFont(42); h_SL2L176->GetZaxis()->SetLabelFont(42); h_SL2L176->GetZaxis()->SetLabelSize(0.035); h_SL2L176->GetZaxis()->SetTitleSize(0.035); h_SL2L176->GetZaxis()->SetTitleFont(42); h_SL2L176->Draw("hist, "); TH1D *h_SL2L277 = new TH1D("h_SL2L277","Occupancy removing noisy cells",60,0,60); h_SL2L277->SetBinContent(1,49.31778); h_SL2L277->SetBinContent(2,131.5141); h_SL2L277->SetBinContent(3,197.2711); h_SL2L277->SetBinContent(4,164.3926); h_SL2L277->SetBinContent(5,147.9533); h_SL2L277->SetBinContent(6,180.8318); h_SL2L277->SetBinContent(7,164.3926); h_SL2L277->SetBinContent(8,147.9533); h_SL2L277->SetBinContent(9,131.5141); h_SL2L277->SetBinContent(10,65.75703); h_SL2L277->SetBinContent(11,361.6637); h_SL2L277->SetBinContent(12,246.5889); h_SL2L277->SetBinContent(13,361.6637); h_SL2L277->SetBinContent(14,345.2244); h_SL2L277->SetBinContent(15,378.1029); h_SL2L277->SetBinContent(16,493.1778); h_SL2L277->SetBinContent(17,476.7385); h_SL2L277->SetBinContent(18,674.0096); h_SL2L277->SetBinContent(19,706.8881); h_SL2L277->SetBinContent(20,937.0377); h_SL2L277->SetBinContent(21,1134.309); h_SL2L277->SetBinContent(22,1331.58); h_SL2L277->SetBinContent(23,1726.122); h_SL2L277->SetBinContent(24,1989.15); h_SL2L277->SetBinContent(25,2564.524); h_SL2L277->SetBinContent(26,3452.244); h_SL2L277->SetBinContent(27,3896.104); h_SL2L277->SetBinContent(28,4915.338); h_SL2L277->SetBinContent(29,5852.376); h_SL2L277->SetBinContent(30,7200.395); h_SL2L277->SetBinContent(31,7512.741); h_SL2L277->SetBinContent(32,7578.498); h_SL2L277->SetBinContent(33,9123.788); h_SL2L277->SetBinContent(34,10110.14); h_SL2L277->SetBinContent(35,9929.312); h_SL2L277->SetBinContent(36,9649.845); h_SL2L277->SetBinContent(37,13003.45); h_SL2L277->SetBinContent(38,14104.88); h_SL2L277->SetBinContent(39,15403.58); h_SL2L277->SetBinContent(40,15551.54); h_SL2L277->SetBinContent(41,16406.38); h_SL2L277->SetBinContent(42,16866.68); h_SL2L277->SetBinContent(43,18822.95); h_SL2L277->SetBinContent(44,19266.81); h_SL2L277->SetBinContent(45,19513.4); h_SL2L277->SetBinContent(46,20762.78); h_SL2L277->SetBinContent(47,20072.33); h_SL2L277->SetBinContent(48,22554.66); h_SL2L277->SetBinContent(49,21190.21); h_SL2L277->SetBinContent(50,21206.64); h_SL2L277->SetBinContent(51,20762.78); h_SL2L277->SetBinContent(52,22094.36); h_SL2L277->SetBinContent(53,20565.51); h_SL2L277->SetBinContent(54,19447.64); h_SL2L277->SetBinContent(55,17146.15); h_SL2L277->SetBinContent(56,13414.43); h_SL2L277->SetBinContent(57,8614.172); h_SL2L277->SetMaximum(25937.86); h_SL2L277->SetEntries(60); h_SL2L277->SetDirectory(0); h_SL2L277->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L277->SetLineColor(ci); h_SL2L277->SetLineWidth(2); h_SL2L277->GetXaxis()->SetTitle("Cell"); h_SL2L277->GetXaxis()->SetLabelFont(42); h_SL2L277->GetXaxis()->SetLabelSize(0.035); h_SL2L277->GetXaxis()->SetTitleSize(0.035); h_SL2L277->GetXaxis()->SetTitleFont(42); h_SL2L277->GetYaxis()->SetTitle("Hz per wire"); h_SL2L277->GetYaxis()->SetLabelFont(42); h_SL2L277->GetYaxis()->SetLabelSize(0.035); h_SL2L277->GetYaxis()->SetTitleSize(0.035); h_SL2L277->GetYaxis()->SetTitleOffset(1.45); h_SL2L277->GetYaxis()->SetTitleFont(42); h_SL2L277->GetZaxis()->SetLabelFont(42); h_SL2L277->GetZaxis()->SetLabelSize(0.035); h_SL2L277->GetZaxis()->SetTitleSize(0.035); h_SL2L277->GetZaxis()->SetTitleFont(42); h_SL2L277->Draw("hist, same"); TH1D *h_SL2L378 = new TH1D("h_SL2L378","Occupancy removing noisy cells",60,0,60); h_SL2L378->SetBinContent(1,147.9533); h_SL2L378->SetBinContent(2,147.9533); h_SL2L378->SetBinContent(3,98.63555); h_SL2L378->SetBinContent(4,49.31778); h_SL2L378->SetBinContent(5,197.2711); h_SL2L378->SetBinContent(6,263.0281); h_SL2L378->SetBinContent(7,197.2711); h_SL2L378->SetBinContent(8,180.8318); h_SL2L378->SetBinContent(9,115.0748); h_SL2L378->SetBinContent(10,230.1496); h_SL2L378->SetBinContent(11,410.9815); h_SL2L378->SetBinContent(12,295.9066); h_SL2L378->SetBinContent(13,295.9066); h_SL2L378->SetBinContent(14,394.5422); h_SL2L378->SetBinContent(15,295.9066); h_SL2L378->SetBinContent(16,526.0563); h_SL2L378->SetBinContent(17,443.86); h_SL2L378->SetBinContent(18,805.5237); h_SL2L378->SetBinContent(19,739.7667); h_SL2L378->SetBinContent(20,772.6451); h_SL2L378->SetBinContent(21,1413.776); h_SL2L378->SetBinContent(22,1578.169); h_SL2L378->SetBinContent(23,1808.318); h_SL2L378->SetBinContent(24,2400.132); h_SL2L378->SetBinContent(25,2630.281); h_SL2L378->SetBinContent(26,3896.104); h_SL2L378->SetBinContent(27,4257.768); h_SL2L378->SetBinContent(28,5655.105); h_SL2L378->SetBinContent(29,6411.311); h_SL2L378->SetBinContent(30,7085.32); h_SL2L378->SetBinContent(31,7742.891); h_SL2L378->SetBinContent(32,7710.012); h_SL2L378->SetBinContent(33,9419.695); h_SL2L378->SetBinContent(34,9732.041); h_SL2L378->SetBinContent(35,10274.54); h_SL2L378->SetBinContent(36,10438.93); h_SL2L378->SetBinContent(37,13069.21); h_SL2L378->SetBinContent(38,15715.93); h_SL2L378->SetBinContent(39,15009.04); h_SL2L378->SetBinContent(40,15370.71); h_SL2L378->SetBinContent(41,17244.78); h_SL2L378->SetBinContent(42,17721.52); h_SL2L378->SetBinContent(43,18592.8); h_SL2L378->SetBinContent(44,19825.75); h_SL2L378->SetBinContent(45,19299.69); h_SL2L378->SetBinContent(46,19727.11); h_SL2L378->SetBinContent(47,21108.01); h_SL2L378->SetBinContent(48,22077.92); h_SL2L378->SetBinContent(49,21436.79); h_SL2L378->SetBinContent(50,20713.46); h_SL2L378->SetBinContent(51,20960.05); h_SL2L378->SetBinContent(52,21601.19); h_SL2L378->SetBinContent(53,19924.38); h_SL2L378->SetBinContent(54,19365.45); h_SL2L378->SetBinContent(55,16850.24); h_SL2L378->SetBinContent(56,10849.91); h_SL2L378->SetBinContent(57,7151.078); h_SL2L378->SetMaximum(25937.86); h_SL2L378->SetEntries(60); h_SL2L378->SetDirectory(0); h_SL2L378->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L378->SetLineColor(ci); h_SL2L378->SetLineWidth(2); h_SL2L378->GetXaxis()->SetTitle("Cell"); h_SL2L378->GetXaxis()->SetLabelFont(42); h_SL2L378->GetXaxis()->SetLabelSize(0.035); h_SL2L378->GetXaxis()->SetTitleSize(0.035); h_SL2L378->GetXaxis()->SetTitleFont(42); h_SL2L378->GetYaxis()->SetTitle("Hz per wire"); h_SL2L378->GetYaxis()->SetLabelFont(42); h_SL2L378->GetYaxis()->SetLabelSize(0.035); h_SL2L378->GetYaxis()->SetTitleSize(0.035); h_SL2L378->GetYaxis()->SetTitleOffset(1.45); h_SL2L378->GetYaxis()->SetTitleFont(42); h_SL2L378->GetZaxis()->SetLabelFont(42); h_SL2L378->GetZaxis()->SetLabelSize(0.035); h_SL2L378->GetZaxis()->SetTitleSize(0.035); h_SL2L378->GetZaxis()->SetTitleFont(42); h_SL2L378->Draw("hist, same"); TH1D *h_SL2L479 = new TH1D("h_SL2L479","Occupancy removing noisy cells",60,0,60); h_SL2L479->SetBinContent(2,147.9533); h_SL2L479->SetBinContent(3,164.3926); h_SL2L479->SetBinContent(4,164.3926); h_SL2L479->SetBinContent(5,147.9533); h_SL2L479->SetBinContent(6,147.9533); h_SL2L479->SetBinContent(7,164.3926); h_SL2L479->SetBinContent(8,197.2711); h_SL2L479->SetBinContent(9,213.7104); h_SL2L479->SetBinContent(10,180.8318); h_SL2L479->SetBinContent(11,164.3926); h_SL2L479->SetBinContent(12,345.2244); h_SL2L479->SetBinContent(13,328.7852); h_SL2L479->SetBinContent(14,312.3459); h_SL2L479->SetBinContent(15,394.5422); h_SL2L479->SetBinContent(16,443.86); h_SL2L479->SetBinContent(17,526.0563); h_SL2L479->SetBinContent(18,657.5703); h_SL2L479->SetBinContent(19,904.1592); h_SL2L479->SetBinContent(20,805.5237); h_SL2L479->SetBinContent(21,1052.113); h_SL2L479->SetBinContent(22,1150.748); h_SL2L479->SetBinContent(23,1775.44); h_SL2L479->SetBinContent(24,1939.833); h_SL2L479->SetBinContent(25,2449.449); h_SL2L479->SetBinContent(26,3337.169); h_SL2L479->SetBinContent(27,3830.347); h_SL2L479->SetBinContent(28,4866.021); h_SL2L479->SetBinContent(29,6033.208); h_SL2L479->SetBinContent(30,6986.685); h_SL2L479->SetBinContent(31,7085.32); h_SL2L479->SetBinContent(32,8499.097); h_SL2L479->SetBinContent(33,8515.536); h_SL2L479->SetBinContent(34,9649.845); h_SL2L479->SetBinContent(35,10751.28); h_SL2L479->SetBinContent(36,11458.16); h_SL2L479->SetBinContent(37,12000.66); h_SL2L479->SetBinContent(38,14269.28); h_SL2L479->SetBinContent(39,16126.91); h_SL2L479->SetBinContent(40,15436.46); h_SL2L479->SetBinContent(41,15962.52); h_SL2L479->SetBinContent(42,18280.46); h_SL2L479->SetBinContent(43,18165.38); h_SL2L479->SetBinContent(44,19595.6); h_SL2L479->SetBinContent(45,21075.13); h_SL2L479->SetBinContent(46,20253.17); h_SL2L479->SetBinContent(47,21272.4); h_SL2L479->SetBinContent(48,21749.14); h_SL2L479->SetBinContent(49,21535.43); h_SL2L479->SetBinContent(50,21962.85); h_SL2L479->SetBinContent(51,21601.19); h_SL2L479->SetBinContent(52,21847.78); h_SL2L479->SetBinContent(53,20335.36); h_SL2L479->SetBinContent(54,21255.96); h_SL2L479->SetBinContent(55,19365.45); h_SL2L479->SetBinContent(56,14713.14); h_SL2L479->SetBinContent(57,6411.311); h_SL2L479->SetMaximum(25937.86); h_SL2L479->SetEntries(60); h_SL2L479->SetDirectory(0); h_SL2L479->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L479->SetLineColor(ci); h_SL2L479->SetLineWidth(2); h_SL2L479->GetXaxis()->SetTitle("Cell"); h_SL2L479->GetXaxis()->SetLabelFont(42); h_SL2L479->GetXaxis()->SetLabelSize(0.035); h_SL2L479->GetXaxis()->SetTitleSize(0.035); h_SL2L479->GetXaxis()->SetTitleFont(42); h_SL2L479->GetYaxis()->SetTitle("Hz per wire"); h_SL2L479->GetYaxis()->SetLabelFont(42); h_SL2L479->GetYaxis()->SetLabelSize(0.035); h_SL2L479->GetYaxis()->SetTitleSize(0.035); h_SL2L479->GetYaxis()->SetTitleOffset(1.45); h_SL2L479->GetYaxis()->SetTitleFont(42); h_SL2L479->GetZaxis()->SetLabelFont(42); h_SL2L479->GetZaxis()->SetLabelSize(0.035); h_SL2L479->GetZaxis()->SetTitleSize(0.035); h_SL2L479->GetZaxis()->SetTitleFont(42); h_SL2L479->Draw("hist, same"); pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_2->Modified(); c->cd(); // ------------>Primitives in pad: c_3 TPad *c_3 = new TPad("c_3", "c_3",0.6766667,0.51,0.99,0.99); c_3->Draw(); c_3->cd(); c_3->Range(-7.500001,-1354.081,67.5,12186.73); c_3->SetFillColor(0); c_3->SetBorderMode(0); c_3->SetBorderSize(2); c_3->SetFrameBorderMode(0); c_3->SetFrameBorderMode(0); TH1D *h_SL3L180 = new TH1D("h_SL3L180","Occupancy removing noisy cells",60,0,60); h_SL3L180->SetBinContent(1,2663.16); h_SL3L180->SetBinContent(2,3452.244); h_SL3L180->SetBinContent(4,6263.357); h_SL3L180->SetBinContent(5,6937.367); h_SL3L180->SetBinContent(6,7775.77); h_SL3L180->SetBinContent(7,7282.591); h_SL3L180->SetBinContent(8,7019.563); h_SL3L180->SetBinContent(9,7101.76); h_SL3L180->SetBinContent(10,7726.452); h_SL3L180->SetBinContent(11,7381.227); h_SL3L180->SetBinContent(12,7446.984); h_SL3L180->SetBinContent(13,7167.517); h_SL3L180->SetBinContent(14,8778.564); h_SL3L180->SetBinContent(15,7512.741); h_SL3L180->SetBinContent(16,7364.788); h_SL3L180->SetBinContent(17,7249.713); h_SL3L180->SetBinContent(18,8236.068); h_SL3L180->SetBinContent(19,9205.984); h_SL3L180->SetBinContent(20,7956.601); h_SL3L180->SetBinContent(21,7414.105); h_SL3L180->SetBinContent(22,8926.518); h_SL3L180->SetBinContent(23,8055.237); h_SL3L180->SetBinContent(24,7775.77); h_SL3L180->SetBinContent(25,8022.358); h_SL3L180->SetBinContent(26,8482.657); h_SL3L180->SetBinContent(27,9403.256); h_SL3L180->SetBinContent(28,8910.078); h_SL3L180->SetBinContent(29,7808.648); h_SL3L180->SetBinContent(30,9271.742); h_SL3L180->SetBinContent(31,8910.078); h_SL3L180->SetBinContent(32,7463.423); h_SL3L180->SetBinContent(49,7348.349); h_SL3L180->SetBinContent(50,4455.039); h_SL3L180->SetBinContent(51,6033.208); h_SL3L180->SetBinContent(52,7759.33); h_SL3L180->SetBinContent(53,8120.994); h_SL3L180->SetBinContent(54,8877.199); h_SL3L180->SetBinContent(55,8104.555); h_SL3L180->SetBinContent(56,7233.274); h_SL3L180->SetBinContent(57,7857.966); h_SL3L180->SetBinContent(58,8153.872); h_SL3L180->SetBinContent(59,6000.33); h_SL3L180->SetMaximum(10832.65); h_SL3L180->SetEntries(60); h_SL3L180->SetDirectory(0); h_SL3L180->SetStats(0); h_SL3L180->SetLineWidth(2); h_SL3L180->GetXaxis()->SetTitle("Cell"); h_SL3L180->GetXaxis()->SetLabelFont(42); h_SL3L180->GetXaxis()->SetLabelSize(0.035); h_SL3L180->GetXaxis()->SetTitleSize(0.035); h_SL3L180->GetXaxis()->SetTitleFont(42); h_SL3L180->GetYaxis()->SetTitle("Hz per wire"); h_SL3L180->GetYaxis()->SetLabelFont(42); h_SL3L180->GetYaxis()->SetLabelSize(0.035); h_SL3L180->GetYaxis()->SetTitleSize(0.035); h_SL3L180->GetYaxis()->SetTitleOffset(1.45); h_SL3L180->GetYaxis()->SetTitleFont(42); h_SL3L180->GetZaxis()->SetLabelFont(42); h_SL3L180->GetZaxis()->SetLabelSize(0.035); h_SL3L180->GetZaxis()->SetTitleSize(0.035); h_SL3L180->GetZaxis()->SetTitleFont(42); h_SL3L180->Draw("hist, "); TH1D *h_SL3L281 = new TH1D("h_SL3L281","Occupancy removing noisy cells",60,0,60); h_SL3L281->SetBinContent(1,887.72); h_SL3L281->SetBinContent(2,4438.6); h_SL3L281->SetBinContent(4,3665.955); h_SL3L281->SetBinContent(5,6082.526); h_SL3L281->SetBinContent(6,7759.33); h_SL3L281->SetBinContent(7,7200.395); h_SL3L281->SetBinContent(8,7299.031); h_SL3L281->SetBinContent(9,6674.339); h_SL3L281->SetBinContent(10,7578.498); h_SL3L281->SetBinContent(11,7594.938); h_SL3L281->SetBinContent(12,7611.377); h_SL3L281->SetBinContent(13,7118.199); h_SL3L281->SetBinContent(14,8679.929); h_SL3L281->SetBinContent(15,8104.555); h_SL3L281->SetBinContent(16,7118.199); h_SL3L281->SetBinContent(17,7151.078); h_SL3L281->SetBinContent(18,7233.274); h_SL3L281->SetBinContent(19,8663.489); h_SL3L281->SetBinContent(20,8104.555); h_SL3L281->SetBinContent(21,7299.031); h_SL3L281->SetBinContent(22,8351.144); h_SL3L281->SetBinContent(23,8071.676); h_SL3L281->SetBinContent(24,7529.181); h_SL3L281->SetBinContent(25,7545.62); h_SL3L281->SetBinContent(26,8679.929); h_SL3L281->SetBinContent(27,9041.592); h_SL3L281->SetBinContent(28,8762.125); h_SL3L281->SetBinContent(29,7874.405); h_SL3L281->SetBinContent(30,9140.228); h_SL3L281->SetBinContent(31,9419.695); h_SL3L281->SetBinContent(32,8449.779); h_SL3L281->SetBinContent(49,8071.676); h_SL3L281->SetBinContent(50,7381.227); h_SL3L281->SetBinContent(51,2449.449); h_SL3L281->SetBinContent(52,7989.479); h_SL3L281->SetBinContent(53,7742.891); h_SL3L281->SetBinContent(54,8416.9); h_SL3L281->SetBinContent(55,8186.751); h_SL3L281->SetBinContent(56,7299.031); h_SL3L281->SetBinContent(57,7167.517); h_SL3L281->SetBinContent(58,8120.994); h_SL3L281->SetBinContent(59,6871.61); h_SL3L281->SetMaximum(10832.65); h_SL3L281->SetEntries(60); h_SL3L281->SetDirectory(0); h_SL3L281->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L281->SetLineColor(ci); h_SL3L281->SetLineWidth(2); h_SL3L281->GetXaxis()->SetTitle("Cell"); h_SL3L281->GetXaxis()->SetLabelFont(42); h_SL3L281->GetXaxis()->SetLabelSize(0.035); h_SL3L281->GetXaxis()->SetTitleSize(0.035); h_SL3L281->GetXaxis()->SetTitleFont(42); h_SL3L281->GetYaxis()->SetTitle("Hz per wire"); h_SL3L281->GetYaxis()->SetLabelFont(42); h_SL3L281->GetYaxis()->SetLabelSize(0.035); h_SL3L281->GetYaxis()->SetTitleSize(0.035); h_SL3L281->GetYaxis()->SetTitleOffset(1.45); h_SL3L281->GetYaxis()->SetTitleFont(42); h_SL3L281->GetZaxis()->SetLabelFont(42); h_SL3L281->GetZaxis()->SetLabelSize(0.035); h_SL3L281->GetZaxis()->SetTitleSize(0.035); h_SL3L281->GetZaxis()->SetTitleFont(42); h_SL3L281->Draw("hist, same"); TH1D *h_SL3L382 = new TH1D("h_SL3L382","Occupancy removing noisy cells",60,0,60); h_SL3L382->SetBinContent(1,2400.132); h_SL3L382->SetBinContent(2,2860.431); h_SL3L382->SetBinContent(3,1397.337); h_SL3L382->SetBinContent(4,5178.366); h_SL3L382->SetBinContent(5,7545.62); h_SL3L382->SetBinContent(6,7233.274); h_SL3L382->SetBinContent(7,7036.002); h_SL3L382->SetBinContent(8,6690.778); h_SL3L382->SetBinContent(9,7825.087); h_SL3L382->SetBinContent(10,7479.863); h_SL3L382->SetBinContent(11,7414.105); h_SL3L382->SetBinContent(12,7216.834); h_SL3L382->SetBinContent(13,7989.479); h_SL3L382->SetBinContent(14,8663.489); h_SL3L382->SetBinContent(15,7003.124); h_SL3L382->SetBinContent(16,6937.367); h_SL3L382->SetBinContent(17,7857.966); h_SL3L382->SetBinContent(18,8055.237); h_SL3L382->SetBinContent(19,8252.508); h_SL3L382->SetBinContent(20,7299.031); h_SL3L382->SetBinContent(21,8203.19); h_SL3L382->SetBinContent(22,7973.041); h_SL3L382->SetBinContent(23,8104.555); h_SL3L382->SetBinContent(24,7282.591); h_SL3L382->SetBinContent(25,8548.414); h_SL3L382->SetBinContent(26,8301.825); h_SL3L382->SetBinContent(27,8877.199); h_SL3L382->SetBinContent(28,8236.068); h_SL3L382->SetBinContent(29,9008.714); h_SL3L382->SetBinContent(30,8630.61); h_SL3L382->SetBinContent(31,8745.686); h_SL3L382->SetBinContent(32,7529.181); h_SL3L382->SetBinContent(49,8416.9); h_SL3L382->SetBinContent(50,4652.31); h_SL3L382->SetBinContent(51,5326.32); h_SL3L382->SetBinContent(52,7299.031); h_SL3L382->SetBinContent(53,8663.489); h_SL3L382->SetBinContent(54,9041.592); h_SL3L382->SetBinContent(55,7331.909); h_SL3L382->SetBinContent(56,7282.591); h_SL3L382->SetBinContent(57,7611.377); h_SL3L382->SetBinContent(58,7677.134); h_SL3L382->SetBinContent(59,5803.058); h_SL3L382->SetMaximum(10832.65); h_SL3L382->SetEntries(60); h_SL3L382->SetDirectory(0); h_SL3L382->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L382->SetLineColor(ci); h_SL3L382->SetLineWidth(2); h_SL3L382->GetXaxis()->SetTitle("Cell"); h_SL3L382->GetXaxis()->SetLabelFont(42); h_SL3L382->GetXaxis()->SetLabelSize(0.035); h_SL3L382->GetXaxis()->SetTitleSize(0.035); h_SL3L382->GetXaxis()->SetTitleFont(42); h_SL3L382->GetYaxis()->SetTitle("Hz per wire"); h_SL3L382->GetYaxis()->SetLabelFont(42); h_SL3L382->GetYaxis()->SetLabelSize(0.035); h_SL3L382->GetYaxis()->SetTitleSize(0.035); h_SL3L382->GetYaxis()->SetTitleOffset(1.45); h_SL3L382->GetYaxis()->SetTitleFont(42); h_SL3L382->GetZaxis()->SetLabelFont(42); h_SL3L382->GetZaxis()->SetLabelSize(0.035); h_SL3L382->GetZaxis()->SetTitleSize(0.035); h_SL3L382->GetZaxis()->SetTitleFont(42); h_SL3L382->Draw("hist, same"); TH1D *h_SL3L483 = new TH1D("h_SL3L483","Occupancy removing noisy cells",60,0,60); h_SL3L483->SetBinContent(2,4224.89); h_SL3L483->SetBinContent(3,1068.552); h_SL3L483->SetBinContent(4,3205.656); h_SL3L483->SetBinContent(5,6197.601); h_SL3L483->SetBinContent(6,7594.938); h_SL3L483->SetBinContent(7,7085.32); h_SL3L483->SetBinContent(8,6871.61); h_SL3L483->SetBinContent(9,7200.395); h_SL3L483->SetBinContent(10,8170.312); h_SL3L483->SetBinContent(11,7348.349); h_SL3L483->SetBinContent(12,7068.881); h_SL3L483->SetBinContent(13,7792.208); h_SL3L483->SetBinContent(14,8499.097); h_SL3L483->SetBinContent(15,8219.629); h_SL3L483->SetBinContent(16,6526.386); h_SL3L483->SetBinContent(17,7677.134); h_SL3L483->SetBinContent(18,7529.181); h_SL3L483->SetBinContent(19,8153.872); h_SL3L483->SetBinContent(20,7414.105); h_SL3L483->SetBinContent(21,7578.498); h_SL3L483->SetBinContent(22,9090.91); h_SL3L483->SetBinContent(23,7973.041); h_SL3L483->SetBinContent(24,7430.545); h_SL3L483->SetBinContent(25,7792.208); h_SL3L483->SetBinContent(26,8877.199); h_SL3L483->SetBinContent(27,8614.172); h_SL3L483->SetBinContent(28,8926.518); h_SL3L483->SetBinContent(29,8811.442); h_SL3L483->SetBinContent(30,8811.442); h_SL3L483->SetBinContent(31,8449.779); h_SL3L483->SetBinContent(32,7841.526); h_SL3L483->SetBinContent(49,8449.779); h_SL3L483->SetBinContent(50,7331.909); h_SL3L483->SetBinContent(51,2959.067); h_SL3L483->SetBinContent(52,7052.442); h_SL3L483->SetBinContent(53,8055.237); h_SL3L483->SetBinContent(54,9025.153); h_SL3L483->SetBinContent(55,8433.34); h_SL3L483->SetBinContent(56,7282.591); h_SL3L483->SetBinContent(57,7397.667); h_SL3L483->SetBinContent(58,8022.358); h_SL3L483->SetBinContent(59,6559.264); h_SL3L483->SetMaximum(10832.65); h_SL3L483->SetEntries(60); h_SL3L483->SetDirectory(0); h_SL3L483->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L483->SetLineColor(ci); h_SL3L483->SetLineWidth(2); h_SL3L483->GetXaxis()->SetTitle("Cell"); h_SL3L483->GetXaxis()->SetLabelFont(42); h_SL3L483->GetXaxis()->SetLabelSize(0.035); h_SL3L483->GetXaxis()->SetTitleSize(0.035); h_SL3L483->GetXaxis()->SetTitleFont(42); h_SL3L483->GetYaxis()->SetTitle("Hz per wire"); h_SL3L483->GetYaxis()->SetLabelFont(42); h_SL3L483->GetYaxis()->SetLabelSize(0.035); h_SL3L483->GetYaxis()->SetTitleSize(0.035); h_SL3L483->GetYaxis()->SetTitleOffset(1.45); h_SL3L483->GetYaxis()->SetTitleFont(42); h_SL3L483->GetZaxis()->SetLabelFont(42); h_SL3L483->GetZaxis()->SetLabelSize(0.035); h_SL3L483->GetZaxis()->SetTitleSize(0.035); h_SL3L483->GetZaxis()->SetTitleFont(42); h_SL3L483->Draw("hist, same"); pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_3->Modified(); c->cd(); // ------------>Primitives in pad: c_4 TPad *c_4 = new TPad("c_4", "c_4",0.01,0.01,0.3233333,0.49); c_4->Draw(); c_4->cd(); c_4->Range(0,0,1,1); c_4->SetFillColor(0); c_4->SetBorderMode(0); c_4->SetBorderSize(2); c_4->SetFrameBorderMode(0); c_4->Modified(); c->cd(); // ------------>Primitives in pad: c_5 TPad *c_5 = new TPad("c_5", "c_5",0.3433333,0.01,0.6566667,0.49); c_5->Draw(); c_5->cd(); c_5->Range(0,0,1,1); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->Modified(); c->cd(); // ------------>Primitives in pad: c_6 TPad *c_6 = new TPad("c_6", "c_6",0.05,0,0.95,0.5); c_6->Draw(); c_6->cd(); c_6->Range(-1,-1229.594,14,11066.35); c_6->SetFillColor(0); c_6->SetBorderMode(0); c_6->SetBorderSize(2); c_6->SetFrameBorderMode(0); c_6->SetFrameBorderMode(0); TH1D *hRateSub84 = new TH1D("hRateSub84","Average rate per layer for run 7042 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,5539.62); hRateSub84->SetBinContent(2,6080.882); hRateSub84->SetBinContent(3,6193.491); hRateSub84->SetBinContent(4,4929.614); hRateSub84->SetBinContent(5,6952.632); hRateSub84->SetBinContent(6,8412.497); hRateSub84->SetBinContent(7,8440.679); hRateSub84->SetBinContent(8,8553.698); hRateSub84->SetBinContent(9,7497.868); hRateSub84->SetBinContent(10,7435.242); hRateSub84->SetBinContent(11,7261.182); hRateSub84->SetBinContent(12,7448.941); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(9836.753); hRateSub84->SetEntries(245947); hRateSub84->SetDirectory(0); hRateSub84->SetStats(0); ci = TColor::GetColor("#330066"); hRateSub84->SetLineColor(ci); hRateSub84->SetLineWidth(2); hRateSub84->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub84->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub84->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub84->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub84->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub84->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub84->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub84->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub84->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub84->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub84->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub84->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub84->GetXaxis()->SetLabelFont(42); hRateSub84->GetXaxis()->SetLabelSize(0.035); hRateSub84->GetXaxis()->SetTitleSize(0.035); hRateSub84->GetXaxis()->SetTitleFont(42); hRateSub84->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub84->GetYaxis()->SetLabelFont(42); hRateSub84->GetYaxis()->SetLabelSize(0.06); hRateSub84->GetYaxis()->SetTitleSize(0.035); hRateSub84->GetYaxis()->SetTitleOffset(1.3); hRateSub84->GetYaxis()->SetTitleFont(42); hRateSub84->GetZaxis()->SetLabelFont(42); hRateSub84->GetZaxis()->SetLabelSize(0.035); hRateSub84->GetZaxis()->SetTitleSize(0.035); hRateSub84->GetZaxis()->SetTitleFont(42); hRateSub84->Draw("hist"); TH1D *hRateSub85 = new TH1D("hRateSub85","Average rate per layer for run 7042 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,37.97468); hRateSub85->SetBinContent(2,32.22094); hRateSub85->SetBinContent(3,26.4672); hRateSub85->SetBinContent(4,14.53576); hRateSub85->SetBinContent(5,25.48085); hRateSub85->SetBinContent(6,21.37103); hRateSub85->SetBinContent(7,19.72711); hRateSub85->SetBinContent(8,14.79533); hRateSub85->SetBinContent(9,21.91901); hRateSub85->SetBinContent(10,27.39876); hRateSub85->SetBinContent(11,32.1139); hRateSub85->SetBinContent(12,27.39876); hRateSub85->SetEntries(245947); hRateSub85->SetDirectory(0); hRateSub85->SetStats(0); ci = TColor::GetColor("#cc6600"); hRateSub85->SetLineColor(ci); hRateSub85->SetLineWidth(2); hRateSub85->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub85->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub85->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub85->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub85->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub85->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub85->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub85->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub85->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub85->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub85->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub85->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub85->GetXaxis()->SetLabelFont(42); hRateSub85->GetXaxis()->SetLabelSize(0.035); hRateSub85->GetXaxis()->SetTitleSize(0.035); hRateSub85->GetXaxis()->SetTitleFont(42); hRateSub85->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub85->GetYaxis()->SetLabelFont(42); hRateSub85->GetYaxis()->SetLabelSize(0.035); hRateSub85->GetYaxis()->SetTitleSize(0.035); hRateSub85->GetYaxis()->SetTitleOffset(1.3); hRateSub85->GetYaxis()->SetTitleFont(42); hRateSub85->GetZaxis()->SetLabelFont(42); hRateSub85->GetZaxis()->SetLabelSize(0.035); hRateSub85->GetZaxis()->SetTitleSize(0.035); hRateSub85->GetZaxis()->SetTitleFont(42); hRateSub85->Draw("hist, same"); TLegend *leg = new TLegend(0.7,0.92,0.9,0.97,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("hRateSub","Occupancy","l"); ci = TColor::GetColor("#330066"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("hRateSub","Background","l"); ci = TColor::GetColor("#cc6600"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); pt = new TPaveText(0.91,0.45,1,0.55,"brNDC"); pt->SetFillColor(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.07); AText = pt->AddText("Run 7042"); pt->Draw(); pt = new TPaveText(0.3113755,0.9328238,0.6886245,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Average rate per layer for run 7042 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }